﻿html {
    min-height: 100%;
}

body {
    /*padding-top: 80px;*/
    padding-top: 0px;
    padding-bottom: 0px;
    /*padding-left: 10px;*/
    padding-left: 0px;
    /*padding-right: 10px;*/
    padding-right: 0px;
    background-color: aliceblue;
    /*position: absolute;*/
    /*top: 0px;*/
    /*bottom: 0px;*/
    /*left: 0px;*/
    /*right: 0px;*/
}

footer {
    position: fixed;
    bottom: 0px;
    left: 0px;
    right: 0px;
    padding-left: 20px;
    background-color: aliceblue;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* 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;
}*/

.table-heading-column {
    background-image: url("../Artwork/gradient2.png");
    background-size: contain;
    border-bottom: 1px solid black !important;
    border-left: 1px solid black !important;
    border-right: 0px solid black !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
    height: 32px !important;
    font-weight: bold;
    font-size: 24px;
}

.table-column {
    background-color: transparent;
}

.slick-row.even {
    background-color: antiquewhite;
}

.slick-row.odd {
    background-color: lightskyblue;
}

.modal-footer {
    background-color: cornflowerblue;
}

.icon-bar {
    background-color: white;
}

.navbar-right {
    margin-right: 0px;
}
.navbar-toggle {
    background-color: black;
}
.navbar {
    background-color: white;
    /*padding-left: 30px;*/
    /*padding-right: 30px;*/
    border-bottom: 1px solid black;
    margin-bottom: 0px;
}

/* Navbar container */
.navbar {
    /*overflow: hidden;*/
    background-color: #333;
    font-family: Arial;
}

/* Links inside the navbar */
.navbar a {
    float: left;
    font-size: 14px;
    color: white;
    text-align: center;
    /*padding: 14px 16px;*/
    padding: 2px !important;
    text-decoration: none;
}

/* The dropdown container */
.dropdown {
    float: left;
    overflow: hidden;
}

.navbar .dropdown {
    position: initial;
}

/* Dropdown button */
.dropdown .dropbtn {
    font-size: 16px;
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font: inherit; /* Important for vertical align on mobile phones */
    margin: 0; /* Important for vertical align on mobile phones */
}

/* Add a red background color to navbar links on hover */
.navbar a:hover, .dropdown:hover .dropbtn {
    background-color: skyblue;
    color: black;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    /*background-color: #f9f9f9;*/
    background-color: #ccc;
    width: 100%;
    left: 0;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    min-height: 450px;
    /*padding-left: 10px;*/
}

/* Mega Menu header, if needed */
.dropdown-content .header {
    background: skyblue;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 1px;
    padding-bottom: 1px;
    color: black;
    font-size: 30px;
    /*margin-left: -10px;*/
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    /*display: block;*/
    /*position: fixed;*/
}

.dropdown-content .submenu_button {
    color: #000;
    background-color: #c0c0c0;
    border-color: #000000;

    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
    margin-right: 0px;
    margin-left: 0px;
}
.dropdown-content .submenu_button span {
    float: right;
    padding-left: 20px;
}
.dropdown-content .submenu_button span::before {
    content: "\e250";
    font-size: 16px;
}
.dropdown-content .submenu_button_select {
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
}
.dropdown-content .submenu_button_select span::before {
    content: "\e252";
    font-size: 16px;
}


/* Create three equal columns that floats next to each other */
.column {
    float: left;
    width: 33.33%;
    padding: 10px;
    background-color: #ccc;
    height: 250px;
}

