body{
  overflow-x: hidden;
  overflow-y: hidden;
}
.video-wrapper {
  max-width: 640px;
  height: auto;
}

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

.video-js .vjs-big-play-button {
  left: 50% !important;
  top: 50vh;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}
.video-js .vjs-big-play-button .vjs-icon-placeholder:before{
  font-size: 100px;
}


.video-js .vjs-big-play-button:active,
.video-js .vjs-big-play-button:focus,
.video-js:hover .vjs-big-play-button {
  background-color: transparent;
}

.video-js .vjs-loading-spinner {
  border-color: rgba(255, 255, 255, 1)
}

.video-js .vjs-control-bar2 {
  background-color: transparent
}

.video-js .vjs-control-bar {
  background: transparent;
  bottom: 18px !important;
}

.vjs-user-active .vjs-tech {
  -webkit-mask-image: -webkit-gradient(linear, left top, left bottom, color-stop(60%, rgba(0, 0, 0, 1)), to(rgba(0, 0, 0, 0.2)));
  transition: all 0.4s;
}

.vjs-user-inactive .vjs-tech {
  -webkit-mask-image: none;
  transition: all 0.4s;
}



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

.video-js .vjs-big-play-button {
  background: rgba(255, 255, 255, .15) !important;
  height: 4em !important;
  width: 4em !important;
  line-height: 4em !important;
  margin-left: 0;
  border-radius: 50% !important;
  animation-duration: 0.3s !important;
  backdrop-filter: blur(7px);
}

.video-js .vjs-big-play-button:hover {
  transition: 0.3s ease-in-out all;
  -moz-transition: 0.3s ease-in-out all;
  -webkit-transition: 0.3s ease-in-out all;
}


.video-js .vjs-progress-holder .vjs-load-progress,
.video-js .vjs-progress-holder .vjs-load-progress div,
.video-js .vjs-progress-holder .vjs-play-progress,
.video-js .vjs-slider,
.vjs-volume-level {
  border-radius: 10px;
}

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

.video-js .vjs-control {
  font-weight: 600;
  font-size: 12px;
}

.vjs-button {
  -webkit-transition: all .3s cubic-bezier(.37, .26, .35, 1);
  transition: all .3s cubic-bezier(.37, .26, .35, 1);
  border-radius: 8px;
}

.vjs-button:hover {
  background-color: rgba(255,255,255,.1);
}

.video-js .vjs-progress-control .vjs-mouse-display {
  z-index: 9;
}

.vjs-menu-item-text:hover {
  opacity: 0.7;
}

.vjs-menu li.vjs-selected,
.vjs-menu li.vjs-selected:focus,
.vjs-menu li.vjs-selected:hover,
.js-focus-visible .vjs-menu li.vjs-selected:hover {
  color: gray;
}

.vjs-menu li.vjs-menu-item:focus,
.vjs-menu li.vjs-menu-item:hover {
  /*background-color: #73859f;*/
  background-color: rgba(0, 0, 0, 0.7) !important;
}

.video-js .vjs-big-play-button {
  border: 0px !important;
}


/**/

.vjs-poster {
  background-size: cover !important;
}

.titleVideoText {
  position: fixed;
  top: 30px;
  left: 30px;
  z-index: 9999999;
}

.titleVideoText span {
  color: white;
  font-size: clamp(18px, 3vw, 35px);
}


.vjs-menu-button-popup .vjs-menu {
  margin-bottom: 1em !important;
}

.vjs-menu-button-popup .vjs-menu .vjs-menu-content {
  max-height: 16em;
  background: rgba(28, 28, 28, 0.9);
  font-size: 13px !important;
  border-radius: 4px;
}

.video-js .vjs-progress-control {
  position: absolute;
  width: 93% !important;
  bottom: 30px;
  z-index: 0;
}


.video-js .vjs-progress-holder {
  font-size: 1em;
  border-radius: 10px;
}

