/**
Video player
 */

#container .video-tv {
    position: relative;
    background-color: black;
}

#container .inner-video {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
}

#container .inner-video .iframe-tv {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#container .inner-video .current-time {
    position: absolute;
    color: white;
    line-height: 1.5;
    top: 10px;
    right: 0;
    z-index: 20;
    padding: 2px;
    height: 19px;
    text-align: center;
    font-size: 14px;
    width: 0;
    opacity: 0;
    overflow: hidden;
    background-color: #99cff4;
    -webkit-transition: all 0.7s ease-in-out;
    transition: all 0.7s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#container .video-tv .video-controls-tv {
    position: absolute;
    top: auto;
    bottom: 0;
    opacity: 0;
    visibility: hidden;
    left: 0;
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    -webkit-transition: all 0.7s ease-in-out;
    transition: all 0.7s ease-in-out;
}

#container .video-tv:hover .current-time {
    width: 70px;
    opacity: 1;
}

#container .video-tv:hover .video-controls-tv {
    visibility: visible;
    opacity: 1;
}


#container .video-tv .seek-bar-tv {
    width: 100%;
}

#container .video-tv .control-footer {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

#container .video-tv .play-sound {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#container .video-tv .play-sound .sound {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 150px;
    height: 40px;
    -webkit-transition: all 0.7s ease-in-out;
    transition: all 0.7s ease-in-out;
}

#container .video-tv button:not(#tv-subtitles) {
    width: 40px;
    height: 30px;
    min-width: 40px;
    border: none;
    color: #99cff4;
    background-color: transparent;
    -webkit-transition: all 0.7s ease-in-out;
    transition: all 0.7s ease-in-out;
    display: flex;
    align-items: center;
}

#container .video-tv .play-pause-tv {
    font-size: 21px;
}

#container .video-tv .mute-tv {
    font-size: 30px;
    position: relative;
}

#container .video-tv .mute-tv .muted {
    width: 2px;
    height: 100%;
    position: absolute;
    top: 0;
    display: none;
    left: 0;
    background-color: black;
    -ms-transform: rotate(35deg);
    -webkit-transform: rotate(35deg);
    transform: rotate(35deg);
}

#container .video-tv .full-screen-tv {
    font-size: 28px;
    -webkit-transition: all 0.7s ease-in-out;
    transition: all 0.7s ease-in-out;
}

#container .video-tv .skip {
    position: absolute;
    right: 0;
    top: -90px;
    display: none;
    flex-flow: column;
    align-items: center;
    justify-content: center;
}

#container .video-tv.has-no-entry .skip {
    display: flex;
}


#container .video-tv .after-entry-warning-tv {
    position: absolute;
    top: 10px;
    font-size: 14px;
    left: 0;
    color: white;
    background-color: #99cff4;
    z-index: 999999;
    font-weight: 600;
    padding: 2px 5px;
    display: none;
}


#container .video-tv .skip span {
    font-size: 45px;
    color: #99cff4;
    cursor: pointer;
    -webkit-transition: all 0.7s ease-in-out;
    transition: all 0.7s ease-in-out;
}

#container .video-tv .skip span:hover {
    color: #ffffff;
}


/**
Range slider
 */
.rangeslider,
.rangeslider__fill {
    display: block;
    -moz-box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.3);
    box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.3);
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

.rangeslider {
    cursor: pointer;
    background: white;
    position: relative;
}

.rangeslider--horizontal {
    height: 4px;
    width: 100%;
}

#container .video-tv .seekrange {
    opacity: 0;
}

#container .video-tv.has-no-entry .seekrange {
    opacity: 1;
}


.rangeslider--vertical {
    width: 20px;
    min-height: 150px;
    max-height: 100%;
}

.rangeslider--disabled {
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=40);
    opacity: 0.4;
}

.rangeslider__fill {
    background: #99cff4;
    position: absolute;
}

