
.video-js .vjs-menu-button-inline.vjs-slider-active,
.video-js .vjs-menu-button-inline:focus,
.video-js .vjs-menu-button-inline:hover,
.video-js.vjs-no-flex .vjs-menu-button-inline {
    width: 10em
}

.video-js .vjs-controls-disabled .vjs-big-play-button {
    display: none!important
}

.video-js .vjs-control {
    /* width: 3em */ /* Prevent jerk when column control collapses */
}

.video-js .vjs-menu-button-inline:before {
    /* width: 1.5em */ /* Prevent jerk when column control collapses */
}

.vjs-menu-button-inline .vjs-menu {
    /* left: 3em */ /* Prevent jerk when column control collapses */
}

.vjs-paused.vjs-has-started.video-js .vjs-big-play-button,
.video-js.vjs-ended .vjs-big-play-button,
.video-js.vjs-paused .vjs-big-play-button {
    display: block
}

.video-js .vjs-load-progress div,
.vjs-seeking .vjs-big-play-button,
.vjs-waiting .vjs-big-play-button {
    display: none!important
}

.video-js .vjs-mouse-display:after,
.video-js .vjs-play-progress:after {
    padding: 0 .4em .3em
}

.video-js.vjs-ended .vjs-loading-spinner {
    display: none;
}

.video-js.vjs-ended .vjs-big-play-button {
    display: block !important;
}

.video-js *,.video-js:after,.video-js:before {
    box-sizing: inherit;
    font-size: inherit;
    color: inherit;
    line-height: inherit
}

.video-js.vjs-fullscreen,
.video-js.vjs-fullscreen .vjs-tech {
    width: 100%!important;
    height: 100%!important
}

.video-js {
    font-size: 14px;
    overflow: hidden
}

.video-js .vjs-control {
    color: inherit
}

.video-js .vjs-menu-button-inline:hover,
.video-js.vjs-no-flex .vjs-menu-button-inline {
    width: 8.35em
}

.video-js .vjs-volume-menu-button.vjs-volume-menu-button-horizontal:hover .vjs-menu .vjs-menu-content {
    height: 3em;
    /* width: 6.35em */ /* Comment out to prevent large spacing after horizontal volume control. */
}

.video-js .vjs-control:focus:before,
.video-js .vjs-control:hover:before {
    text-shadow: 0 0 1em #fff,0 0 1em #fff,0 0 1em #fff
}

.video-js .vjs-spacer {
    display: flex;
    flex: 0 1 4px;
}

.video-js .vjs-time-control {
    display: flex;
    flex: 0 1 4px;
}

.video-js .vjs-time-control {
    /* flex: 0 1 auto; */
    /* width: auto; */
    padding: 0;
}


/* Control Bar: Volume Controls */

.video-js .vjs-volume-panel.vjs-hover {
  /* width: fit-content; */
  /* max-width: fit-content; */
  width: auto;
}


/* Control Bar: Time Divider */

/* The time-divider container */
.video-js .vjs-time-control.vjs-time-divider {
  /* flex 0 0 1px; */

  display: contents; /* Remove the immediate-child <div> from layout to remove stubborn spacing issue */
  /* width: 1px; */
  /* max-width: 1px; */
  /* margin: 0; */
  /* padding: 0; */
  /* background-color: red; */

  & span {
    margin-inline: 4px; /* Small border around the time-divider */
  }
}


.video-js .vjs-time-control.vjs-current-time {
    /* margin-left: 1em */
    margin-left: 0;
}

/* Video current time display */
.video-js .vjs-time-control .vjs-current-time-display {
    width: 100%;
}


/* Video duration display */

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

.video-js .vjs-time-control .vjs-duration-display {
    width: 100%;
}

.video-js .vjs-time-control .vjs-current-time-display {
    text-align: right;
}

.video-js .vjs-time-control .vjs-duration-display {
    text-align: left;
}

.video-js .vjs-play-progress:before,
.video-js .vjs-progress-control .vjs-play-progress:before,
.video-js .vjs-remaining-time,
.video-js .vjs-volume-level:after,
.video-js .vjs-volume-level:before,
.video-js.vjs-live .vjs-time-control.vjs-current-time,
.video-js.vjs-live .vjs-time-control.vjs-duration,
.video-js.vjs-live .vjs-time-control.vjs-time-divider,
.video-js.vjs-no-flex .vjs-time-control.vjs-remaining-time {
  display: none;
}

.video-js.vjs-no-flex .vjs-time-control {
    display: table-cell;
    /* width: 4em; */
}


/* Control Bar: Picture-In-Picture Button */

.video-js .vjs-picture-in-picture {
  /* margin-left: auto; */
}


/* Control Bar: Custom Control Spacer */

.video-js .vjs-custom-control-spacer {
  margin-right: auto; /* Push all controls after the time-duration all the way to the right. */
}



.video-js .vjs-progress-control {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: .5em;
    top: -.5em;
}

.video-js .vjs-progress-control .vjs-load-progress,
.video-js .vjs-progress-control .vjs-play-progress,
.video-js .vjs-progress-control .vjs-progress-holder {
    height: 100%;
}

