/* ==========================================================================
   #Custom HTML5 Video Player
   ========================================================================== */

:root {
  --youtube-red: #b1c7ca;
  --youtube-dark: #7ca7ac;
}

.docen_v1_video-container {
  border-radius: 8px;
  margin: 0 auto;
  position: relative;
  display: block;
  width: 100%;
}

.docen_v1_video {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  margin-bottom: -4px;
  position: relative;
}

.docen_v1_video-controls {
  right: 0;
  left: 0;
  padding: 8px;
  position: absolute;
  bottom: 0;
  /* transition: all 0.2s ease; */
  /* background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)); */
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;

  transition: opacity .4s ease-in-out,transform .4s ease-in-out;
  background-image:linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75));
}

.docen_v1_video-controls.hide {
  opacity: 0;
  pointer-events: none;
}

/* track */
.docen_v1_video-progress {
  position: relative;
  height: 5px;
  margin-bottom: 10px;
}

/* track */
progress.docen_v1_progress-bar {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 2px;
  width: 100%;
  height: 5px;
  pointer-events: none;
  position: absolute;
  top: 0;
}

progress.docen_v1_progress-bar::-webkit-progress-bar {
  background-color: #474545;
  background-color: none;
  background-color: transparent;
  border-radius: 2px;
}

progress.docen_v1_progress-bar::-webkit-progress-value {
  background: var(--youtube-red);
  border-radius: 2px;
}

progress.docen_v1_progress-bar::-moz-progress-bar {
  border: 1px solid var(--youtube-red);
  background: var(--youtube-red);
}


/* buffering */
progress.docen_v1_buffer_progress-bar {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 2px;
  width: 100%;
  height: 5px;
  pointer-events: none;
  position: absolute;
  top: 0;
}

progress.docen_v1_buffer_progress-bar::-webkit-progress-bar {
  background-color: #474545;
  border-radius: 2px;
}

progress.docen_v1_buffer_progress-bar::-webkit-progress-value {
  background: var(--youtube-dark);
  border-radius: 2px;
}

progress.docen_v1_buffer_progress-bar::-moz-progress-bar {
  border: 1px solid var(--youtube-dark);
  background: var(--youtube-dark);
}
/* END .... */

.docen_v1_seek {
  position: absolute;
  top: 0;
  width: 100%;
  cursor: pointer;
  margin: 0;
}

.docen_v1_seek:hover+.docen_v1_seek-tooltip {
  display: block;
}

.docen_v1_seek-tooltip {
  display: none;
  position: absolute;
  top: -50px;
  margin-left: -20px;
  font-size: 12px;
  padding: 3px;
  content: attr(data-title);
  font-weight: bold;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.6);
}

.docen_v1_bottom-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.docen_v1_left-controls {
  display: flex;
  align-items: center;
  color: #fff;
}

.docen_v1_volume-controls {
  display: flex;
  align-items: center;
  margin-right: 10px;
}

.docen_v1_volume-controls input {
  width: 100px;
  opacity: 1;
  transition: all 0.4s ease;
}

.docen_v1_volume-controls:hover input, .docen_v1_volume-controls input:focus {
  width: 100px;
  opacity: 1;
}

.docen_v1_video-container button,
.docen_v1_video-container {
  cursor: pointer;
  position: relative;
  font-size: 12px;
  border: none;
  outline: none;
  background-color: transparent;
}

.docen_v1_video-container button {
  padding: 5px;
  margin-right: 7px;
}

.docen_v1_video-container button:hover svg {
  fill: whitesmoke;
  stroke: whitesmoke;
}

.speed_container {
  display: inline-block;
  cursor: pointer;
  position: relative;
  font-size: 12px;
  border: none;
  outline: none;
  background-color: transparent;
}

.docen_v1_video-container button * {
  pointer-events: none;
}

.docen_v1_video-container button::before {
  content: attr(data-title);
  position: absolute;
  display: none;
  /* right: 0; */
  top: -50px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-weight: bold;
  padding: 4px 6px;
  word-break: keep-all;
  white-space: pre;
}

.docen_v1_video-container button:hover::before {
  display: inline-block;
}

