@charset "utf-8";
/* CSS Document */

/**
 * Cette feuille de styles gère XXXXX
 */

/*
==================================================
    BREAKPOINT BOOTSRAP 5.2
==================================================
    #X-Small devices (portrait phones, less than 576px)         // 320px
    #Small devices (landscape phones, 576px and up)             // 576px
    #Medium devices (tablets, 768px and up)                     // 768px
    #Large devices (desktops, 992px and up)                     // 992px
    #X-Large devices (large desktops, 1200px and up)            // 1200px+ > 1250 avec scrollbar
    #XX-Large devices (larger desktops, 1400px and up)          // 1400px+
*/

/*
===================================================================
===================================================================
===================================================================
    X-Small devices (portrait phones, less than 576px)   // 320px
===================================================================
===================================================================
===================================================================
    Pas besoin de déclarer de média queries
*/

/* ===============================
 *  PAGE LISTING AGENCES
=============================== */
.listingAgences .one {
    position: relative;
    background: #fff;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.listingAgences .one:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.listingAgences .one .invisibleLink {
    position: absolute;
    z-index: var(--zindex-invisibleLink);
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

.listingAgences .one .photo {
    height: 220px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.listingAgences .one .photo img {
    position:absolute;
    inset: 0;
    margin: auto;
}

.listingAgences .one .content-1 {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.listingAgences .one .contact-info {
    flex-grow: 1;
}


/* Styles pour les popups des agences sur la carte */
.agence-popup {
    width: 250px !important;
    max-width: 250px !important;
    font-size: 14px;
}

.agence-popup .agence-info {
    text-align: center;
    padding: 8px;
}

.agence-popup .agence-popup-image {
    width: 100%;
    max-width: 230px;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 8px;
    display: block;
}

.agence-popup h4 {
    font-size: 1rem;
    font-weight: bold;
    margin: 8px 0;
    color: var(--primary-main);
}

.agence-popup .agence-ville {
    font-weight: bold;
    color: var(--secondary-main);
    margin-bottom: 5px;
}

.agence-popup .agence-adresse,
.agence-popup .agence-tel {
    font-size: 0.875rem;
    color: var(--neutral-dark);
    margin-bottom: 3px;
}

.agence-popup .btn {
    margin-top: 10px;
}

/* Styles spécifiques pour les popups MapLibre */
.maplibregl-popup-content {
    padding: 0 !important;
}

.maplibregl-popup-content .agence-popup {
    margin: 0;
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
}

.maplibregl-popup {
    max-width: 270px !important;
}


/* ===============================
 *  PAGE AGENCE
=============================== */
.carteAgence iframe {
    width: 100%;
    height: 28vmax;
    display: block;
    border-radius: var(--radius-sm);
}

/* ===============================
 *  IFRAME AVIS
=============================== */
.avisContainer {
    background: #FFF;
    padding:3px 5px;
    border-radius:5px;
    margin-bottom: 2vmax;
}
iframe.avis {
    display: flex;
    height: 22px;
    width: 185px;

}
/* ===============================
 *  PAGINATION
=============================== */
.pagination_wrapper {}

.pagination_wrapper ul.pagination {
    margin-bottom: 0;
}

.pagination_wrapper .page-link {
    border:0;
    width:40px;
    height:40px;
    text-align: center;
    border-radius:var(--radius-sm);
}

.pagination_wrapper .active>.page-link,
.pagination_wrapper .page-link.active {
    background: var(--primary-main);
    color:var(--primary-x-dark);
}

.pagination_wrapper .page-link {
    color:var(--primary-x-dark);
}

.pagination_wrapper .page-link:hover {
    background:var(--primary-x-light);
}

.pagination_wrapper .active>.page-link,
.pagination_wrapper .page-link.active {
    background: var(--secondary-main);
    color:var(--secondary-x-light);
}

.pagination_wrapper  .disabled>.page-link,
.pagination_wrapper  .page-link.disabled  {
    color:var(--neutral-main);
}


/* ===============================
 *  RGPD BANNIÈRE
=============================== */
@keyframes appear {
    from {opacity: 0;}
    85% {opacity: 0;}
    to {opacity: 1;}
}

.popUpRGPD {
    position: fixed;
    left:0;
    right:0;
    bottom:0;
    background: rgba(255,255,255,.95);
    box-shadow:0 -2px 5px rgba(0,0,0,.3);
    z-index: 10000000;
    padding: 10vmax 5vmax 5vmax 5vmax;
    overflow: hidden;
    animation: appear 0s;
    animation-iteration-count: 1;
}

.popUpRGPD.ON {
    display:block;
}

.popUpRGPD.OFF {
    display:none;
}

/* ===============================
 *  ENCART PR AVIS GOOGLE STATIQUE
=============================== */
.encart-avis-google {
    display: flex;
    flex-direction: row;
    line-height: 1;
    text-decoration: none;
    color:#000;
}

.encart-avis-google * {
    text-decoration: none;
    color:#000;
    text-align: left;
}

.encart-avis-google .logo {
    border-right: 1px solid var(--neutral-light);
    padding-right: 15px;
    margin-right:15px;
    display: flex;
}


.encart-avis-google .avisEtoiles {
    margin-bottom: 3px;
}

.encart-avis-google .avisEtoiles strong {
    margin-right: 5px;
}

.encart-avis-google .avisNb {
    font-size: .813rem;
}

.encart-avis-google .avisDate {
    font-size: .688rem;
    color:var(--neutral-main);
}

/* ===============================
 *  RETOUCHE SELECT2
 *  https://select2.org/getting-started/installation
=============================== */
.select2-container--default .select2-results__option--selected {
    display:none;
}

.select2-results__option {
    padding-top:3px !important;
    padding-bottom: 3px !important;
}

/*
===================================================================
===================================================================
===================================================================
    #Small devices (landscape phones, 576px and up)     // 576px
===================================================================
===================================================================
===================================================================
*/
@media screen and (min-width: 576px) {


}/*/mediaquery*/


/*
===================================================================
===================================================================
===================================================================
    Medium devices (tablets, 768px and up)             // 768px
===================================================================
===================================================================
===================================================================
*/
@media screen and (min-width: 768px) {

/* ===============================
 *  PAGE AGENCE
=============================== */
.carteAgence iframe {
    height: 100%;
}

/* ===============================
 *  RGPD BANNIÈRE
=============================== */
.popUpRGPD {
    padding: 12vmin 8vmin;
}

}/*/mediaquery*/


/*
===================================================================
===================================================================
===================================================================
    Large devices (desktops, 992px and up)             // 992px
===================================================================
===================================================================
===================================================================
*/
@media screen and (min-width: 992px) {


}/*/mediaquery*/


/*
===================================================================
===================================================================
===================================================================
    X-Large devices (large desktops, 1200px and up)    // 1200px+
===================================================================
===================================================================
===================================================================
*/
@media screen and (min-width: 1200px) {


}/*/mediaquery*/

/*
===================================================================
===================================================================
===================================================================
    XX-Large devices (larger desktops, 1400px and up)  // 1400px+
===================================================================
===================================================================
===================================================================
*/
@media screen and (min-width: 1400px) {


}/*/mediaquery*/
