/*
Player Skin Designer for Video.js
http://videojs.com

To customize the player skin edit
the CSS below. Click "details"
below to add comments or questions.
This file uses some SCSS. Learn more
at http://sass-lang.com/guide)

This designer can be linked to at:
https://codepen.io/heff/pen/EarCt/left/?editors=010
*/
.video-js {
    /* The base font size controls the size of everything, not just text.
       All dimensions use em-based sizes so that the scale along with the font size.
       Try increasing it to 15px and see what happens. */
    font-size: 10px;
    /* The main font color changes the ICON COLORS as well as the text */
    color: #fff;
}

/* The "Big Play Button" is the play button that shows before the video plays.
   To center it set the align values to center and middle. The typical location
   of the button is the center, but there is trend towards moving it to a corner
   where it gets out of the way of valuable content in the poster image.*/
.vjs-default-skin .vjs-big-play-button {
    font-size: 4em;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    line-height: 2em;
    height: 2em;
    width: 2em;
    border: none;
    border-radius: 50%;

}
.vjs-has-started .vjs-default-skin .vjs-big-play-button {
    opacity: 0;
}

/* The default color of control backgrounds is mostly black but with a little
   bit of blue so it can still be seen on all-black video frames, which are common. */
.video-js .vjs-control-bar,
.video-js .vjs-big-play-button,
.video-js .vjs-menu-button .vjs-menu-content {
    /* IE8 - has no alpha support */
    background-color: #2B333F;
    /* Opacity: 1.0 = 100%, 0.0 = 0% */
    background-color: rgba(43, 51, 63, 0.7);
}

.vjs-has-started .vjs-control-bar {
    height: 65px;
    padding-top: 20px;
    background: none;
    background-image: -webkit-gradient(linear,left bottom,left top,from(#000000b8),to(transparent));
    background-image: linear-gradient(
            0deg,#000000b8,transparent);
}
/* Slider - used for Volume bar and Progress bar */
.video-js .vjs-slider {
    background-color: #73859f;
    background-color: rgb(59 78 106 / 75%);
}
.vjs-has-started .vjs-remaining-time {
    margin-right: auto;
    line-height: 40px;
    text-align: left;
}
.vjs-has-started  .video-js .vjs-volume-panel .vjs-volume-control {
    line-height: 45px;
}
.vjs-has-started .vjs-button>.vjs-icon-placeholder:before {
    line-height: 45px;
    font-size: 2.3em;
}
.vjs-has-started.video-js .vjs-volume-bar {
    margin: auto;
}
.vjs-has-started .vjs-volume-control.vjs-control.vjs-volume-horizontal {
    height: 45px!important;
}
/* The slider bar color is used for the progress bar and the volume bar
   (the first two can be removed after a fix that's coming) */
.video-js .vjs-volume-level,
.video-js .vjs-play-progress,
.video-js .vjs-slider-bar {
    background: #fff;
}

/* The main progress bar also has a bar that shows how much has been loaded. */
.video-js .vjs-load-progress {
    /* For IE8 we'll lighten the color */
    background: #bfc7d3;
    /* Otherwise we'll rely on stacked opacities */
    background: rgba(115, 133, 159, 0.5);
}

/* The load progress bar also has internal divs that represent
   smaller disconnected loaded time ranges */
.video-js .vjs-load-progress div {
    background: rgb(59 78 106 / 75%);
}
.video-js .vjs-play-progress:before {
    display: none;
    /* font-size: 0.9em; */
    /* position: absolute; */
    right: -0.5em;
    /* top: -0.3333333333em; */
    /* z-index: 1; */
}
.vjs-default-skin .vjs-progress-control .vjs-progress-holder {
    position: absolute;
    top: 20px;
    right: 0;
    left: 0;
    width: 100%;
    margin: 0;
}
.vjs-default-skin.video-js .vjs-progress-control:hover .vjs-progress-holder {
    height: 0.4em;
    transform: translateY(-4px);
}
.vjs-default-skin.video-js .vjs-progress-control:hover  {
    height: 30px;
}

.vjs-default-skin .vjs-playback-rate .vjs-playback-rate-value {
    line-height: 45px;
}
.vjs-default-skin .vjs-progress-control {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 20px;
}
.vjs-default-skin.video-js .vjs-volume-level, .video-js .vjs-play-progress, .video-js .vjs-slider-bar {
    background: #2196f3;
}
.vjs-default-skin .vjs-fullscreen-control:hover {
    animation: pop 0.3s linear 1;
}
/*.vjs-default-skin .vjs-remaining-time {*/
/*    font-size: 14px;*/
/*    font-weight: 600;*/
/*}*/

.vjs-duration.vjs-time-control.vjs-control {
    font-size: 14px;
    margin-right: auto;
}

.vjs-time-control.vjs-time-divider {
    font-size: 14px;
   
    padding: 0;
    min-width: 0px;
}
.vjs-current-time.vjs-time-control.vjs-control {
       font-size: 14px;
       font-weight: 600;
}

.vjs-default-skin.video-js .vjs-time-control {
    display: block;
}
.vjs-default-skin.video-js .vjs-current-time {
    padding-right: 5px;
}
.vjs-default-skin.video-js .vjs-duration {
    padding-left: 5px;
}
.vjs-default-skin.video-js .vjs-time-control {
    line-height: 3.4em;
}
.vjs-default-skin.video-js .vjs-remaining-time {
    display: none;
}
.vjs-default-skin.video-js:hover .vjs-big-play-button {
    background-color: #2B333F;
    transition: all 0.3s ease-in-out;
}

.vjs-default-skin.video-js:hover .vjs-big-play-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    animation: grow 3s infinite;
}
.vjs-default-skin.video-js:hover .vjs-big-play-button:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    animation: grow 3s infinite 0.5s;
}

@keyframes pop{
    50%  {transform: scale(1.2);}
}
@-webkit-keyframes grow {
    from {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }

    to {
        -webkit-transform: scale(1.5);
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes grow {
    from {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }

    to {
        -webkit-transform: scale(1.5);
        transform: scale(1.5);
        opacity: 0;
    }
}
.vjs-default-skin.video-js .vjs-picture-in-picture-control .vjs-icon-placeholder {
    font-size: 8px;
}
.vjs-default-skin.video-js .vjs-picture-in-picture-control:hover, .vjs-default-skin.video-js .vjs-vjsdownload:hover {
    animation: pop 0.3s linear 1;
}
.vjs-default-skin.video-js .vjs-vjsdownload .vjs-icon-placeholder:before {
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    line-height: 40px;
    content: "\ead2";
    font-family: 'icomoon';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    min-width: 1em;
    display: inline-block;
    text-align: center;
    font-size: 2em;
    vertical-align: middle;
    -webkit-font-smoothing: antialiased;
}

