.onk-osm-map{height: 350px; min-height: 300px}

/* Force Leaflet à occuper tout l'espace du conteneur */
.onk-osm-map .leaflet-container {
    height: 100% !important;
    width: 100% !important;
}

/* Désactive les interactions qui pourraient bloquer le rendu */
.leaflet-container {
    touch-action: none;
}



/**
*	Leaflet map
**/
.leaflet-top, .leaflet-bottom{z-index: 998;}

.leaflet-right .leaflet-control.info{background: #fff; margin-right: var(--wp--style--root--padding-right); margin-bottom: 50px; display: none; padding: var(--wp--custom--spacer-s-fluid) var(--wp--custom--spacer-fluid)}
.onk-osm-map-infobox{margin-block-end: var(--wp--custom--spacer-m-fluid) !important;}
.leaflet-right .leaflet-control.info > *{font-size: var(--wp--preset--font-size--default);}
.onk-osm-map-infobox .title,
.leaflet-right .leaflet-control.info .title{color: var(--wp--custom--theme-700);}
.leaflet-right .leaflet-control.info .description{}
.leaflet-container a.wp-block-button__link{color: var(--wp--custom--false-white);}

.onk-osm-map-infobox legend,
.leaflet-right .leaflet-control.info legend{font-size: var(--wp--preset--font-size--xs); font-style: italic; margin-top: var(--wp--custom--spacer-fluid); margin-bottom: 0}
.onk-osm-map-infobox legend ul,
.leaflet-right .leaflet-control.info legend ul{padding-left: 0; list-style: none; margin: 0;}
.onk-osm-map-infobox legend ul li .leaflet-marker-icon,
.leaflet-right .leaflet-control.info legend ul li .leaflet-marker-icon{position: relative; display: inline-block; border-radius: 50%; margin-right: var(--wp--custom--spacer-s-fluid); width: 10px; height: 10px; background-color: #4287EF}
.onk-osm-map-infobox legend ul li .leaflet-pulsing-icon,
.leaflet-right .leaflet-control.info legend ul li .leaflet-pulsing-icon{background-color: #1D2D5E}
.onk-osm-map-infobox legend ul li .leaflet-pulsing-icon:after,
.leaflet-right .leaflet-control.info legend ul li .leaflet-pulsing-icon:after{
	box-shadow: 0 0 6px 2px #1D2D5E;
    animation: pulsate 1s ease-out;
    animation-iteration-count: infinite;
    animation-delay: 1.1s;
}


@media(min-width: 782px){
	.onk-osm-map{height: 500px;}
	.onk-osm-map-infobox{display: none;}
	.leaflet-right .leaflet-control.info{display: block;}
}

@media(min-width: 1400px){
	.leaflet-right .leaflet-control.info{margin-right: calc((100vw - var(--wp--style--global--wide-size)) / 2)}
}
