﻿@media print {

}


/* DEFAULTS
----------------------------------------------------------*/

body {
    font-size: .80em;
    font-family: "Segoe UI", "Open Sans Light", serif, Arial, Helvetica, Verdana, sans-serif;
    margin: 0px;
    padding: 0px;
    color: #404040;
    background-color: #d9d9d9;
}

p
{
    margin-bottom: 10px;
    line-height: 1.6em;
}



/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

.page {
    margin-left: auto;
    margin-right: auto;
    height: 100vh;
    display: flex;
    flex-direction: column;
}



.main {
    position: relative;
    width: 100%;
    height:100%;
    min-height: 65vh;
}

.leftCol
{
    padding: 6px 0px;
    margin: 12px 8px 8px 8px;
    width: 200px;
    min-height: 200px;
}

.DDLStarter:hover{
    cursor: pointer;
}
.DDL {
    z-index: 1;
    position: absolute;
    overflow: auto;
    width: min-content;
    background-color: white;
    border: solid 2px darkgrey;
    box-shadow: 3px 3px 8px 0px;
    border-radius: 15px;
    display: flex;
}
.DDL a{
    margin: 0px 0px 0px 0px !important;
    padding: 5px;
}
.DDL a:hover{
    background-color: grey;
}

.section {
    text-align: center;
    background-color: #d9d9d9;
    font-family: "Segoe UI", "Open Sans Light", serif, Arial, Helvetica, Verdana, sans-serif
}

.section * {
    margin-left: auto;
    margin-right: auto;
}

/* HEADER CSS  
----------------------------------------------------------*/

.header {
    margin: 0px;
    padding: 0px;
    width: 100%;
    font-family: "Segoe UI Light", "Open Sans Light", serif, Arial, Helvetica, Verdana, sans-serif;
    z-index: 999;
    background-color: #d9d9d9;
    height: fit-content;
}

.header h1 {
    font-weight: 700;
    margin: 0px;
    padding: 0px 0px 0px 20px;
    font-size: 2em;
    display: inline-block;
    vertical-align: top;
    float:left;
    color:black;
}
.subHeader {
    display: flex;
    width: 100%;
    min-height: 42px;
    background-color:white;
}
.headerPanelsContainer {
    flex: 1;
}
.pageLogo {
    width: 40px;
    margin: 0px 0px 0px 20px;
    display: inline-block;
    margin-top: 2px;
    float:left;
}

.header h1.waterManagerTitle {
    font-size: 0.9em;
    padding: 0px;
}
.header h1.vhistoryTitle {
    padding: 0px 0px 0px 3px;
}

.menu {
    width: 100%;
    background-color: white;
    padding-bottom: 20px
}

.menu a, .menu a:visited
{
    color: #000000;
    line-height: 1.35em;
    padding: 4px 5px;
    text-decoration: none;
    white-space: nowrap;
    font-size: 15px;
}


.menu a:active {
    text-decoration: none;
}

.menuInner {
    margin-left: 50px;
    height:25px
}


.navDiv {
    display: inline-block;
    margin-right: 80px;
    cursor: pointer;
}

.navDiv:hover {
    background-color: #d9d9d9;
    border-radius: 3px;
}

.navDiv img {
    width: 50px;
}

.title {
    float: left;
    text-align: center;
    width: 100%;
    background: #d9d9d9;
    display:flex;
    align-items:center;
}

.headerLogo {
    display: inline-block;
}
.headerLogoContainer {
    text-align: center;
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items:center;
    pointer-events:none;
}
 @media screen and (max-width: 800px){
    .headerLogoContainer {
        display: none;
    }
    .header{
        max-height:none;
    }
 }

.selectedPage {
    border-bottom: 2px red solid;
}
.whiteLogo {
    width: 45px;
}
.logoText{
    padding: 0px 0px 0px 10px !important;
    color:black;
}


/* Settings menu
----------------------------------------------------------*/

