
.mappa { 
    height: 100vh; 
    width: 100%;
}

.leaflet-tooltip-left:before {
    right: 0;
    margin-right: -12px;
    border-left-color: transparent;
}
.leaflet-tooltip-top:before {
    right: 0;
    margin-top: -10px;
    border-top-color: transparent;
}
.leaflet-tooltip-right:before {
    left: 0;
    margin-left: -12px;
    border-right-color: transparent;
}
.leaflet-tooltip-bottom:before {
    right: 0;
    margin-bottom: -10px;
    border-bottom-color: transparent;
}
.leaflet-tooltip_red {	
    background: red!important;
}

.bottoni {
    width: 100%;
    position: absolute;
    right: 0px;
    pointer-events: auto;    
}

.eventi {
    pointer-events: auto;    
}

.bandiera {
    z-index: 700;
    position: absolute;
    width: 160px;
    right: 0px;
    bottom: 18px;
}

.myAttribution {
    bottom: 70px !important;
}


.noBordi {
    border:none!important;
}

.bottoneSensore {
    width: 180px;
/*    margin-bottom: 2px;  */
    background-color: rgb(255, 255, 255);  
    flex: none!important;
}

.leaflet-tooltip {
    padding: 2px;
    background:bisque;
    border: solid 1px black;
    z-index: 1000;
}    

.leaflet-popup-content {
    margin: 4px;
    line-height: 1.3;
    font-size: 1em;
    min-height: 1px;
}


.myToolTip {
    font-family: 'Helvetica Neue',Arial,Helvetica,sans-serif;
    font-style: bold;
    font-size: 12px;
    color: black;
    position: absolute;
    padding: 2px 2px!important;;
    border: solid 1px black;
    background-color: rgb(248, 248, 255) !important;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px; 
    z-index: 1100;
}

.LivUp {
  background-color: rgb(255,99,71);    
 }
 .LivDown {
  background-color: rgb(154,205,50);    
 }

.Orari {
    background: transparent;
    position: relative;
    z-index: 900; 
}

.etich {
    background: rgb(248, 248, 255) !important;
    font-size: 1.0em;
}

.sizeMezzora {
    width: 50px;
}

.fs-7 {
    font-size: 0.9em!important;
}

.informazio {
    width: 300px;
    margin-bottom: 2px;
    background-color: rgb(255, 255, 255);    
}

.btn-outline-primary:hover {
    background-color: cyan!important;
    color: black;
}

.legenda {
    position: relative;
    background: rgb(248, 248, 255) !important;
    width: fit-content; 
    display:none;
    max-height:370px;
    overflow-y: scroll;
    z-index: 900;
} 
  
.keyLegenda {
    color: black;
    background:bisque;
    padding: 1px 2px;
    border: solid 1px black;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px; 
}

.tabella {
    font-size:.9em; font-family:Arial; margin-top:1px; margin-bottom:1px; border-spacing:0;
    max-height:370px;
    overflow-y: scroll;
    background: rgb(248, 248, 255) !important;
}
.tth {
      border: 1px solid #888;padding: 3px;background-color: #dde2e5;text-align:center;
}
.ttd {
    border: 1px solid #888;
  
    padding-top: 2px;
    padding-right: 10px;
    padding-bottom: 2px;
    padding-left: 10px;
  
    background-color: #eef2f9;
}

.elencoPulsanti {
  position: absolute;
  top: 2px!important;
  left: 2px!important;
  z-index: 1100;
}

.pulsanteCell {
    font-size: 40px!important;
    padding: 0px;
}

/* Menu sensori (#menuBottoni): su telefono/tablet il testo risultava troppo piccolo
   (viewport a scale ridotta + assenza di override). */
@media (max-width: 991.98px) {
    #menuBottoni .bottoneSensore {
        font-size: 1.125rem;
        line-height: 1.45;
    }
}

@media (max-width: 575.98px) {
    #menuBottoni .bottoneSensore {
        font-size: 1.2rem;
    }
}