:root {
  --main-background-color: #fff;
  --button-color: #4b4b4d;
  --secondary-text-color: #878787;
  --main-border-color: #dbdbdb;
  --primary-button-background-color: #006ab2;
  --primary-button-active-background-color: #2881bf;
  --main-text-color: #4b4b4d;
  --font-1st: "Roboto", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --button-color: #fff;
    --secondary-text-color: #9fa3a6;
    --main-border-color: #3c4044;
    --primary-button-background-color: #0671ba;
    --primary-button-active-background-color: #3089c7;
    --main-text-color: #e1e1e1;
  }
}

@keyframes movePlayerText
{
  from
  {
    transform: translate3d(100%, 0%, 0px)
  }
  to
  {
    transform: translate3d(-100%, 0%, 0px);
  }
}

.audiodescription[data-fcms-audiodescription_player-container] {
  position: fixed;
  z-index: 8000000;
  bottom: 0;
  left: 0;
  box-shadow:none;
  background-color: var(--main-background-color);
  height: 54px;
  width: 100%;
  color: var(--button-color);
  padding: 0;
  overflow: visible;
  font-family: var(--font-1st);
}

.audiodescription .audioControl {
  position: fixed;
  right: 24px;
  bottom: 160px;
  z-index: 8000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: 40px;
  height: 40px;
  background: var(--color-orange);
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
}

.audiodescription[data-fcms-audiodescription_player-container] .audioControl.audioControl--hide {
  position: fixed;
  z-index: 80000000;
  bottom: 0;
  right: 0;
  left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  width: 40px;
  border-radius: 0;
  background: var(--main-background-color);
  color: var(--main-text-color);
  font-size: 16px;
  line-height: 16px;
  font-weight: 500;
  box-shadow: none;
}

.pinboard .collection .collection-item.avatar .audioControl:not(.audioControl--hide) {
  position: absolute;
  top: 16px;
  right: 72px;
}

.audiodescription .audioControl i.material-icons {
  font-size: 28px;
}

.audiodescription .audiodescriptionPlayer {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  overflow: visible;
  flex-wrap: nowrap;
  width: 100%;
  background-color: var(--main-background-color);
}

.audiodescription .audiodescriptionPlayer-text {
  position: fixed;
  z-index: 8;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: calc(100vw - 155px);
  flex-wrap: nowrap;
  overflow: hidden;
  margin: 0 15px;
  padding-top: 5px;
  font-family: var(--font-1st);
}

.audiodescription span.audiodescriptionPlayer-topline {
  color: var(--secondary-text-color);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 14.4px;
}

.audiodescription .audiodescriptionPlayer-headline {
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 18px;
  white-space: nowrap;
  animation-iteration-count: 1;
  animation-duration: 10s;
  animation-name: movePlayerText;
  animation-timing-function: linear;
}

.audiodescription  .video-js.vjs-audio {
  flex: 0 0 100vw;
  overflow: visible;
  position: relative;
  height: 52px;
}

.audiodescription .vjs-mouse-display .vjs-time-tooltip { 
  background-color: var(--main-background-color);
  color: var(--main-text-color); 
  font-family: var(--font-1st);
}

.audiodescription .vjs-menu-button-popup .vjs-menu .vjs-menu-content {
  background-color: var(--main-background-color);
  color: var(--main-text-color); 
  font-family: var(--font-1st);
  border: 1px solid var(--main-border-color);
  bottom: 24px;
  width: 62px;
  left: -10px;
}

.audiodescription .vjs-control-bar {
  justify-content: flex-end;
  padding: 12px 58px 0 0;
  height: 54px;
  background-color: var(--main-background-color);
}

.audiodescription .vjs-icon-play:before, 
.audiodescription .video-js .vjs-play-control .vjs-icon-placeholder:before, 
.audiodescription .video-js .vjs-big-play-button .vjs-icon-placeholder:before,
.vjs-playback-rate.vjs-menu-button.vjs-menu-button-popup.vjs-control.vjs-button {
  color: var(--main-text-color); 
}

.audiodescription .vjs-menu li {
  font-family: var(--font-1st);
  font-size: 14px;
  padding: 7px;
  max-height: unset;
  line-height: 1;
}

