/* ----------------------------------------------------------------- */
/*                   OVERRIDE THEOPLAYER SKIN                         */
/* https://docs.theoplayer.com/how-to-guides/11-ui/13-ui-skinning.md */
/* ----------------------------------------------------------------- */

/* already overrided */
.theo-primary-color, .vjs-selected { 
    color: #ffffff !important; 
}

/* already overrided */
.theo-primary-background {
    color: #ffffff !important;
    background-color: #004494 !important; 
}

.theo-secondary-color { 
    color: #ffffff !important;
}

.theo-secondary-background {
    color: #000000 !important; 
    background-color: #ffffff !important; 
}

.theo-tertiary-color { 
    color: #000000 !important; 
} 

.theo-tertiary-background { 
    color: #ffffff !important; 
    background-color: #000000 !important; 
} 

/* already overrided */
.vjs-menu-item:focus {
    background: transparent !important;
}

/* ------------------------------ */
/* END OF THEPLAYER SKIN OVERRIDE */
/* ------------------------------ */



.theoplayer-container {
    background: #000000;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden;
}

.top-bar, .top-bar .button-bar {
    display: block;
}

.AVSVideoPlayer .top-bar {
    z-index: 14;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    background-color: rgba(0, 0, 0, 0.25);
}

.AVSVideoPlayer .button-bar {
    z-index: 14;
    float: right;
    display: none;
    top: 0;
    right: 0;
    width: auto!important;
    height: auto!important;
}

.AVSVideoPlayer .button-bar-button {
    float: right;
    width: 50px;
    height: 50px;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

.AVSVideoPlayer .languagebutton, .AVSVideoPlayer .subtitlebutton  {
    position: relative;
    display: block;
    float: right;
    width: 120px !important;
    height: 30px;
    line-height: 30px;
    text-align: center;
    padding: 3px 6px 1px 6px;
}

.AVSVideoPlayer .languagebutton .menu, .AVSVideoPlayer .subtitlebutton .menu {
    width: 100%;
}

.AVSVideoPlayer .ratiobutton {
    position: relative;
    display: block;
    float: right;
    width: 40px !important;
    height: 30px;
    line-height: 30px;
    text-align: center;
    padding: 3px 6px 1px 6px;
}

.AVSVideoPlayer .channelbuttonBlue {
    position: relative;
    display: block;
    float: right;
    height: 36px;
    line-height: 30px;
    text-align: center;
    padding: 3px 6px 1px 6px;
    background-color: rgb(56, 104, 165);
    opacity: 0.7;
}

.AVSVideoPlayer .channelbuttonBlue:hover {
    cursor: pointer;
    background-color: rgba(56, 104, 165, 0.9);
}

.AVSVideoPlayer .channelbuttonGreen {
    position: relative;
    display: block;
    float: right;
    height: 36px;
    line-height: 30px;
    text-align: center;
    padding: 3px 6px 1px 6px;
    background-color: rgb(30, 119, 85);
    opacity: 0.7;
}

.AVSVideoPlayer .channelbuttonGreen:hover {
    cursor: pointer;
    background-color: rgba(30, 119, 85, 0.9);
}

.AVSVideoPlayer .channelbuttonHighlight {
    font-weight: bold;
    opacity: 1;
}



.AVSVideoPlayer .subtitlebutton {
    position: relative;
    display: block;
    float: right;
    margin: 0 5px;
    /*height: 30px;*/
    line-height: 30px;
    /*text-align: center;*/
    /*padding: 0;*/
    /*font-size: 1.8em;*/
    /*line-height: 1.67;*/
}

.AVSVideoPlayer .selected {
    color: #ffffff;
    background-color: #0065A2!important;
}


.AVSVideoPlayer {
    font-family: 'ECSquareSansPro', sans-serif;
    color: #fff;
    position: relative;
    background: black;
    display: block;
    cursor: default;
}

.AVSVideoPlayer .preview {
    z-index: 1;
    display: block;
    position: absolute;
    width: 100%;
    box-sizing: border-box;
    resize: horizontal;
    display: flex;
}

.AVSVideoPlayer .info-tab {
    background-color: rgba(248, 248, 248, 0.96);
    display: inline-block;
    color: rgb(0, 86, 138);
    margin: 2px;
    padding: 2px 0;
    border-radius: 2px;
    box-sizing: border-box;
    text-align: center;
    flex: auto;
}

.AVSVideoPlayer .info-tab-field {
    display: inline-block;
    position: relative;
    font-size: 14px;
}

.AVSVideoPlayer .info-img {
    position: relative;
    max-height: 285px;
    border-radius: 2px;
    margin: 0 auto;
    padding-bottom: 10px;
}

.AVSVideoPlayer .label {
    font-family: 'ECSquareSansPro', sans-serif;
    color: #fff;
    font-size: 22px;
    line-height: 30px;
    text-align: left;
    padding: 0;
}

.AVSVideoPlayer select {
    display: inline-block;
    font-family: 'ECSquareSansPro', sans-serif;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.31);
    border-radius: 2px;
    padding: 5px;
    font-size: 16px;
    height: 30px;
    width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
}