.menuLogo {
    float: right;
    display: inline-block;
    height: 45px;
    margin-left: 30px;
    margin-right: 30px;
    margin-top: 10px;
}

.menuLogo:hover {
    background-color: white;
    cursor: pointer;
}

.userIcon {
    width: 15px;
}

.rightMenu {
    right: 8px;
    top: auto;
    left: unset;
}

.rightMenu a {
    text-decoration: none;
    color: #595959;
}

.rightMenu div {
    margin-left: 5px;
}

.rightMenu hr {
    margin-bottom: 5px;
    margin-top: 5px;
    margin-left: 5px;
    margin-right: 5px;
    border: none;
    border-top: 2px #ABABAB solid;
}

.rightMenu li:hover {
    background-color: #f2f2f2;
}

/* ContentHeaderPanel 
----------------------------------------------------------*/

.controlpanel {
    width: 100%;
    z-index: 98;
    background-color: white;
    padding-top: 5px;
    padding-bottom: 5px;
    min-height: 38px;

}

.controlpanelBtn:hover, .controlpanelDiv > select:hover {
    background-color: #f2f2f2;
}

.contentpanel {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: auto;
}

.zoneSelector, .periodSelector, .reductionSelector, .entryTypeSelector {
    font-size: 18px;
    border-radius: 5px;
    border: 1px solid #595959;
    color: #595959;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2012%2012%22%3E%3Ctitle%3Edown-arrow%3C%2Ftitle%3E%3Cg%20fill%3D%22%23000000%22%3E%3Cpath%20d%3D%22M10.293%2C3.293%2C6%2C7.586%2C1.707%2C3.293A1%2C1%2C0%2C0%2C0%2C.293%2C4.707l5%2C5a1%2C1%2C0%2C0%2C0%2C1.414%2C0l5-5a1%2C1%2C0%2C1%2C0-1.414-1.414Z%22%20fill%3D%22%23000000%22%3E%3C%2Fpath%3E%3C%2Fg%3E%3C%2Fsvg%3E");
    background-size: 14px;
    background-position: calc(100% - 5px) center;
    background-repeat: no-repeat;
}

.zoneSelector {
    background-color: inherit;
    border: none;
    
}

.zoneSelector, .periodSelector {
    padding: 1px 25px 1px 5px;
}

.zoneSelector:focus, .periodSelector, .reductionSelector:focus {
    outline: none;
}

.controlpanelDiv {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    font-size: 18px;
    color: #595959;
    padding-left: 15%;

    & * {
        float: left;
    }

    

    & select:hover {
        cursor: pointer;
    }
}

.controlpanelBtn.selectedControlPanelBtn {
    background-color: #e2e2e2;
}

.controlpanelBtn {
    background-color: white;
    border: 1px solid #595959;
    border-radius: 5px;
    padding: 1px 6px;
    cursor: pointer;
}


.dateBackwardBtn, .dateForwardBtn, .controlpanelTimeBtn {
    margin-right: 10px;
    background-color: white;
    padding: 1px 6px;
}

.periodLbl, .zoneTodayBtn {
    margin-right: 10px;
}

.zoneSelector {
    float: left;
    margin-right: 10px;
}

.aBtn {
    text-decoration: none;
    margin-left: 100px;
    background-color: white;
    border: 1px solid #595959;
    border-radius: 5px;
}

.aBtn:visited {
    color: #595959;
}

#DatePickPanel {
    position: absolute;
    z-index: 10;
    background-color: white;
    border: 1px solid #595959;
    border-radius: 5px;
    padding-bottom: 5px;
    text-align: center;
    float: none;
    & * {
        float: none;
    }
}

.manuelEntryBtn {
    margin-left: 10px;
    float:none;
}

.activeFilterDiv {
    padding-top: 0px;
    padding-bottom: 0px;
    min-height: 32px;
    background-color: #FFFFFF;
    overflow: auto;
    width: 100%;
}