.audiodescription .vjs-menu-button-popup .vjs-menu .vjs-menu-content {
  bottom: 24px;
  width: 62px;
  left: -10px;
  max-height: unset;
}
.audiodescription .vjs-menu li.vjs-menu-item:focus, 
.audiodescription .vjs-menu li.vjs-menu-item:hover, 
.audiodescription .js-focus-visible .vjs-menu li.vjs-menu-item:hover {
  background: var(--primary-button-active-background-color);
}

.audiodescription .video-js .vjs-progress-control {
  position: absolute;
  left: 0;
  top: 0;
  height: 12px;
  width: 100vw;
}

.audiodescription .vjs-button > .vjs-icon-placeholder:before {
  justify-content: center;
  display: inline-flex;
  align-items: center;
  font-size: 17px;
  line-height: 20px;
}

.audiodescription .vjs-playback-rate .vjs-playback-rate-value {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 16px;
  font-family: var(--font-1st);
}

.audiodescription .video-js .vjs-play-progress,
.audiodescription .video-js .vjs-progress-control .vjs-mouse-display{
  background: var(--primary-button-background-color);
}

.audiodescription .vjs-load-progress {
  background: var(--primary-button-active-background-color)
}

.audiodescription .video-js .vjs-play-progress:before {
  font-size: 12px;
  line-height: 3px;
  color: var(--primary-button-background-color);
}

.audiodescription .vjs-progress-holder.vjs-slider.vjs-slider-horizontal {
  margin: 0;
  padding: 0;
  background: var(--main-border-color);
  height: 2px;
}

.audiodescription .vjs-volume-panel.vjs-control.vjs-volume-panel-vertical,
.audiodescription .vjs-current-time.vjs-time-control.vjs-control, 
.audiodescription .vjs-remaining-time.vjs-time-control.vjs-control {
  display: none;
  text-align: left;
  padding: 0;
  color: var(--secondary-text-color);
  font-size: 15px;
  line-height: normal;
  min-width: unset;
  font-family: var(--font-1st);
}

.audiodescription .vjs-skip-backward-10.vjs-control.vjs-button,
.audiodescription .vjs-skip-forward-10.vjs-control.vjs-button {
  display: none;
  width: 30px;
  padding: 5px 0;
}

.audiodescription .vjs-skip-backward-10.vjs-control.vjs-button > .vjs-icon-placeholder:before,
.audiodescription .vjs-skip-forward-10.vjs-control.vjs-button > .vjs-icon-placeholder:before {
  color: var(--button-color);
  border: 1px solid var(--button-color);
  border-radius: 50%;
  height: 30px;
  margin: 5px 0;
}

.audiodescription .video-js .vjs-duration {
display: flex;
color: red;
}

