/* Bottone "Pantalla completa", usato da municipis-map.js i poligons-map.js
   via leaflet-ctrl-fullscreen.js. Stesse classi leaflet-bar/leaflet-control
   dei controlli nativi (zoom +/-): nessun CSS di posizionamento custom,
   Leaflet impila automaticamente i controlli nello stesso angolo. */

.leaflet-control-fullscreen-button {
    display: block;
    width: 26px;
    height: 26px;
    background-color: #ffffff;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 14px 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3H3v6M15 3h6v6M9 21H3v-6M15 21h6v-6'/%3E%3C/svg%3E");
    cursor: pointer;
}

.leaflet-control-fullscreen-button--active {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10h6V4M14 4v6h6M20 14h-6v6M10 20v-6H4'/%3E%3C/svg%3E");
}

/* Il contenitore della mappa stesso diventa l'elemento :fullscreen (vedi
   leaflet-ctrl-fullscreen.js, map.getContainer()). Lo UA stylesheet di
   default porta gia' width/height a quelli del viewport, ma qui si
   annullano esplicitamente border/border-radius/margin SOLO in modalita'
   fullscreen: senza questo la mappa a schermo intero avrebbe comunque i
   bordi arrotondati/il margine della vista normale (.poligons-map/
   .municipis-map, mai toccati qui), con bande grigie ai lati. Nessun
   impatto sulla vista normale (selettore :fullscreen non si applica mai
   fuori da questo stato). */
.leaflet-container:fullscreen,
.leaflet-container:-webkit-full-screen,
.leaflet-container:-moz-full-screen,
.leaflet-container:-ms-fullscreen {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
}
