body.base-template {
    padding-top: 100px;
}

.fixed-header {
    position: fixed;

    top: 0px;
    width: 100%;
    z-index: 1000;
    background-color: #fff;
    /* Assurez-vous que le fond est blanc */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid #e0e0e0;
    /* Bordure inférieure pour distinguer le menu */
}

.btn-contact {
    position: absolute;
    right: 20px;
    top: 50%;
    /*transform: translateY(-50%);*/
}


.navbar-nav li {
    margin-right: 15px !important;
    font-weight: 600;
}

.navbar-nav li a:hover {
    color: #be1902;
}




.navbar-nav .nav-link.active {
    text-decoration: underline;
    color: #be1902;
}

.navbar {
    min-height: 21px !important;
}



.footer {
    background-color: #363936;
    padding-top: 20px;
    padding-bottom: 20px;
}

.btn-contact {
    background-color: #be1902 !important;
    border-color: #be1902 !important;
    font-weight: 600 !important;
    width: 15rem;
    border-radius: 0;
}

.slogan-1 {
    color: #be1902;
    font-weight: 600;
    font-size: 1.3em;
}

h2 {
    font-size: 2.2em !important;
    font-weight: 600;
}


/* Set the card height to be the same */
.carousel-item .card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Ensure the image takes its natural height and doesn't stretch */
.carousel-item .card .bg-image {
    flex: 0 0 auto;
}

/* Make the card body take up the remaining space and allow content to flow naturally */
.carousel-item .card .card-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.carousel-item .card .btn {
    align-self: center;
    margin-top: auto;
    background-color: #fff;
    color: #be1902;
    border-color: #be1902;
}

/* Change background and text color on hover */
.carousel-item .card .btn:hover {
    background-color: #be1902;
    color: #ffffff;
    border-color: #be1902;
}

.img-ratio {
    height: 200px;
    /* Hauteur fixe */
    width: calc(200px * 1.75);
    /* Largeur calculée avec le ratio 1.7:1 */
    object-fit: cover;
    /* Garde le ratio et remplit le conteneur */
    border-radius: 5px;
    /* Optionnel : ajoute des coins arrondis si vous le souhaitez */
}

.img-ratio-accueil {
    height: 544px;
    /* Hauteur fixe */
    width: calc(544px * 3.53);
    object-fit: cover;
}
.img-ratio-media {
    width: 277px;
    /* Hauteur fixe */
    height: calc(277px / 1.33);
    object-fit: cover;
}
.custom-col {
    max-width: 250px;
    /* Ajustez cette valeur pour contrôler la largeur des colonnes */
    text-align: center;
    /* Centre le texte sous l'image */
}

.custom-col img {
    /* width: 100%; */
    /* Assurez-vous que l'image prend toute la largeur de la colonne */
    height: auto;
    /* Maintenez le ratio d'aspect de l'image */
}


.titleOver .card {
    position: relative;
    border: 0;
}

.titleOver .card img {
    border-radius: 5px;
    border: 1px solid #c9c1c1;
}

.titleOver .card-title {
    position: absolute;
    bottom: 20%;
    /* Positionne le titre au premier tiers depuis le bas */
    left: 50%;
    transform: translate(-50%, 50%);
    /* Centre horizontalement */
    color: white;
    /* Changez la couleur si nécessaire */
    background-color: rgba(0, 0, 0, 0.5);
    /* Fond semi-transparent pour meilleure lisibilité */
    padding: 10px;
    border-radius: 5px;
    font-size: 1.8em !important;

}


.presse {
    height: 200px;
}

.presse>div {
    display: flex;
    height: 100%;
    width: 100%;
}

.presse img {
    height: 100%;
    width: 235px;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #c9c1c1;
}

.presse .text-block {
    display: flex;
    align-items: center;
    padding: 0 20px;
    width: calc(100% - 235px);
}


.presse .card img {
    width: 25%;
}


.carousel_presse-item {
    height: 200px;
}

.carousel_presse-item>div {
    display: flex;
    height: 100%;
    width: 100%;
}

.carousel_presse-item img {
    height: 100%;
    width: 235px;
    object-fit: cover;
}

.carousel_presse-item .text-block {
    display: flex;
    align-items: center;
    padding: 0 20px;
    width: calc(100% - 235px);
}


