html, body, #map, .mapPlaceholder {
    height: 100%;
}

html, body, div, h1, h2, h3 {
    margin: 0;
    padding: 0;
    font-family: 'Helvetica Neue', 'Helvetica', 'arial';
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.leaflet-control-zoom {
    visibility: hidden;
}

#mainLogo {
    position: absolute;
    bottom: 0;
    z-index: 500;
}

#mainLogo img {
    width: 200px;
}

#map {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #000000;
}

/* Chart styles */
.axis path,
.axis line {
    fill: none;
    stroke: #000;
    shape-rendering: crispEdges;
}

.x.axis path {
    display: none;
}

.line {
    fill: none;
    stroke-width: 1px;
}

.lineChart, .areaChart {
    width: 600px;
    height: 250px;
    font-size: 12px;
    background-color: rgb(247, 247, 247);
}

.area {
    fill: steelblue;
}

.area-slider {
    fill: black;
}

.marker {
    stroke-width: 3px;
}

/* Right panel styles*/
#rightPanel {

    transition: .5s all;
    display: none;
    right: 0;
    position: absolute;
    color: #626262;
    z-index: 250;
    height: 100%;
}

#rightPanel h3 {
    margin-bottom: 10px;
    width: 400px;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chartContainer {
    padding: 10px;
    background-color: #eaeaea;
    z-index: 250;
    border: 1px solid grey;
    border-bottom: none;
}

.chartLegend {
    margin-left: 190px;
    padding: 10px;
    background-color: #eaeaea;
    z-index: 250;
    margin-bottom: 10px;
}

#mapLegend {
    position: absolute;
    top: 50px;
    z-index: 500;
    padding: 5px;
    background-color: rgba(255, 255, 255, .65);
    border: 1px solid rgba(0, 0, 0, .3);
    width: 120px;
}

.mapLegendFooter {
    font-size: 10px;
    z-index: 500;
    padding: 5px;
    //background-color: rgba(255, 255, 255, .65);
   // border: 1px solid rgba(0, 0, 0, .3);
    height : 100%;
}

.chartLegendLabel {
    float: left;
    z-index: 250;
    margin-right: 10px;
}

.mapLegendLabel {
    margin-top: 4px;
    font-size: 10px;
    float: left;
    z-index: 250;
    margin-right: 10px;
}

.bottom {
    border-bottom: 1px solid grey;
}

.predictionSpan {
    text-align: center;
    padding-top: 15px;
}

.legendLine {
    margin-top: 8px;
    float: left;
    margin-right: 10px;
    width: 20px;
    height: 2px;
    border-radius: 5px;
}

.blue {
    background-color: dodgerblue;
}

.green {
    background-color: green;
}

.legendBox {
    float: left;
    margin-right: 10px;
    width: 20px;
    height: 20px;
    border-radius: 5px;
    background-color: darkred;
}

.mapLegendRow {
    padding: 5px;
    float: left;
    width: 400px;
}

.legendHeader {
    padding: 5px;
    font-weight: bold;
    font-size: 12px;
}

#status-bar {
    position: fixed;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    width: 70px;
    height: 70px;
    text-align: center;
    line-height: 18px;
    background-color: #FFF;
    font-size: .8em;
    border-radius: 3px;
    margin: auto;
    padding: 5px;
}

/* Preloader */

#preloader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff; /* change if the mask should have another color then white */
    z-index: 999; /* makes sure it stays on top */
}

#preloader .logo {
    width: 468px;
    height: 220px;
    margin-left: auto;
    margin-right: auto;
    background-image: url('https://nautilytics.blob.core.windows.net/images/logo2.png');
}

#preloader #status {
    width: 50px;
    height: 50px;
    margin-top: 200px;
    margin-left: auto;
    margin-right: auto;
    background: url('https://nautilytics.blob.core.windows.net/images/status.gif') no-repeat center;
}
