html {
    width: 100%;
    height: 100%;
    display: table;
    touch-action: none;
}

body {
    width: 100%;
    height: 100%; /* needed for Firefox */
    display: table-cell;
    overflow: hidden;
    touch-action: none;
}

html, body {
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
    font-size: small;
    background: rgb(218, 238, 243) none repeat scroll 0%;
}

#content_div {
    width: 100%;
    height: 100%;
    -moz-background-clip: -moz-initial;
    -moz-background-origin: -moz-initial;
    -moz-background-inline-policy: -moz-initial;
}

#map_canvas {
    background: rgb(218, 238, 243) none repeat scroll 0%;
    width: 60%; /*600px*/
    height: 94%; /*500px*/
    height: calc(100% - 36px);
    float: left;
    -moz-background-clip: -moz-initial;
    -moz-background-origin: -moz-initial;
    -moz-background-inline-policy: -moz-initial;
}

#chart_div {
    background: rgb(218, 238, 243) none repeat scroll 0%;
    width: 40%; /*400px*/
    height: 56.4%; /*300px*/
    float: right;
    -moz-background-clip: -moz-initial;
    -moz-background-origin: -moz-initial;
    -moz-background-inline-policy: -moz-initial;
    text-align: center;
}

#instructions {
    background: rgb(218, 238, 243) none repeat scroll 0%;
    float: right;
    width: 40%; /*400px*/
    height: 37.6%; /*200px*/
    -moz-background-clip:
    -moz-initial;
    -moz-background-origin: -moz-initial;
    -moz-background-inline-policy: -moz-initial;
    font-size: 12px;
}

#toolbar {
    padding: 5px;
    clear: both;
    width: 100%; /*1000px*/
    height: 36px;
}

.reloadIcon {
    border: none;
    background: url('../images/reload.png') no-repeat center center;
    background-size: 16px 16px;
    height: 16px;
    width: 16px;
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 2px;
}

.centered {
    text-align: center;
}

.chartTooltip {
    margin:10px;
    text-align: left;
}

.chartTooltipCloseBtn {
    background: rgba(0, 0, 0, 0) none repeat scroll 0% 0%;
    display: block;
    border: 0px none;
    margin: 0px;
    padding: 0px;
    position: absolute;
    cursor: pointer;
    -moz-user-select: none;
    top: -6px;
    right: -6px;
    width: 30px;
    height: 30px;
    outline: currentcolor none medium;
    opacity: 0.6;
}

.chartTooltipCloseBtn:hover {
    opacity: 1;
}

.chartTooltipCloseBtnImg {
    .pointer-events: none;
    display: block;
    width: 14px;
    height: 14px;
    margin: 8px;
}

/* OpenLayers popup */

.ol-attribution.ol-logo-only,
.ol-attribution.ol-uncollapsible {
    max-width: calc(100% - 3em) !important;
    height: 1.5em !important;
}

.ol-control button,
.ol-attribution,
.ol-scale-line-inner {
    font-family: 'Lucida Grande', Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif !important;
}

.ol-popup {
    font-family: 'Lucida Grande', Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif !important;
    font-size: 12px;
    position: absolute;
    background-color: white;
    -webkit-filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #cccccc;
    bottom: 12px;
    left: -50px;
    min-width: 100px;
}

.ol-popup:after,
.ol-popup:before {
    top: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.ol-popup:after {
    border-top-color: white;
    border-width: 10px;
    left: 48px;
    margin-left: -10px;
}

.ol-popup:before {
    border-top-color: #cccccc;
    border-width: 11px;
    left: 48px;
    margin-left: -11px;
}

.ol-popup-closer {
    text-decoration: none;
    position: absolute;
    top: 2px;
    right: 8px;
}

.ol-popup-closer:after {
    content: "✖";
    color: #c3c3c3;
}
