/* Personnalisation des sous-titres via CSS */
.video-js .vjs-text-track-display {
  pointer-events: none;
}


/* Style pour les boutons personnalisés +10/-10 */
.vjs-seek-button {
  cursor: pointer;
  font-size: 1.8em !important;
}

.vjs-theme-fantasy {
  --vjs-theme-fantasy--primary: var(--rouge);
  --vjs-theme-fantasy--secondary: #fff;
}

.video-js .vjs-control {
  color: #26A69A !important;
}

.ff-video {
  position: relative;
  display: block;
  width: 100%;
}

.video-js {
  width: 100%;
}

.video-js .vjs-control-bar {
  height: 5em;
  background: rgba(255, 255, 255, .9);
}

.vjs-button > .vjs-icon-placeholder:before {
  font-size: 2.5em;
}


.vjs-remaining-time-display {
  font-size: 1.5em;
  line-height: 3.5em;
  vertical-align: middle;
  color: var(--bleu);
}

.video-js .vjs-control {
  width: 50px;
  color: var(--bleu);
}

.vjs-menu li {
  font-size: 1.5em;
  padding: 10px;
}

.vjs-menu-button-popup .vjs-menu {
  width: 20em;
  left: -9em;
  margin-bottom: 3.5em;
}

.vjs-menu-button-popup .vjs-menu .vjs-menu-content {
  background: rgba(255, 255, 255, .9);
}

.video-js .vjs-play-progress {
  background: var(--bleu);
}

.video-js.vjs-v7 .vjs-seek-button.skip-back .vjs-icon-placeholder::before,
.video-js.vjs-v7 .vjs-seek-button.skip-forward .vjs-icon-placeholder::before {
  font-family: sans-serif;
  font-size: 1.4em;
  content: '-10s';
  font-weight: bold;
}

.video-js.vjs-v7 .vjs-seek-button.skip-forward .vjs-icon-placeholder::before {
  content: '+10s';
}

.vjs-skip-forward-10.vjs-button > .vjs-icon-placeholder:before, .vjs-skip-backward-10.vjs-button > .vjs-icon-placeholder:before {
  font-size: 1.8em;
}

.video-js.vjs-v7 .vjs-seek-button.skip-forward .vjs-icon-placeholder::before:first-letter {
  font-size: 5em;
}

.vjs-menu-button-popup .vjs-menu .vjs-menu-content {
  max-height: 20em !important;
}

.vjs-button > .vjs-icon-placeholder:before {
  line-height: 50px;
}

.video-js .vjs-volume-vertical {
  background: rgba(255, 255, 255, .9);
}

.vjs-stream-selector-button .vjs-icon-placeholder:before {
  font-family: VideoJS;
  content: "\f122"; /* Code de l'icône "Subtitles/Audio tracks" (un rectangle avec des lignes) */
}

.vjs-volume-control.vjs-control.vjs-volume-vertical {
  width: 50px !important;
  left: -50px !important;
  padding-top: 10px !important;
  height: 95px !important;
  bottom: 95px !important;
}

.video-js .vjs-volume-panel.vjs-volume-panel-vertical {
  width: 50px;
}

.vjs-menu-item.vjs-selected .vjs-menu-item-text::after {
  content: '✓';
}

.vjs-error-overlay {
  position: absolute;
  background: black;
  color: white;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 10px;
}
