html, body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    margin: 0;
    height: 100%;
    width: 100%;
    background-color: #eaeaea;
}

#map {
    top: 11.7%;
    left: 5.9%;
    height: 76.5%;
    width: 88.2%;
    position: absolute;
}

.customTooltip {
    display: inline-block;
    text-overflow: ellipsis;
    white-space: pre;
    overflow: hidden;
    max-width: 300px;
    font-size: medium;
}

.fields {
    cursor: pointer;
}

.fields svg {
    stroke: #6D6D6D;
    stroke-width: 1;
    fill: white;
}

/* Each tooltip is assigned to a symbol. */

.fields .tooltipfields {
    visibility: hidden;
    width: 215%;
    background-color: #333333;
    color: #fff;
    text-align: center;
    /* Position the tooltip text - see examples below! */
    position: absolute;
}

.z_index_tooltip {
    z-index: 9999;
}

.tooltipfields_bottomrow {
    bottom: 105%;
    left: 0;
}

.tooltipfields_toprow {
    top: 105%;
    left: 0;
}

.tooltipfields_rightcol {
    right: 105%;
}

.tooltipfields_leftcol {
    left: 105%;
}

.fields:hover .tooltipfields {
    visibility: visible;
}

.activated {
    border: 1px solid rgb(238, 46, 49); /* some kind of red border */
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;

    -webkit-box-shadow: 0 0 4px #c20e1a;
    -moz-box-shadow: 0 0 4px #c20e1a;
    box-shadow: 0 0 4px #c20e1a; /* some variation of red for the shadow */
}

.toprow {
    position: absolute;
    top: 0.5%;
    z-index: 1000;
}

.bottomrow {
    position: absolute;
    top: 88%;
    z-index: 1000;
}

.leftcol {
    position: absolute;
    left: 0.2%;
    z-index: 1000;
}

.rightcol {
    position: absolute;
    left: 94%;
}

.fieldText {
    position: absolute;
    height: 20%;
    white-space: nowrap;
    width: 100%;
    font-size: 1.6vmin;
    text-align: center;
    line-height: 100%;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.fieldTextBottom {
    top: 80%;
}

.fieldComment {
    display: none;
}

.tzComment {
    position: relative;
    width: 100%;
    height: 80%;
    font-size: 1.6vh;

}

.tzCommentDiv {
    position: absolute;
    top: 70%;
    left: 2%;
    width: 35%;
    height: 20%;
    font-size: 1.8vh;;

}

.tzAuswahl {
    left: 50%;
    top: 70%;
    width: 45%;
    position: absolute;
    display: inline-block;
}

.tzAuswahl:after {
    padding-top: 57%;
    /* padding-top: 53.4375%;*/
    /* 16:9 ratio (56.25%) minus titleRow height*/
    display: block;
    content: '';
}

/**Map stuff:
*/
.leaflet-control-zoom {
    display: none;
}

.map-element {
    width: 60px;
    padding: 5px;
    position: absolute;
    background-color: #fff;
    border: 1px solid black;
}

.customZoomControl-pane {
    width: 1.8%;
    height: 3.5%;
    position: absolute;
    top: 1%;
    left: 1%;
    line-height: 26px;

}

.customZoomControl {
    top: 0;
    position: absolute;
    font: bold 0.8vw 'Lucida Console', Monaco, monospace;
    font-size: 1.2vw;
    background-color: #fff;
    width: 100%;
    height: 100%;
    line-height: 100%;
    display: block;
    text-align: center;
    text-decoration: none;
    color: black;
    border: 1px solid black;
}

.customZoomControl-out {
    left: 100%;
}

.customZoomControl-in {
    left: 0;
}

#freezeMap {
    top: 6%;
    left: 0.5%;
    text-decoration: none;
    font-size: 0.8vw;
    color: black;
    line-height: 100%;
    width: 4%;
    height: 3%;
    text-align: center;
}

#freezeMapLock {
    top: 8%;
    position: absolute;
    right: 10px;
    height: 14px;
    display: none;
}

#datasets {

    top: 3.5%;
    left: 54%;
    text-decoration: none;
    font-size: 0.8vw;
    color: black;
    width: 4.9%;
    height: 3%;
    text-align: center;
    /*padding: 10px 5px 10px 5px;*/
}

#loadMenu {
    top: 91%;
    left: 54%;
    text-decoration: none;
    font-size: 0.8vw;
    color: black;
    width: 4.9%;
    height: 4%;
    text-align: center;
}

#drawTest {
    top: 40px;
    right: 10px;
    text-decoration: none;
    font-size: 14px;
    color: black;
    z-index: 1;
}

.drawToolbarDiv {
    position: absolute;
    z-index: 2;
    top: 89%;
    left: 0.5%;
    height: 10%;
    width: 5%;
    border-spacing: 0;
    border-collapse: collapse;
}

.drawToolbar {
    background-repeat: no-repeat;
    background-size: contain;
    height: 100%;
    width: 100%;
    text-decoration: none;
    z-index: 1;
    text-align: center;
    font-size: 1vw;
    display: block;
    margin: auto;

}

.drawToolbar table, td, th {
    height: 20%;
    width: 20%;
    border: 1px solid black;
    padding: 0;
    margin: 0;
    background-color: #fff;
}

#drawTitle {
    height: 100%;
    background-image: none;
    width: 100%;
}

#drawRectangle {
    width: 100%;
    height: 100%;
    background-image: url('../images/draw_symbols/rectangle.png');

}

#drawPolygon {
    width: 100%;
    height: 100%;
    background-image: url('../images/draw_symbols/polygon.png');

}

#drawLine {
    width: 100%;
    height: 100%;
    background-image: url('../images/draw_symbols/line.png');

}

#drawCircle {
    width: 100%;
    height: 100%;
    background-image: url('../images/draw_symbols/circle.png');

}

#drawPoint {
    width: 100%;
    height: 100%;
    background-image: url('../images/draw_symbols/point.png');
}

#questionMark {
    width: 100%;
    height: 100%;
    color: black;

}

.leaflet-draw.leaflet-control {
    display: none;
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .drawToolbar {

        display: inline-block;
    }

    .drawToolbarDiv {

        height: 5vw;

    }

}