@media all and (min-width: 768px) {

  .audiodescription[data-fcms-audiodescription_player-container] {
    height: 88px;
    box-sizing: border-box;
    padding: 15px 0 15px 15px;
    border-top: 1px solid var(--main-border-color);
  }

  .audiodescription .audiodescriptionPlayer {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .audiodescription .audiodescriptionPlayer-text {
    flex: 1 1 30%;
    width: auto;
    max-width: 680px;
    position: relative;
    margin: 0 20px 0 0;
    padding: 0;
  }

  .audiodescription .audiodescriptionPlayer-topline {
    font-size: 15px;
    line-height: 18px;
  }

  .audiodescription .audiodescriptionPlayer-headline {
    font-size: 22px;
    line-height: 26.4px;
    animation: none;
  }

  .audiodescription .video-js.vjs-audio {
    flex: 0 1 50%;
    height: 58px;
    background: var(--main-background-color);
  }

  .audiodescription[data-fcms-audiodescription_player-container] .audioControl.audioControl--hide {
    position: relative;
    flex: 0 0 55px;
    align-items: flex-start;
    justify-content: flex-end;
    height: 58px;
    padding-right: 15px;
  }

  .audiodescription .vjs-control-bar{
    display: grid;
    grid-template-areas:
      "leer speed back play forward leer2 leer3"
      "current timeline timeline2 timeline3 timeline4 duration volume";
    grid-template-rows: 40px 18px;
    grid-template-columns: [current leer] minmax(8.7%, 46px) [speed timeline] minmax(25.25%, 134px) [back timeline2] 30px [play timeline3] minmax(15.1%, 80px) [ forward timeline4 ] minmax(30.5%, 164px) [leer3 duration] minmax(8.7%, 46px) [ volume leer3 ] minmax(5.65%, 30px);
    padding: 0;
    height: 58px;
    justify-content: stretch;
    max-width: 530px;
  }

  .audiodescription .vjs-play-control.vjs-control.vjs-button {
    grid-area: play;
    margin: 0 auto;
  }

  .audiodescription .vjs-volume-panel.vjs-control.vjs-volume-panel-vertical {
    display: flex;
    grid-area: volume;
  }

  .audiodescription .vjs-current-time.vjs-time-control.vjs-control {
    grid-area: current;
    display: flex;
  }

  .audiodescription .vjs-skip-backward-10.vjs-control.vjs-button {
    grid-area: back;
    display: flex;      
  }

  .audiodescription .vjs-skip-forward-10.vjs-control.vjs-button {
    grid-area: forward;
    display: flex;      
  }

  .audiodescription .video-js .vjs-duration {
    grid-area: duration;
    display: flex;
    justify-content: flex-end;
    padding: 0;
    color: var(--secondary-text-color);
    font-size: 15px;
    line-height: normal;
    min-width: unset;
    font-family: var(--font-1st);
  }

  .audiodescription .video-js .vjs-progress-control {
    position: relative;
    grid-column-start: timeline;
    grid-column-end: timeline4;
    width: 100%;
    height: 18px;
  }

  .audiodescription .video-js .vjs-volume-vertical {
    background: var(--main-background-color);
    justify-content: flex-start;
    margin-left: 0;
    border: 1px solid var(--main-border-color);
  }

  .audiodescription .video-js .vjs-mute-control {
    width: 30px;
    flex: 0 0 30px;
    height: 18px;
    color: var(--main-text-color);
  }

  .audiodescription .video-js .vjs-volume-panel.vjs-hover .vjs-volume-control.vjs-volume-vertical, 
  .audiodescription .video-js .vjs-volume-panel.vjs-hover .vjs-mute-control ~ .vjs-volume-control.vjs-volume-vertical {
    left: -35px;
    margin: 0; 
  }

  .audiodescription .video-js .vjs-playback-rate {
    grid-area: speed;
    margin: 0 10px 0 auto;
  }

  .audiodescription .vjs-playback-rate .vjs-playback-rate-value {
    font-size: 14px;
    line-height: 15px;
    text-align: right;
    padding: 0;
  }

  .audiodescription .video-js .vjs-play-control .vjs-icon-placeholder:before {
    color: var(--main-background-color);
    background: var(--button-color);
    border: 1px solid var(--main-background-color);
    border-radius: 50%;
  }

  .audiodescription .vjs-play-control.vjs-control.vjs-button:hover .vjs-icon-placeholder:before,
  .audiodescription .vjs-play-control.vjs-control.vjs-button:focus .vjs-icon-placeholder:before,
  .audiodescription .vjs-play-control.vjs-control.vjs-button:active .vjs-icon-placeholder:before {
    color: var(--main-text-color); 
    background: var(--main-background-color);
    border: 1px solid var(--main-text-color);
  }


  .audiodescription .video-js .vjs-slider {
    background: var(--main-border-color);
    width: 2px;
  }

  .audiodescription .vjs-mouse-display .vjs-volume-tooltip {
    color: var(--main-text-color);
    background-color: var(--main-background-color);
    left: -60px;
    z-index: 900000000;
  }

  .audiodescription .video-js .vjs-volume-vertical:hover .vjs-volume-tooltip {
    left: -60px;
  }

  .audiodescription .video-js .vjs-volume-level {
    background: var(--primary-button-active-background-color);
    width: 2px;
  }

  .audiodescription .vjs-slider-vertical .vjs-volume-level:before {
    font-size: 12px;
    color: var(--primary-button-background-color);
    left: -5px;
  }

  .audiodescription .video-js .vjs-volume-level:after {
    position: absolute;
    left: -6px;
    bottom: 0;
    width: 14px;
    content: '';
    display: flex;
    height: 75px;
  }

  .audiodescription  .video-js .vjs-volume-control .vjs-mouse-display {
    background: var(--primary-button-active-background-color)
  }

}