﻿header,
footer {
    display: none !important;
}

.offcanvas {
    display: none;
}

.video-container {
    width: 100% !important;
    height: 100vh !important;
}

    .video-container .video-js {
        width: 100% !important;
        height: 100vh !important;
    }

.example-video-dimensions {
    width: 100% !important;
    height: 100vh !important;
}


#sidebar {
    min-height: 100vh;
    position: fixed;
    transition: all 0.25s;
    width: 25%;
    z-index: 9999;
    right: 0;
    /*overflow-y: scroll;
        overflow-x: clip;*/
    flex-direction: column;
    display: flex;
    height: 100%;
    background: #1f252e;
}

#content {
    min-height: 100vh;
    position: absolute;
    left: 0;
    transition: all 0.25s;
    width: calc(100% - 25%);
}

.no-sidebar #sidebar {
    margin-right: -25%;
    right: 0;
}

.no-sidebar #content {
    width: 100%;
}

/*
        Masquer / Afficher la sidebar
    */


#sidebar-close {
    background-color: transparent;
    border-radius: 0;
    display: block;
    height: 3em;
    left: 1em;
    position: absolute;
    text-decoration: none;
    top: 1em;
    width: 3em;
    z-index: 9999;
    padding: 2px;
    font-size: 42px;
    color: #fff;
}

#sidebar-toggle {
    background-color: #965fd8;
    border-radius: 0;
    display: block;
    height: 3em;
    right: 0%;
    position: absolute;
    text-decoration: none;
    top: 3em;
    width: 3em;
    z-index: 9999;
    padding: 2px;
}

.no-sidebar #sidebar-toggle {
    right: 2em;
    background-color: transparent;
}


#sidebar-toggle img {
    max-width: 100%;
    /* Firefox */
    -moz-transform: rotate(180deg);
    /* Safari and Chrome */
    -webkit-transform: rotate(180deg);
    /* Opera */
    -o-transform: rotate(180deg);
    /* IE9 */
    -ms-transform: rotate(180deg);
}

.no-sidebar #sidebar-toggle img {
    /* Firefox */
    -moz-transform: rotate(0deg);
    /* Safari and Chrome */
    -webkit-transform: rotate(0deg);
    /* Opera */
    -o-transform: rotate(0deg);
    /* IE9 */
    -ms-transform: rotate(0deg);
}


#sidebar-toggle::after {
    /*content: "🡐";*/
    color: white;
    display: block;
    font-size: 1.6rem;
    font-weight: bold;
    margin: -.2rem 0 0 0;
    text-align: center;
}

#sidebar-toggle:hover {
    background-color: #965fd8;
}

.no-sidebar #sidebar-toggle::after {
    /*content: "🡒";*/
    margin-right: .2rem;
}


/*
        Cache la "sidebar" à l'impression
    */

@@media print {
    #sidebar {
        display: none;
    }

    #sidebar-toggle {
        display: none;
    }

    #content {
        width: 100%;
    }
}


/*
        Présentation
    */

#wrapper {
    display: flex;
    width: 100%;
}

#sidebar {
    /*background-color: pink;*/
}

#content {
    padding: 0px;
}

.scroll {
    margin-bottom: 50rem;
}

.sidebar-header {
    background-color: hotpink;
}

    .sidebar-header a {
        display: block;
        padding: 30px;
        text-decoration: none;
    }

.sidebar-menu a {
    display: block;
    padding: 10px 30px;
    text-decoration: none;
}

    .sidebar-menu a:hover {
        background-color: white;
    }

#content {
    padding-top: 0px;
}

.swiper {
    width: 100%;
    height: 100%;
    margin-bottom: 0px;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .swiper-slide img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.cast-images::before {
    position: absolute;
    content: "";
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    -webkit-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    background: #1f252e;
}

.cast-images .img-box {
    /*height: 8rem;*/
    position: relative;
}

    .cast-images .img-box img {
        width: 100%;
        /*height: 100%;*/
        -o-object-fit: cover;
        object-fit: cover;
        border-radius: 5px;
    }


.cast-images .block-description {
    position: relative;
    opacity: 1;
    text-align: right;
    left: auto;
}

    .cast-images .block-description .iq-title {
        font-size: 1.125em;
        color: #fff;
        text-transform: capitalize;
    }

#sidebar li.slide-item {
    padding: 8px 16px 8px 8px;
}

    #sidebar li.slide-item:hover .block-description {
        animation: none;
        opacity: 1;
    }

