.font-size-0{
    font-size: 0;
}
.height-100 {
    height: 100vh;
}
.row{
    margin-left:0 !important;
    margin-right: 0 !important;
}
::-webkit-scrollbar {
    display: none !important;
}
.hide{
    display: none !important;
}
.page-container-1 {
    padding-top: 130px;
}
.page-top-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 130px;
}
.page-top-wrapper {
    position: relative;
    padding: 20px 50px;
    height: 100%;
}
.page-top-logo {
    height: 100%;
}
.page-content-container-1 {
    height: 100%;
    background: rgba(17, 17, 17, 0.46);
    box-shadow: 0px -5px 10px rgba(12, 12, 12, 0.35);
    position: relative;
}
.video-skin{
    position: absolute;
    left:0;
    bottom:0;
    color:#fff;
    width:100%;
    background: #333;
    padding: 10px 0;
    padding-top: 0;
}
.video-progress{
    height: 10px;
    overflow: hidden;
    font-size: .75rem;
    background-color: #e9ecef;
}
.progress-amount{
    background: #E7501E;
    height: 100px;
    display: inline-block;
}
.time-info {
    padding-top: 10px;
    padding-left: 10px;
}
.video-error{
    position: absolute;
    left:0;
    top:0;
    width:100%;
    height: 100%;
    color: #ff4832;
    font-size:25px;
    display:none;
    text-align: center;
}
.video-error img {
    width: 100%;
    height: 100%;
}
.video-error-text{
    position:absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}
.toast{
    position:fixed;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    max-width: none !important;
    display: none;
    box-shadow: none !important;
}
.toast-body{
    text-align: center;
}

.search-modal-container{
    position: fixed;
    left:0;
    top:0;
    width:100vw;
    height:100vh;
    background: #2222229e;
    display:none;
}
.search-modal-wrapper{
    position:fixed;
    width:40vw;
    height: 90vh;
    left:50%;
    top:0;
    transform: translate(-50%, 5vh);
    background: #333;
    padding: 20px 10px;
    overflow-y: scroll;
}
.search-input-container{
    font-size: 0;
    position: relative;
}
.search-input-wrapper {
    display: inline-block;
    width: 93%;
}
#search-value{
    font-size: 25px;
    background: transparent;
    box-shadow: none;
    outline: none;
    color: #fff;
    letter-spacing: 1px;
    font-weight: normal;
    border:2px solid #666 !important;
}
#search-value.active {
    border-color: #ffd90e !important;
}
.fa.fa-search.search-icon {
    position: absolute;
    right: 20px;
    font-size: 25px;
    color: #ddd;
    top: 50%;
    transform: translateY(-50%);
}

/*.search-icon-wrapper{*/
/*    color: #eee;*/
/*    text-align: right;*/
/*    padding: 5px;*/
/*    font-size: 25px;*/
/*    display: inline-block;*/
/*    width: 7%;*/
/*}*/
.search-content-container {
    margin-top: 10px;
    height: 890px;
    overflow-y: scroll;
    padding-bottom: 0;
}
.search-item-wrapper {
    color: #ddd;
    font-size: 25px;
    padding: 5px;
    border-bottom: 1px solid #888;
}
.search-item-wrapper.active{
    color: #333;
    background: #dee020;
}

.favourite-badge {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 25px;
    color: #FF3336;
}

.modal-border-1 {
    border: 3px solid #ccc;
}
.modal-bg-cyan{
    background: #FFE1CD !important;
    border:none;
}
.modal-text-1 {
    font-size: 35px !important;
    color: #eee;
}
.modal-btn-1 {
    background: #000000 !important;
    padding: 5px 20px !important;
    color: #eee !important;
    font-size: 25px !important;
    border-radius: 30px ;
    border:4px solid transparent;
    transition: all 0.2s;
    min-width: 150px;
}

.modal-btn-1.active {
    color: #fff !important;
    border-color: #fff;
}
#app{
    background-image: url("../images/bg.jpg");
    overflow-y:hidden;
    background-size: 100% 100%;
    width: 100vw;
    height: 100vh;
}
.page-container{
    background-image: url("../images/bg.jpg");
    background-size: 100% 100%;
    display: none;
}

