﻿.video-js {
    font-size:12px;
}

.video-js .vjs-volume-panel {
    display: flex !important
}
  
.video-js .vjs-mute-control {
    display: inline-block !important
}

.vjs-poster {
    background-size:100%;
}

.vjs-video-canvas {
    position:absolute;
    top:0;
    left:0;
}

.vjs-volume-vertical {
    position: absolute!important;
    bottom: 3em!important;
    left:0.7em!important;
}
.vjs-current-time {
    display: block !important;
}
.vjs-duration {
    display: block !important;
    margin-right: 5px!important;
}
.vjs-remaining-time {
    display: none !important;
}
.video-js.vjs-fullscreen {
    position: relative !important;
}
.video-js .vjs-big-play-button .vjs-icon-placeholder:before{
    font-size: 65px !important;
}
.vjs-big-play-centered .vjs-big-play-button {
    margin-top: -35px;
}
.video-js .vjs-big-play-button {
    font-size: 25px;
    line-height: 75px;
    height: 75px;
    width: 75px;
    -webkit-border-radius: 45px;
    -moz-border-radius: 45px;
    border-radius: 45px;
}

.vjs-menu-button-popup[aria-label="Quality"] .vjs-menu {
    left: -1.5em;
    width: 6em;
}
.vjs-subs-caps-button .vjs-menu {
    left: -2em;
    width: 7em;
}

.vjs-fullscreen-control {
    width: 3em !important;
}
.vjs-VR-control {
    width: 2.3em !important;
    font-size: 1.5em !important;
}
.vjs-hls-source-selector-button {
    width: 3em !important;
    overflow:hidden!important;
    /*margin-top: 0.45em !important;*/
    line-height: 3.7em !important;
}
.vjs-menu-button-levels .vjs-menu-button {
    position: absolute;
    left: 0;
}

.vjs-menu-button-levels .vjs-menu {
    left: -2em;
    width: 6em;   
}

 .vjs-menu li {
    text-transform:none;
    font-size: 1.1em;
    padding:3px;
    margin:3px;
}

 .vjs-menu .vjs-selected {
        border-radius: 10px;
    }

 .vjs-menu .vjs-menu-item:hover {
    border-radius: 10px;
    background-color: rgba(0,0,0,.3);
    color:white;   
}

.vjs-menu .vjs-menu-content {
    padding: 0.8em;
    border-top-left-radius: 1em;
    border-top-right-radius: 1em;
    background-color: rgba(43,51,63,.7)
}

.vjs-menu-button-levels:before {
    font-family: VideoJS;
    font-weight: 400;
    font-style: normal;
    content: "\f110";
    font-size: 1.6em !important;
    position: absolute;
    left: 0.4em;
    top: 0.45em;
}

.vjs-menu-item {
    text-shadow:none;
}
/*.vjs-menu-item :hover {
    text-shadow: 0em 0em 1em white;
}*/
.vjs-menu-button-popup {
    width: 3em !important;
}
.vjs-button:hover {
    text-shadow: 0em 0em 1em white;
}
.vjs-hls-source-selector-button:before {
    font-family: VideoJS;
    font-weight: 400;
    font-style: normal;
    content: "\f110";
    font-size: 1.6em !important;
    line-height: 1.6em !important;
}

.video-js .vjs-volume-level:before {
    font-size: 1.4em !important;
    left:-0.35em;
}


.vjs-volume-bar.vjs-slider-horizontal {  
    height: 0.4em!important;
}
.vjs-slider-horizontal .vjs-volume-level {
    height: 0.4em !important;
}

.vjs-slider-horizontal .vjs-volume-level:before {
    top: -0.37em!important;
}

.video-js .vjs-chromecast-button {
    font-size: 1.1em !important;
    line-height: 1.67 !important;
    width:3em!important;
}

.vjs-airplay-control {
    font-size: 1.3em !important;
    width: 3em !important;
}
.vjs-airplay-button {
    width:3em!important;
}
.vjs-airplay-button .vjs-icon-placeholder {
    width: 17px;
    height: 19px;
}
.vjs-share-control {
    font-size: 1.3em !important;
    width: 2.5em !important;
}
.vjs-big-play-button {
    z-index: 20000
}

.vjs-remaining-time-display {
    margin-right:5px;
}

.vjs-contextmenu-ui-menu .vjs-menu-item:nth-child(1) {
    background-color: rgba(9, 9, 9, 0.66);
    margin-top: -2px;
    margin-left: -2px;
    margin-right: -2px;
    padding: 12px;
    font-weight: bold !important;
    font-size: 1.2em !important;
    border-radius: 0px;
    border-bottom: 1px solid #333;
    color: white!important;
}
.vjs-contextmenu-ui-menu .vjs-menu-item:nth-child(1):hover {
    font-size: 1.2em;
}        
    