#objetCarousel .carousel-indicators .active {
    border: 1px solid #be1902;
}

#objetCarousel .carousel-indicators {
    position: relative;
    top: 10px;
    color: #be1902;
}

#objetCarousel .carousel-indicators [data-bs-target] {
    background-color: #be1902;
    /* Red color for inactive indicators */
}


.presse-item {

    border-radius: 10px !important;
    border: 1px solid #c9c1c1;
    margin-bottom: 15px;
}

.presse-title {
    color: #be1902;
    font-weight: 600;
    font-size: 1.1em;
    padding-top: 1.5rem;
    padding-bottom: 1.0rem;
}

.presse-image {
    padding-left: 0;

}

.presse-image img {
    border-radius: 10px !important;
}

.home_slog {
    border: 1px solid;
    width: 60%;
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: white;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 5px;
    border-color: rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo {
    margin-bottom: 10px;
    /* Space between the logo and the menu */
}


.picto_home {
    margin-top: 3.5em;
    margin-bottom: 3em;
    font-weight: 600;
    color: #8d8d8d;
}




.objet_reserve {
    background-image: url(/uploads/home/objet_reserve_2.png);
    height: 141px;
    width: 193px;
    position: absolute;
    /* margin-top: 267px; */
    /* margin-left: 564px; */
    margin-top: -141px;
    margin-left: 0px;
    z-index: 90;
}

.objet_vendu {
    background-image: url(/uploads/home/objet_vendu_2.png);
    height: 141px;
    width: 193px;
    position: absolute;
    /* margin-top: 267px; */
    /* margin-left: 564px; */
    margin-top: -141px;
    margin-left: 0px;
    z-index: 90;
}


/** Carousel home **/
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    /* Réduire la zone cliquable des flèches à 5% */
    height: 50%;
    /* Réduire la hauteur de la zone cliquable des flèches à 50% */
    top: 50%;
    /* Positionner au milieu verticalement */
    transform: translateY(-50%);
    /* Centrer verticalement */
    z-index: 1000;
    /* Assurer que les flèches sont au-dessus des autres éléments */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    /* Fond semi-transparent pour les flèches */
    border-radius: 50%;
    /* Rendre les flèches circulaires */
    width: 38px;
    /* Ajuster la largeur des icônes de flèches */
    height: 38px;
    /* Ajuster la hauteur des icônes de flèches */
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: rgba(0, 0, 0, 0.7);
    /* Rendre les flèches plus visibles au survol */
}

.carousel-control-prev-icon:after,
.carousel-control-next-icon:after {
    font-size: 30px;
    /* Ajuster la taille des flèches */
}

.visually-hidden {
    position: relative !important;
}




/** Carousel objet **/
.objet-carousel-control-next {
    right: 2.4em;
    /* Positionner le bouton tout à droite */
}

.objet-carousel-control-prev {
    left: 1em;
}

.objet-carousel-control-prev,
.objet-carousel-control-next {
    width: 30px;
    /* Largeur des boutons de contrôle */
    height: 30px;
    /* Hauteur des boutons de contrôle */
    bottom: 50%;
    /* Positionner les boutons en bas */
    z-index: 1000;
    /* Assurer que les flèches sont au-dessus des autres éléments */
    border-radius: 50%;
    /* Rendre les flèches circulaires */
    border: 0;
    align-items: center;
    justify-content: center;
    position: absolute !important;
    background-color: transparent;

}



.objet-carousel-control-prev-icon:after,
.objet-carousel-control-next-icon:after {
    font-size: 30px;
    /* Ajuster la taille des flèches */
}

.gallery {
    /*width: 90%;*/
    margin: 0 auto;
}

.gallery-item {
    width: 31%;
    margin-bottom: 10px;
    margin-left: 10px;
}

.gallery-item img {
    width: 100%;
    display: block;
}

.form-item label {
    color: #808080;
    font-weight: 400;
}

.section-contact-us #edit-submitted-objet {
    background-color: #e0e0e0;
}

.section-contact-us .form-text {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #808080 !important;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;

    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    margin-bottom: 21px;
    box-shadow: inset 0 0 5px #e5e5e5;
}

.form-textarea {
    display: block;
    width: 100%;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}