.rangeslider--horizontal .rangeslider__fill {
    top: 0;
    height: 100%;
}

.rangeslider--vertical .rangeslider__fill {
    bottom: 0;
    width: 100%;
}

.rangeslider__handle {
    background-color: #99cff4;
    cursor: pointer;
    display: inline-block;
    width: 10px;
    height: 10px;
    position: absolute;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}

.rangeslider__handle:after {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    margin: auto;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}

.rangeslider__handle:active, .rangeslider--active .rangeslider__handle {
    background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjEiLz48c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDAwMDAiIHN0b3Atb3BhY2l0eT0iMC4xMiIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');
    background-size: 100%;
    background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, rgba(0, 0, 0, 0.1)), color-stop(100%, rgba(0, 0, 0, 0.12)));
    background-image: -moz-linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.12));
    background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.12));
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.12));
}

.rangeslider--horizontal .rangeslider__handle {
    top: -3px;
    touch-action: pan-y;
    -ms-touch-action: pan-y;
}

.rangeslider--vertical .rangeslider__handle {
    left: -10px;
    touch-action: pan-x;
    -ms-touch-action: pan-x;
}

input[type="range"]:focus + .rangeslider .rangeslider__handle {
    -moz-box-shadow: 0 0 8px rgba(255, 0, 255, 0.9);
    -webkit-box-shadow: 0 0 8px rgba(255, 0, 255, 0.9);
    box-shadow: 0 0 8px rgba(255, 0, 255, 0.9);
}


#container .video-tv .full-cc-wrapper {
    display: grid;
    grid-template-columns: 40px auto;
    grid-gap: 20px;
    position: relative;
    height: 100%;
    place-items: center;
}

#container .video-tv .full-cc-wrapper button {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
}

#container .video-tv .subtitles-menu {
    display: none;
    position: absolute;
    bottom: 0;
    width: calc(100% - 50px);
    right: 0;
    list-style-type: none;
    margin: 0;
    z-index: 0;
    padding: 0 0 40px 0;
    background: rgba(56, 60, 64, 0.7);
}

#container .video-tv #tv-subtitles {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    z-index: 2;
    border: none;
    color: #99cff4;
    background-color: transparent;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    display: flex;
}

#container .video-tv button:focus,
#container .video-tv button:focus-within,
#container .video-tv button:focus-within{
    outline: 1px dotted #212121;
    outline: 5px auto -webkit-focus-ring-color;
}

#container .video-tv .subtitles-menu li {
    padding: 0;
    text-align: center;
}

#container .video-tv .subtitles-menu li button.subtitles-button {
    font-size: 14px !important;
    border: none !important;
    color: #fff !important;
    cursor: pointer !important;
    width: 100% !important;
    padding: 2px 5px !important;
    text-transform: uppercase !important;
}

#container .video-tv .subtitles-menu li button[data-state=active],
#container .video-tv .subtitles-menu li button[default] {
    background-color: #99cff4 !important;
    color: #fff !important;
}

#container .video-tv .controls button[data-state="subtitles"] {
    height: 85%;
    text-indent: 0;
    font-size: 1rem;
    font-weight: bold;
    color: #666;
    background: #000;
}


@media only screen and (min-width: 768px) {
    #container .video-tv .skip:not(.skip-theatre) {
        position: relative;
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
        flex-direction: row-reverse;
    }

    #container .video-tv #tv-subtitles {
        font-size: 14px;
    }

    #container .video-tv .play-sound .sound {

        width: 200px;

    }

    #container .video-tv button:not(#tv-subtitles) {
        width: 50px;
        min-width: 50px;
    }

}

.inner-video-play-icon {
    width:106px;
    height:106px;
    position: absolute;
    top: 50%;
    left: 50%;
    color: #99cff4;
    font-size: 60px;
    border-radius: 50%;
    pointer-events: none;
    border: 3px solid #99cff4;
    padding: 20px;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
}