﻿html {
    position: relative;
    min-height: 100%;
    overflow: scroll;
}

body {
    margin-top: 0px;
    margin-bottom: 25px;
    /*background-image: url('/Artwork/homepage_background.jpg');
    background-size: cover;*/
    background-color: #FFFFFF;
}
@media (max-width:768px) {
    body {
        margin-top: 0px;
    }
}
@media (min-width:1540px) {
    body {
        margin-top: 0px;
    }
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
    background-color: #FFFFFF;
    /*border-radius: 10px;*/
}

.container {
    width: 95%;
}

.breadcrumb-row {
    margin-left: 0px;
    margin-right: 0px;
    background-color: #FFFFFF;
    color: #000000;
}

a {
    color: #000;
}

.breadcrumb {
    background-color: #FFFFFF;
    font-size: 16px;
}

    .breadcrumb .active {
        font-weight: bold;
    }

    .breadcrumb > li + li:before {
        color: #0000FF;
        content: "|\00a0";
    }

    .breadcrumb a {
        text-decoration: underline;
        color: #149cc6;
    }

.footer {
    position: absolute;
    bottom: 0;
    left: 0px;
    right: 0px;
    width: 100%;
    height: 40px;
    line-height: 40px;
    background-color: #f5f5f5;
}

footer {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    height: 25px;
    background-color: rgb(43, 102, 132);
    color: rgb(250, 250, 250);
    padding: 5px;
    text-align: right;
    padding-right: 20px;
}

.icon-bar {
    background-color: black;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.navbar-fixed-top{
    position: sticky;
    top: 0px;
    left: 0px;
    right: 0px;
}

.navbar {
    margin-bottom: 5px;
}

.navbar-gdd {
    border-bottom: 1px black solid;
    /*color: #0081c8;*/
    color: #000000;
    /*background-color: #21c3f4;*/
    background-color: #8BD6F6;
}

.navbar-gdd-logo {
    background-color: #FFFFFF;
    padding-left: 10px;
    padding-right: 10px;
    height: 50px;
}

.navbar-nav > li > a {
    /*color: #FFFFFF;*/
    color: #000000;
}

    .navbar-nav > li > a:hover, .navbar-nav > li > a:focus {
        /*color: #FFFFFF;*/
        background-color: #FFFFFF;
        color: #000000;
    }

.nav .open > a, .nav .open > a:hover, .nav .open > a:focus {
    color: #000000;
    background-color: #FFFFFF;
}

.navbar-gdd a:hover {
    color: #000000;
    text-decoration: none;
    background-color: #FFFFFF;
}

.navbar-gdd .active {
    color: #0306ae;
    text-decoration: none;
    background-color: #FFFFB0;
}

/* The dropdown container */
.dropbtn {
    background-color: #2b6684;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

    .dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

        .dropdown-content a:hover {
            background-color: #f1f1f1
        }

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: #f1f1f1;
    color: #2b6684;
}

@media (min-width:768px) {
    /*body {
        margin-left: 232px
    }*/
}

.navbar.fixed-left {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030
}

@media (min-width:768px) {
    .navbar.fixed-left {
        bottom: 40px;
        width: 232px;
        flex-flow: column nowrap;
        align-items: flex-start
    }

        .navbar.fixed-left .navbar-collapse {
            flex-grow: 0;
            flex-direction: column;
            width: 100%
        }

            .navbar.fixed-left .navbar-collapse .navbar-nav {
                flex-direction: column;
                width: 100%
            }

                .navbar.fixed-left .navbar-collapse .navbar-nav .nav-item {
                    width: 100%
                }

                    .navbar.fixed-left .navbar-collapse .navbar-nav .nav-item .dropdown-menu {
                        top: 0
                    }
}

@media (min-width:768px) {
    .navbar.fixed-left {
        right: auto
    }

        .navbar.fixed-left .navbar-nav .nav-item .dropdown-toggle:after {
            border-top: .3em solid transparent;
            border-left: .3em solid;
            border-bottom: .3em solid transparent;
            border-right: none;
            vertical-align: baseline
        }

        .navbar.fixed-left .navbar-nav .nav-item .dropdown-menu {
            left: 100%
        }
}


.form-control {
    max-width: 100%;
}

.tabulator {
    /*background-color: #ccc;*/
    border: 1px solid #333;
    /*border-radius: 10px;*/
}

    .tabulator .not-configured {
        background-color: rgba(255, 255, 160, 0.6);
    }

    .tabulator .measurement_inactive {
        background-color: rgba(255, 255, 160, 0.6);
    }

    .tabulator .measurement_no_data {
        background-color: rgba(200, 200, 255, 0.6);
    }

    .tabulator .save-error {
        background-color: rgba(255, 0, 0, 0.5) !important;
    }

/* Open Layers */

.ol-rotate {
    top: unset;
    right: unset;
    left: 0.5em;
    bottom: 0.5em;
    border-radius: 50%;
    /*background-color: transparent;*/
}

.ol-rotate-reset {
    width: 4em !important;
    height: 4em !important;
    border-radius: 50% !important;
    /*background-color: rgb(50, 50, 50) !important;*/
}

.ol-compass {
    width: 100% !important;
    height: 100% !important;
    padding: 0.4em;
}

.ol-map-export {
    top: 100px;
    left: .5em;
    /*padding: 0.4em;*/
}

.map-legend {
    top: 127px;
    left: .5em;
    color: black;
    /*padding: 0.4em;*/
}

.map-legend-open {
    top: 127px;
    left: .5em;
    width: 250px;
    background-color: rgba(255,255,255,.8);
}

.map-legend-open:hover {
    background-color: rgba(255,255,255,1);
}

#map_mouse_over {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 400px;
    word-wrap: break-word;
    background-color: white;
    border-color: black;
    border-width: 1px;
    border-style: solid;
    border-radius: 5px 5px;
    padding: 5px;
    z-index: 20;
}

