@font-face {
    font-family: black_ops_one;
    src: url(/wp-content/themes/onepress-child/fonts/black_ops_one.ttf);
    line-height: 1.2
} 
@font-face {
font-family: audiowide;
src: url(/wp-content/themes/onepress-child/fonts/audiowide.ttf);
line-height: 1.2
}  
.select2-selection .select2-selection__rendered .channel-icon, .select2-results__options .channel-icon{
    width: 30px; height: 30px; border-radius: 50%; overflow: hidden; position: relative; display: inline-block
}
.select2-selection .select2-selection__rendered  .channel-icon img, .select2-results__options .channel-icon img{
    position: absolute; top: 50%; left:50%; object-fit: contain; transform: translate(-50%, -50%); height: 100%; width: 100%;
}
.select2-selection .select2-selection__rendered .d-flex, .select2-results__options .d-flex{
    gap: 10px; align-items: center
}
.channels .select2-container--default .select2-selection--single .select2-selection__rendered{
    line-height: 38px;
}
.channels .select2-container--default .select2-selection--single .select2-selection__arrow{
    right: 4px; height: 38px;
}
.channels .select2-container .select2-selection--single{
    height: 38px;
}
.home-portal-container{
    margin-top: 60px;
}
.favorite-channels .favs{
    display: flex; flex-wrap: wrap;
}
.favorite-channels .fav-channel{
    display:inline-block; width: 120px;
    margin-right: 15px; margin-bottom: 15px;
    text-align: center;
    padding: 20px; 
    background: #fff; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16); border-radius: 10px;
    font-size: 14px; border:2px solid #fff; cursor: pointer;
}
.favorite-channels .fav-channel.selected{
    border-color: var(--main-bg);
}
.favorite-channels .fav-channel .thumbnail{
    max-width: 70%; margin: 0 auto 15px
}
.favorite-channels .fav-channel .thumbnail img{
    object-fit: contain;  object-position: center;
    -webkit-filter: drop-shadow(2px 2px 2px #222);
    filter: drop-shadow(2px 2px 2px #222);
}
.favorite-channels .title{
    white-space: nowrap;
    text-overflow: ellipsis;
    word-break: initial;
    width: 100%;
    display: block;
    overflow: hidden;
}
#add-to-favorites{
    background-color: var(--main-bg); 
    border-color: var(--main-bg)
}
#page{
    background: transparent
}
.container{
    width: 100%; max-width: 1300px
}
.tv-container{
    margin-bottom: 10px
}
#clockdiv{
    display: flex; justify-content: center; gap: 10px
}
#clockdiv div{
    text-align: center;
}
#clockdiv span[style*="font-size:24px"]{
    font-size: 2.4rem !important; font-weight: bold;
    font-family: black_ops_one;
}
#clockdiv .smalltext{ 
    color:  #373cba;
    font-family: audiowide;
}
body.page-template-home-portal-php{
    background: #b7dde1;
}
.session-data{
    font-size: 1.2rem; margin-top: 30px;
    padding: 10px 20px; border: 2px dashed #009688;
    border-radius: 12px;
}
.session-data h5{
    margin-bottom: 15px; padding-bottom: 10px; position: relative;
    font-family: black_ops_one; margin-top: 5px;
}
.session-data h5:before{
    content:  ''; position: absolute; bottom: 0; left: 50%; width: 60px;
    border-top: 3px solid #373cba;
    transform: translateX(-50%)
}
.session-data .row > div{
    padding: 0 5px
}
.session-data .row .wrapper{
    padding: 6px;
    background: var(--secondary-bg);
    color: #fff;
    font-family: audiowide;
    display: block;
    text-align: center;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
}
#clockdiv > div{
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
    padding: 5px 10px 10px; background: #fff;
    border-radius: 15px; min-width: 85px;
    text-align: center;
}
#clockdiv > div:last-child span[style*="font-size:24px"]{
    color:red
}
.mobile-header, #mobile-app-menu header{
    position: fixed; top: 0; left: 0; right: 0; z-index: 99;
    background: var(--main-bg);
    display: flex; align-items: center; padding: 10px 20px;
}
#mobile-app-menu header{
    position: relative;
}
#page .mobile-header .branding, #mobile-app-menu .branding{
    font-size: 18px; flex: 1; margin-bottom: 0
}
#page .mobile-header .branding img, #mobile-app-menu img{
    max-height: 30px; width: auto
}
.mobile-header .menu-trigger, #mobile-app-menu .close-mobile-menu{
    margin-left: 10px; color: #fff;
    font-size: 20px;
    color: #fff
}
#all-channels-popup{
    position: fixed;top: 0; left: 0; right: 0;bottom: 0;
    z-index: -999;
    visibility: hidden; opacity: 0; transition: all .5s;
}
#all-channels-popup .overlay{
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: #000; opacity: .6
}
#all-channels-popup .inner{
    position: relative;
}
#all-channels-popup .channel-grid{
    max-height: calc(100vh - 140px); display: flex; flex-wrap: wrap; gap: 15px; position: relative;
    z-index: 1; overflow: hidden; justify-content: center; overflow: auto;
}
#all-channels-popup .channel-grid > div{
    margin: 0
}
#all-channels-popup.open{
    z-index: 99999;
    opacity: 1;
    visibility: visible;
}
#all-channels-popup .current-playing{
    padding: 10px 20px;
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
    color: #fff;
    background: var(--main-bg);
}
#all-channels-popup .current-playing > span{
    font-weight: bold;
}
#all-channels-popup .current-playing .ch{
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
    text-transform: uppercase;
}
#all-channels-popup .current-playing img{
    height: 35px;
    width: auto;
    max-width: 80px;
    object-fit: contain;
}
#all-channels-popup .close-popup{
    width: 25px;
    cursor: pointer;
    text-align: center;
    height: 25px;
    background: #fff;
    color: var(--main-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border-radius: 50%;
    margin-left: 10px;
}
#all-channels-popup .search-channel{
    padding: 0 20px;
    margin-bottom: 20px;
}
#all-channels-popup .search-channel input{
    font-size: 14px;
    border-radius: 30px;
    width: 100%;
    padding: 7px 20px;
}
.favorite-channels > p{
    display: flex; justify-content: flex-end;  gap: 10px;
    align-items: center;
}
.favorite-channels > p > b{
    text-transform: uppercase; flex: 1
}
.favorite-channels > p .btn{
    font-size: 10px;
}
.favorite-channels > p .btn #see-all-channels{
    background: var(--secondary-bg)
}
.session-data-traffic{
    margin-top: 20px;
    font-weight: bold;
    text-align: center;
}
.session-data-traffic > span:not(:last-child){
   margin-right: 15px;
   display:inline-block
}
.session-data-traffic .fa-download{
    color: var(--main-bg)
}
.session-data-traffic .fa-upload{
    color: var(--secondary-bg)
}
#mobile-app-menu{
    position: fixed;
    top: 0;
    bottom: 0;
    width: 67vw;
    right: -67vw;
    transition: all .5s;
    background: var(--secondary-bg);
    color: #fff;
    padding: 10px 5px;
    z-index: 999999;
}
#mobile-app-menu header{
    margin-bottom: 10px;
    background: var(--secondary-bg)
}
#mobile-app-menu.open{
    right: 0;
}
#mobile-app-menu ul{
    margin:0; left: 0;
    text-align: center;
    padding: 0 20px;
}
#mobile-app-menu ul li{
    margin: 0 0 10px;
    list-style-type: none;
    font-size: 18px;
    padding: 7px 20px;
    border-radius: 30px;
    background: var(--main-bg);
}
#mobile-app-menu ul li .fa{
    margin-right: 5px
}
.about-app h5{
    font-family: black_ops_one; margin-bottom: 5px;
}
#mobile-app-menu .about-app{
    position: absolute; bottom: 30px;
    left: 30px; right: 30px
}
@media (min-width: 900px){
    .mobile-only{
         display: none !important;
    }
 }
 @media (max-width: 900px){
    .home-portal-container {
        margin-top: 0px;
    }
    .hide-from-mobile{
        display: none !important;
    }
    .tv-container{
        width: calc(100% + 50px); margin-left: -25px
    }
}
@media (max-width: 600px){
    .channels{
        flex-wrap: wrap;
    }
    .channels > span:last-child{
        flex-basis: 100%; margin-top: 10px;
        margin-left: 0 !important
    }
    .home-portal-container {
        margin-top: 0;
    }

    .favorite-channels .favs {
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    .favorite-channels .fav-channel {
        width: 80px;
        font-size: 10px;
        min-width: 80px;
        padding: 5px;
    }
    .favorite-channels .fav-channel .thumbnail {
        margin: 0 auto 5px;
    }
}
@media (max-width: 420px){
    .favorite-channels > p{
        flex-wrap: wrap;
    }
    .favorite-channels > p b{
        flex-basis: 100%; margin-top: 10px; order: 3
    }
    .favorite-channels > p .btn {
        flex: 1
    }
}