/***********************
    GLOBALS
***********************/
body {
    --primary: var(--e-global-color-primary);
    --secondary: var(--e-global-color-secondary);
    --text-color: var(--e-global-color-text);
    --accent-color: var(--e-global-color-accent);
    --text-font: var(--e-global-typography-primary-font-family);
    --title-font: var(--e-global-typography-secondary-font-family);
    --accent-font: var(--e-global-typography-accent-font-family);
    --cookies-text-color: white;
    
}
body:not(.elementor-editor-active) .animate-text .elementor-heading-title {
    opacity: 0;
}
.elementor-button-link,
.elementor-button {
    font-family: var(--accent-font) !important;
    font-weight: 500;
}
h1,
.title-xl .elementor-heading-title {
    font-family: var(--title-font);
    font-size: clamp(35px, 10px + 3vw, 57px);
    line-height: 1.1;
}
.title-lg .elementor-heading-title {
    font-family: var(--title-font);
    font-size: 31px;
    line-height: 1.5;
    /* @media screen and (max-width: 1024px) {
        font-size: 28px;
    }
    @media screen and (max-width: 767px) {
        font-size: 25px;
    } */
}

.subtitle .elementor-heading-title {
    font-family: var(--text-font);
    font-size: 14px;
    line-height: 1.2;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 400;
}
.elementor-widget-text-editor p:last-child {
    margin-bottom: 0;
}
.elementor-widget-text-editor li:last-child {
    margin-bottom: 0.7rem;
}
.elementor-post__read-more {
    font-weight: 600 !important;
}

/* Commentaires */
#comments .title-comments {
    display: none;
}
.commentrating .fa {
    font-size: 16px;
    margin: 0 5px;
    color: #ffcc00;
}
.comment-form-url {
    display: none;
}

/***********************
    AVIS
***********************/
/* .front-page-avis-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-top: 20px;
}
.meo-avis {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: white;
}
.meo-avis-author {
    color: var(--e-global-color-primary);
    font-family: var(--e-global-typography-secondary-font-family);
    font-size: 35px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
}
.meo-avis-date {
    color: black;
    font-family: var(--e-global-typography-secondary-font-family);
    font-weight: 600;
}
.meo-avis-rating i {
    color: #ffcc00;
    margin: 0 10px;
    font-size: 23px;
}
.meo-avis-content {
    color: black;
    text-align: center;
}
@media screen and (max-width: 1024px) {
    .meo-avis-author {
        font-size: 25px;
    }
}
@media screen and (max-width: 767px) {
    .meo-avis-content {
        grid-template-columns: 1fr;
    }
} */

/***********************
    TABLEAUX
***********************/
tr,
td {
    background-color: transparent !important;
}
.horaires tr,
.horaires td {
    padding: 0 !important;
    border: none !important;
    line-height: 2.2;
}
.horaires-line {
    display: grid;
    grid-template-columns: 1fr 2fr;
}
@media screen and (min-width: 1024px) {
    .horaires-hour {
        justify-self: end;
    }
}
/***********************
    HOME NEWSLETTER
***********************/
/*
.home-newsletter form {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.home-newsletter form p {
    flex-grow: 1;
    margin: 0;
    position: relative;
}
.home-newsletter .meo-newsletter-input,
.home-newsletter .meo-newsletter-submit {
    height: 45px;
    padding-left: 25px;
    font-family: var(--e-global-typography-primary-font-family);
    border-radius: 0;
    border: none;
}
.home-newsletter .meo-newsletter-input::placeholder {
    color: black;
    opacity: 0.5;
    font-family: var(--e-global-typography-primary-font-family);
    font-style: italic;
}
.home-newsletter .meo-newsletter-submit {
    background-color: var(--e-global-color-secondary) !important;
    color: white !important;
    text-transform: uppercase;
    padding-right: 25px !important;
    padding-left: 25px !important;
}*/
/***********************
    SITEMAP
***********************/
.wsp-container h2 {
    margin-top: 20px;
    /* color: var(--secondary); */
}

.wsp-container li a,
.wsp-container strong {
    font-size: 1rem;
    color: var(--text-color);
    padding-left: 10px;
}
/* .wsp-container li a:hover {
    color: var(--secondary);
} */

.wsp-container li::marker {
    color: var(--text-color);
    font-family: "Font Awesome 5 Free";
    content: "\f15c";
    font-weight: 900;
}

/***********************
    COOKIES BAR
***********************/
#cookie-notice .cookie-notice-container {
    background-color: var(--primary);
    font-family: var(--text-font);
    color: var(--cookies-text-color);
}
#cookie-notice .cookie-notice-container .cn-button {
    background-color: transparent !important;
    border: 1px solid var(--cookies-text-color) !important;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-family: var(--text-font) !important;
}
#cookie-notice .cookie-notice-container .cn-button:hover {
    background-color: black !important;
    color: inherit;
}
#cookie-notice .cookie-notice-container a {
    color: inherit;
    font-weight: bold;
}
#cookie-notice .cookie-notice-container a:hover {
    color: black;
}

