.checkbox-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.checkbox-container label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.checkbox-container input[type="checkbox"] {
    accent-color: #0073aa; /* Couleur personnalisée */
}
.map {
    overflow: hidden;
    display: flex;
    justify-content: center;
    margin-top: -15px;
}
.map a{
    cursor: pointer;
}.map {
    overflow: hidden;
    display: flex
;
    justify-content: center;
    margin-top: -15px;
}
.map--svg a {
    text-decoration: none;
}
.map--svg circle {
    stroke: none;
    fill: #4a597c;
}
.map--svg{
	width: 53%;
	position:relative;
}
.map--svg path{
	fill: #90aabc;
	stroke:#FFF;
	stroke-width: 1px;
	transition: fill 0.3s; 
}
.map--svg path:hover {
    fill: #001c5d;
    stroke: #001c5d;
    transform: translate(3px, 3px);
    filter: drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.4));
    cursor: pointer;
}.map--svg path.hover {
    fill: #001c5d;
    stroke: #001c5d;
    transform: translate(3px, 3px);
    filter: drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.4));
    cursor: pointer;
}
.map--svg .active path {
    fill: #001c5d;
    stroke: #4a597c;
    transform: translate(3px, 3px);
    filter: drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.4));
    cursor: pointer;
} 
.map--svg .is-active path{
	fill: #3538d2;
}
.map-title {
    margin-left: 400px;
}
.map--svg text {  font-size: 9px;
}
.is-active{
	color: red;
	font-weight: bold;
}
ul{
	list-style-type: none;
}
li {
    color: #000;
    text-decoration: none;
}
h3{
	text-align: center;
}



img.secteur_img_ref {
    width: 30px;
}
.table_secteur table tr {
    background: #fff;
}

.popup-content.table_secteur {
    height: 700px;
    width: 700px;
    position: relative;
    background-repeat: no-repeat;
    background-size: contain;
    box-shadow: none;
    right: 100%;
}
/* Style pour la liste */
.ligne-filtre {
    display: flex; /* Utilisation de Flexbox pour aligner les éléments */
    flex-wrap: wrap; /* Permet aux éléments de passer à la ligne suivante */
    list-style-type: none; /* Supprime les puces de la liste */
    padding: 0; /* Supprime le padding par défaut */
    margin: 0; /* Supprime la marge par défaut */
    /*width: 315px;*/
    /*height: 260px;*/
}

/* Style pour chaque élément de la liste */
.ligne-filtre li {
    flex: 1 1 50%; /* Chaque élément prend 50% de la largeur, créant ainsi 2 carreaux par ligne */
    box-sizing: border-box; /* Inclut le padding et la bordure dans la largeur */
    padding: 50px 0; /* Espacement intérieur */
    text-align: center; /* Centre le texte */
    border: 1px solid #ccc; /* Bordure pour visualiser les carreaux */
}
/* Style pour chaque élément de la liste */
.ligne-filtre li.active {
    border: 2px solid #4a597c;
}
.ligne-filtre li:hover {
    border: 2px solid #90aabc;
}

.ligne-filtre label {
    display: flex;
    color: transparent;
    align-items: center;
    gap: 10px;
    position: relative;
    cursor: pointer;
    /* z-index: 99999999999999999999; */
    margin: -50px 0;
    height: 125px;
    paint-order: markers;
}

/* Style pour les inputs */
.ligne-filtre input[type="checkbox"] {
    margin-right: 5px; /* Espace entre la checkbox et le texte */
    display:none;
}
/* Style pour chaque arrière-plan */
.ligne-filtre li:nth-child(1) {
    background: url(/wp-content/uploads/2025/02/logoadapt_48a12b97ae.webp); /* Bleu clair */
    background-repeat: no-repeat;
    background-size: 80% auto;
    background-position: center;
}