.activeFilterDiv .zoneSelector {
    font-size: 15px;
    margin-top: 2px;
}

.activeFilterDiv .controlpanelBtn {
    border: none;
    font-size: 16px;
    padding-top: 4px
}

.activeFilterDiv .resetFilterBtn {
    font-size: 12px;
    padding-top: 0px;
    margin-top: 4px;
}

.activeFilterDiv .freeTextFilterBtn {
    font-size: 12px;
    padding-top: 0px;
    margin-top: 4px;
}

.activeFilterDiv .freeTextFilterTextbox {
    background-color: #f8f4f4;
    border: 0;
    font-size: 12px;
    margin-top: 4px;
}
/* FORM ELEMENTS   
----------------------------------------------------------*/
.loginDisplay {
    font-size: 1.1em;
    display: block;
    text-align: right;
}

.loginDisplay * {
    color: #d3d3d3;
    text-decoration: none;
}

a {
    text-decoration: none;
    color: inherit;
}

.resetPasswordLink {
    font-size: 0.6vw;
}



.loginTable td {
    padding: 5px;
    text-align: left;
}

.loginTable .centerAlign {
    text-align: center;
}

.boldText {
    font-weight: bold;
}
/* MISC  
----------------------------------------------------------*/
.clear {
    clear: both;
}

.thumbNailPreviewImg {
    width: 25%;
}



.rotate90 {
    transform: rotate(90deg) translateY(-100%);
    -webkit-transform: rotate(90deg) translateY(-100%);
    -ms-transform: rotate(90deg) translateY(-100%);
}

.rotate180 {
    transform: rotate(180deg) translate(-100%, -100%);
    -webkit-transform: rotate(180deg) translate(-100%, -100%);
    -ms-transform: rotate(180deg) translateX(-100%, -100%);
}

.rotate270 {
    transform: rotate(270deg) translateX(-100%);
    -webkit-transform: rotate(270deg) translateX(-100%);
    -ms-transform: rotate(270deg) translateX(-100%);
}

/* QuickGraph settings
----------------------------------------------------------*/

.graphArea,.rainBlock, .unraveled {
    border: #595959 solid 1px;
    border-radius: 5px;
    position: absolute;
    background-color: white;
    padding: 5px;
    color: #595959;
    z-index: 100;

}
.btnImg {
    font-size: 12px;
    width: auto;
}
.graphBtnsBottom {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: row-reverse;
}

.closeGraphBtn, .closeGraphSpan, .maximizeGraphBtn, .maximizeGraphSpan, .minimizeGraphSpan {
    float: right;
    cursor: pointer;
    width: 30px;
}
.minimizeGraphBtn {
    width: 25px;
}

.dataReductionSlider {
    -webkit-appearance: none;
    height: 5px;
    background-color: #EAEAEC;
    margin: 10px;
    border-radius: 30px;
    /*
    --track-height: 10px;
    --thumb-height: 35px;
    --thumb-width: 35px;
    --track-color: rgba(0, 0, 0, 0.2);
    --clip-edges: 0.5px;
    */
}
.dataReductionSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    border-style: solid;
    border-width: 2px;
    border-color: white;
    background-color: #3F96FD;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    cursor: pointer;
}
.dataReductionSliderContainer {
    display: flex;
    align-items: center;
    width: min-content;
    margin-right: 0px;
    margin-left: 0px;
}
.dataReductionSliderContainerHide {
    display: flex;
    margin-right: 0px;
    margin-left: 0px;
}
.rightSide {
    border-radius: 2px;
    height: 5px;
    width: 25px;
    background-color: #3F96FD;
    margin-left: 5px;
}
.leftSide {
    display: flex;
    justify-content: space-evenly;
    height: 5px;
    width: 25px;
    margin-right: 5px;
}
.leftChild {
    border-radius: 2px;
    height: 5px;
    width: 5px;
    background-color: #3F96FD;
}
/* None catogorized  
----------------------------------------------------------*/
.entryDiv hr {
    margin: 0.5em 0;
}