.fullscreen-button {
  margin-right: 0;
}



.playback-animation {
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -40px;
  margin-top: -40px;
  width: 80px;
  height: 80px;
  border-radius: 80px;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
}

/* track */
.docen_v1_video-container input[type=range] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  height: 5px;
  background: transparent;
  cursor: pointer;
}

.docen_v1_video-container input[type=range]:focus {
  outline: none;
}

.docen_v1_video-container input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  cursor: pointer;
  border-radius: 1.3px;
  -webkit-appearance: none;
  transition: all 0.4s ease;
}

.docen_v1_video-container input[type=range]::-webkit-slider-thumb {
  height: 16px;
  width: 16px;
  border-radius: 16px;
  background: var(--youtube-red);
  cursor: pointer;
  -webkit-appearance: none;
  margin-left: -1px;
}

.docen_v1_video-container input[type=range]:focus::-webkit-slider-runnable-track {
  background: transparent;
}

/* vol track */
.docen_v1_video-container input[type=range].docen_v1_volume {
  height: 3px;
  background-color: #fff;
}

.docen_v1_video-container input[type=range].docen_v1_volume::-webkit-slider-runnable-track {
  background-color: transparent;
}

.docen_v1_video-container input[type=range].docen_v1_volume::-webkit-slider-thumb {
  margin-left: 0;
  height: 14px;
  width: 14px;
  background: #fff;
}


/* track */
.docen_v1_video-container input[type=range]::-moz-range-track {
  width: 100%;
  height: 5px;
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 1.3px;
}

.docen_v1_video-container input[type=range]::-moz-range-thumb {
  height: 14px;
  width: 14px;
  border-radius: 50px;
  border: 1px solid var(--youtube-red);
  background: var(--youtube-red);
  cursor: pointer;
  margin-top: 5px;
}

.docen_v1_video-container input[type=range]:focus::-moz-range-track {
  outline: none;
}

.docen_v1_video-container input[type=range].docen_v1_volume::-moz-range-thumb {
  border: 1px solid #fff;
  background: #fff;
}

.docen_v1_video-container .hidden {
  display: none !important;
}

.docen_v1_video-container svg {
  width: 24px;
  height: 24px;
  fill: #fff;
  stroke: #fff;
  cursor: pointer;
}

.pip-button svg {
  width: 22px;
  height: 22px;
}



.docen_v1_video-container .plackback_rate  {
  border-radius: 5px;
  font-size: 1.3em;
  text-align: center;
  position: absolute;
  background: #2c3035;
  left: calc(50%); 
  transform: translateX(-50%);
  bottom: 50px;
  width: 90px;
  padding: 7px 7px;
  color: #fff;
  font-size: 10px;

  background: rgba(28,28,28,.9);
  text-shadow: 0 0 2px rgba(0,0,0,.5);
  -webkit-transition: opacity .1s cubic-bezier(0,0,.2,1);
  -o-transition: opacity .1s cubic-bezier(0,0,.2,1);
  transition: opacity .1s cubic-bezier(0,0,.2,1);
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-select: none;
  user-select: none;

  }
  
  .docen_v1_video-container .plackback_rate:after {
  right: 50%;
  bottom: -5px;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-color: rgba(28,28,28,.9);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid rgba(28,28,28,.9);
  }


  .plackback_rate ul,   
  .plackback_rate ul li {
    margin: 0;
    padding: 0;
    list-style: none;
    color: #ffffff;
  }

  .plackback_rate ul li {
    margin: 2px 2px;
    padding: 4px 3px;
    cursor: pointer;
  }


  .plackback_rate ul li:hover,
  .plackback_rate ul li.active_rate {
    background-color: #474545;
  }





@media (min-width: 320px) and (max-width: 360px) {
  .docen_v1_video-container .time,
  .speed_container,
  #pip-button {
    display: none;
  }
  
}

@media (min-width: 360px) and (max-width: 480px) {
  .docen_v1_video-container .time,
  .speed_container,
  #pip-button {
    display: none;
  }
}


@media (max-width: 319px){
  .docen_v1_video-container .time,
  .speed_container,
  #pip-button {
    display: none;
  }
}