/* ====================
Modal Wrapper and Overlay
==================== */

.cl__overlay {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 1000;
}

.cl__overlay.cl__active {
    display: flex;
}

/* ====================
Modal
==================== */

.cl__modal {
    position: relative;
    width: calc(100vw - 32px);
    height: calc(100vh - 32px);
    max-width: 1240px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    background-color: white;
    padding: 0;
    overflow-y: hidden;
}

@media screen and (min-width: 1026px) {
    .cl__modal {
        width: calc(100vw - 64px);
        height: calc(100vh - 64px);
    }
}

/* ====================
Modal Subheader
==================== */

.cl__modal__subhead {
    display: flex;
    width: 100%;
    padding: 32px;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(35.07deg, #0392cf 0.2%, #0071ba 103.07%),
    #e10101;
}

/* Modal Subheader - Search */

.cl__modal__subhead-search {
    width: 100%;
    max-width: 220px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 8px;
    background-color: #fff;
}

@media screen and (min-width: 1026px) {
    .cl__modal__subhead-search {
        max-width: 360px;
    }
}

.cl__modal__subhead-search svg {
    margin-right: 8px;
}

.cl__modal__subhead-search input {
    width: 100%;
}

/* Subheader - Close */

.cl__modal__subhead-close {
    cursor: pointer;
}

/* ====================
Modal Header
==================== */

.cl__modal__header {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-top: 16px;
    padding-right: 16px;
    padding-bottom: 0;
    padding-left: 16px;
    align-items: center;
    justify-content: space-between;
}

@media screen and (min-width: 1026px) {
    .cl__modal__header {
        padding-top: 32px;
        padding-right: 32px;
        padding-bottom: 32px;
        padding-left: 32px;
    }
}

/* Modal Header - Donload */

.cl__modal__header-download {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-top: 24px;
}

.cl__modal__header-download svg {
    margin-right: 18px;
}

/* ====================
Channel Table Wrapper
==================== */

.cl__table__wrapper {
    width: 100%;
    height: 100%;
    max-width: 1110px;
    margin-left: 32px;
    margin-right: 32px;
    margin-top: 32px;

    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ====================
Channel Table
==================== */

/* Channel Table - Header Row */
.cl__row__header {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    border-bottom: 1px solid rgba(151, 151, 151, 0.5);
}

/* Channel Table - Header Row - Network Label */

.cl__first-col-header {
    width: 160px;
    flex-shrink: 0;
    text-align: left;
    padding: 32px;
    background: white;
    z-index: 2;
}

@media screen and (min-width: 1026px) {
    .cl__first-col-header {
        width: 350px;
        text-align: right;
    }
}

/* Channel Table - Header Cell */

.cl__cell.cl__cell-header {
    width: calc(100% - 160px);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 12px;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.cl__cell.cl__cell-header.cl__active {
    display: flex;
}

@media screen and (min-width: 1026px) {
    .cl__cell.cl__cell-header {
        border-left: 1px solid rgba(151, 151, 151, 0.5);
        display: flex;
        width: 100%;
        flex: 1;
    }
}

/* Channel Table - Row */

.cl__row-wrapper {
    height: 100%;
    overflow-y: auto;
}

@media screen and (min-width: 1026px) {
    .cl__row-wrapper {
        margin-bottom: 32px;
    }
}

.cl__row {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    position: relative;
    overflow: hidden;
}

.cl__row.cl__hide {
    display: none;
}

.cl__row::after {
    content: "";
    width: 100%;
    height: 1px;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    background: #979797;
    opacity: 0.25;
}

/* Channel Table - Cell */

.cl__cell {
    width: calc(100% - 160px);
    display: flex;
    justify-content: center;
    align-items: center;
    flex: none;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.cl__cell.cl__active {
    display: flex;
}

@media screen and (min-width: 1026px) {
    .cl__cell {
        display: flex;
        width: 100%;
        flex: 1;
    }
}

/* Channel Table - Network Column */

.cl__first-col-row {
    display: flex;
    flex-shrink: 0;
    z-index: 2;
}

/* Channel Table - Network Column - Network Logo */

.cl__cell__logo__wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 160px;
    min-height: 110px;
    padding: 32px;
    background-color: #0d123d;
    background-color: linear-gradient(
        35.07deg,
        #0d123d 20.18%,
        #2d2d2d 123.04%,
        #0071ba 123.05%,
        #0d123d 123.05%
    );
}

.cl__cell__logo__image {
    width: 100%;
}

/* Channel Table - Network Column - Network Name */

.cl__cell__network-text {
    display: none;
    width: 190px;
    flex-shrink: 0;
    align-items: center;
    justify-content: flex-start;
    padding: 32px;
    background-color: #f0f7fb;
    background-color: linear-gradient(
        35.07deg,
        rgba(3, 146, 207, 0.3) -5.66%,
        rgba(0, 113, 186, 0.3) 97.21%
    );
}

@media screen and (min-width: 1026px) {
    .cl__cell__network-text {
        display: flex;
    }
}

/* Channel Table - True False Cells */
.cl__cell-true,
.cl__cell-false {
    display: none;
}

.cl__cell-true.cl__active,
.cl__cell-false.cl__active {
    display: flex;
}

/* Channel Table - Additional Features */

.cl__cell__additional-features {
    display: flex;
    flex-direction: column;
}

.cl__cell__additional-feature-na {
    display: none;
    text-align: center;
    font-size: 14px;
    color: #707070;
}

.cl__cell__additional-feature {
    display: none;
    min-width: 80px;
    border: 1px solid #7ac043;
    padding: 0 16px;
    font-size: 14px;
    color: #707070;
    margin-bottom: 12px;
    border-radius: 16px;
    text-align: center;
}

.cl__cell__additional-feature-na.cl__active,
.cl__cell__additional-feature.cl__active {
    display: block;
}

/* Channel Table - Mobile Navigation */
.cl__mobile_nav-wrapper {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding-left: 160px;
    padding-right: 0;
    padding-top: 16px;
    padding-bottom: 16px;
}

.cl__mobile_nav-wrapper::before {
    content: "";
    display: block;
    width: calc(100% - 160px);
    height: 4px;
    position: absolute;
    right: 0;
    top: -4px;
    background-color: #8ad74a;
}

@media screen and (min-width: 1026px) {
    .cl__mobile_nav-wrapper {
        display: none;
    }
}

.cl__mobile_nav-next,
.cl__mobile_nav-prev {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.cl__mobile_nav-next svg path,
.cl__mobile_nav-prev svg path {
    fill: #0d123d;
}

.cl__mobile_nav-next.cl__inactive svg path,
.cl__mobile_nav-prev.cl__inactive svg path {
    fill: #868686;
}