.video-js .vjs-progress-control .vjs-progress-holder {
    margin: 0;
    /* height: .5em; */
    /* top: -.5em; */
    transition: height top .4s ease .4s;
}

.video-js .vjs-progress-control:hover {
    height: 1.5em;
    top: -1.5em;
}

.video-js .vjs-control-bar {
    transition: transform .1s ease 0s;
}

.video-js.not-hover.vjs-has-started.vjs-paused.vjs-user-active .vjs-control-bar,
.video-js.not-hover.vjs-has-started.vjs-paused.vjs-user-inactive .vjs-control-bar,
.video-js.not-hover.vjs-has-started.vjs-playing.vjs-user-active .vjs-control-bar,
.video-js.not-hover.vjs-has-started.vjs-playing.vjs-user-inactive .vjs-control-bar,
.video-js.vjs-has-started.vjs-playing.vjs-user-inactive .vjs-control-bar {
    visibility: visible;
    opacity: 1;
    transform: translateY(3em);
    transition: transform 1s ease 0s;
}

.video-js.not-hover.vjs-has-started.vjs-paused.vjs-user-active .vjs-progress-control,
.video-js.not-hover.vjs-has-started.vjs-paused.vjs-user-inactive .vjs-progress-control,
.video-js.not-hover.vjs-has-started.vjs-playing.vjs-user-active .vjs-progress-control,
.video-js.not-hover.vjs-has-started.vjs-playing.vjs-user-inactive .vjs-progress-control,
.video-js.vjs-has-started.vjs-playing.vjs-user-inactive .vjs-progress-control {
    height: .25em;
    top: -.25em;
    pointer-events: none;
    transition: height 1s,top 1s;
}

.video-js.not-hover.vjs-has-started.vjs-paused.vjs-user-active.vjs-fullscreen .vjs-progress-control,
.video-js.not-hover.vjs-has-started.vjs-paused.vjs-user-inactive.vjs-fullscreen .vjs-progress-control,
.video-js.not-hover.vjs-has-started.vjs-playing.vjs-user-active.vjs-fullscreen .vjs-progress-control,
.video-js.not-hover.vjs-has-started.vjs-playing.vjs-user-inactive.vjs-fullscreen .vjs-progress-control,
.video-js.vjs-has-started.vjs-playing.vjs-user-inactive.vjs-fullscreen .vjs-progress-control {
    opacity: 0;
    transition: opacity 1s ease 1s;
}

.video-js.vjs-live .vjs-live-control {
    margin-left: 1em
}

.video-js .vjs-big-play-button {
    top: 50%;
    left: 50%;
    margin-left: -1em;
    margin-top: -1em;
    width: 1.5em;
    height: 1.5em;
    line-height: 2em;
    border: none;
    border-radius: 50%;
    font-size: 3.5em;
    background-color: rgb(0 0 0 / .45);
    color: #fff;
    transition: border-color .4s,outline .4s,background-color .4s
}

.video-js .vjs-menu-button-popup .vjs-menu {
    left: -3em
}

.video-js .vjs-menu-button-popup .vjs-menu .vjs-menu-content {
    background-color: transparent;
    width: 12em;
    left: -1.5em;
    padding-bottom: .5em
}

.video-js .vjs-menu-button-popup .vjs-menu .vjs-menu-item,
.video-js .vjs-menu-button-popup .vjs-menu .vjs-menu-title {
    background-color: #151b17;
    margin: .3em 0;
    padding: .5em;
    border-radius: .3em
}

.video-js .vjs-menu-button-popup .vjs-menu .vjs-menu-item.vjs-selected {
    background-color: #2483d5
}


/* Big Play Button */

.video-js .vjs-big-play-button {
  /* background-color: rgba(0,0,0,0.5); */
  font-size: 5em;  /* The size of the big play button */
  border-radius: 50%;
  /* height: 1.4em !important; */
  /* line-height: 1.4em !important; */
  /* margin-top: -0.7em !important; */

  /* background-color: #0B6657; */
  /* background-color: rgb(255 255 255 / .3); */
  background-color: rgb(0 0 0 / .3);

  /* filter: drop-shadow(0 0 2px black); */

  & ::before {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

.video-js:hover .vjs-big-play-button,
.video-js .vjs-big-play-button:focus,
.video-js .vjs-big-play-button:active {
    /* background-color: #cc181e; */
    /* background-color: #0B6657; */
    /* background-color: #2B8677; */
    /* background-color: rgb(255 255 255 / .4); */
    background-color: rgb(0 0 0 / .2);
}

.video-js .vjs-loading-spinner {
    border-color: #cc181e;
}

.video-js .vjs-control-bar2 {
    background-color: #000000;
}

.video-js .vjs-control-bar {
    background-color: rgba(0,0,0,0.3) !important;
    color: #ffffff;
    font-size: 18px;
}

.video-js .vjs-play-progress,
.video-js  .vjs-volume-level {
    background-color: #cc181e;
}

.video-js .vjs-load-progress {
    background: rgba(255,255,255,0.3);
}

