/**
Video player
 */

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

#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;
    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;
}

#container .video-tv .video-controls-tv {
    position: absolute;
    top: calc(100% - 44px);
    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: 200px;
    height: 40px;
    -webkit-transition: all 0.7s ease-in-out;
    transition: all 0.7s ease-in-out;
}

#container .video-tv button {
    width: 50px;
    height: 30px;
    min-width: 50px;
    border: none;
    color: #99cff4;
    background-color: transparent;
    -webkit-transition: all 0.7s ease-in-out;
    transition: all 0.7s ease-in-out;
    outline: none;
    display: flex;
}

#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: 32px;
    -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;
}


@media only screen and (min-width: 768px) {
    #container .video-tv .skip {
        flex-direction: row-reverse;
        right: 55px;
        top: 5px;
    }
}


/**
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: 18px;
    height: 18px;
    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);
}
