.vjs-custom-theme button, 
.vjs-custom-theme .btn {
  min-height: initial;
}

.vjs-custom-theme button:not(.fancybox-button):hover,
.vjs-custom-theme .btn:hover {
  color: inherit;
  background-color: initial;
  box-shadow: initial;
}

.vjs-custom-theme .vjs-control-bar {
/*   height: 4em; */
}

.vjs-custom-theme .vjs-progress-control {
  position: absolute;
  top: calc(-1em - .3em);
  right: 0;
  left: 0;
  width: 100%;
  height: calc(1em + .3em * 2);
  align-items: flex-end;
}

.vjs-custom-theme .vjs-progress-holder {
  height: 0.5em;
}

.vjs-custom-theme .vjs-progress-control .vjs-progress-holder {
  margin: 0;
  margin-bottom: 0.3em;
}

.vjs-custom-theme .vjs-play-progress {
  background-color: var(--color-primary);
}

.vjs-custom-theme .vjs-play-progress::before {
  top: 50%;
  width: 1em;
  height: 1em;
  background-color: var(--color-primary);
  border-radius: 1em;
  box-shadow: 0 1px 5px rgba(0, 0, 0, .18);
  content: '';
  font-size: inherit;
  transform: translateY(-50%);
  transition: all .15s;
}

.vjs-custom-theme .vjs-progress-control:hover .vjs-progress-holder {
  font-size: inherit;
}

.vjs-custom-theme .vjs-current-time,
.vjs-custom-theme .vjs-time-divider,
.vjs-custom-theme .vjs-duration {
  display: initial;
}

.vjs-custom-theme .vjs-current-time {
  padding-right: 0.5em;
}

.vjs-custom-theme .vjs-time-control.vjs-time-divider {
  min-width: unset;
  padding: 0;
}

.vjs-custom-theme .vjs-duration {
  padding-left: 0.5em;
  margin-right: auto;
}

.vjs-custom-theme .vjs-remaining-time {
  display: none;
}