.video-js .vjs-progress-control:hover .vjs-progress-holder {
  font-size: 2em;
}

.video-js .vjs-time-control {
  position: absolute;
  right: 5px;
  bottom: 35px;
  width: 7% !important;
  font-size: clamp(12px, 2.5vw, 16px) !important;
  z-index: 0;
  line-height: 42px !important;
  font-weight: 400 !important;
}

@media screen and (max-width: 992px) {
  .video-js .vjs-progress-control {
    width: 90% !important;
  }

  .video-js .vjs-time-control {
    width: 10% !important;
  }

  .video-js .vjs-big-play-button {
    left: 50% !important;
    top: 53% !important;
  }
}

@media screen and (max-width: 790px) {
  .video-js .vjs-progress-control {
    width: 85% !important;
  }

  .video-js .vjs-time-control {
    width: 15% !important;
  }
}


.video-js .vjs-control {
  flex: auto !important;
  width: auto;
}





.video-js .vjs-volume-panel.vjs-volume-panel-vertical {
  width: auto !important;
  margin-left: 3% !important;
}

@media screen and (max-width: 1100px) {
  .vjs-space-mid {
    width: 20em !important;
  }
}

@media screen and (max-width: 890px) {

  .vjs-space-mid {
    width: 10em !important;
    display: none;
  }

}

@media screen and (max-width: 690px) {

  .vjs-space-mid {
    width: 0em !important;
  }

  .video-js .vjs-seek-button {
    display: none !important
  }

}

.vjs-custom-control-spacer {
  display: none !important;
}

.video-js .vjs-volume-panel.vjs-volume-panel-vertical {
  max-width: 100px !important;
}

.video-js .vjs-volume-panel .vjs-volume-control.vjs-volume-vertical {
  height: 8em;
  width: 0px !important;
  background: rgba(28, 28, 28, 0.9);
  border-radius: 8px;
  z-index: 1;
}

.video-js.vjs-v6 .vjs-seek-button.skip-forward .vjs-icon-placeholder::before,
.video-js.vjs-v7 .vjs-seek-button.skip-forward .vjs-icon-placeholder::before,
.video-js .vjs-seek-button.skip-back::before,
.video-js.vjs-v6 .vjs-seek-button.skip-back .vjs-icon-placeholder::before,
.video-js.vjs-v7 .vjs-seek-button.skip-back .vjs-icon-placeholder::before {
  -webkit-transform: none !important;
  transform: none !important;
}


.vjs-loading-spinner {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 7em;
  line-height: 1;
  width: 0em;
  height: 0em;
  margin-left: -.5em;
  margin-top: -.5em;
  opacity: .75;
  border: 0px !important;
  /*-webkit-animation:spin 1.5s infinite linear;-moz-animation:spin 1.5s infinite linear;-o-animation:spin 1.5s infinite linear;animation:spin 1.5s infinite linear*/
}

.vjs-default-skin .vjs-loading-spinner:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 0em;
  height: 0em;
  text-align: center;

}


.spinner1_video_teyuto {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  width: 64px;
  height: 64px;
  border-radius: 64px;
  margin: 0px !important;
}

.spinner1_video_teyuto::before {
  position: absolute;
  content: "";
  width: 64px;
  height: 64px;
  border-radius: 64px;
  color: white;
  box-shadow: inset -5px 0 0 5px currentColor;
  clip: rect(0, 64px, 32px, 0);
  animation: rotator 1s infinite linear;
  text-shadow: 0 0 2em #000
}

@keyframes rotator {
  0% {
    transform: rotate(-180deg);
    box-shadow: inset -5px 0 0 5px currentColor;
  }

  50% {
    transform: rotate(0deg);
    box-shadow: inset -1px 0 0 1px currentColor;
  }

  100% {
    transform: rotate(180deg);
    box-shadow: inset -5px 0 0 5px currentColor;
  }
}



