﻿body {
    padding: 0;
    margin: 0;
    height: 100vh;
    /*width: 100vw;*/
    font-family: sans-serif;
    font-size: 15px;
}

.body-content {
    margin: 0px;
    height: calc(100% - 60px);
}

.page-header {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: space-between;
    background-color: #404040;
    height: 60px;
    padding-left: 20px;
    padding-right: 20px;
    -moz-box-shadow: 3px 3px 5px 6px #37373752;
    -webkit-box-shadow: 3px 3px 5px 6px #37373752;
    box-shadow: 3px 3px 5px 6px #37373752;
    position: relative;
    z-index: 1;
}

.logo-datacentro {
    align-self: flex-end;
}

.logo-ccdrc {
    align-self: flex-start;
}

    .logo-ccdrc > img {
        height: 54px;
        margin: 2px;
    }

.map {
    width: 100%;
    height: 100%;
}


.ol-control button {
    background-color: rgba(0, 0, 0, 0.5) !important;
}

.ol-zoomslider {
    background-color: transparent !important;
    top: calc(0.5em + 2px + 1px + 1.14 * 1.375em) !important;
    margin-top: 50px !important;
}

.ol-zoom {
    top: .7em !important;
    margin-top: 50px !important;
}

    .ol-zoom .ol-zoom-out {
        margin-top: 200px !important;
    }

.ol-touch .ol-zoom .ol-zoom-out {
    margin-top: 212px !important;
}

ol-touch .ol-zoomslider {
    top: 2.75em;
}

.ol-zoom-in.ol-has-tooltip:hover [role=tooltip],
.ol-zoom-in.ol-has-tooltip:focus [role=tooltip] {
    top: 3px;
}

.ol-zoom-out.ol-has-tooltip:hover [role=tooltip],
.ol-zoom-out.ol-has-tooltip:focus [role=tooltip] {
    top: 232px;
}

#themes {
    position: absolute;
    right: 15px;
    top: 100px;
    display: flex;
}

.themes-button {
    background-color: #404040d9;
    color: #eaeaea;
    padding: 4px;
    padding-right: 4px;
    padding-left: 4px;
    margin: 2px;
    text-align: center;
    border-radius: 2px;
    padding-left: 10px;
    padding-right: 10px;
    border: 1px #404040;
}

.themes-options {
    display: flex;
    margin-left: 20px;
}

    .themes-options .themes-button {
        cursor: pointer;
        margin-left: 0px !important;
        margin-right: 0px !important;
    }

        .themes-options .themes-button:hover {
            background-color: #404040 !important;
        }

    .themes-options .selected {
        background-color: #282828 !important;
    }

.print-button {
    cursor: pointer;
    margin: 3px;
}

    .print-button > img  {
        width: 30px;
    }

.indicator-button {
    cursor: pointer;
    margin: 3px;
    margin-left: 6px;
}

.indicators-button {
    position: absolute;
    background-color: #404040d9;
    color: #eaeaea;
    padding: 4px;
    padding-right: 4px;
    padding-left: 4px;
    margin: 2px;
    text-align: center;
    border-radius: 2px;
    padding-left: 10px;
    padding-right: 10px;
    border: 1px solid #404040;
    top: 160px;
    right: 15px;
    cursor: pointer;
}

    .indicators-button:hover {
        background-color: #404040 !important;
    }

.draggable {
    top: 233px;
    left: 951px;
    position: absolute;
}

    .draggable .header {
        cursor: move;
    }

.window {
    background-color: #404040d9;
    color: #eaeaea;
    resize: both;
    border-radius: 4px;
    border: 1px solid white;
    -moz-box-shadow: 3px 3px 5px 3px #37373752;
    -webkit-box-shadow: 3px 3px 5px 3px #37373752;
    box-shadow: 3px 3px 5px 3px #37373752;
    min-width: 200px;
}

    .window .header {
        background-color: #282828 !important;
        font-weight: bold;
        padding-left: 20px;
        padding-right: 20px;
        border-radius: 4px 4px 0px 0px;
        padding-top: 5px;
        padding-bottom: 10px;
        display: flex;
        position: relative;
    }

    .window .close-button {
        position: absolute;
        right: 10px;
        top: 5px;
        border: 2px white solid;
        border-radius: 100px;
        padding: 3px;
        padding-top: 3px;
        padding-right: 3px;
        padding-left: 3px;
        padding-left: 6px;
        padding-right: 6px;
        padding-top: 0px;
        font-family: arial;
        cursor: pointer;
    }

        .window .close-button:hover {
            color: #999 !important;
        }

.window-content {
    margin: 15px;
    margin-bottom: 40px;
}

    .window-content > div {
        margin-bottom: 10px;
    }


.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 3px;
    background: #f9f9f9;
    outline: none;
    opacity: 1;
}

    .slider:hover {
        opacity: 1;
    }

    .slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 10px;
        height: 10px;
        background: #f9f9f9;
        cursor: pointer;
    }

    .slider::-moz-range-thumb {
        width: 10px;
        height: 10px;
        background: #f9f9f9;
        cursor: pointer;
    }

.indicators-buttons {
    display: flex;
    flex-direction: row-reverse;
}

    .indicators-buttons .button {
        background-color: #404040d9;
        color: #eaeaea;
        padding: 4px;
        padding-right: 4px;
        padding-left: 4px;
        margin: 2px;
        text-align: center;
        border-radius: 2px;
        padding-left: 10px;
        padding-right: 10px;
        border: 1px solid #404040;
        cursor: pointer;
    }

        .indicators-buttons .button:hover {
            background-color: #404040 !important;
        }

#subtitle {
    position: absolute;
    right: 0px;
    max-width: 250px;
}

.subtitle-header-text {
    margin-bottom: 20px !important;
    font-size: 14px;
}

.subtitle-entry {
    display: flex;
}

.subtitle-colour {
    width: 40px;
    height: 15px;
    border-radius: 4px;
    border: 1px solid black;
    margin-right: 20px;
}

#print {
    width: 450px;
}

.print-content {
    display: flex;
    opacity: 0;
    position: absolute;
}

.print-buttons {
    display: flex;
    margin-top: 15px;
}

    .print-buttons .button {
        background-color: #404040d9;
        color: #eaeaea;
        padding: 4px;
        padding-right: 4px;
        padding-left: 4px;
        padding-right: 4px;
        padding-left: 4px;
        margin: 2px;
        text-align: center;
        border-radius: 2px;
        padding-left: 10px;
        padding-right: 10px;
        border: 1px solid #404040;
        cursor: pointer;
    }

.feature-info-div {
    position: absolute;
    background-color: #404040d9;
    color: #eaeaea;
    border-radius: 4px;
    border: 1px solid white;
    -moz-box-shadow: 3px 3px 5px 3px #37373752;
    -webkit-box-shadow: 3px 3px 5px 3px #37373752;
    box-shadow: 3px 3px 5px 3px #37373752;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}

    .feature-info-div #featureInfoName {
        margin: 5px;
        font-weight: bold;
    }

    .feature-info-div #featureInfoValue {
        margin: 5px;
    }
