body{
    margin-top:auto;
    margin: 0;
    padding: 0;
}

#searchResultsOverlay {
  display: none; /* Masqué par défaut */
  position: fixed; /* Utilisez 'fixed' pour qu'il reste en place même lors du scroll */
  top: 200; /* Aligné tout en haut */
  right: 0; /* Positionné à droite */
  background: rgba(0, 0, 0, 0.1);
  z-index: 9999; /* S'assurer qu'il reste au-dessus des autres éléments */
  width: 400px; /* Largeur de l'overlay, ajustez selon votre design */
  height: 100vh; /* Hauteur de l'overlay sur toute la hauteur de l'écran */
  padding: 10px;
  overflow-y: auto; /* Si les résultats sont trop longs, ils auront un scroll */
  border-radius: 8px;
}

#searchResultsOverlay .resultsContent {
  background: white;
  padding: 10px;
  border-radius: 8px;
  position: relative; /* Pour que le bouton de fermeture soit correctement positionné */
  z-index: 10000;
}

#searchResultsOverlay .close-btn {
  background-color: red;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10001;
}

.centered-container {
  display: flex;
  justify-content: center;  /* Centre horizontalement */
  align-items: center;      /* Centre verticalement */
  /*height: 100vh;            /* Hauteur de la vue */
}

a {
  color: #2f9087;
}

a:hover {
  color: #1c6a64; /* Couleur au survol */
  text-decoration: underline; /* Ajoute le soulignement au survol */
}

.membre{
  color: rgb(0, 0, 255);
}

.card-membres{
  color: rgb(0, 0, 255);
  vertical-align: bottom;
  right: 10%;
}

.header {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.carousel-container {
  height: 40vh;
  display: flex;
  position: relative;
  overflow: hidden;
  border: 2px solid #eeeeee;
  border-radius: 30px;
  width: 80%;
  max-width: 85rem;
  margin: auto;
  margin-top: 5rem;
  text-align: center;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  transition: transform 1s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 100%;
  padding: 1rem;
  box-sizing: border-box;
}

.carousel-slide.active {
  left: 0;
}

/* Navigation buttons */
.nav-buttons {
  margin-top: 1rem;
}

.nav-buttons button {
  padding: 0.5rem 1rem;
  margin: 0 0.5rem;
  border: none;
  background-color: #2f9087;
  color: white;
  cursor: pointer;
  border-radius: 5px;
  font-size: 1rem;
}

.text-primary {
  color: #2f9087 !important;
}

 .nav-buttons button {
      font-size: 14px;
      padding: 8px 16px;
  }

  .content {
      padding: 10px;
  }
  
#logoBandeau{
	width:200px;
}

#containerInfoAccueil{
    border: 2px solid #eeeeee;
    border-radius: 30px;
    width:85rem;
    margin: auto;
    margin-top: 5rem;
    text-align: center;
}
#containerInfoAccueil h1{
    margin-top:40px;
    text-align: center;
}
#containerInfoAccueil h5{
    margin: 40px;
}

#containerInfoAccueil h4{
    margin:40px;
    margin-bottom:0px;
}
#containerInfoAccueil li{
  text-align: justify;
}

#infoSeance{
	margin-top:5rem;
}

#search{
	display: flex;
	flex-direction: row;
	justify-content: right;
}

#containerInfoTable{
    width:85rem;
    margin: auto;
    margin-top: 1rem;
}

.imgTable{
    margin: auto;
}

#containerDate{
    width:85rem;
    margin: auto;
    margin-top: 1rem;
    text-align: center;
	height : 50px;
}
.image-container {
  position: relative;
  width: auto ; 
  height: auto ;
}

.image-container img {
  width: 100%;
  height: 100%;
  max-height: 300px;
  object-fit: cover;
}

img.hide-button {
  cursor: pointer;
  width: 24px;
  height: 24px;
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 10; /* Assurez-vous que le bouton est au-dessus des autres éléments */
}

.overlay {
  position: absolute;
  top: 75px;
  left: 0;
  width: 100%;
  height: 150px;
  background: rgba(255, 255, 255, 0.6); 
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 1 px black;
}

.overlay .card-title {
  color: #2f9087; 
  background-color: #ffffff;
  padding: 5px;
  border-radius: 5px; 
}

.overlay .card-text {
  color: black; 
}

.card-link-wrapper {
  text-decoration: none;
  color: inherit;
  display: block; 
}

.card-link-wrapper:hover {
  text-decoration: none;
  color: inherit; 
}

.overlay h2 {
  margin: 0;
  color: #333; 
}

.list-group {
  list-style: none;
  padding: 0;
  margin: 0;
}

#mentions {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
  font-family: "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

#mentions h1,
#mentions h2 {
  color: #2c3e50;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

#mentions h1 {
  font-size: 2rem;
  text-align: center;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 0.5rem;
}