.entryDiv {
    padding: 0px 15px;
    /* margin: 10px 50px;
    background-color: #d9d9d9;
    border: solid #d9d9d9 1px;
    border-radius: 10px;*/
    cursor: pointer;
    border-color: #eeeeee;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    padding-bottom:10px;
}

.selectedEntryDiv {
    background-color: #A9A9A9 !important;
}

.twoLineText {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* number of lines to show */
    -webkit-box-orient: vertical;
}


.login * {
    margin-bottom: 5px;
}

.login td * 
{
    margin: 2px 2px;
}

.submitButton
{
    text-align: right;
    padding-right: 10px;
}

.spacing 
{
    padding-bottom: 5px;
}

.btnImg {
    /*
    background-repeat: no-repeat;
   padding-top: 24px;
    min-width: 45px;
        
    background-position: top center;
    background-color: #2c2c2c;
    border: #d3d3d3 solid 1px;
    color: #d3d3d3;
    font-family: "Segoe UI Light", "Open Sans Light", serif, Arial, Helvetica, Verdana, sans-serif;
    */
    color: #595959;
    border: #595959 solid 1px;
    border-radius: 5px;
    background-color: white;
    margin-left: 5px;
    margin-right: 5px;
    display: inline-block;
    outline: none;
    text-decoration: none;
    font-size: 14px;
    padding: 1px 6px;
}

.btnImg a {
    width: 100%;
    padding: 0 5px;
}

.btnImgSelected {
    background-color: #d9d9d9;
}

.btnImg:hover {
    background-color: #d9d9d9;
    cursor: pointer;
}

.btnImg.uncheckedCheckboxImg {
    background-color: white;
}

.btnImg.checkedCheckboxImg {
    background-color: #d9d9d9;
}

.ui-front {
    z-index: 1000;
}

.bordered {
    border: 1px solid #2c2c2c
}

.channel, .channelRaw, .channelInterval, .sporadicChannel
{
    min-width: 300px;
    width: 100%;
}

.hidden 
{
    display: none;
}

.visualCollapsed{
    display:none;
}

#DefDropDown, #GraphDropDown, #tableDiv table, #SADropDown, #DashboardDropDown {
    color: black;
    background-color: white;
}

#tableDiv
{
    padding-top: 10px;
}

#tableDiv table
{
    border: 1px solid #d3d3d3;
}

#tableView
{
    padding-top: 10px;
}

.graphBtns {
    display: inline-block;
    width: 100%;
    
    .periodSelector {
        font-size: 14px;
        padding: 1px 25px 1px 5px;
    }
}


.alertDiv {
    position: absolute;
    background-color: white;
    border: #595959 solid 2px;
    padding: 5px;
    color: #595959;
    z-index: 100;
}

.divHeader
{
    font-size: large;
    padding-bottom: 2px;
}

.customerLogo 
{
    margin: 10px auto;
}

.horizontalGrid tr
{
    border-bottom: 1px solid #2c2c2c;
}

.textboxBtn 
{
    width: 45px;
    cursor: pointer;
    text-align: center;
}

.editableDiv
{
    font-size: 1rem;
}

.open > .dropdown-menu {
  animation-name: slidenavAnimation;
  animation-duration:.5s;
  animation-iteration-count: 1;
  animation-timing-function: ease;
  animation-fill-mode: forwards;

  -webkit-animation-name: slidenavAnimation;
  -webkit-animation-duration:.5s;
  -webkit-animation-iteration-count: 1;
  -webkit-animation-timing-function: ease;
  -webkit-animation-fill-mode: forwards;

  -moz-animation-name: slidenavAnimation;
  -moz-animation-duration:.5s;
  -moz-animation-iteration-count: 1;
  -moz-animation-timing-function: ease;
  -moz-animation-fill-mode: forwards;
}