/* Style links inside the columns */
.column a {
    float: none;
    color: black;
    /*padding: 16px;*/
    padding: 5px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a {
    float: none;
    color: black;
    padding: 5px;
    text-decoration: none;
    display: block;
    text-align: left;
}

/* Add a background color on hover */
.column a:hover {
    background-color: #ddd;
}

.column h3 {
    font-weight: bold;
}

.dropdown-content .row {
    margin-left: 0px;
    margin-right: 0px;
    padding-bottom: 20px;
    background-color: #ccc;
}
/* Clear floats after the columns */
.dropdown-content .row:after {
    content: "";
    display: table;
    clear: both;
}

.dropdown-content a.disabled {
    cursor: not-allowed;
    pointer-events: none;
    color: #777;
}

/*****************/
/*** tabulator ***/
/*****************/

.tabulator-row.InRangeBlank {
    background-color: #ffffff;
    color: rgba(0, 0, 0, 0.8);
}

.tabulator-row.InRange {
    background-color: rgba(133, 224, 133, 0.85) ;
    color: rgba(0, 0, 0, 1);
}

.tabulator-row.OutOfRange_01 {
    background-color: rgba(255, 173, 51, 0.85);
    color: rgba(0, 0, 0, 1);
}

.tabulator-row.OutOfRange_02 {
    background-color: rgba(255, 77, 77, 0.85);
    color: rgba(0, 0, 0, 1);
}

.tabulator-row.OutOfRange_03 {
    background-color: rgba(0,255,255, 0.85);
    color: rgba(0, 0, 0, 1);
}

.tabulator-row.OutOfRange_04 {
    background-color: rgba(0, 0, 255, 0.85);
    color: rgba(255, 255, 255, 1);
}

.tabulator-cell.InRangeBlank {
    background-color: #ffffff;
    color: rgba(0, 0, 0, 0.8);
}

.tabulator-cell.InRange {
    background-color: rgba(133, 224, 133, 1);
    color: rgba(0, 0, 0, 1);
}

.tabulator-cell.OutOfRange_01 {
    background-color: rgba(255, 173, 51, 1);
    color: rgba(0, 0, 0, 1);
}

.tabulator-cell.OutOfRange_02 {
    background-color: rgba(255, 77, 77, 1);
    color: rgba(0, 0, 0, 1);
}

.tabulator-cell.OutOfRange_03 {
    background-color: rgba(0,255,255, 1);
    color: rgba(0, 0, 0, 1);
}

.tabulator-cell.OutOfRange_04 {
    background-color: rgba(0, 0, 255, 1);
    color: rgba(255, 255, 255, 1);
}

.tabulator-row.tabulator-selectable:hover {
    filter: brightness(75%);
}

.tabulator-row.tabulator-selected {
    filter: brightness(110%);
}

.tabulator-row .tabulator-cell {
    text-overflow: unset;
}

.tabulator-column-select {
    background-color: rgba(242, 255, 77, 0.50) !important;
}

.tabulator-row.tabulator-row-even {
    filter: brightness(95%);
}

/*** alerts ***/

.tabulator-row.tabulator-row-even.alert-closed {
    background-color: rgba(0, 200, 0, 0.6);
    color: rgba(0, 0, 0, 1);
}

.tabulator-row.tabulator-row-odd.alert-closed {
    background-color: rgba(0, 200, 0, 0.55);
    color: rgba(0, 0, 0, 1);
}

.tabulator-row.tabulator-row-even.alert-open {
    background-color: rgba(200, 0, 0, 0.6);
    color: rgba(255, 255, 255, 1);
}

.tabulator-row.tabulator-row-odd.alert-open {
    background-color: rgba(200, 0, 0, 0.55);
    color: rgba(255, 255, 255, 1);
}

.tabulator-row.tabulator-row-even.alert-attend {
    background-color: rgba(255,165, 0, 0.6);
    color: rgba(0, 0, 0, 1);
}

.tabulator-row.tabulator-row-odd.alert-attend {
    background-color: rgba(255,165, 0, 0.55);
    color: rgba(0, 0, 0, 1);
}
.tabulator-row.tabulator-selected.alert-closed,
.tabulator-row.tabulator-selected.alert-open,
.tabulator-row.tabulator-selected.alert-attend {
    filter: brightness(30%);
}

/*****************/
/*** tabulator ***/
/*****************/
.dateRangeButtonStyle {
    width: 32%;
    font-size: 12px;
    font-weight: bold;
    height: 34px;
    border-radius: 4px;
}

.dateRangeSelectedButton {
    background-color: gray;
    color: white;
}

.tabButtonStyle {
    width: 32%;
    max-width: 250px;
    font-size: 12px;
    font-weight: bold;
    height: 34px;
    border-radius: 4px;
}

.systemTabButtonStyle {
    width: 25%;
    font-size: 12px;
    font-weight: bold;
    height: 34px;
    border-radius: 4px;
}

.gwTabButtonStyle {
    width: 25%;
    font-size: 12px;
    font-weight: bold;
    height: 34px;
    border-radius: 4px;
}

.tabButtonSelected {
    background-color: gray;
    color: white;
}

.btnSelected {
    background-color: white;
    color: #337ab7;
}

.tabButtonStyle span::before {
    content: "\e250";
    font-size: 16px;
}

.tabButtonStyle span {
    float: left;
}

.tabButtonSelected span::before {
    content: "\e252";
    font-size: 16px;
}

.tabButtonSelected span {
    float: left;
}

.tabButtonChartType {
    width: 24.53%;
    font-size: 12px;
    font-weight: bold;
    height: 24px;
    border-radius: 4px;
    padding-top: 0px;
    padding-bottom: 1px;
    border-width: 1px;
    border-color: lightgray;
}

.tabButtonChartTypeSelected, .tabButtonChartTypeSelected:hover {
    background-color: gray;
    color: white;
    border-top-right-radius: 0px;
    border-top-left-radius: 0px;
    border-top-width: 0px;
}

.tabButtonChartType span::before {
    content: "\e250";
    font-size: 16px;
}

.tabButtonChartType span {
    float: left;
}

.tabButtonChartTypeSelected span::before {
    content: "\e253";
    font-size: 16px;
}

.tabButtonChartTypeSelected span {
    float: left;
}

/***************************************/
/*** bootstrap-datetimepicker-widget ***/
/***************************************/

.ekosource-daterange-picker{
    min-width: 300px;
    max-width: 1000px;
}

.ekosource-daterange-picker .bootstrap-datetimepicker-widget table td.weekend {
    color: red;
}

.ekosource-daterange-picker .bootstrap-datetimepicker-widget table td.old,
.ekosource-daterange-picker .bootstrap-datetimepicker-widget table td.new {
    filter: opacity(50%);
}

.ekosource-daterange-picker .bootstrap-datetimepicker-widget table td.disabled,
.ekosource-daterange-picker .bootstrap-datetimepicker-widget table td.disabled:hover {
    background-color: lightgray;
    border-radius: 0px;
}

.ekosource-daterange-picker .bootstrap-datetimepicker-widget table td.today:before {
    content: '';
    display: inline-block;
    /* top-left | top-right | bottom-right | bottom-left */
    border-radius: 50% 50% 50% 50%;
    height: 80%;
    width: 80%;
    border: solid red;
    border-width: 2px 2px 2px 2px;
    position: absolute;
    top: 10%;
    left: 10%;
}

.ekosource-daterange-picker .bootstrap-datetimepicker-widget table td.active.today:before {
    border-color: cyan;
}

.ekosource-waterquality-green {
    color: rgba(92, 184, 92, 1);
    font-weight: bold;
    font-size: 14px;
}
.ekosource-waterquality-green span {
    color: rgba(92, 184, 92, 0.5);
    font-weight: bold;
    font-size: 14px;
}

.ekosource-waterquality-orange {
    color: rgba(240, 173, 78, 1);
    font-weight: bold;
    font-size: 14px;
}
.ekosource-waterquality-orange span {
    color: rgba(240, 173, 78, 0.5);
    font-weight: bold;
    font-size: 14px;
}

.ekosource-waterquality-red {
    color: rgba(217, 83, 79, 1); 
    font-weight: bold;
    font-size: 14px;
}
.ekosource-waterquality-red span {
    color: rgba(217, 83, 79, 0.5);
    font-weight: bold;
    font-size: 14px;
}

/***************************************/
/*** bootstrap-datetimepicker-widget ***/
/***************************************/
/***************************************/
/*** GIS ***/
/***************************************/
.gis-portal-rotate {
    bottom: .5em;
    left: .5em;
    width: 36px;
    height: 36px;
    top: unset;
    right: unset;
    background-color: transparent;
}

.gis-portal-rotate button {
    width: 30px;
    height: 30px;
    background-color: transparent;
}

.gis-portal-compass {
    width: 30px;
}

.ol-mouse-position{
    background-color: white;
    border-width: 1px;
    border-color: black;
    border-style: solid;
    border-radius: 5px;
    padding: 4px;
    font-weight: bold;
}

/* Open Layers */

.ol-rotate {
    top: unset;
    right: unset;
    left: 0.5em;
    bottom: 2.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: 7.5em;
    left: .5em;
    /*padding: 0.4em;*/
}

.map-legend {
    top: 9.5em;
    left: .5em;
    color: black;
    /*padding: 0.4em;*/
}

.map-legend-open {
    top: 9.5em;
    left: .5em;
    width: 250px;
    /*height: 5em;*/
    /*background-color:blueviolet;*/
    /*padding: 0.4em;*/
}

.map-legend-open:hover {
    background-color: rgba(255,255,255,1)
}

.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;
}
/***************************************/
/*** GIS ***/
/***************************************/
/***************************************/
/*** User Management ***/
/***************************************/
.user-management-configured {
    /*background-color: cyan;*/
}

.user-management-not-configured {
    background-color: lightgoldenrodyellow !important;
}

/***************************************/
/*** GIS ***/
/***************************************/

/***************************************/
/*** jstree ***/
/***************************************/
.jstree-default {
}

    .jstree-default .jstree-themeicon-custom {
        background-size: contain !important;
        background-color: transparent;
        background-image: none;
        background-position: 0 0;
    }

    .jstree-default .jstree-clicked {
        background: #9ABCEA;
        color: black;
    }

    .jstree-default .jstree-hovered {
        background: white;
        color: black;
    }

    .jstree-default .jstree-wholerow-clicked {
        background: #9ABCEA;
        color: black;
    }

    .jstree-default .jstree-wholerow-hovered {
        background: white;
        color: black;
    }

.jstree-leaf .jstree-checkbox {
    display: inline-block !important;
}
/***************************************/
/*** jstree ***/
/***************************************/