.AVSVideoPlayer option {
    color: #000000;
    background: transparent;
    padding: 5px 5px 5px 10px;
}

.AVSVideoPlayer .textfield {
    display: inline-block;
    font-family: 'ECSquareSansPro', sans-serif;
    background: transparent;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.31);
    border-radius: 2px;
    padding: 5px;
    font-size: 16px;
    height: 30px;
    width: 100%;
    text-align: center;
}

#embedTagField {
    font-size: 16px;
}

.AVSVideoPlayer .textfield-time:first-child {
    text-align: center;
    padding-right: 0.2rem;
}

.AVSVideoPlayer .textfield-time:last-child {
    text-align: center;
    padding-left: 0.2rem;
}

.AVSVideoPlayer .timeseparator {
    font-family: 'ECSquareSansPro', sans-serif;
    display: inline-block;
    color: #FFFFFF;
    padding: 5px;
    font-size: 15px;
    margin: 0;
    font-size: 13px;
    padding: 4px;
}

.AVSVideoPlayer .embed-copybutton {
    display: inline-block;
    font-family: 'ECSquareSansPro', sans-serif;
    background-color: rgba(248, 248, 248, 0.96);
    color: rgb(0, 86, 138);
    border: 1px solid rgba(255, 255, 255, 0.31);
    border-radius: 2px;
    padding: 5px;
    font-size: 16px;
    height: 30px;
    width: 100%;
    cursor: pointer;
    text-align: center;
    display: inline-block;
}

[type="checkbox"]:not(:checked),
[type="checkbox"]:checked {
    display: none;
}

[type="checkbox"]:not(:checked) + label,
[type="checkbox"]:checked + label {
    cursor: pointer;
    display: inline-block;
    position: relative;
}

[type="checkbox"]:not(:checked) + label:before,
[type="checkbox"]:checked + label:before {
    content: '';
    display: inline-block;
    width: 17px;
    height: 17px;
    border: 1px solid rgba(255, 255, 255, 0.31);
    background: transparent;
    vertical-align: sub;
}

/* checked mark aspect */

[type="checkbox"]:not(:checked) + label:after,
[type="checkbox"]:checked + label:after {
    content: '✔';
    position: absolute;
    display: inline-block;
    left: 0;
    width: 17px;
    height: 17px;
    font-size: 14px;
    line-height: 14px;
    color: #ffffff;
    text-align: center;
    transition: all .2s;
    border: 1px solid transparent;
    vertical-align: sub;
}

/* checked mark aspect changes */

[type="checkbox"]:not(:checked) + label:after {
    opacity: 0;
    transform: scale(0);
}

.AVSVideoPlayer select::-ms-expand {
    display: none;
}
.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
}

.AVSVideoPlayer .socialbutton {
    display: inline-block;
    background-color: transparent;
    margin-right: 5px;
    margin-bottom: 5px;
    cursor: pointer;
    pointer-events: all;
    width: 5vw;
    height: auto;
    font-size: 14px;
    margin-right: 4px;
    margin-bottom: 4px;
    margin-top: 10px;
}

.AVSVideoPlayer .socialbutton .icon {
    display: inline-block;
    width: 100%;
    height: auto;
    vertical-align: middle;
}

[type="checkbox"]:not(:checked), [type="checkbox"]:checked {
    display: none;
}

[type="checkbox"]:not(:checked) + label:before, [type="checkbox"]:checked + label:before {
    content: '';
    display: inline-block;
    width: 17px;
    height: 17px;
    border: 1px solid rgba(255, 255, 255, 0.31);
    background: transparent;
    vertical-align: sub;
}