.map-mouseover-header {
    font-size: 1.2em;
    font-weight: 600;
}

.map-mouseover-table {
    width: 100%; 
    border: black 1px solid;
}

.map-mouseover-header-tr {

}

.map-mouseover-header-td {
    border: white 1px solid;
    padding: 4px;
    text-align: left;
    background-color: black;
    color: white;
    font-weight: bold;
    font-size: 16px;
}

.map-mouseover-row-tr {

}

.map-mouseover-row-td {
    border: black 1px solid;
    padding: 2px;
    text-align: left;
}

.map-mouseover-row-td-left {
    border: black 1px solid;
    padding: 2px;
    text-align: left;
}

.map-mouseover-row-td-right {
    border: black 1px solid;
    padding: 2px;
    text-align: right;
}


.ol-map-layerlist {
    top: 2.5em;
    right: .5em;
    color: black;
}

.ol-map-layerlist-row {
    width: 100%;
    margin-left: 0px;
    margin-right: 0px;
    /*border-bottom: 1px solid black;*/
}

    .ol-map-layerlist-row:hover {
        background-color: #CFCFCF;
    }

.ol-map-layerlist-close {
}

.ol-map-layerlist-open {
    top: 2.5em;
    right: .5em;
    width: 400px;
    background-color: rgba(255,255,255,1);
}

    .ol-map-layerlist-open:hover {
        background-color: rgba(255,255,255,1)
    }

.ol-map-layerlist-heading {
    font-weight: bold;
    font-size: large;
    color: white;
    background-color: #2EA9D3;
    padding: 5px;
    border: 1px solid black;
}

.ol-map-layerlist-label {
    font-weight: bold;
}

.ol-map-layerlist-symbol-background {
    width: 25px;
    height: 30px;
    margin-left: 0px;
    margin-right: 0px;
}

.ol-map-layerlist-symbol-symbol {
    width: 25px;
    height: 25px;
    margin-left: 0px;
    margin-right: 0px;
}



/* Tabs */
.tab-button-container button {
    width: 19.5%;
    min-width: 100px;
}

.tab-button-container .selected,
.tab-button-container .selected:hover {
    background-color: gray;
    color: white;
    border: 0px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
}

.tab-button-container button span {
    float: left;
}

.tab-button-container .selected span::before {
    content: "\e252";
    font-size: 16px;
}

.tab-button-container span::before {
    content: "\e250";
    font-size: 16px;
}

/* ***************************  */
/* *** Dashboard defaults  ***  */
/* ***************************  */
.heading_row {
    border: 1px solid #777;
    min-height: 100px;
}

.data_panel {
    width: 100%;
    overflow: hidden;
}

.well {
    border: 0px;
    padding: 2px;
}

.table_panel {
    background-color: white;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.chart_panel {
    background-color: white;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.heading-text {
    font-size: 17px;
    font-weight: bold;
    text-align: center;
    padding-bottom: 5px;
}

.heading_select {
    width: 100%;
    margin-left: 5px;
}

.well-sm {
    margin-bottom: 1px;
}

.map-rendering-row {
    margin-right: 0px;
    margin-left: 0px;
}

.map-rendering-col {
    padding-right: 5px;
    padding-left: 5px;
}

.map-rendering-heading {
    text-align: left;
    font-size: 14px;
}

@media (min-width: 768px) {
    .data_panel {
        height: 400px;
    }
}

@media (min-width: 992px) {
    .data_panel {
        height: 500px;
    }
}

@media (min-width: 1200px) {
    .data_panel {
        height: 610px;
    }
}

.map-rendering-parameters {
    z-index: 1;
    opacity: 1;
    position: absolute;
    /* bottom: 0; */
    top: 1.43em;
    left: 5em;
    margin: 0px;
    background: rgb(206 216 229 / 70%);
    color: black;
    border: 0px;
    transition: opacity 100ms ease-in;
    width: 250px;
    padding: 10px;
    border-radius: 3px;
}

.dateRangeButtonStyle {
    width: 32%;
    font-size: 12px;
    font-weight: bold;
    height: 34px;
    border-radius: 4px;
}

.dateRangeSelectedButton,
.dateRangeSelectedButton:hover {
    background-color: gray;
    color: white;
    border: 0px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
}

.table_header_spacer {
    height: 68px;
}

@media (max-width: 992px) {
    .table_header_spacer {
        height: 0px;
    }

    .heading-text {
        text-align: left;
    }
}

/* ***************************  */
/* *** Dashboard defaults  ***  */
/* ***************************  */
