﻿body {
    margin: 0;
    padding: 0;
}

#map {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
}

html {
    height: 100%;
}

#viewer {
    width: 100%;
    height: 100%
}

.basicLightbox__placeholder {
    width: calc(100vw - 200px);
    height: calc(100vh - 200px)
}

.mapboxgl-popup {
    max-width: 400px;
    font: 12px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif;
}

.filter-ctrl {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 1;
}

    .filter-ctrl input[type='text'], .filter-ctrl select {
        font: 12px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif;
        width: 100%;
        border: 0;
        background-color: #fff;
        margin: 0;
        color: rgba(0, 0, 0, 0.5);
        padding: 2px;
        box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
        border-radius: 3px;
        width: 180px;
    }

#filter-results {
    font: 12px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif;
    width: 100%;
    border: 0;
    background-color: #333d47;
    color: white;
    margin: 0;
    padding: 1px 5px 1px 1px;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
    */ border-radius: 3px;
    width: 180px;
    text-align: right;
}

.legend {
    background-color: #ffffffCC;
    border-radius: 3px;
    bottom: 30px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    font: 12px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif;
    padding: 10px;
    position: absolute;
    right: 10px;
    z-index: 1;
}

    .legend h4 {
        margin: 0 0 10px;
        text-align: center;
    }

    .legend div span {
        border-radius: 50%;
        display: inline-block;
        height: 10px;
        margin-right: 5px;
        width: 10px;
    }

.pointInformation tbody > tr > td:first-child {
    font-weight: bold;
    padding-right: 10px;
}

.pointInformation thead > tr > td > span {
    font-weight: bold;
    font-size: 16px;
}

#controls {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    text-align: left;
    width: 100%;
}

.ctrl {
    padding: 8px 5px;
    width: 30px;
    text-align: center;
    background: rgba(200, 200, 200, 0.8);
    display: inline-block;
    cursor: pointer;
}

    .ctrl:hover {
        background: rgba(200, 200, 200, 1);
    }
