#overlay {
  display: flex;
  position: fixed;  
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items:  center;
}

#loading{
    font-size:2em !important;
}

#map {
    position: absolute; 
    top:0; 
    bottom: 0; 
    left:0; 
    right: 0
}

#legend-and-time {
    position: absolute; 
    bottom: 1em; 
    left:1em; 
    display: none;
    z-index:999;
    background-color: #fff;
    padding:0.6em;
    border: 1px solid #aaa;
    text-align:center;
}

#legend-container {
    width: 360px;
    height: 96px;
    padding-top:1em;
    text-align: center;
}

#legend,
#overlay img {
    max-width:360px;
    max-height:96px;
}

.leaflet-layerstree-header label {
    font-weight:normal;
}

.leaflet-layerstree-header-label {
    font-weight: bold;
    font-size:1.2em;
}

.leaflet-touch .leaflet-control-layers-toggle{
  background-color: #3e5987; 
}