/* Dropdown Button */
.dropbtn {
  background-color: #3498DB;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

/* Dropdown button on hover & focus */
.dropbtn:hover, .dropbtn:focus {
  background-color: #2980B9;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #ddd;}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {display:block;}


/* ========================================================= */
/* STYLE DU PROGRAMME */
/* ========================================================= */
.emploi-du-temps {
  font-family: 'Inter';
}

.emploi-du-temps h2 {
  color: #fff!important;
  font-family: 'Inter', sans-serif!important;
  text-transform: initial!important;
  font-size: 25px!important;
  margin-top: 25px;
}

.emploi-du-temps ul {
  padding: 0;
  list-style: none;
  gap: 10px;
  display: flex;
  flex-direction: column;
}

.emploi-du-temps ul li, .timeline-event-content {
  background: #ffffff26;
  color: #fff;
  padding: 20px;
  border-radius: 15px;
}

.emploi-du-temps i, .timeline i {
  font-style: normal;
}

.emploi-du-temps b, .timeline b {
  font-size: 18px;
  margin-right: 5px;
}

.emploi-du-temps p, .timeline p {
  margin-top: 10px;
  margin-bottom: 0;
  font-size: 13px;
}

/* Styles pour la Timeline des Prochains Événements (Alignée à Gauche) */
.timeline {
  position: relative;
  font-family: 'Inter', sans-serif!important;
}

/* Ligne verticale de la timeline */
.timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #ffffff2e;
}

/* Événements de la timeline */
.timeline-event {
  position: relative;
  padding: 20px 40px 20px 70px; /* Ajustement du padding pour aligner le contenu */
  margin-bottom: 20px;
  background-color: transparent;
}

/* Cercle de l'événement */
.timeline-event::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 20px;
  width: 18px;
  height: 18px;
  background-color: #130d10;
  border: 2px solid #3e393b;
  box-shadow: 0px 0px 0px 5px #130d10;
  border-radius: 50%;
}

/* Responsivité pour les petits écrans */
@media screen and (max-width: 600px) {
  .timeline::before {
      left: 10px;
  }

  .timeline-event {
    padding: 0px 0px 0px 35px;
  }

  .timeline-event::before {
      left: 2px;
  }
}

.timeline-event:nth-child(1)::before {
  background-color: #e34526;
  border: 2px solid #5b241a;
}

.timeline-event:nth-child(1) .timeline-event-content {
  background-color: #fff;
  color: #000;
}