@keyframes slidenavAnimation {
    from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-webkit-keyframes slidenavAnimation {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.exportDropDownopt {
    display:none;
}

.menuMainDropdown {
    display: none;
    position: absolute;
    background-color: white;
    overflow: auto;
    box-shadow: rgb(136, 136, 136) 3px 3px 10px;
    border: 1px solid rgb(153, 153, 153);
    border-radius: 10px;
    z-index: 10000;
    right: 0.5vw;
    text-shadow: 0px 0px 0px black;
    font-size: 0.9em; 

}

.show {
    display: block;
}

.menuMainLogo {
    display: inline-block;
    height: 30px;
    width: 30px;
    margin-left: 30px;
    margin-right: 30px;
    margin-top: 8px;
    margin-bottom: 8px;
    -webkit-backface-visibility: hidden;
    -ms-transform: translateZ(0); /* IE 9 */
    -webkit-transform: translateZ(0); /* Chrome, Safari, Opera */
    transform: translateZ(0);
}

.menuMainLogo:hover {
    background-color: white;
    cursor: pointer;
}

.BurgerMenuMain  {
    background-color:transparent;
    position:relative;
    display:inline-block;
    margin-left:auto;
}

.menuMainimg {
    width: 45px;
    height: 45px;
    cursor: pointer;
    -webkit-backface-visibility: hidden;
    -ms-transform: translateZ(0); /* IE 9 */
    -webkit-transform: translateZ(0); /* Chrome, Safari, Opera */
    transform: translateZ(0);
}

.menuMainTd {
    max-width: 70px;
    text-align: center;
}

.menuMainDropdown table tbody tr td a {
    padding: 2px;
}


.hrLine {
    border: 0px;
    border-top: 1px solid darkgray;
}

.menuMainTable{
    margin:6px;
}
.switchViewBtn{
    margin-left:8px;
}

.customDhtmlxModal {
    width: 500px;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    overflow: hidden;
    display: inline-block;
    position: fixed;
    min-width: 300px;
    text-align: center;
    background: #fff;
    background: -webkit-linear-gradient(top,#fff 1%,#fff 99%);
    box-shadow: 0 0 14px #888;
    border: none;
    z-index: 1000;
    border-radius: 2px;
    font-family: Roboto,Arial;
}

.closeModalImg, .dhtmlx_modal_box .closeDhtmlxModalImg {
    float: right;
    cursor: pointer;
    margin: 0;
}

.modalHeaderText, .dhtmlx_popup_text span {
    display: inline-block;
    padding-top: 10px;
}

.dhtmlx_modal_box div.dhtmlx_popup_controls, .customDhtmlxModal div.dhtmlx_popup_controls {
    text-align: center;
    font-weight: bold;
    font-size: 15px;
    padding: 0;
    padding-bottom: 5px;
}

.dhtmlx_modal_box .dhtmlx_popup_text, .customDhtmlxModal .dhtmlx_popup_text {
    text-align: left;
    margin: 0;
    overflow: inherit;
    min-height: 25px;
}

.dhtmlx_popup_controls span {
    margin: 0 10px;
}

.dhtmlx_popup_controls .dhtmlx_popup_button {
    min-width: inherit;
    margin: 0 10px;
}

*, *:focus, *:hover {
    outline: none;
}

.iconImg{
    width:25px;
}

[wm-tooltip] {
    position: relative;

}

[wm-tooltip]:after {
    content: attr(wm-tooltip);
    position: absolute;
    left: 100%;
    bottom: 100%; 
    background-color: white;
    width: max-content;
   
    -webkit-transition: opacity 0.1s ease-in-out;
    border-radius: 2px;
    box-shadow: 0px 0px 2px black;
    padding: 5px;
    font-size: 11px;
    display: none;
    z-index: 10000;
}

[wm-tooltip]:hover:after {
    display: block;
}

.editGraphDialog {
    z-index: 2000;
    margin-left: unset;
    margin-right: unset;
    padding-top: 0px;
    padding-bottom: 0px;
    border: #595959 solid 1px;
    border-radius: 5px;
}
.editGraphDialogDragger {
    width: 100%;
    height: 12px;
}


.tooltipRight:after {
    left: unset;
    right: 100%;
}
.tooltipBottom:after {
    bottom:unset;
    top:100%;
}
/*div[wm-tooltip]:after {
    left: 5px !important;
}*/
.quickGraph {
    min-height: 355px;
    min-width: 590px;
}

.chartsSelectionDiv {
    height: 100%;
    width: 450px;
    position: absolute;
    z-index: 998;
    background-color: white;
    display: flex;
    flex-direction: column;
    top: 0;
    right: 0;
    max-width: 0vw;
    overflow-x: hidden;
    transition: all 0.5s linear;
    padding-top: 70px;
}
.chartsSelectionDiv > *{
    min-height: 50px;
}

.graphSelectionHeader{
    font-size: 16px;
    font-weight: bold;
}
.graphSelectionHeader:hover{
    cursor: pointer;
}

.graphSelection {
    font-size: 14px;
    margin-top: 5px;
    margin-bottom: 5px;
    max-height: 0;
    padding-left: 20px;
    overflow-y:hidden;
    transition: all 0.2s linear;
}
.channelSelectionFilterTextbox {
    margin-bottom: 5px;
}
.SelectionOptions {
    overflow-x: hidden;
    overflow-y: auto;
    transition: max-height 0.2s linear;

}
.selectionOption:hover {
    cursor: pointer;
    background-color: lightgray;
}


.toggleChartsImg {
    height: 30px;
}
.toggleCharts {
    float: right;
    margin-right: 28px;
    border: solid;
    border-width: 1px;
    border-radius: 5px;
    margin-top: 4px;
    padding: 1px;
    background-color: white;
}
/*
.toggleCharts:active:hover {
    padding-top: 2px;
    padding-left: 2px;
    border-color: #595959;
    background-color:rgb(240, 240, 240)
}*/
.toggleCharts:hover {
    cursor: pointer;
}

.jumpTimeBtn {
    letter-spacing: -2px;
}
.loading {
    width:70px;
    height:70px;
}
.chartsDiv, .rainPanelDiv {
    width: 99.4vw;
    left: 0.3vw;
    height: calc(100% - 0.3vh);
    position: absolute;
}
.entryFormBtn {
    margin: 5px;
    min-width: 100px;
    min-height: 40px;
    padding: 5px;
    border-radius: 8px;
    background-color: #0288d1;
    font-size: 18px;
    border: none;
    color: white;
}
.tableCell {
    min-width: 15px;
    border-width: 1px;
    border-color: white;
    border-style: solid;
    text-align: left;
}

.tableHead {
    background-color: grey;
    color: white;
    border-bottom-width: 5px;
    font-weight: bold;
    height: 0px;
}
.entryGrid:nth-child(2n+1) {
    background-color: #F0F0F0
}

.entryGrid:nth-child(2n) {
    background-color: #E1E1E1
}

.dropdownbtnExport {
    width: 25px;
    height: 23px;
    margin-right: 10px;
    margin-top: 10px;
    border: none;
    cursor: pointer;
}

    .dropdownbtnExport:hover, .dropdownbtnExport:focus {
        background-color: whitesmoke;
    }

.exportDropdown {
    background-color: transparent;
    position: relative;
    display: inline-block;
    float: right;
}

.dropdownContentexport {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    overflow: auto;
    /*box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);*/
    box-shadow: rgb(136, 136, 136) 3px 3px 10px;
    border: 1px solid rgb(153, 153, 153);
    z-index: 1;
}

    .dropdownContentexport a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        font-size: 0.95em;
    }

        .dropdownContentexport a:hover {
            background-color: #ddd;
        }

.show {
    display: block;
}

.ui-autocomplete {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    text-align: left;
}