small, .small {
    font-size: 0.875em;
}


.episode-number {
    position: absolute;
    top: 15px;
    left: 15px;
    height: 30px;
    width: 30px;
    line-height: 30px;
    text-align: center;
    color: var(--iq-white);
    background: rgb(134, 134, 134, 0.6);
    border-radius: 50%;
    opacity: 0;
    filter: alpha(opacity = 0);
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    background: rgb(0, 0, 0, .7);
    opacity: 1;
    top: auto;
    bottom: 15px;
    left: 15px;
    height: auto;
    width: auto;
    line-height: 1;
    text-align: center;
    border-radius: 0;
    padding: 2px 6px;
}

.currentEpisode .cast-images::before {
    background: rgb(39 46 58 / 0.9);
}

.swiper-slide-active .cast-images::before {
    background: rgb(39 46 58 / 0.9);
}

.swiper-slide:hover .cast-images::before {
    background: rgb(39 46 58 / 0.9);
}


.card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: .25rem;
    background: transparent;
    padding-top: 5px;
    padding-bottom: 5px;
}

.posterInfoHead {
    text-align: right;
}

    .posterInfoHead img {
        max-width: 150px;
    }

.vjs-subs-caps-button {
    display: none;
}

.showEpisodesPart .block-description {
    align-items: center;
    justify-content: space-between;
}

.showEpisodesPart{
    display: none;
}

.skipIntroDiv {
    display: none;
    left: 7em;
    position: absolute;
    text-decoration: none;
    bottom: 7em;
    /* width: 3em; */
    z-index: 9999;
}

    .skipIntroDiv .btn {
        font-size: 1.20rem;
        line-height: 1.20rem;
    }


.vjs-default-skin .vjs-big-play-button {
    font-size: 3em;
    line-height: 128px;
    height: 128px !important;
    width: 128px;
    border: 1px solid #fff;
    border-radius: 0.3em;
    left: 0.5em;
    top: 0;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

.vjs-audio-button {
    display: none !important;
}

@media (max-width: 767px) {
    #content {
        min-height: auto;
        position: relative;
    }

    .video-container {
        width: 100% !important;
        height: auto !important;
    }

        .video-container .video-js {
            height: initial !important;
        }

    .example-video-dimensions {
        height: initial !important;
    }

    .video-js .vjs-tech{
        position: relative;
    }

    #sidebar{
        display: none;
    }

    .sideSlider{
        display: none;
    }

    .no-sidebar #sidebar-toggle {
        display: none;
    }

    .showEpisodesPart {
        display: flex;
        padding-top: 5%;
        margin: 0px;
    }

    .posterInfoHead h1{
        font-size: 36px;
    }

    .vjs-default-skin .vjs-big-play-button {
        font-size: 3em;
        line-height: 45px;
        height: 45px !important;
        width: 45px;
        border: 1px solid #fff;
        border-radius: 0.3em;
        left: 0.5em;
        top: 0;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        margin: auto;
    }

    #sidebar-close {
        height: auto;
        left: 5%;
        position: absolute;
        text-decoration: none;
        top: 0;
        width: auto;
        z-index: 9999;
        padding: 2px;
        font-size: 42px;
        color: #fff;
    }

    .vjs-button > .vjs-icon-placeholder:before {
        font-size: 1.8em;
        line-height: 1.67;
        position: relative;
    }

    .vjs-visible-nextEps:before {
        font-size: 1.8em;
        line-height: 1.67;
    }

    .vjs-visible-fullScreenCustom:before {
        font-size: 1.8em;
        line-height: 1.67;
    }

    .video-js .vjs-control {
        width: 3em;
    }

    .showEpisodesPart .block-description {
        position: relative;
    }


    .skipIntroDiv {
        display: none;
        left: 7em;
        position: absolute;
        bottom: auto;
        top: 20vh;
        z-index: 9999;
    }
}
