.map-wrapper {
    position: relative;
    overflow-x: hidden;
    padding-top: 50px;
}

.map {
    position: relative;
    height: 100%;
    width: 100%;
}

.map-search {
    position: fixed;
    top: 50px;
    left: 0;
    width: 20%;
    width: 311px;
    padding: 10px;
    z-index: 30;
}

#map-attribution-controls {
    position: relative;
    margin-bottom: 30px;
}

.map-marker-container {
    position: absolute;
    bottom: 0;
    margin-left: -50%;
}

.map-marker-container.marker-active {
    z-index: 1;
}

.map-marker {
    margin-left: -50%;
    margin-right: 50%;
    margin-top: 50%;
    margin-bottom: -50%;
    color: #FFFFFF;
    background: blue;
    border-radius: 10px;
    width: 20px;
    height: 20px;
}

.map-marker-container.marker-active button.map-marker{
    background-color: #DD0000;
}

#map-top-controls-wrapper {
    position: fixed;
    top: 50px;
    right: 10px;
    z-index: 10;
}

#map-top-controls-wrapper .map-top-controls {
    position: relative;
}

.ol-control {
    position: absolute;
    right: 0;
    left: inherit;
}

.ol-scale-line {
    position: absolute;
    right: 0;
    left: inherit;
}

.current-location {
    top: 6.643em
}

footer #map-bottom-controls {
    position: relative;
}
.map-legend-control {
    top: 8.643em;
}

.map-legend {
    position: absolute;
    right: -430px;
    top: 60px;
    border-radius: 2px;
    background-color: rgba(0, 60, 136, 0.7);
    -webkit-transition: right 0.2s; /* Safari */
    -webkit-transition-timing-function: linear; /* Safari */
    transition: right 0.2s;
    transition-timing-function: linear;
}

.map-legend .legend-unit {
    max-width: 150px;
    padding: 5px;
    word-wrap: break-word;
}


.ol-control button, .ol-scale-line {
    background-color: rgba(0, 60, 136, 0.7);
}


.map-legend.active {
    -webkit-transition: right 0.2s; /* Safari */
    -webkit-transition-timing-function: linear; /* Safari */
    transition: right 0.2s;
    transition-timing-function: linear;
    right: 43px;
}

.map-legend  section {
    color: #ffffff;
}

.map-legend section:empty {
    padding: 0;
}

.map-legend .legend-empty {
    color: #ffffff;
    padding: 10px;
}

.map-legend .values {
    line-height: 1.4;
    text-align: left;
    width: auto;
    padding: 2px 10px 2px 2px;
    margin-top: 13px;
    min-width: 40px;
    max-width: 150px;
}
.map-legend .values div {
    color: white;
    height: 14px;
    padding-top: 2px;
    font-size: 10px;
}
.map-legend .boxes {
    margin: 10px 2px 10px 10px;
    padding: 0;
    width: 16px;
}

.map-legend .boxes .box:first-child {
    border-top: 1px solid black;
}
.map-legend .boxes .box:last-child {
    border-bottom: 1px solid black;
}
.map-legend .boxes .box{
    border-left: 1px solid black;
    border-right: 1px solid black;
    padding-top: 0;
    width: 16px;
}

.dialog-box {
    position: absolute;
    left: 45%;
    top: 50%;
}

#plot-charts {
    margin-top: 50px;
    padding-right:15px;
}


#wrapper .map-title.active {
    -webkit-transition: left 0.2s; /* Safari */
    -webkit-transition-timing-function: linear; /* Safari */
    transition: left 0.2s;
    transition-timing-function: linear;
    position: absolute;
    top: 60px;
    left: 330px;
    background-color: rgba(0, 60, 136, 0.7);
    border-radius: 2px;
    color: white;
    padding: 10px;
    display: block;
}

#wrapper .map-title {
    display: none;
}