.ligne-filtre li:nth-child(2) {
    background: url(/wp-content/uploads/2025/02/ligne55.svg); /* Bleu clair */
    background-size: contain;
    background-repeat: round;
}

.ligne-filtre li:nth-child(3) {
    background: url(/wp-content/uploads/2025/02/ligne73.svg); /* Bleu clair */
    background-size: contain;
    background-repeat: round;}

.ligne-filtre li:nth-child(4) {
    background: url(/wp-content/uploads/2025/03/prasoc-image.png); /* Bleu clair */
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center;
}
.secteur_ref_listing {
    display: flex;
    margin-top: 15px;
}
/*.secteur_ref_listing:nth-child(odd) .secteur_ref_listing_stat {*/
/*    background: #4a597c;*/
/*    color: white;*/
/*    width: -webkit-fill-available;*/
/*    font-size: large;*/
/*    border-radius: 20px;*/
/*    padding: 0px 0px 0px 30px;*/
/*}*/

/*.secteur_ref_listing:nth-child(even) .secteur_ref_listing_stat {*/
/*    background: #90aabc;*/
/*    color: white;*/
/*    width: -webkit-fill-available; */
/*    font-size: large;*/
/*    border-radius: 20px;*/
/*    padding: 0px 0px 0px 30px;*/
/*}*/
.secteur_img_ref_td {
    display: inline-grid;
    margin-right: 20px;
}
.secteur_img_cover {
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}
.totaux-table-head {
    border: 2px solid;
    padding: 20px;
    border-radius: 20px;
}

div.totaux-table {
    width: 450px;
}
span.thead-title {
    font-weight: bold;
    font-size: smaller;
}
span.thead-number {
    padding: 0 0 0 10px;
    font-weight: bold;
    font-size: smaller;
    color: #001c5d;
}
img.thead-svg {
    width: 30px;
    margin-right: 20px;
}
.totaux-table-head-ligne {
    display: flex;
    align-items: anchor-center;
    margin-bottom: 10px;
}
p.secteur_selected {
    background: #001c5d;
    width: 150px;
    color: white;
    border-radius: 5px;
    padding: 5px;
    margin: 0px 0 10px 0;
    font-size: large;
    text-align: center;
}
.popup-content {
    /*width: 510px;*/
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    float: left;
    /*margin-left: 30%;*/
    padding: 20px;
}
span.close-popup {
    float: inline-end;
    font-size: large;
    background: #001c5d;
    border-radius: 85px;
    color: white;
    height: 30px;
    width: 30px;
    margin-top: 0px;
    cursor: pointer;
    text-align: center;
}
img.image-secteur-activite {
    width: 30px;
    height: 30px;
    padding: 3px;
    background: white;
    border-radius: 5px;
    display: inline-block;
    position: relative;
}
li.active img.image-secteur-activite {
    border:2px solid #001c5d;
}


.secteur-filtre li {
    display: inline-flex;
    gap: 5px;
    font-size: 12px;
    align-items: anchor-center;
}
.floating-btn {
    background: #001c5d;
    color: white;
    border-radius: 5px;
    padding: 5px;
    margin: 20px 0 10px 0;
    font-size: inherit;
    font-family: 'Inter';
    text-align:center;
    cursor:pointer;
}
.floating-btn::after {
    content: " ▼"; /* Flèche vers le bas */
    font-size: 14px;
    margin-left: 8px;
    transition: transform 0.3s ease-in-out;
}
.floating-btn.active::after {
    content: " ▲"; /* Flèche vers le bas */
    font-size: 14px;
    margin-left: 8px;
    transition: transform 0.3s ease-in-out;
}
#ligne-financement::after {
    content: " ▼"; /* Flèche vers le bas par défaut */
    font-size: 14px;
    margin-left: 8px;
    transition: transform 0.3s ease-in-out;
}

#ligne-financement.active::after {
    content: " ▲"; /* Flèche vers le haut quand actif */
}