#seasons-page-container{
    padding: 30px;
    padding-left: 80px;
    margin-top: 20px;
}
#series-image {
    width: 90%;
    max-height:90vh;
}
#season-page-back-button, #episode-page-back-button {
    color: #bbb;
    font-size: 35px;
    padding-top: 30px;
    padding-left: 40px;
}
#season-page-back-button.active, #episode-page-back-button.active {
    color:#fff;
}
#series-title-container {
    color: #fff;
    margin-bottom: 15px;
}
#series-title {
    font-size: 30px;
}
#season-rating {
    margin-left: 20px;
    font-size: 25px;
}
#season-grid-container{
    height: calc(100vh - 260px);
    padding-top: 15px;
    padding-left:5px;
    padding-bottom:10px;
    overflow-y: hidden;
}
.season-grid-item-wrapper, .episode-grid-item-wrapper {
    width: calc(20% - 25px);
    display: inline-block;
    margin-right: 20px;
    border-radius: 10px;
    overflow: hidden;
    height:380px;
    background: #48298f;
    box-shadow: 0 0 5px #633fb5a3;
    transition: all 0.6s;

}
.season-grid-item-wrapper.active, .episode-grid-item-wrapper.active{
    background: yellow;
    transform: scale(1.05);
}
.season-image, .episode-image {
    width: 100%;
    height: 320px;
    transition: border-color 0.6s;
}
.season-grid-item-wrapper.active img, .episode-grid-item-wrapper.active img{
    border-bottom:none;
    border-top-left-radius: 13px;
    border-top-right-radius: 13px;
}
.season-title-wrapper, .episode-title-wrapper{
    height: 60px;
    width: 100%;
}
.season-title, .episode-title {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    width:100%;
    text-align: center;
}
.season-grid-item-wrapper.active .season-title, .episode-grid-item-wrapper.active .episode-title{
    color:#333;
}

#episode-page-container{
    width:100%;
}

#episode-grid-container {
    width: 66.7%;
    margin: 0px auto;
    height: calc(100vh - 250px);
    padding-top:15px;
    padding-left:5px;
    overflow-y: scroll;
}
#season-title-container {
    color: #fff;
    font-size: 35px;
    margin: 0 auto;
    margin-top: 80px;
}


.padding-0{
    padding: 0 !important;
}

.modal-header-bg-img-1{
    background-image: url(../images/modal_header_bg.png);
    background-size: 100% 100%;
    /*background: #333;*/
    border-bottom: none !important;
}
.modal-body-bg-img-1{
    /*background-image: url(../images/dialog_bg.png);*/
    /*background-size: 100% 100%;*/
    background: #333;
}
.modal-title-text-2{
    font-size:35px;
    color:#eee;
    margin:5px auto;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}
.modal-title-text-3{
    font-size:35px;
    color:#333;
}



.modal-operation-menu-type-1 {
    color: #ddd;
    font-size: 35px;
    text-align: center;
    font-weight: bold;
    padding: 15px 25px;
    border-bottom: 1px solid #bfbf96;
}
.modal-operation-menu-type-1.active {
    background: #7f2a2a;
}
.modal-body .modal-operation-menu-type-1:last-of-type{
    border-bottom:none !important;
}

.modal-operation-menu-type-2 {
    padding: 20px 30px;
}
.modal-operation-menu-type-2.active {
    background-color: #ddd;
}
.modal-btn-2 {
    font-size: 30px;
    width: 150px;
    background: #fff;
    margin-left: 10px;
    transition: all 0.8s;
}
.modal-btn-2.active {
    background: #ddd;
}

.modal-operation-menu-type-3{
    color: #111;
    font-size: 32px;
    padding: 15px 25px;
    font-weight: normal;
}
.modal-operation-menu-type-3.active {
    background: #710057;
    color: #fff;
}
.modal-operation-menu-type-3 i {
    margin-right: 20px;
}
.modal-operation-menu-type-3.active i {
    color: #4cc94c;
}

.parent-modal-input-item-container {
    font-size: 35px;
    margin-bottom: 10px;
    white-space: nowrap;
}
.parent-modal-input-item-container label{
    margin-bottom: 0;
}
.parent-modal-label-wrapper{
    color: #000;
}
.parent-modal-input-wrapper {
    /*padding: 5px 10px;*/
    font-size: 30px;
}
.parent-modal-input-wrapper input {
    padding: 20px 10px;
    font-size: 30px;
    border: 4px solid transparent;
    background: #710057 !important;
    color: #fff !important;
    border-radius: 0;
}
.parent-modal-input-item-container.active input{
    border: 4px solid #fff !important;
}
.parent-modal-input-item-container input:focus{
    border: 4px solid #fff !important;
}

.parent-modal-input-container {
    margin-top:10px;
    margin-bottom: 0px;
}
.modal-body-1 {
    padding-top:40px;
    padding-bottom: 40px;
    padding-left:50px;
    padding-right:50px;
}
.parent-control-modal-btn-wrapper {
    margin-top:40px;
    text-align: center;
    height: 70px;
}

