html,body{
    margin:0;
    padding:0;
    width:100%;
    height:100%;
    font-family:Arial,Helvetica,sans-serif;
}

#map,
#map * {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

/* --------------------------------------------------
   Toolbar
-------------------------------------------------- */

#toolbar{
    height:40px;
    display:flex;
    align-items:center;
    gap:10px;
    padding:0 10px;
    background:#eee;
    border-bottom:1px solid #ccc;
}

#toolbar label{
    white-space:nowrap;
    font-weight:bold;
}

#dataset,
#basemap{
    margin-left:4px;
}

/* --------------------------------------------------
   Map
-------------------------------------------------- */

#map{
    width:100%;
    height:calc(100% - 41px);
}

/* --------------------------------------------------
   Temperatuurlabels
-------------------------------------------------- */

.temperature{
    font-size:20px;
    font-weight:700;
/*
    text-shadow:
        -1px 0 #333,
         1px 0 #333,
         0 -1px #333,
         0 1px #333;
}*/

/* --------------------------------------------------
   Popup
-------------------------------------------------- */

.popupTitle{
    font-size:15px;
    font-weight:bold;
    text-align:center;
    margin-bottom:2px;
}

.popupTime{
    font-size:12px;
    color:#666;
    text-align:center;
    margin-bottom:6px;
    padding-bottom:4px;
    border-bottom:1px solid #ddd;
}

.popupTable{
    border-collapse:collapse;
}

.popupTable td{
    padding:1px 3px;
    white-space:nowrap;
    font-size:13px;
}

.popupTable td:first-child{
    text-align:left;
    padding-right:14px;
}

.popupValue{
    text-align:right;
    font-weight:bold;
    min-width:55px;
}

.popupTable td:last-child{
    text-align:left;
    padding-left:6px;
    color:#555;
}

/* --------------------------------------------------
   Leaflet popup
-------------------------------------------------- */

.leaflet-popup-content-wrapper{
    border:3px solid #777777;
    border-radius:8px;
    box-shadow:
        0 0 10px rgba(192,192,192,0.35),
        0 2px 8px rgba(0,0,0,0.20);
}

.leaflet-popup-tip{
    background:#777777;
    border:none;
    box-shadow:none;
}

.leaflet-popup-content{
    margin:10px 12px;
}

.leaflet-popup-content p{
    margin:0;
}

/* --------------------------------------------------
   Smartphone
-------------------------------------------------- */

@media (max-width:700px){

    #toolbar{
        height:auto;
        display:flex;
        flex-direction:column;
        align-items:stretch;
        gap:6px;
        padding:10px;
    }

    #toolbar label{
        margin-top:4px;
        margin-left:2px;
        font-size:1px;
    }

    #toolbar select{
        width:100%;
        height:48px;
        font-size:22px;
        margin:0 0 8px 0;
        box-sizing:border-box;
    }

    #map{
        height:calc(100% - 165px);
    }

.temperature{
    font-size:15px;
    font-weight:bold;

    text-shadow:
        -1px 0 #000,
         1px 0 #000,
         0 -1px #000,
         0 1px #000;
}

    .leaflet-popup-content{
        margin:10px 12px;
    }

    .popupTitle{
        font-size:18px;
   }

    .popupTime{
        font-size:16px;
    }

    .popupTable td{
        font-size:16px;
        padding:2px 1px;
    }

}