#circularMenu1 ul.secteur-filtre {
    width: -webkit-fill-available;
    padding: 0px 5px ;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    border-radius:10px;
    
}
#circularMenu1 li.active{
    width: -webkit-fill-available;
    background: #4CAF50;
    color: white;
    gap: 5px;
    border-radius: 10px;
}
#circularMenu1 li:hover {
    cursor:pointer;
}
h4.wp-block-heading.has-text-align-center {
    background: #001c5d;
    color: white;
    border-radius: 5px;
    padding: 10px;
    margin: 20px 0 10px 0;
    font-size: inherit;
    font-family: 'Inter';
    text-align: center;
}

/**version mobile w^jd!**/


@media only screen and (max-width: 480px) {
    div.totaux-table {
        width: 100%;
        margin-bottom: 10px;
    }
    .popup-content.table_secteur {

        right: 0;
    }
    .wp-block-columns.alignfull.is-layout-flex.wp-container-core-columns-is-layout-1.wp-block-columns-is-layout-flex {
        padding: 0px 10px!important;
    }
    .popup-content {
        width: -webkit-fill-available;
        padding: 5px;
        background: white;
        border-radius: 10px;
    }
    div#popup-projets {
        position: absolute;
        top: 25%;
        width: -webkit-fill-available;
        z-index: 2147483647;
        padding: 20px;
        right: 0px;
        left: 0;
    }

    /*img.secteur_img_ref {*/
    /*    width: 30px;*/
    /*    margin-bottom: 15px;*/
    /*}*/
    .secteur_ref_listing:nth-child(even) .secteur_ref_listing_stat {
        font-size: medium;
        height:max-content;
        border-radius: 20px;
        padding: 2px 2px 2px 10px;
    }
    .secteur_ref_listing:nth-child(odd) .secteur_ref_listing_stat {
        font-size: medium;
        height:max-content;
        border-radius: 20px;
        padding: 2px 2px 2px 10px;
    }
    .totaux-table-head-ligne {
        display: flex;
        margin-bottom: 10px;
        gap: 10px;
    }
    img.thead-svg {
        width: 30px;
        margin-right: 0;
    }
    span.thead-title {
        font-weight: 700;
        font-size: smaller;
        text-align: left;
    }
    span.thead-number {
        padding: 0 0 0 0px !important;
        font-weight: bold;
        font-size: small;
        color: #001c5d;
    }
    .popup-content.table_secteur {
         height: 100%; 
         width: 100%; 
        position: relative;
        background-repeat: no-repeat;
        background-size: contain;
        box-shadow: none;
    }
    .secteur-filtre li {
        display: inline-flex;
        gap: 20px;
        padding: 0 20px;
        font-size: smaller;
        align-items: anchor-center;
    }
    .secteur_img_cover {
        height: 400px!important;
        width: -webkit-fill-available!important;
        right:0!important;
    }
    span.close-popup {
        position: relative;
        z-index: 999999999999999;
        margin-top: 10px;
    }
    p.secteur_selected {
        padding: 5px;
        margin: 10px 0 10px 0;
        font-size: medium;
    }
    .totaux-table-head {
        border: 2px solid;
        padding: 5px;
        margin-bottom: 10px;
        border-radius: 20px;
    }
    .secteur_ref_listing {
        display: flex;
        margin-top: 0px;
    }
    .operation-details {
        padding: 5px;
        color: #738796;
    }
    .ligne-filtre {
        display: flex;
        flex-wrap: nowrap;
        list-style-type: none;
        padding: initial;
        width: -webkit-fill-available;
        height: 100px;
    }
    .ligne-filtre label {
        height: 100px;
    }
    .ligne-filtre li:nth-child(1) {
        background: url(/wp-content/uploads/2025/02/logoadapt_48a12b97ae.webp);
        background-repeat: no-repeat;
        background-size: 100% auto;
        background-position: center;
    }
    .popup-content {
        margin-left: 0;
    }
}
#map a {
    display: block; /* Pour que chaque élément soit sur une nouvelle ligne */
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.5s ease-in-out forwards;
}

