body{
    margin:0;
}

.video-bg{
    background-color: black;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
}

.video-js{
    width:0;
    height:0;
}

.video-js .vjs-tech {
    position: relative;
}

.video-js .vjs-big-play-button{
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    border:none;
    height: 2em;
    line-height: 2em;
    background-color: rgba(200, 200, 200, 0.8);
    border-radius: 20px;
}

.infuse-player {
    cursor: pointer;
    position: relative;
    top: 50%;
    transform: translate(0, -50%);
    width: 100vw;
    height: 100vh;
}

.infuse-player-dimensions.embeded {
    width:100%;
    height:auto;
    max-height: 100vh;
}

.infuse-player-dimensions{
    height: fit-content;
    width: 60%;
}

.vjs-infuse-logo,
.vjs-play-icon,
.vjs-pause-icon{
    z-index:999;
    position: absolute;
    object-fit: contain;
    cursor: pointer;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.vjs-infuse-logo{
    width:7vw;
    padding: 1.2vw;
    background: rgba(50,50,50,0.8);
    border-radius: 15px;
}

.vjs-play-icon,
.vjs-pause-icon {
    width: 6vw;
    height: 6vw;
    opacity: 0;
    z-index: -1;
    -webkit-transition: opacity 0.5s linear;
    -moz-transition: opacity 0.5s linear;
    transition: opacity 0.5s linear;
}

.vjs-play-icon img,
.vjs-pause-icon img {
    width: 100%;
    height: 100%;
}

.vjs-infuse-logo-control {
    width: 8em;
    padding:0.5em 0.7em;
    filter: grayscale(100%);
    -webkit-transition : -webkit-filter 500ms linear;
}

.vjs-infuse-logo-control:hover{
    filter: grayscale(0%);
}

.vjs-infuse-logo-control img {
    width:100%;
    height: 100%;
    object-fit: contain;
}

.vjs-infuse-logo img {
    width:100%;
}

.video-js .vjs-title-bar{
    background: rgba(0,0,0, 0.5);
    color: white; 
    font-size: 16px;
    padding:1vw;
    position: absolute;
    opacity: 1;
    top: 0;
    left: 0;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: opacity .2s linear;
    -moz-transition: opacity .2s linear;
    -webkit-transition: opacity .2s linear;
}

.video-js .vjs-play-progress,
.video-js .vjs-load-progress {
    background: linear-gradient(to right, #E6193B, #F8AC17);
}

.video-js .vjs-initial-duration {
    background: rgba(100, 100, 100, 0.8);
    color: white; 
    font-size: 12px;
    padding: 5px;
    position: absolute;
    font-weight: 800;
    bottom: 5%;
    left: 2%;
    border-radius: 5px;
}

.video-js .vjs-control-bar {
    padding-top: 2.5em;
    height: auto;
    background-color: rgba(0, 0, 0, 0.7);

}

.video-js .vjs-control-bar .vjs-progress-control {
    position: absolute;
    padding: 0 0.8em;
    bottom: 4em;
    width: 100%;
    height:auto;
}

.video-js .vjs-control-bar .vjs-remaining-time {
    display: none;
}

.video-js .vjs-control-bar .vjs-current-time,
.video-js .vjs-control-bar .vjs-time-divider,
.video-js .vjs-control-bar .vjs-duration {
    display: block;
    padding-left: 0;
    padding-right: 4px;
    min-width: 0;

}

.video-js .vjs-audio-button.vjs-menu-button-popup.vjs-hover .vjs-menu{
    display: none;
}

.video-js .vjs-control-bar .vjs-infuse-language-menu-icon {
    padding-top: 0.7em;
    position: relative;
    width: 4em;
    text-align: center;
}

.video-js .vjs-control-bar .vjs-infuse-language-menu-icon .flag-icon {
    line-height: 1.5em;
    width: 2em;
}

.video-js #infuse-language-menu {
    display: none;
    position: absolute;
    border-top-color: rgba(43, 51, 63, 0.7);
    bottom: 3em;
    right: -6.5em;
    width: 12em;
    height: 0em;
    margin-bottom: 1.5em;
}

.video-js #infuse-language-menu ul{
    background-color: rgba(43, 51, 63, 0.7);
    position: absolute;
    width: 100%;
    bottom: 1em;
    max-height: 15em;
    padding:0;
    
}

.video-js #infuse-language-menu ul li {
    list-style: none;
    margin: 0;
    padding: 0.2em;
    line-height: 1.4em;
    font-size: 1.2em;
    text-align: left;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;

}

.video-js #infuse-language-menu ul li:hover,
.video-js #infuse-language-menu ul li.selected{
    background-color: #fff;
    color: #2B333F;
}

.video-js #infuse-language-menu ul li span {
    padding-left: 2em;
}

.video-js .vjs-control-bar .vjs-duration {
margin-right: auto;
}

.video-js .vjs-control-bar .vjs-volume-panel-horizontal{
    width: 10em;
}

.video-js .vjs-control-bar .vjs-volume-horizontal{
    width: 5em;
    height: 3em;
    margin-right: auto;
    opacity: 1;
    visibility: visible;
}

.video-js .vjs-slider-horizontal .vjs-volume-level:before {
    right: -0.5em;
}

.video-js .vjs-text-track-display {
    bottom: 6em;
}

/* 
  Only show the title bar after playback has begun (so as not to hide
  the big play button) and only when paused or when the user is 
  interacting with the player.
*/
.video-js.vjs-paused.vjs-has-started .vjs-title-bar,
.video-js.vjs-user-active.vjs-has-started .vjs-title-bar{
  opacity: 1;
}

.video-js.vjs-user-inactive .vjs-title-bar{
    opacity: 0;
}

.video-js.vjs-user-inactive .vjs-infuse-language-menu {
    display: none !important;
}

.vjs-has-started .vjs-initial-duration,
.vjs-has-started .vjs-infuse-logo{
    display: none;
}

.vjs-infuse-error {
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.vjs-progress-control .vjs-progress-holder {
      position: relative;
}
  
.vjs-progress-control .vjs-progress-holder::before {
    bottom: -300%;
    content: '';
    left: 0;
    position: absolute;
    right: 0;
    top: -300%;
}


@media only screen and (max-width: 992px) {
    .infuse-player-dimensions {
        width: 70%;
    }
    .vjs-infuse-logo{
        width:9vw;
    }
}

@media only screen and (max-width: 768px) {
    .infuse-player-dimensions {
        width: 80%;
    }
}

@media only screen and (max-width: 600px) {
    .infuse-player-dimensions {
        width: 90%;
    }
}

@media only screen and (max-width: 450px) {
    .infuse-player-dimensions {
        width: 100%;
        height: auto;
    }
}

@media only screen and (max-width: 270px) {
    .vjs-infuse-logo-control {
        display: none;
    }
}