body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2%;
}

/* Style pour les boutons */
.buttons button {
    margin: 10px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: #fff;
    transition: background-color 0.3s ease;
}

.famille-info-container, .intervenant-info-container{
    width: 30%;
    display: none;
    background-color: #f0f0f0;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.famille-info, .intervenant-info{
    font-size: 14px;
    line-height: 1.6;
}

.famille-info p, .intervenant-info p {
    display: flex;
    justify-content: space-between;
    margin: 5px 0; /* Pour ajouter un peu d'espace entre les lignes */
}

.search-filters {
    margin-top: 20px;
}

.filter-group {
    margin-bottom: 10px;
}

.filter-group label {
    margin-right: 10px;
}

.filter-group input[type="checkbox"] {
    margin-right: 5px;
}

.label {
    font-weight: bold;
    margin-right: 10px;
    flex: 1; /* Permet au label d'occuper l'espace disponible */
    text-align: left;
}

.value {
    font-weight: normal;
    flex: 1; /* Permet à la valeur d'occuper l'espace disponible */
    text-align: right;
}

.buttons button:hover {
    background-color: #0056b3;
}

.loading-container {
    display: none; /* Par défaut, ne pas afficher */
    top: 50%; /* Centré verticalement */
    left: 50%; /* Centré horizontalement */
    transform: translate(-50%, -50%); /* Déplace de moitié pour centrer */
    z-index: 1000; /* Au-dessus des autres éléments */
    position: absolute;
}

.loading-gif {
    width: 150px;  /* Ajustez la taille selon vos besoins */
}

/* Style spécifique pour le bouton de retour à l'accueil */
#btnRetourAccueil {
    position: absolute;
    top: 10px;
    left: 10px;
    cursor: pointer;
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    display: flex;
    align-items: center;
}

#btnRetourAccueil:hover {
    background-color: #0056b3;
}

#btnNextPage {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    display: flex;
    align-items: center;
}

#btnNextPage:hover {
    background-color: #0056b3;
}

#idFamille, #idIntervenant {
    font-weight: bold;
}

.arrow-left {
    width: 0; 
    height: 0; 
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 15px solid white;
    margin-right: 10px;
}

.arrow-right {
    width: 0; 
    height: 0; 
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid white;
    margin-left: 10px;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 80%;
}

h1 {
    color: #333;
}

.search-container {
    position: relative;
    display: inline-block;
}

#searchInput {
    padding: 10px;
    width: 300px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#clearButton {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #888;
}

#clearButton:hover {
    color: #000;
}

.results-container {
    margin-top: 20px;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #ccc;
    padding: 10px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    width: 45%;
}

.results-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.results-container li {
    padding: 10px;
    border-bottom: 1px solid #ccc;
    cursor: pointer;
}

.results-container li:hover {
    background-color: #f0f0f0;
}

#resultats {
    width : 30%;
}

#resultats, #resultats-famille, #resultats-intervenant{
    position: relative;
}

#resultats-famille, #resultats-intervenant{
    display: none;
}

.intervenant {
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.intervenant:hover {
    background-color: #f0f0f0;
}

.map-container {
    width: 60%;
    height: 400px;
    margin-top: 20px;

}

.results{
    display: flex;
    width: 100%;
    margin-left: 8%;
}