/* Appliquer un délai progressif en fonction de la position */
#map a:nth-child(n) {
    animation-delay: calc(0.1s * (var(--i, 1)));
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.secteur-filtre li:nth-child(1) {
    background-color: #445869; /* Vert */
}

.secteur-filtre li:nth-child(2) {
    background-color: #64829B; /* Marron */
}

.secteur-filtre li:nth-child(3) {
    background-color: #A0C4DC; /* Orange */
}

.secteur-filtre li:nth-child(4) {
    background-color: #DED7CF; /* Bleu acier */
}

.secteur-filtre li:nth-child(5) {
    background-color: #C5BAA9; /* Violet */
}

.secteur-filtre li:nth-child(6) {
    background-color: #9E9A78; /* Bleu océan */
}

.secteur-filtre li:nth-child(7) {
    background-color: #767946; /* Rose */
}

.secteur-filtre li:nth-child(8) {
    background-color: #8D9066; /* Gris */
}
/* Style commun */
.secteur-filtre li {
    padding: 3px;
    margin: 5px 0px;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    text-align: center;
    width: -webkit-fill-available;
}
.secteur_ref_listing:nth-child(2) {
    background-color: #445869; /* Vert */
}

.secteur_ref_listing:nth-child(3) {
    background-color: #64829B; /* Orange */
}

.secteur_ref_listing:nth-child(4) {
    background-color: #A0C4DC; /* Bleu océan */
}

.secteur_ref_listing:nth-child(5) {
    background-color: #DED7CF; /* Marron */
}

.secteur_ref_listing:nth-child(6) {
    background-color: #C5BAA9; /* Bleu acier */
}

.secteur_ref_listing:nth-child(7) {
    background-color: #9E9A78; /* Gris */
}

.secteur_ref_listing:nth-child(8) {
    background-color: #767946; /* Rose */
}

.secteur_ref_listing:nth-child(9) {
    background-color: #8D9066; /* Violet */
}

/* Style commun pour harmoniser l'affichage */
.secteur_ref_listing {
    padding: 5px;
    margin: 5px;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 10px;
}

.secteur_img_ref_td img {
    width: 30px;
    height: 30px;
    padding: 3px;
    background: white;
    border-radius: 5px;
    display: inline-block;
    position: relative;
}
button#reset-filtres {
    position: absolute;
    margin-top: 20px;
    margin-left: 5px;
    background-color: #4CAF50;
    color: white;
    border: 2px solid #45A049;
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 14px;
    cursor: pointer;
}
.wp-block-group.alignwide.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained.has-background {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}
.wp-block-site-logo img {
    height: auto;
    width: 250px;
    max-width: 100%;
}

.operation-details {
    max-width: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-top:20px;
    margin-left:10px;
}

.operation-details table {
    width: 100%;
    border-collapse: collapse;
}

.operation-details th {
    background-color: #90aabc;
    color: white;
    padding: 15px;
    text-align: left;
    font-size: 18px;
}

.operation-details td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
    background-color: #f9f9f9;
}

.operation-details tr:last-child td {
    border-bottom: none;
}

.operation-details td:first-child {
    font-weight: bold;
}
.secteur_img_cover p.secteur_selected {
    width: 240px;
    margin-left:10px;
    position: relative;
    top: 10px;
}
.pop-up-ligne-filtre {
    display: none; /* Caché par défaut */
    background: #001c5d;
    color: white;
    padding: 15px;
    border-radius: 5px;
    min-width: 150px;
}

.pop-up-ligne-filtre div {
    display: none; /* Chaque div est caché par défaut */
    margin-bottom: 5px;
    font-size:14px;
}
.pop-up-ligne-filtre a {
    color: #4CAF50;
}