/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */
.dluo.expired {
     color: #be1506;
 }
/* Classe personnalisée pour limiter la hauteur du widget Mondial Relay */
.MR-Widget {
  height: 80% !important;
  max-height: 80vh; /* utile si tu veux limiter en fonction de la hauteur d'écran */
  width: 99%; /* ton réglage actuel */
}

.vertical-rotator {
  position: relative;
  height: 1.5em; /* Gardé pour les icônes */
  overflow: hidden;
  display: inline-block;
  vertical-align: middle;
  width: 400px; /* Ajustez si besoin */
  max-width: 100%;
  text-align: center;
}

.vertical-rotator span {
  position: absolute;
  width: 100%;
  opacity: 0;
  transform: translateY(100%);
  animation: vertical-fade 8s infinite; /* Réduit à 8s pour accélérer (4 textes × 2s) */
  white-space: nowrap;
  display: block;
  left: 0;
  line-height: 1.5;
  font-weight: 800;
  font-size: 13px;
}

.vertical-rotator span::before {
  content: ''; /* Placeholder */
  margin-right: 5px;
  font-size: 12px;
  font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif;
  vertical-align: middle;
}

/* Icônes (inchangées) */
.vertical-rotator span:nth-child(1)::before {
  content: '\1F69A';
}

.vertical-rotator span:nth-child(2)::before {
  content: '\1F4E6';
}

.vertical-rotator span:nth-child(3)::before {
  content: '\1F512';
}

.vertical-rotator span:nth-child(4)::before {
  content: '\1F1EB\1F1F7';
}

.vertical-rotator span a {
  text-decoration: underline;
  color: inherit;
  font-weight: 800;
}

/* Vos delays modifiés (gardés) */
.vertical-rotator span:nth-child(1) {
  animation-delay: 0s;
}

.vertical-rotator span:nth-child(2) {
  animation-delay: 2s;
}

.vertical-rotator span:nth-child(3) {
  animation-delay: 4s;
}

.vertical-rotator span:nth-child(4) {
  animation-delay: 6s;
}

/* Keyframes scalés pour 8s total : entrée plus rapide, visibilité ~1.5-2s, sortie fluide */
@keyframes vertical-fade {
  0% {
    opacity: 0;
    transform: translateY(100%);
  }
  6% { /* Entrée accélérée (était 5% sur 12s → ~4% sur 8s, mais ajusté pour fluidité) */
    opacity: 1;
    transform: translateY(0);
  }
  25% { /* Visibilité stable (était 20% → scalé à ~13%, mais allongé pour ~2s visible) */
    opacity: 1;
    transform: translateY(0);
  }
  31% { /* Sortie (était 25% → ~17%, ajusté pour éviter overlap) */
    opacity: 0;
    transform: translateY(-100%);
  }
  32% { /* Reset immédiat pour clean la boucle */
    opacity: 0;
    transform: translateY(100%);
  }
  100% {
    opacity: 0;
    transform: translateY(100%);
  }
}
.nav-tabs .nav-link.active, .nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus {
    color: #d51b28;
    border-bottom: solid 3px #d51b28;
}

