﻿@font-face {
    font-family: 'vid-icomoon';
    src: url("/Static/legacy/fonts/vid-icomoon.eot?-q5r5cp");
    src: url("/Static/legacy/fonts/vid-icomoon.eot?#iefix-q5r5cp") format("embedded-opentype"), url("/Static/legacy/fonts/vid-icomoon.woff?-q5r5cp") format("woff"), url("/Static/legacy/fonts/vid-icomoon.ttf?-q5r5cp") format("truetype"), url("/Static/legacy/fonts/vid-icomoon.svg?-q5r5cp#icomoon") format("svg");
    font-weight: normal;
    font-style: normal;
}

[class^="vid-icon-"], [class*=" vid-icon-"] {
    font-family: 'vid-icomoon';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.vid-icon-pause:before {
    content: "\e602";
}

.vid-icon-play {
    color: white;
}

    .vid-icon-play:before {
        content: "\e603";
    }

.vid-icon-volume-high:before {
    content: "\e600";
}

.vid-icon-volume-mute:before {
    content: "\e601";
}

.vid-icon-close:before {
    content: "\e607";
}

.vid-icon-subtitles.active:before {
    color: #ffffff;
    content: "\e605";
}

.vid-icon-subtitles:before {
    cursor: pointer;
    color: #ffffff;
    content: "\e606";
    font-size: 20px;
}

.video-box {
    /*padding-bottom: 15%;*/
}

#video video, #video canvas {
    width: 100%;
}

#video canvas {
    display: inline-block;
}

.overlays,
.controls {
    height: 100%;
    width: 100%;
}

.video-container {
    position: relative;
}

.video-controls-box {
    margin-top: 10px;
    margin-right: auto;
    margin-left: auto;
    height: 50px;
    width: 100%;
}

    .video-controls-box .flag:before {
        margin-right: 0;
    }

    .video-controls-box .video-controls {
        float: right;
        margin-left: 1px;
        text-decoration: none;
    }

        .video-controls-box .video-controls:hover {
            text-decoration: none;
        }

/**
    VIDEO CONTROLS
*/
.video-controls {
    position: relative;
    text-align: right;
}

    .video-controls::after {
        content: '';
        clear: both;
        display: table;
    }

.video-controls-group {
    margin: 0;
    padding: 0;
    list-style: none;
    float: left;
}

.video-controls-group--right {
    float: right;
}

.video-controls-group__item {
    display: block;
    float: left;
    margin-left: 10px;
}

    .video-controls-group__item:first-of-type {
        margin-left: 0;
    }

.video-controls__control {
    color: #555;
    cursor: pointer;
    display: block;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    font-size: 14px;
}

@media only screen and (min-width: 40.063em) and (max-width: 64em) {
    .video-box {
        /*padding-bottom: 20%;*/
    }
    /*.content-box {
        margin-top: $video-margin;
    }*/
    .overlays,
    .controls {
        height: 100%;
        width: 100%;
    }
}


.controls,
.overlays {
    position: absolute;
    width: 100%;
    text-align: center;
    top: 0;
    left: 0;
}

#subs {
    position: absolute;
    width: 100%;
    text-align: center;
    top: auto;
}

#video {
    /*margin: 0 20px 20px 0;*/
    z-index: 0;
}

    #video video, #video #video canvas {
        width: 100%;
    }

.controls {
    z-index: 10;
    cursor: pointer;
}

    .controls a {
        display: inline-block;
        position: absolute;
        left: 50%;
        top: 50%;
        width: 100px;
        height: 100px;
        border-radius: 50%;
        padding-left: 10px;
        text-align: center;
        color: white;
        text-decoration: none;
        font-size: 30px;
        opacity: 0.8;
        line-height: 100px;
        padding-left: 10px;
        transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
    }

        .controls a.pause {
            padding-left: 0;
            opacity: 0;
            -webkit-transition: opacity linear .5s;
            transition: opacity linear .5s;
        }

            .controls a.pause.show-pause {
                opacity: 0.8;
            }

        .controls a:hover {
            background-color: #c5c5c5;
        }

    .controls.init-screen {
        background: no-repeat center center;
        background-size: cover;
    }

@media only screen and (max-width: 40em) {
    .controls a {
        width: 46px;
        height: 46px;
        margin-top: -23px;
        margin-left: -23px;
        padding-top: 9px;
        padding-left: 5px;
        font-size: 29px;
    }
}

.overlays {
    z-index: 5;
}

    .overlays > .overlay {
        position: absolute;
        color: #1c2148;
        font-size: 1.875rem;
        font-weight: bold;
        width: 100%;
    }

        .overlays > .overlay > div {
            opacity: 0;
            -webkit-transition: opacity linear 0.5s;
            transition: opacity linear 0.5s;
        }

            .overlays > .overlay > div.show-var {
                opacity: 1;
            }

@media only screen and (min-width: 40.063em) and (max-width: 64em) {
    .overlays > .overlay {
        font-size: 1.5625rem;
    }
}

@media only screen and (max-width: 40em) {
    .overlays > .overlay {
        font-size: 1.0625rem;
    }
}

#subs {
    bottom: 0;
    padding: 5%;
}

    #subs.disable {
        display: none;
    }

    #subs > div {
        /*display: block !important;*/
        width: 100%;
        padding: 0.46% 1%;
        text-shadow: 1px 1px 2px rgba(0,0,0,.87);
        color: #fff;
        font-weight: 500;
        font-size: 1.125rem;
        background-color: rgba(0, 0, 0, 0.6);
        border-radius: 3px;
    }

@media only screen and (min-width: 40.063em) and (max-width: 64em) {
    #subs > div {
        font-size: 1rem;
        line-height: 1.1875rem;
    }
}

@media only screen and (max-width: 40em) {

    #subs {
        padding: 0 1%;
    }

        #subs > div {
            font-size: 0.875rem;
            line-height: 1.125rem;
        }
}