.user-account-item-wrapper{
    font-size: 30px;
    color: #eee;
    white-space: nowrap;
    padding:5px 20px;
    margin-top: 5px;
}
.user-account-label{
    display: inline-block;
    vertical-align: middle;
    font-weight: bold;
    color: #710057;
}
.user-account-value{
    display: inline-block;
    vertical-align: middle;
    font-weight: bold;
    margin-left: 20px;
    color: #000;
}

.no-background{
    background: none !important;
}
.active-state{
    background: #c81111;
}
#subtitle-selection-container{
    max-height: 700px;
    overflow-y: scroll;
    position: relative;
}
.subtitle-container{
    color:#fff;
    font-size:32px !important;
    bottom:0;
    padding:30px;
    width:60%;
    left:20%;
    /*visibility: hidden;*/
    /*transform: translateX(-50%);*/
}
.login-page-link {
    color: #ffff00 !important;
}



.video-info-btns-container{
    font-size: 0;
    width: 80%;
    margin: 0 auto;
    text-align: center;
}
.video-info-btn {
    vertical-align: middle;
    display: inline-block;
    text-align: center;
    width: 33.33%;
}
.video-info-icon {
    width: 60px;
    margin: 0 auto;
    height: 60px;
    padding-top: 15px;
    border-radius: 30px;
    transition: all 0.05s;
    border: 3px solid transparent;
}
.video-info-icon i{
    color: #fff;
    font-size: 30px;
}
.video-info-btn.active .video-info-icon, .video-info-btn:hover .video-info-icon{
    border:3px solid #f3ff00;
}
.video-info-icon img {
    height: 30px;
    margin: 0 auto;
    display: inline-block;
}

.video-controls-container{
    font-size:0;
}
.video-control-icon-container {
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    font-size: 40px;
    color: #fff;
}
.video-control-icon-wrapper{
    width: 70px;
    height: 70px;
    border-radius: 40px;
    text-align: center;
    margin:0 auto;
    line-height: 70px;
    border:2px solid transparent;
}
.video-control-icon-wrapper.active,.video-control-icon-wrapper:hover{
    border-color: #ffd90e;
}
.video-control-icon-wrapper.active i,.video-control-icon-wrapper:hover i{
    color: #ffe30f;
}



.modal-content{
    display:block !important;
}
.modal-dialog {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) !important;
}
.modal-dialog{
    margin-top:0 !important;
}
.modal-dialog.modal-lg{
    min-width: 750px;
}
.modal-dialog.modal-xl{
    min-width: 1000px;
}

label{
    font-weight: normal;
}
.video-loader{
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height: 100%;
    color: #ff4832;
    font-size:25px;
    display:none;
    text-align: center;
}
.video-loader img{
    width: 150px;
    height: 150px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#epg-loading-modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #111111e3;
    text-align: center;
    color: #fff;
    font-size: 40px;
    display: none;
}
#epg-loading-modal-content {
    width: 80%;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    overflow: hidden;
}
#epg-loading-modal-content-text{
    font-weight: normal;
}
#loading-content-progress-bar {
    height: 8px;
    background: #E6E3E3;
    position: relative;
    margin-top: 15px;
}
#loading-content-progress-amount {
    position: absolute;
    width: 400px;
    background: #9E9494;
    height: 100%;
    animation: loading-content infinite linear 2s;
}
@-webkit-keyframes loading-content{
    0%{
        left:0;
        transform:translateX(-400px);
    }
    100%{
        left:100%;
    }
}
#parent-confirm-password-error{
    display:inline-block;
    font-size:20px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.video-resolution {
    color: #fff;
    position: absolute;
    right: 20px;
    bottom: 20px;
    font-size: 25px;
    font-weight: normal;
}