#mentions h2 {
  font-size: 1.4rem;
  border-left: 4px solid #2c3e50;
  padding-left: 0.5rem;
}

#mentions p,
#mentions ul {
  margin-bottom: 1rem;
}

#mentions ul {
  padding-left: 1.5rem;
  list-style: disc;
}

#mentions a {
  color: #0066cc;
  text-decoration: none;
}

#mentions a:hover {
  text-decoration: underline;
}

#paginationContainer {
  text-align: center;
  margin-top: 20px;
  padding: 10px 0;
}

@media (max-width: 767px) {
    #searchResults .card {
      width: 100%;
    }
    #searchResultsOverlay {
      width: 100%; /* Utilise toute la largeur de l'écran sur mobile */
      height: auto; /* Hauteur automatique selon le contenu */
      top: 60px; /* Ajuste selon l'espace disponible sous la barre de recherche */
      padding: 5px; /* Un peu moins de padding pour économiser de l'espace */
    }
  
    #searchResultsOverlay .resultsContent {
      width: 100%; /* Assurez-vous que le contenu occupe toute la largeur de l'overlay */
      border-radius: 0; /* Bordures moins arrondies, facultatif */
      padding: 10px;
    }
    
    #searchResultsOverlay .close-btn {
      top: 10px; /* Le bouton reste en haut à droite */
      right: 10px;
    }  
  
    #mentions {
      font-size: 0.95rem;
      padding: 1.5rem 1rem;
    }
  
    #mentions h1 {
      font-size: 1.6rem;
    }
  
    #mentions h2 {
      font-size: 1.2rem;
    }
    .carousel-container {
      height: 80vh;  /*Adjust height for smaller screens */
      border: 2px solid #eeeeee;
      border-radius: 30px;
      width: 90%;
      margin: auto;
      margin-top: 5rem;
      text-align: center;
    }

    .carousel-slide {
        padding: 0.5rem; /* Adjust padding for smaller screens */
    }

  #containerInfoAccueil{
    border: 2px solid #eeeeee;
    border-radius: 30px;
    width:20rem;
    margin: auto;
    margin-top: 5rem;
    text-align: center;

  }

  #containerDate{
    width:50rem;
    margin: auto;
    margin-top: 1rem;
    text-align: center;
	height : 50px;
  }

  .image-container {
      margin-top: 3rem;
      max-width: 25%;
  }
  .image-container2 {
    margin-top: 3rem;
    max-width: 100%;
}
  .overlay {
    position: absolute;
    top: 5%;
    left: 0;
    width: 100%;
    height: 75%;
    background: rgba(255, 255, 255, 0.8); /* ajustez l'opacité et la couleur du fond */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 1 px black;
  }
}

.list-timeline {
  margin: 0;
  padding: 5px 0;
  position: relative
}

.list-timeline:before {
  width: 1px;
  background: #ccc;
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  height: 100%;
  content: ''
}

.list-timeline .list-timeline-item {
  margin: 0;
  padding: 0;
  padding-left: 24px !important;
  position: relative
}

.list-timeline .list-timeline-item:before {
  width: 12px;
  height: 12px;
  background: #fff;
  border: 2px solid #ccc;
  position: absolute;
  left: 0;
  top: 4px;
  content: '';
  border-radius: 100%;
  -webkit-transition: all .3 ease-in-out;
  transition: all .3 ease-in-out
}

.list-timeline .list-timeline-item[data-toggle=collapse] {
  cursor: pointer
}


.conference {
    font-weight: bold;
    font-size: 18px;
    margin-top: 20px;
}
.date_journee {
    font-weight: bold;
    margin-left: 20px;
}
.appariement {
    margin-left: 40px;
}
.match {
    border-radius: 10px;
    padding: 5px 10px;
    display: inline-block;
}
.match.draw {
    background-color: #add8e6; /* Bleu ciel */
    color: #00008b; /* Bleu foncé */
}
.match.win {
    background-color: #90ee90; /* Vert clair */
    color: #006400; /* Vert foncé */
}
.match.lose {
    background-color: #f08080; /* Rouge clair */
    color: #8b0000; /* Rouge foncé */
}
.non_joue {
  color: black;
  background-color: #f0f0f0; /* Gris clair */
  border-radius: 10px; /* Arrondi des coins */
  padding: 5px;
  display: inline-block; /* S'assurer que le padding et border-radius sont appliqués correctement */
}


  /*thead {
      display: none;  Cache les en-têtes de colonnes 
  }*/

  tr {
      margin-bottom: 15px;
      /*border: 10px solid #ddd;*/
      padding: 10px;
  }

  td {
      /*display: flex;*/
      justify-content: space-between;
      padding: 5px;
      /*border-bottom: 10px solid #ddd;*/
  }

  td:before {
      font-weight: bold;
      padding-right: 10px;
  }