/***********************
    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);
    --cookies-text-color: var(--secondary);
    
}
/******* carousel top 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;
   
    
}



/******* Fin carousel top véhicule page d'accueil *************/


.elementor-button-link,
.elementor-button {
    font-family: var(--e-global-typography-primary-font-family) !important;
    font-weight: 300 !important;
}

h1,
.title-xl .elementor-heading-title {
    font-family: var(--title-font);
    font-size: clamp(35px, 10px + 3vw, 57px);
    line-height: 1.1;
    
}

/********* Style pour la pagination des véhicules vendus ****************/
.facetwp-pager {
    margin: 20px 0;
    text-align: center;
}

.facetwp-pager a,
.facetwp-pager span {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 2px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    color: #333;
    text-decoration: none;
}

.facetwp-pager a:hover {
    background-color:var(--e-global-color-accent);
}

.facetwp-pager .active {
    font-weight: bold;
    color: #fff;
    background-color:var(--e-global-color-accent);
}

.facetwp-pager a:first-child,
.facetwp-pager a:last-child {
    border-radius: 4px;
}
/********* Fin Style pour la pagination des véhicules vendus ****************/



/***************** Page nos véhicules **************************/
.cpt-cat-nos-vehicule{
    content: "";
    padding: 5px;
    position: absolute;
    color: white;
    z-index: 9;
    top: 0;
    left: 0;
    background-color: var(--e-global-color-accent);
}

.cpt-images-nos-vehhicules{
    max-height: 200px; /* Définir la hauteur maximale des images */
    overflow: hidden;
    position: relative;


}


.cpt-images-nos-vehhicules img {
    width: 100%; /* Assurez-vous que les images s'adaptent à la largeur de leur conteneur */
    height: auto; /* Empêcher le redimensionnement incorrect des images */
    position: relative;
    transition: opacity 0.3s ease; 
    aspect-ratio: 1 / 0.6;
    object-fit: cover;


}

.cpt-grids-nos-vehicules{
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
     grid-gap: 20px; 

}
.image-nos-vehicules-overlay{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0; /* Masquer initialement */
    transition: opacity 0.3s ease;

}

/* .cpt-images-nos-vehhicules:hover .image-nos-vehicules-overlay {
    opacity: 1;
} */


/************* VL vendu ***********************/

.cpt-grids {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
     grid-gap: 20px; 
} 
.cpt-images {
    max-height: 200px; /* Définir la hauteur maximale des images */
    overflow: hidden;
    position: relative;
    /* Masquer tout contenu dépassant de la hauteur maximale */
}

.cpt-images img {
    width: 100%; /* Assurez-vous que les images s'adaptent à la largeur de leur conteneur */
    height: auto; /* Empêcher le redimensionnement incorrect des images */
    position: relative;
    transition: opacity 0.3s ease; 
}


/* .cpt-images:hover img {
    opacity: 0.9; /* Réduire l'opacité de l'image au survol 
}

.images-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0; 
    transition: opacity 0.3s ease;
}
*/
/* .cpt-images:hover .image-overlay {
    opacity: 1; 
}  */

.detail-button {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: opacity 0.3s ease; /* Ajouter une transition pour l'opacité */
    opacity: 0; /* Masquer initialement */
}

.image-overlay:hover.detail-button {
    opacity: 1; 
    z-index: 99999;
    position: absolute;/* Afficher le bouton au survol de l'overlay */
}

.detail-button:hover {
    background-color: white; /* Couleur de fond au survol du bouton */
    color: black;
}
.cpt-images:before{
    content: "Vendu";
    padding: 5px;
    position: absolute;
    color: white;
    z-index: 9;
    background-color: var(--e-global-color-accent);
}
 /********* fin  VL vendu **********/


/********* facet accueil ***********/
.cpt-title a{
    font-size: 15px;
    color: black !important;
}
.cpt-prix{
    font-size: 20px;
    vertical-align: bottom;
    color: #c41a30;
}
.cpt-infos{
    display: flex;
    min-height: 55px;
}
.cpt-klm{
    font-size: 17px;
    color: #a09d9e;
    font-family: "DM Sans", sans-serif;
}
.cpt-annee{
    font-size: 17px;
    color: #a09d9e;
   
    font-family: "DM Sans", sans-serif;
}
.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: 20px; /* 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% - 20px); /* 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;
}

/********* facet accueil ***********/

.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;
    } */
}
.footer-map:before{
    content: url('https://jerico002.meosis.fr/brasseriedelaquiotte/wp-content/uploads/sites/3/2023/09/Objet-dynamique-vectoriel-copie-4.png');
    position: absolute;
    z-index: 999;
    top:-40px ;
    right: -50px;
}

.footer-map-gauche:before{
    content: url('https://jerico002.meosis.fr/brasseriedelaquiotte/wp-content/uploads/sites/3/2023/09/Objet-dynamique-vectoriel-copie-4.png');
    position: absolute;
    z-index: 999;
    top:-32px ;
    right: -30px;
}
.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(--e-global-color-accent); 
}

.wsp-container li a,
.wsp-container strong {
    font-size: 1rem;
     color: var(--e-global-color-c05f786); 
    padding-left: 10px;
}
.wsp-container li a:hover {
     color: black; 
}

.wsp-container li::marker {
    color:var(--e-global-color-c05f786); 
    font-family: "Font Awesome 5 Free";
    content: "\f15c";
    font-weight: 900;
}

/***********************
    COOKIES BAR
***********************/
#cookie-notice .cookie-notice-container {
    background-color:  var(--e-global-color-c05f786);
    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;
    }
}