.vjs-contextmenu-ui-menu .vjs-menu-item:nth-child(2) {
    color: gray!important;
    font-size: 1.1em;
    font-weight: bold;
}
.vjs-contextmenu-ui-menu .vjs-menu-content {
    background-color: rgba(0, 0, 0, 0.75)!important;   
}

.vjs-contextmenu-ui-menu li.vjs-menu-item:focus, .vjs-contextmenu-ui-menu li.vjs-menu-item:hover {
    background-color: transparent;
    color: #C70136!important;
    text-shadow: none;
    font-weight: bold!important;
    outline: none;
}

.video-js .vjs-share {
    max-height: 310px;
}

.video-js .vjs-progress-control:hover .vjs-progress-holder {
    font-size: 2em !important;
    height: 0.8em !important;
}

.video-js .vjs-progress-control:hover .vjs-play-progress:before {
    top: -0.25em;
}

.video-js .vjs-progress-holder {
    height: 0.5em !important;
}

.video-js .vjs-play-progress:before {
    font-size: 1.5em !important;
}

.vjs-time-tooltip {
    position: absolute!important;
}
.vjs-texttrack-settings {
    display: none;
}

.disableEffect .vjs-play-progress:before {
    font-size: 1em !important;
}
.disableEffect .vjs-progress-holder {
    height: 0.4em !important;
}

.disableEffect .vjs-progress-control:hover .vjs-progress-holder {
    font-size: 1em !important;
    height: 0.4em !important;
}

.disableEffect .vjs-progress-control:hover .vjs-play-progress:before {
    top: -0.35em;
}
.HideVolumeBar .vjs-volume-control {
    display: none !important;
}

.ima-slider-div {
    top: 24px;
}

.videojsCustom {
    font-size: 14px;
}

.videojsCustom .vjs-big-play-button {
    font-size: 2em;
    line-height: 1.9em;
    height: 2em;
    width: 2em;
    margin-left: -1em;
    -webkit-border-radius: 2em;
    -moz-border-radius: 2em;
    border-radius: 2em;
}
.videojsCustom .vjs-big-play-button .vjs-icon-placeholder:before {
    font-size: 1.8em !important;
}
.videojsCustom .vjs-contextmenu-ui-menu {
    font-size:11px;
}
.videojsCustom .vjs-contextmenu-ui-menu {
    width:20em;
}

.videojsCustom .vjs-play-control {
    width:2.5em!important;
}

.videojsCustom .vjs-share-control {
    width:1.9em!important;
}

.videojsCustom .vjs-hls-source-selector-button:before {
    font-size:1.5em!important;
    line-height:1.6em;
}
.videojsCustom .vjs-time-control {
    width: auto !important;
    padding-left: 0.5em;
    padding-right: 0.5em;
}

.videojsCustom .vjs-volume-panel {
    margin-right: 0.7em;
    width: 2.5em !important;
}

.videojsCustom .vjs-mute-control {
    width: 2.5em !important;
    padding-left:1em;
}
.videojsCustom .vjs-VR-control {
    width: 2.3em !important;
    font-size: 1.4em !important;
}

.videojsCustom .ima-fullscreen-div, .videojsCustom .ima-non-fullscreen, .videojsCustom .ima-play-pause-div, .videojsCustom .ima-mute-div, .videojsCustom .ima-non-muted {
    height: 45px;
    width: 40px;
    font-size: 14px;
    line-height: 35px;
}

.videojsCustom .ima-slider-div {
    top: 23px;
}

.videojsCustom .ima-slider-level-div {
    height: 11px;
}

.videojsCustom .ima-controls-div {
    height: 45px;
}

.videojsCustom .ima-non-fullscreen:before, .videojsCustom .ima-fullscreen:before, .videojsCustom .ima-play-pause-div:before, .videojsCustom .ima-mute-div:before, .videojsCustom .ima-non-muted:before {
    font-size: 23px;
}

.videojsCustom .vjs-menu-button-levels .vjs-menu li {
    margin:2px;
    padding:2px;
}

.vjs-user-inactive #vjs-logo-image.HideOnPlay {
    visibility: hidden;
}
.vjs-user-inactive.vjs-paused #vjs-logo-image.HideOnPlay {
    visibility: visible;
}
.vjs-modal-dialog .vjs-modal-dialog-content {
    z-index:2;
}
/*#region playlist position*/
.playListContainer {
    position: fixed;
    right: 0;
    top: 0;
    width: 0px;
    opacity: 0;
    display:none;
    bottom: 0;
    overflow-x: hidden;
    padding: 10px !important;
    padding-top: 50px !important;
    background-color: #1a1a1a;
    z-index: 30000;
}
.vjs-playlist {
    overflow-x: hidden;
    overflow-y: auto;
    direction:ltr;
    width:245px;
}

