*, ::before, ::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

#index.card {
    height: 280px;
}

h1 {
    color: white;
    font-family: Roboto, serif;
}
h5, h6 {
    color: white;
    font-family: Roboto, serif;
}

.active {
    font-weight: bold;
}
/* bandeau */

.container-main {
    background-color: #2683a2;
    width: 100%;
}

.bandeau {
    padding-bottom: 20px;
    padding-top: 30px;
}

.centrage-col {
    margin-right: auto;
    margin-left: auto;
}

.control {
    width: 240px;
    max-width: 240px;
}
/* paramétrage form */

.form-control {
    margin-top: 5px;
}

input {
    padding-top: 10px;
    font-size: 14px;
}


/* Recherche page d'accueil*/

.search-index {
    display: inline-flex;
    justify-content: center;
}

.case-hébergement,
.case-explorer{
    border: solid 1px rgba(255, 255, 255, 0.47);
    border-radius: 15px;
    background: #0f4050;
}

.case-explorer {
    background: #0f4050;
}

.btn-info {
    color: white;
}

.btn-details{
    width: 200px;
}

.color-text-hébergement {
    color: #0f4050 !important;
}

.case-hébergement {
    background: white;
}

.centrage{
    max-width: 70%;
}
.search-index-space {
    margin-left: 10px;
}

.search-index-color {
    color: white;
    margin-top: 15px;
}

.search-index-space-check {
    margin-left: 10px;
    display: inline-block;
    margin-top: 18px;
}

.form-control {
    font-size: 15px;
}

/* affichage derniers logements */

.list-lieux {
    width: 40%;
    text-align: center;
    margin-right: auto;
    margin-left: auto;
}

.list-logements {
    display: inline-flex;
    width: 100%;
    max-height: 300px;
    margin-bottom: 5%;
}


.space-card {
    min-height: 300px;
    margin-right: 35px;
    margin-left: 35px;
    padding: 0;
    max-width: 850px;
}

.wrapper-image-index {
    display: flex; /* Permet de centrer verticalement l’image */
    justify-content: center; /* Centre horizontalement */
    align-items: center; /* Centre verticalement */
    overflow: hidden; /* Cache les parties qui dépassent */
    height: 100%; /* Prend toute la hauteur de la colonne */
}

.image-index {
    width: 100%; /* S’étend sur toute la largeur */
    height: 100%; /* S’étend sur toute la hauteur */
    object-fit: cover; /* Remplit la div tout en gardant le ratio */
}

/* Pour les boutons de recherche */
.btn-search {
    background-color: transparent;
    border: none;
    margin-left: -45px; /* Ajustez cette valeur pour que le bouton soit aligné */
    z-index: 1;
}

.btn-search i {
    font-size: 20px;
    color: #2683a2;
    padding: 2px;
}

/* Styles pour s'assurer que les boutons ne chevauchent pas les selects */
.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group select {
    flex: 1;
    padding-right: 40px; /* Ajustez cette valeur en fonction de la taille de l'icône */
}

.card-body {
    width: 100%;
    height: 250px;
    justify-content: center; /* Centre verticalement */
}

.logo-camps-add-images {
    height: 150px !important;
    width: auto;
}

#close-search,
#reset-search {
    border: solid 1px #fff;
}



.ck-editor__main {
    color: black;
}

textarea, input {
    color: black;
}

@media (max-width: 1600px) {
    .space-card {
        margin-left: auto;
        margin-right: auto;
        padding: 0;
        max-width: 900px;
    }

    .list-logements {
        display: inline-block;
        width: 60%;
        max-height: 250px;
        margin-left: 20%;
        margin-right: auto;
        margin-bottom: 5%;
    }

    .list-logements img {
        width: 350px;
    }

    .card {
        height: auto;
    }

}

@media (max-width: 1050px) {
    .bandeau {
        width: 95%;
        padding-bottom: 20px;
        padding-top: 30px;
    }

    .list-logements {
        display: inline-block;
        width: 900px;
        max-height: 250px;
        margin-left: 40px;
        margin-right: auto;
        margin-bottom: 5%;
    }
}

@media (max-width: 800px) {
    .bandeau {
        width: 100%;
        padding-bottom: 20px;
        padding-top: 30px;
    }
    .list-logements {
        display: inline-block;
        max-height: 250px;
        margin-left: 25px;
        margin-right: auto;
        margin-bottom: 5%;
    }

}

@media (max-width: 700px) {

    .list-logements {
        display: inline-block;
        width: 98%;
        max-height: 250px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 5%;
    }

    .card {
        height: auto;
        width: 350px;
    }
    .list-lieux {
        width: 90%;
        text-align: center;
        margin-right: auto;
        margin-left: auto;
    }
    .control {
        width: 300px;
        max-width: 300px;
    }
    .btn-details{
        width: 95px;
    }
    .space-card {
        min-height: 600px !important;
    }


}