.page-type-1{
    white-space: nowrap;
}
.left-sidebar{
    background: rgba(17, 17, 17, 0.6);
    display: inline-block;
    height: 100%;
    vertical-align: top;
    padding: 30px 30px 0 30px;
}
.left-sidebar.short{
    width: 30%;
}
.left-sidebar.wide{
    width: 45%;
}
.right-sidebar {
    display: inline-block;
    vertical-align: top;
    height: 100%;
}
.left-sidebar.short+.right-sidebar{
    width:70%;
}
.left-sidebar.wide+.right-sidebar{
    width:55%;
}
.back-button {
    color: #eee;
    font-size: 40px;
    border: 2px solid transparent;
    width: fit-content;
    padding: 7px 25px;
    border-radius: 30px;
    transition: all 0.1s;
    line-height: 1;
}
.back-button.active{
    border-color: #fff;
}
.left-sidebar-title {
    text-align: center;
    color: #fff;
    font-size: 45px;
    margin-bottom: 40px;
}
.timer-1, .timer-2 {
    position: fixed;
    color: #fff;
    right: 40px;
    top: 40px;
    font-size: 28px;
    text-align: right;
}
.timer-2{
    font-size:32px;
    top:20px;
    right: 50px;
}
.order-filter-title {
    color: #fff;
    font-size: 30px;
    text-transform: uppercase;
    padding: 10px 25px;
    border: 3px solid transparent;
    width: fit-content;
    border-radius: 50px;
}
.order-filter-title.active{
    border-color: #fff;
}
.favourite-btn-container {
    text-align: right;
    font-size: 28px;
    color: #fff;
    border: 2px solid transparent;
    width: fit-content;
    margin-left: auto;
    padding: 5px 20px;
    border-radius: 30px;
    transition: all 0.1s;
}
.favourite-btn-container.active{
    border-color: #fff;
}
.favourite-btn-container .fa-star{
    margin-left:10px;
    color: #fbea00;
}
.black-modal{
    background: rgba(4, 4, 4, 0.76);
    border-radius: 30px;
    padding: 30px;
}
#turn-off-click-msg{
    position: fixed;
    width: fit-content;
    padding: 10px 20px;
    color: #ddd;
    font-size: 25px;
    border-radius: 5px;
    z-index: 9999;
    display: none;
    bottom: 20px;
    opacity: 0;
    transition: all 0.5s;
    transform: translateX(-50%);
    left: 50%;
    background: #333;
}
#turn-off-click-msg.show{
    display: block;
    opacity: 1;
}
.y-scroll{
    overflow-y: scroll;
}
.clear-cache-desc {
    font-size: 30px;
    color: #000;
    font-weight: bold;
    padding: 20px 20px;
}
.fa, .fas {
    font-weight: 900 !important;
}

#sort-modal-container {
    position: fixed;
    left: 0;
    top: 100%;
    width: 100%;
    bottom:0;
    overflow-y: hidden;
    background: rgba(35, 35, 35, 0.71);
    z-index: 10;
    transition: all 0.3s;
}
#sort-modal-container.shown {
    top:0;
}
#sort-modal-content-wrapper {
    position: absolute;
    width: 700px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.sort-modal-item {
    transition: all 0.2s;
    font-size: 30px;
    background:#481463;
    color: #eee;
    text-align: center;
    padding: 15px 100px;
    margin-bottom: 5px;
}
.sort-modal-item.active {
    background:#ac2def;
}
.sort-modal-item:last-child{
    margin-bottom: 0;
}

/* Styles pour la boîte de dialogue de résolution */
#resolution-dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    border-radius: 10px;
    z-index: 1000;
    width: 300px;
}

#resolution-dialog .modal-header {
    padding: 15px;
    font-size: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#resolution-dialog .modal-body {
    padding: 15px;
    max-height: 300px;
    overflow-y: auto;
}

.resolution-option {
    padding: 10px 15px;
    margin: 5px 0;
    border-radius: 5px;
    cursor: pointer;
}

.resolution-option.active {
    background-color: #0078d7;
}

/* Styles pour les différents rapports d'aspect */
.resolution-fill video,
.resolution-fill #channel-page-player {
    width: 100% !important;
    height: 100% !important;
    object-fit: fill;
}

.resolution-fit video,
.resolution-fit #channel-page-player {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
}

.resolution-16-9 video,
.resolution-16-9 #channel-page-player {
    width: 100%;
    height: calc(100% * 9 / 16);
    max-height: 100%;
    max-width: calc(100% * 16 / 9);
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    object-fit: contain;
}

.resolution-16-10 video,
.resolution-16-10 #channel-page-player {
    width: 100%;
    height: calc(100% * 10 / 16);
    max-height: 100%;
    max-width: calc(100% * 16 / 10);
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    object-fit: contain;
}

.resolution-4-3 video,
.resolution-4-3 #channel-page-player {
    width: 100%;
    height: calc(100% * 3 / 4);
    max-height: 100%;
    max-width: calc(100% * 4 / 3);
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    object-fit: contain;
}

.resolution-3-2 video,
.resolution-3-2 #channel-page-player {
    width: 100%;
    height: calc(100% * 2 / 3);
    max-height: 100%;
    max-width: calc(100% * 3 / 2);
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    object-fit: contain;
}


.parent-confirm-item.active {
    /* Style pour l'élément actif */
    background-color: rgba(102, 0, 102, 0.1);
  }
  
  .parent-confirm-item input:focus {
    border: 3px solid #660066 !important;
    box-shadow: 0 0 5px #660066 !important;
    outline: none;
  }
  
  .parent-confirm-item.active button {
    /* Style pour les boutons actifs */
    border: 3px solid #660066;
    box-shadow: 0 0 5px #660066;
  }