.vjs-playlist-item-list {
    width: 245px;
}

.vjs-playlist .vjs-playlist-item {
    margin-bottom:10px;
}
.vjs-playlist .vjs-playlist-name {
    text-shadow: none;
    margin: 0px 5px;
    margin-top: 5px;
}

.vjs-playlist-title-container {
    background: rgba(51, 51, 51, 0.5);
    padding: 5px 0px!important;
    width:100%;
    text-align: center;
}
.vjs-mouse.vjs-playlist .vjs-selected {
    background-color: rgba(255, 255, 255, 0.51);
}
.vjs-mouse.vjs-playlist .vjs-selected .vjs-playlist-thumbnail img {
    opacity:0.8;
}

.vjs-up-next-text {
    text-shadow:none;
}

.playlistOpenIcon {
    color: white;
    font-size: 2em;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    background-color: rgba(43,51,63,.7);
    border-radius: 24px;
    padding: 3px;
    width: 31px;
    z-index:1;
}
.playlistCloseIcon {
    color: white;
    font-size: 25px;
    position: absolute;
    top: 10px;
    left: 9px;
    cursor: pointer;
}

.vjs-playlist .vjs-selected .vjs-playlist-thumbnail .vjs-playlist-now-playing-text {
    display:block;
}

.vjs-ScrollStyle {
    direction: rtl;
}
.vjs-ScrollStyle::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #F5F5F5;
    border-radius: 10px;
}

.vjs-ScrollStyle::-webkit-scrollbar {
    width: 6px;
    background-color: #F5F5F5;
    border-radius: 10px;
}

.vjs-ScrollStyle::-webkit-scrollbar-thumb {
    background-color: #333 !important;
    border-radius: 10px;
}

/*#endregion */
/*#region icon position*/
.bottom-right {
    right: 0;
    bottom: 36px;
    position: absolute;
    z-index: 1;
}

.BottomCenter {
    bottom: 0;
    left: 50%;
    position: absolute;
    -moz-transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    z-index: 1;
}

.bottom-left {
    left: 0;
    bottom: 36px;
    position: absolute;
    z-index: 1;
}

.MiddleRight {
    top: 50%;
    right: 0;
    position: absolute;
    -moz-transform: translate(0,-50%);
    -webkit-transform: translate(0,-50%);
    -o-transform: translate(0,-50%);
    -ms-transform: translate(0,-50%);
    transform: translate(0,-50%);
    z-index: 1;
}

.MiddleCenter {
    top: 50%;
    left: 50%;
    position: absolute;
    margin: 0px;
    -moz-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    z-index: 1;
}

.MiddleLeft {
    top: 50%;
    left: 0;
    position: absolute;
    -moz-transform: translate(0,-50%);
    -webkit-transform: translate(0,-50%);
    -o-transform: translate(0,-50%);
    -ms-transform: translate(0,-50%);
    transform: translate(0,-50%);
    z-index: 1;
}

.top-right {
    top: 0;
    right: 0;
    position: absolute;
    z-index: 1;
}

.TopRightPopUp {
    top: 0;
    right: 27px;
    position: absolute;
    z-index: 1;
}

.TopCenter {
    top: 0;
    left: 50%;
    position: absolute;
    -moz-transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    z-index: 1;
}

.top-left {
    top: 0;
    left: 0;
    position: absolute;
    z-index: 1;
}
/*#endregion */

@media not all and (min-resolution:.001dpcm) {
    @media {

        .vjs-hls-source-selector-button, .vjs-menu-button-levels {
            display: none !important;
        }

        div[aria-label="Quality"] {
            display: none !important;
        }
    }
}

@media screen and (min-color-index:0) and(-webkit-min-device-pixel-ratio:0) {
    @media {
        .vjs-hls-source-selector-button, .vjs-menu-button-levels {
            display: none !important;
        }

        div[aria-label="Quality"] {
            display: none !important;
        }
    }
}


    /*@media all and (max-width: 768px) {
    .vjs-button > .vjs-icon-placeholder:before {
        font-size: 2.5em;
        line-height: 1.5;
    }
    .video-js .vjs-control-bar {
        height:3.5em;
    }

    .vjs-hls-source-selector-button:before {
        font-size: 2.3em!important;
    }

    .vjs-fullscreen-control {
        width: 4em !important;
    }
}*/