@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");

#map_custom{
    height: 600px;
    width: 100%;
}
#map_custom_v2{
    height: 600px;
    width: 100%;
}

#map_container{
    position: sticky;
    top: 125px;
    margin-top: 150px;
}

.marker-cluster {
    background-clip: padding-box;
    border-radius: 20px;
    color: white;
    text-align: center;
    font: 12px/30px Arial, sans-serif;
    width: 40px;
    height: 40px;
    line-height: 40px;
}

.cluster-rose,
.legend_color.rose {
    background-color: #ce407e;
}

.cluster-violet,
.legend_color.violet {
    background-color: #62537a;
}


.legend_color {
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-right: 5px;
}

.legend_item{
    display: flex;
    align-items: center;
    margin: 20px;
    width: fit-content;

}
.legend_title{
    margin: 0;
}
div#map_legend {
    display: flex;
}

.map_legend_details{
    font-size: 0.8rem !important;
}

.leaflet-popup-content:has(.eclomap-pop-content){
    margin: 10px;
    min-width: 200px;
    max-width: 56vw;
}
.eclomap-pop-image {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}
.eclomap-pop-image img{
    min-width: 100%;
    max-width: 300px;
    height: 100%;
}

.leaflet-popup-content .eclomap-pop-content p,
.leaflet-popup-content .eclomap-pop-content a{
    margin: 0;
    padding: 0;
    color: #62537a;
    font-family: 'DMSans', sans-serif !important;
    font-size: 16px;
}
.leaflet-popup-content .eclomap-pop-content p:not(a),
.leaflet-popup-content .eclomap-pop-content p a {
    display:flex;
    gap: 10px;
    align-items: center;
}

.leaflet-popup-content .eclomap-pop-content p a i {
    font-size: 0.85rem;
}

.leaflet-popup-content .eclomap-pop-content p.lieu-content {
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.11px;
}
.leaflet-popup-content .eclomap-pop-content a.mail-content {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;

    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}
.leaflet-popup-content .eclomap-pop-content .mb-10 {
    margin-bottom: 10px;
}

.leaflet-popup-content .eclomap-pop-content .mb-20 {
    margin-bottom: 20px;
}

.leaflet-popup-content .eclomap-pop-content .big-text{
    font-size: 1.125rem;
}

.leaflet-container .leaflet-popup a.leaflet-popup-close-button{
    background-color: #fff;
    border-radius: 30px;
}

.leaflet-popup-content .eclomap-pop-content a.btn-rdv{
    padding: 10px 20px;
    border-radius: 5px;
    background: #62537a;
    color: white;
    margin-top: 20px;
}

.btn-rdv-wrapper{
    display: flex
;
    justify-content: center;
}
@media screen and (max-width: 500px) {
    div#map_legend {
        flex-direction: column;
    }
}