/***********************
    SMOOTH SCROLL
***********************/

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}
@media screen and (max-width: 767px) {
    /*Corrige les avis Google qui ne vont pas à la ligne*/
    .es-grid-layout {
        display: flex !important;
        flex-direction: column !important;
    }
}

/***********************
    Carousel Facet véhicule page d'accueil
***********************/
.cpt-carousel-wrapper {
    position: relative !important;
}
.cpt-carousel .cpt-item:first-child {
    margin-left: 0; /* Assurez-vous que la première carte n'a pas de marge à gauche */
}
.slick-prev {
    right: 100px !important;
    bottom: 0 !important;
}
.slick-next {
    right: 24px !important;
}

.cpt-img{
    border-radius: 14px 14px 0 0 !important;
}

.cpt-title a{
    font-size: 15px;
    color: black !important;
}
.cpt-prix{
    font-size: 18px;
    font-weight: 900;
}

.cpt-infos{
    display: flex;
    min-height: 55px;
}

.cpt-prix-details{
    justify-content: space-between;
    margin: 10px 0;
}

.cpt-details{
    color: var(--primary);
}

.cpt-details-span{
    color: #FFFFFF;
    background-color: var(--accent-color);
    padding: 0 5px;
    border-radius: 25px;
}

.cpt-km,
.cpt-annee,
.cpt-carburant{
    font-size: 16px;
    background-color: #F2F2F2;
    padding: 10px;
}

.cpt-km img,
.cpt-annee img,
.cpt-carburant img{
    margin: 0 auto 5px;
}

.cpt-type{
    font-size: 17px;
    color: #a09d9e;
    font-weight: 300;
    font-family: "DM Sans", sans-serif;
}
.cpt-info{
    display: flex;
    justify-content: space-between;
}

.cpt-item {
    margin-right: 30px; /* Ajoute un espace de 20 pixels à droite de chaque élément */
}

/* Assurez-vous de spécifier la largeur de l'élément du carrousel pour éviter les débordements horizontaux */
.cpt-item {
    width: calc(20% - 30px); /* Calcul de la largeur de chaque élément en tenant compte de la marge */
}
.carousel-item img {
    width: 100%; /* La largeur maximale de l'image sera de 100% du conteneur */
    height: auto; /* La hauteur sera ajustée automatiquement pour conserver les proportions */
}
/* nos derniers véhicules */
.img-top{
    aspect-ratio: 1 / 0.6;
    object-fit: cover;
}
.prix-vehicule{
   color: var(--e-global-color-accent) !important;
   font-size: 25px;
   font-family: "Anton", sans-serif;

}

.cat{
    font-family: "DM Sans", sans-serif !important;
    font-size: 17px !important;
    color: var(--e-global-color-95c93a8) !important;
}
.marque{
    float: left;
    display: inline;
    font-size: 20px !important;
    font-family: "Anton", sans-serif;
}

.modele{
    float: right;
    display: inline;
    font-size: 20px !important;
    font-family: "Anton", sans-serif;
}
.kilometrage{
    color: var(--e-global-color-95c93a8) !important;
    font-size: 17px !important;
}
.annee{
    color: var(--e-global-color-95c93a8) !important;
    font-size: 17px !important;
}
.type{
    color: var(--e-global-color-95c93a8) !important;
    font-size: 17px !important;
}
h2.cpt-title{
    line-height: 0.4 !important;
}
.cpt-image img{
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.facetwp-facet{
    margin-bottom: 0 !important;
}

/***********************
AGENCES CART INTERACTIVE
***********************/

.agence_map_boxes{
    display: flex;
    justify-content: center;
    width: fit-content !important;
}

.agence_map_boxes .elementor-image-box-title{
    width: 25px;
    font-size: 25px;
    color: transparent;
}

.agence_map_boxes .elementor-image-box-description{
    background-color: #F51C1C;
    padding: 10px;
    border-radius: 9px;
    display: none;
}

.agence_map_boxes .elementor-image-box-description a{
    color: white;
    text-decoration: underline;
    font-size: 16px;
    font-weight: 600;
}


/***********************
    Disable Facet agence select sur la page vehicule d'agence
***********************/
#facet_agence_disabled select{
    pointer-events:none;
}

/***********************
AGENCE Single
***********************/
.services-agence-container .elementor-widget-container{
    display: flex;
}

.service-agence{
    align-items: center;
}

.service-agence-icone{
    color: #E70000;
    border-color: #E70000;
    font-size: 50px;
}

.service-agence-text{
    text-align: center;
    text-transform: uppercase;
    font-size: 24px;
    font-weight: bold;
}

@media screen and (max-width: 767px) {
    .services-agence-container .elementor-widget-container{
        flex-direction: column;
    }
}

