@font-face {
    font-family: Dosis;
    src: url('../font/dosis-v1.7/Dosis-Light.ttf');
}

* {
    outline: 0 !important;
}

body {
    background-color: #404040;
    font-family: Dosis, sans-serif;
    font-size: 5mm;
}

body, div {
    padding: 0;
    margin: 0;
}

a {
    color: #40a040;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

input {
    width: 10cm;
    padding: 2mm;
    border: 0.5mm solid #40a040;
    background-color: #202020;
    color: white;
}

input[type=checkbox] {
    height: 4mm;
    width: 4mm;
}

button {
    padding: 2mm;
    border: 0.5mm solid #202020;
    background-color: #40a040;
    color: white;
    font-weight: bold;
}

button.red {
    background-color: #a02010;
}

#page {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.titleBarButton {
    display: none;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    padding-right: 0.5em;
}

#menu div.selected a {
    color: #ffffff;
}

#menu #copyright {
    color: #808080;
    font-size: 3.2mm;
}

#contentWrapper {
    overflow-y: auto;
    color: #ffffff;
}

.center {
    text-align: center;
}

.imageWrapper {
    position: relative;
    margin: 4mm 0;
}

.imageWrapper img {
    width: 100%;
    height: auto;
}

.imageTitle {
    font-size: 3.5mm;
    font-weight: bold;
}

.imageDescription {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.4);
    font-size: 3mm;
    padding: 0.5mm 1mm;
    z-index: +10;
}

.olFramedCloudPopupContent {
    color: #000000;
}

a.tag {
    white-space: nowrap;
}

#titleBar {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    height: 12mm;
    z-index: 1000;
    padding: 0 4mm;
    background-color: #202020;
    color: #40a040;
    line-height: 12mm;
    vertical-align: center;
    font-size: 6mm;
    font-weight: bold;
}

#titleLabel {
    text-decoration: none;
}

#map {
    z-index: 50;
    background-color: #404040;
}

#mapPreviewBar {
    z-index: 50;
    white-space: nowrap;
    overflow: hidden;
}

.mapPreviewIcon {
    display: inline;
    margin-top: 1mm;
    margin-left: 1mm;
    height: 12mm;
    width: auto;
    cursor: pointer;
}

#imageOverviewWrapper {
    z-index: 60;
    background-color: #404040;
    overflow-y: auto;
}

#loadImagesWrapper {
    margin-bottom: 8mm;
}

.imageOverview {
    width: 100%;
    height: auto;
}

#login_form_wrapper {
    display: table;
    width: 100%;
    height: 100%;
}

#login_form {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

#watermark_wrapper {
    display: table;
    width: 100%;
    height: 100%;
}

#watermark {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    font-size: 400%;
    font-weight: bold;
    color: #484848;
    text-shadow: 0 0 4mm #383838;
}

.ui-dialog {
    position: fixed;
}

.admin {
    margin: 1mm 0;
}

.admin-image-title {

}

.admin-image-tags {
    font-size: 4mm;
}

.admin-image-details {
    font-size: 4mm;
}

@media screen and (min-width: 240mm) {

    .menuButton {
        display: none !important;
    }

    #menu {
        display: block !important;
        position: fixed;
        left: 0;
        width: 40mm;
        top: 12mm;
        bottom: 0;
        padding: 4mm;
        background-color: #202020;
        box-shadow: 0 0 3.2mm #000000;
        color: #ffffff;
    }

    #menu #copyright {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 4mm;
    }

    #contentWrapper, #map, #imageOverviewWrapper {
        position: absolute;
        left: 48mm;
        right: 0;
        top: 12mm;
        bottom: 0;
    }

    #map.withPreviewBar {
        bottom: 14mm;
    }

    #mapPreviewBar {
        position: absolute;
        left: 48mm;
        right: 0;
        height: 14mm;
        bottom: 0;
    }

    #contentWrapper {
        padding-left: 4mm;
        padding-right: 4mm;
    }

}

@media screen and (max-width: 240mm) {

    #menuOpenButton {
        display: block;
    }

    #menu {
        display: none;
        position: inherit;
        left: 0;
        right: 0;
        top: 40px;
        bottom: 0;
        padding: 4mm;
        background-color: #202020;
        color: #ffffff;
        z-index: 100;
        overflow-y: scroll;
    }

    #menu .menuItem {
        font-size: 16pt;
        padding: 0.2em 0;
    }

    #contentWrapper, #map, #imageOverviewWrapper {
        position: absolute;
        left: 0;
        right: 0;
        top: 12mm;
        bottom: 0;
    }

    #map.withPreviewBar {
        bottom: 14mm;
    }

    #mapPreviewBar {
        position: absolute;
        left: 0;
        right: 0;
        height: 14mm;
        bottom: 0;
    }

}