@media only screen and (max-width: 790px) {
  .video-js .vjs-control {
    width: 2.8em;
  }

  .vjs-picture-in-picture-control,
  .vjs-playback-rate,
  .vjs-brand-container {
    display: none !important;
  }

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

  .vjs-menu-button-popup .vjs-menu .vjs-menu-content {
    font-size: 10px !important;
  }

  .video-js .vjs-volume-panel.vjs-volume-panel-vertical {
    margin-left: 0% !important;
  }

}


.video-js.vjs-layout-small .vjs-remaining-time {
  display: block !important;
}

.vjs-space-mid {
  display: none !important;

  width: 30em !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  /* Imposta il numero massimo di caratteri che desideri visualizzare */
  max-width: 100%;
}


.titleVideoText,
.titleVideoMidBar {

  line-height: 35px;
  font-size: 16px;
}



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

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

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

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


@media screen and (max-width: 790px) {
  .vjs-skip-backward-10 {
    display: none !important;
  }

  .vjs-skip-forward-10 {
    display: none !important;
  }
}


/*tooltip*/
/* Stile per i tooltip */
.video-js .vjs-control-bar .vjs-button {
  position: relative;
}

.video-js .vjs-control-bar .vjs-button::after {
  content: attr(title);
  position: absolute;
  bottom: 200%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(28, 28, 28, 0.9);
  color: #fff;
  padding: 5px 8px;
  border-radius: 2px;
  font-size: 12px;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s, visibility 0.2s;
  pointer-events: none;
}

.video-js .vjs-control-bar .vjs-button[title]:not([title=""]):hover::after {
  visibility: visible;
  opacity: 1;
}

/* Aggiusta la posizione per i pulsanti ai bordi */
.video-js .vjs-control-bar .vjs-button:first-child::after {
  left: 0;
  transform: translateX(0);
}

.video-js .vjs-control-bar .vjs-button:last-child::after {
  left: auto;
  right: 0;
  transform: translateX(0);
}
/*tooltip*/


/*related  videos*/
#video_related_player {
  position: fixed;
  bottom: -250px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 1) 100%);
  width: 100%;
  transition: bottom 0.2s ease-in-out;
  /* Aggiungi questa riga */
}

#video_related_player:hover {
  position: fixed;
  bottom: 0px;
}

#video_related_player.related_active {
  position: fixed;
  bottom: 0px;
}

#video_related_player .playerRelatedUpIcon {
  color: white;
  margin-left: calc(50vw - 30px);
  font-size: 40px;
  opacity: 1;
}

#video_related_player.related_active .playerRelatedUpIcon,
#video_related_player:hover .playerRelatedUpIcon {
  opacity: 0;
}

#countdown-live-stream {
  position: fixed;
  /* Posizione fissa rispetto alla finestra */
  top: 50%;
  /* Centra verticalmente */
  left: 50%;
  /* Centra orizzontalmente */
  transform: translate(-50%, -50%);
  /* Sposta l'elemento di metà della sua altezza e larghezza per centrarlo effettivamente */
  min-width: 200px;
  /* Larghezza dell'elemento */
  background-color: rgba(255, 255, 255, .9);
  /* Colore di sfondo per vedere l'elemento */
  text-align: center;
  /* Centra il testo all'interno dell'elemento */
  color: black;
  font-size: 16px;
  padding: 20px;
  border-radius: 7px;
  backdrop-filter: blur(12);
  font-weight: 600;
  z-index: 9999999999999999999999 !important;
}

/*trimmer*/
.vjs-trimmer-handle.start {
  margin-left: 10px;
}
.vjs-trimmer-handle.end {
  margin-left: -10px;
}

.videojs-shorts .vjs-progress-control{
  width: 90% !important;
}
.videojs-shorts .vjs-time-control{
  right: 25px !important;
}

.video-js .thumbnail-preview {
  bottom: 120px!important;
}