.AVSVideoPlayer textarea {
    font-family: 'ECSquareSansPro', sans-serif;
    display: inline-block;
    background: transparent;
    color: #fff;
    margin: 0;
    width: 100%;
    height: 84px;
    border: 1px solid rgba(255, 255, 255, 0.31);
    border-radius: 2px;
    padding: 5px;
    font-size: 20px;
    vertical-align: top;
    resize: none;
    overflow: hidden;
}

.AVSVideoPlayer .autoplayBox {
    font-size: 11px; width: 11px; height: 11px; margin: 2px 2px 2px 3px;
}

label#shareAutoPlayBox,label#embedAutoPlayBox {
    font-size: 14px;
}

@font-face {
    font-family: 'ECSquareSansPro';
    /*src: url("../../../embed/player/fonts/ECSquareSansPro-Regular.eot");*/
    /* IE9 Compat Modes */
    src: url("../../../embed/player/fonts/ECSquareSansPro-Regular.woff") format('woff2'),
    url("../../../embed/player/fonts/ECSquareSansPro-Regular.woff") format('woff'),
    url("../../../embed/player/fonts/ECSquareSansPro-Regular.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
}

li.theo-menu-item[aria-label~="quality"] {
    display: none !important;
}

.vjs-paused .vjs-play-control:before {
    background-image: url("../../../embed/player/img/icon_play.png");
    background-repeat: no-repeat;
    background-position: center center;
    content: '' !important;
}

.vjs-has-started.vjs-playing .vjs-play-control:before {
    background-image: url("../../../embed/player/img/icon_pause.png");
    background-repeat: no-repeat;
    background-position: center;
    content: '' !important;
}

.vjs-paused .vjs-play-control:hover, .vjs-has-started.vjs-playing .vjs-play-control:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.vjs-play-progress {
    /*
      Using a data URI to create the white diagonal lines with a transparent
        background. Surprisingly works in IE8.
        Created using http://www.patternify.com
      Changing the first color value will change the bar color.
      Also using a paralax effect to make the lines move backwards.
        The -50% left position makes that happen.
    */
    background: #0066cc !important;
}

.vjs-fullscreen-control:before {
    font-family: FontAwesome;
    content: "\f0b2" !important;
}

.vjs-time-control {
    font-family: 'ECSquareSansPro', sans-serif;
}

.vjs-control.vjs-mute-control {
    order: 3;
}

.vjs-mute-control.vjs-vol-0:before {
    background-image: url("../../../embed/player/img/icon_soundoff.png");
    background-repeat: no-repeat;
    background-position: center;    
    background-size: 28px 25px;
    content: '' !important;
}

.vjs-mute-control:before {
    font-family: FontAwesome;
    content: "\f012" !important;
}

.theoplayer-skin .theo-text-track-control-button {
    display: none !important;
}

.vjs-control.vjs-volume-control {
    order: 2;
}

.video-js .vjs-control-bar {
    display: flex;
    visibility: visible;
    opacity: 1;
    background-color: rgba(48, 48, 48, 0.95) !important;
}

.theoplayer-skin .theo-control-bar-shadow {
    display: none;
}

.theoplayer-skin:not(.theo-seekbar-inside-controls) .vjs-progress-control {
    left: 0;
    right: 0;
}

.theoplayer-skin .vjs-progress-control .vjs-progress-holder {
    height: 0.6em;
}

.theoplayer-skin .vjs-progress-control .vjs-progress-holder:hover {
    height: 0.6em;
}

.theoplayer-skin .vjs-big-play-button, .theoplayer-skin:hover .vjs-big-play-button {
    background: url("../../../embed/player/img/icon_playarea.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100%;
    width: 75px;
    height: 75px;
}

.theoplayer-skin:hover .vjs-big-play-button {
    box-shadow: 0 0 2em rgba(255, 255, 255, 0.6) !important;
}

.video-js .theoplayer-poster {
    filter: brightness(60%);
    transition: filter 0.5s ease;
    background-size: cover !important;
}

.video-js .theoplayer-poster:hover {
    filter: brightness(100%);
}

.vjs-big-play-button .theo-big-play-button-svg-container {
    display: none;
}

.theoplayer-skin:hover .vjs-big-play-button {
    box-shadow: unset !important;
}

.theoplayer-skin:hover .vjs-big-play-button:after, .theoplayer-skin .vjs-big-play-button:focus:after {
    opacity: 0 !important;
}

.theoplayer-skin .vjs-big-play-button {
    color: #fff !important;
}

.top-bar {
    opacity: 0 !important;
}

.vjs-paused .top-bar {
    opacity: 1 !important;
}
.vjs-user-active .top-bar {
    opacity: 1 !important;
}

.theoplayer-skin:hover .vjs-big-play-button {
    box-shadow: none !important;
}

.tpanel {
    background-color: rgba(0, 86, 138, 0.96);
    z-index: 14;
    display: block;
    position: absolute;
    height: 100%;
    max-height: 100% !important;
    width: 100%;
}

.tpanel-content {
    margin: 15px;
}

.hidden {
    display: none !important;
}

.theo-primary-color, .vjs-selected {
    color: #00a2ff !important;
}

@media all and (max-width: 767px) {
    .theoplayer-skin .theo-live-control {
        width: 40px !important;
        min-width: 40px !important;
    }
}

.languagebutton, .ratiobutton {
    font-family: 'ECSquareSansPro', sans-serif;
    height: 100% !important;
}

.languagebutton:hover, .ratiobutton:hover {
    background-color: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    height: 100% !important;
}

.currentLanguage, .currentSubLanguage {
    vertical-align: top;
}

.currentLanguageSpanIcon {
    font-size: 25px;
}

.activeAudioLanguageOption, .activeSubLanguageOption {
    background-color: #0065A2!important;
    width: 100%;
}

.languagebutton .menu, .subtitlebutton .menu .ratiobutton .menu {
    bottom: 35px;
    position: absolute;
    text-align: center;
    width: 80px;
    padding: 5px;
    right: 0px;
    margin: 0;
    line-height: 30px;

    background-color: rgba(48, 48, 48, 0.95);
    max-height: 200px;
    overflow-y: auto;
	z-index: 5;
}

.subtitlebutton .menu {
    left: 0;
}

.ratiobutton .menu {
    width: 40px !important;
}

.languagebutton .menu div:hover, .ratiobutton .menu div:hover {
    color: #ffffff;
    background-color: #0065A2!important;
}

/* width */
.languagebutton .menu::-webkit-scrollbar, .ratiobutton .menu::-webkit-scrollbar {
    width: 10px;
}

/* Track */
.languagebutton .menu::-webkit-scrollbar-track, .ratiobutton .menu::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
.languagebutton .menu::-webkit-scrollbar-thumb, .ratiobutton .menu::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
.languagebutton .menu::-webkit-scrollbar-thumb:hover, .ratiobutton .menu::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.languagebutton .menu li.selected, .ratiobutton .menu li.selected {
    background-color: #0065A2!important;
}


.channelbutton {
    font-family: 'ECSquareSansPro', sans-serif;
    height: 100% !important;
}

.channelbutton:hover {
    background-color: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    height: 100% !important;
}

.channelbutton .menu {
    top: -40px;
    position: absolute;
    text-align: center;
    width: 100%;
    padding: 5px;
    right: 0px;
    margin: 0;
    background-color: rgba(48, 48, 48, 0.95);
    max-height: 200px;
    overflow-y: auto;
	z-index:5;
}

.channelbutton .menu div:hover {
    color: #ffffff;
    background-color: #0065A2!important;
}

/* width */
.channelbutton .menu::-webkit-scrollbar {
    width: 10px;
}

/* Track */
.channelbutton .menu::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
.channelbutton .menu::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
.channelbutton .menu::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.channelbutton .menu li.selected {
    background-color: #0065A2!important;
}

.currentLanguageSpanIcon:before {
    font-family: FontAwesome;
    content: "\f1ab" !important;
}

.subtitlebutton {
    font-family: 'ECSquareSansPro', sans-serif;
    height: 100% !important;
}

.subtitleButtonIcon:before {
    font-family: FontAwesome;
    font-size: 25px;
    content: "\f20a" !important;
}

.subtitlebutton:hover {
    /*background-color: rgba(255, 255, 255, 0.1);*/
    cursor: pointer;
    /*height: 100% !important;*/
}

.subtitlebutton:hover {
    /*background-color: rgba(255, 255, 255, 0.1);*/
    cursor: pointer;
    /*height: 100% !important;*/
}

.subtitlebutton .menu {
    bottom: 35px;
    position: absolute;
    text-align: center;
    padding: 5px;
    right: -22px;
    margin: 0;
    background-color: rgba(48, 48, 48, 0.95);
    max-height: 200px;
    overflow-y: auto;
    line-height: 30px;
    width: 80px;
    font-size: 1.2em;
    z-index: 5;
}

.subtitlebutton .menu div:hover {
    color: #ffffff;
    background-color: #0065A2!important;
}

/* width */
.subtitlebutton .menu::-webkit-scrollbar {
    width: 10px;
}

/* Track */
.subtitlebutton .menu::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
.subtitlebutton .menu::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
.subtitlebutton .menu::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.subtitlebutton .menu li.selected {
    background-color: #0065A2!important;
}

.shotlistbutton {
    font-family: 'ECSquareSansPro', sans-serif;
    height: 100% !important;
}
.shotlistbutton:before {
    font-family: FontAwesome;
    content: "\f036" !important;
}

.shotlistbutton:hover {
    /*background-color: rgba(255, 255, 255, 0.1);*/
    cursor: pointer;
}

.panel-closebutton {
    position: relative;
    float: right;
    z-index: 10;
    pointer-events: all;
    cursor: pointer;
}

.panel-closebutton:before {
    content: "\f00d";
    font-family: FontAwesome;
    color: rgb(0, 86, 138);
}

.AVSVideoPlayer .preview img {
    display: inherit;
    filter: none;
    -webkit-filter: none;
}

.Aligner {
    padding: 15px;
    top: 0px;
}

.Aligner-item--fixed {
    -webkit-box-flex: 0;
    -webkit-flex: none;
    -ms-flex: none;
    flex: none;
    max-width: 50%;
}

.button-bar-button.responsive {
    text-align: center;
}
.button-bar-button.responsive .fa {
    margin-top: 25%;
    margin-bottom: 25%;
}

@media all and (min-width: 577px) {
    .AVSVideoPlayer .button-bar-button.responsive {
        height: auto !important;
        font-size: 29px !important;
    }
}

@media all and (max-width: 576px) {
    .tpanel-content {
        margin: 5px;
    }

    .AVSVideoPlayer .channelbuttonBlue, .AVSVideoPlayer .channelbuttonGreen {
        padding: 3px 0 1px 0;
    }

    .AVSVideoPlayer .button-bar-button.responsive {
        height: auto !important;
        font-size: 19px !important;
    }

    .AVSVideoPlayer .tpanel .heading {
        font-size: 20px;
        line-height: 20px;
    }

    .AVSVideoPlayer .info-tab-field {
        font-size: 10px !important;
    }

    .AVSVideoPlayer .label, .AVSVideoPlayer .embed-copybutton, .AVSVideoPlayer textarea {
        font-size: 16px;
    }

    .AVSVideoPlayer textarea {
        height: 65px;
    }

    .AVSVideoPlayer .info .info-title {
        font-size: 14px;
        line-height: 14px;
    }
    
    .AVSVideoPlayer .info .subtitle {
        font-size: 10px;
    }
    
    .AVSVideoPlayer .info .desc {
        font-size: 14px;
    }

    .currentLanguage, .currentSubLanguage {
        display: none;
    }

    .languagebutton, .subtitlebutton {
        width: 40px !important;
    }
}

.AVSVideoPlayer .info-title {
    font-size: 20px;
    line-height: 20px;
    font-weight: 600;
}

.AVSVideoPlayer .subtitle {
    font-size: 16px;
    margin-top: 5px;
    margin-bottom: 10px;
}

.AVSVideoPlayer .desc {
    font-size: 20px;
    margin-top: 10px;
}

.heading {
    font-size: 28px;
    line-height: 28px;
    font-family: 'ECSquareSansPro', sans-serif;
    padding: 2px 4px;
    color: rgb(0, 86, 138);
    background-color: rgba(248, 248, 248, 0.96);
    border-radius: 2px;
    text-transform: capitalize;
}


.theoplayer-container[data-mode="LIVE"] .start-time, .theoplayer-container[data-mode="LIVE"] .end-time {
    display: none;
}

.theoplayer-container[data-panel="showing"] .vjs-control-bar {
    opacity: 1 !important;
}

.shotlist-container {
    position: absolute;
    bottom: 10%;
    padding: 5px 10px;
    width: 100%;
    /*min-height: 140px;*/
    height: auto;
    font-size: 15px;
    background: rgba(0,0,0,0.5);
}
.shotlist-container p {
    margin: 0;
    padding: 0;
}

.vjs-fullscreen .tpanel {
bottom: 0;
}

.previoustrack, .nexttrack{
    font-size: 18px;
    padding-top: 10px !important;
}

.previoustrack:hover, .nexttrack:hover {
    background-color: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    height: 100% !important;
}