
html,
body {
    height: 100%;
	font-family:verdana, tahoma, arial, helvetica, sans-serif;
    font-size: 12px;
    padding-top: 21px;
}

@media (max-width: 768px) {
    html, body {
        font-size: 14px;
    }
}

main > .row {
	margin-bottom: 3em;
}

main {
    padding-bottom: 20px;
}

.navbar .nav-item {
	margin-right: 50px;
}

.navbar-nav .nav-link {
	font-size: 1.3rem;
}

.navbar-brand {
    font-size: 1.3rem;
}

#mobile-menu li {
    list-style: none;
    list-style-position: inside;
    font-size: 1.4rem;
    padding: 5px;
}

#mobile-menu li .sub-menu {
    margin-left: -20px;
}


.map-wrapper {
	margin-left: -18px;
	margin-right: -18px;
	margin-top: -18px;
	margin-bottom: -120px;
}

.navbar {
	min-height: 55px;
 	background-color: black;
 	color: white;
 	padding: 0px;
}

.navbar a {
	color: white;
}

.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  padding: 48px 0 0;
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
  font-size: 1rem;
}

.sidebar-sticky {
	color: white;
	position: relative;
	top: 0;
	height: calc(100vh - 130px);
	padding-top: .5rem;
    margin-left: 5px;
	overflow-x: hidden;
	overflow-y: auto;
}

@supports ((position: -webkit-sticky) or (position: sticky)) {
  .sidebar-sticky {
    position: -webkit-sticky;
    position: sticky;
  }
}


.nav-link {
	display: inline;
	color: white; 
}


.sidebar .nav-link {
    padding: 0;
}

.sidebar .nav-link .feather {
  margin-right: 4px;
  color: white;
}

.sidebar .nav-link.active {
  color: white;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
  color: inherit;
}

.sidebar-heading {
  font-size: .75rem;
  text-transform: uppercase;
}


.sidebar li {
	list-style: none;
}

.sidebar li .sub-menu {
  border: none;
  margin-left: -30px;
}


ul :not(collapsed) .arrow:before,
li :not(collapsed) .arrow:before {
  font-family: FontAwesome;
  content: "\f078";
  display: inline-block;
  padding-left: 10px;
  padding-right: 10px;
  vertical-align: middle;
  float: right;
}

ul :not(collapsed) .mobile-menu-arrow:before,
li :not(collapsed) .mobile-menu-arrow:before {
  font-family: FontAwesome;
  content: "\f078";
  display: inline-block;
  padding-left: 20px;
  vertical-align: middle;
}




.nav-side-menu ul .sub-menu li.active,
.nav-side-menu li .sub-menu li.active {
  color: #d19b3d;
}
.nav-side-menu ul .sub-menu li.active a,
.nav-side-menu li .sub-menu li.active a {
  color: #d19b3d;
}

.nav-side-menu ul .sub-menu li.sub-header,
.nav-side-menu li .sub-menu li.sub-header {
  font-weight: bold;
}



.sidebar .active {
	background-color: #020203;
}



.nav-item {
	display: block;
	padding-top: 5px;
	padding-bottom: 5px;
}

.nav-item-menu {
	display: block;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 4px;
}




/*
.dropdown-menu {
	background: #e8edff;
}
*/

.navbar-dropdown-menu {
	background: black;
}



#language-selection a {
	color: white;
}

.container-fluid {
    padding-top: 25px;
    padding-left: 0px;
    padding-right: 3px;
    height: 100%;
}

@media (max-width: 768px) {
    .container-fluid {
      padding-left:0;
      padding-right:0;
    }
    
    .main-view {
        margin-left: -5px;
        margin-right: -5px;
    }

    a.dropdown-item {
        font-size: 1.25em;
    }
}

.container-fluid-popup {
    padding-top: 25px;
}

.wrap {
	display: flex;
	width: 100%;
	align-items: flex;
  	color: #000;
}




.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}


.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

.error {
    color: red;
    font-weight: bold;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}




.basic-table
{
    font-family: verdana, tahoma, arial, helvetica, sans-serif;
    width: 100%;
    border-collapse: collapse;
    /*margin-right: 20px;*/
    /*min-width: 400px;*/
    /*float:left;*/
    
    -webkit-box-shadow: 10px 10px 8px 0px rgba(0,0,0,0.15);
    -moz-box-shadow: 10px 10px 8px 0px rgba(0,0,0,0.15);
    box-shadow: 10px 10px 8px 0px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .basic-table
    {
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }
}


.basic-table .no-shadow
{
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}


.basic-table th
{
	padding: 5px;
	font-weight: bold;

    color: #039;
    background: #b9c9fe;
}

.basic-table .sub-header td
{
    font-weight: bold;
}

.basic-table tr:first-child {
    border-top: none;
}

.basic-table tr {
    border-top: 1px solid #fff;
}

.basic-table td {
	padding: 5px;

    color: #669;
    height:20px;
}

.basic-table .center {
	text-align: center;
}

.first-col-text-width thead tr th:first-child,
.first-col-text-width tbody tr td:first-child {
    width:1%;
    white-space: nowrap;
}

.second-col-text-width thead tr th:nth-child(2),
.second-col-text-width tbody tr td:nth-child(2) {
    width:1%;
    white-space: nowrap;
}


.col-width-text-width {
    width: 1px;
    white-space: nowrap;
}

.basic-table td.bold
{
	font-weight: bold;
}

.basic-table tr
{
	background: #e8edff;
}

.basic-table tr.normal
{
	background: #e8edff;
}

.basic-table tr.highlight
{
	background: #ffffff;
}

.basic-table tr.movedhighlight
{
	background: #b9c9fe;
}

.basic-table td.noborder
{
    border:none;
    padding-right: 5px;
    padding-left:0px;
    padding-top:0px;
    padding-bottom:0px;
}

.basic-table td.coordinatetable
{
    border:none;
    padding-right: 3px;
    padding-left:3px;
    padding-top:3px;
    padding-bottom:3px;
}


.basic-table tbody tr.highligh
{
	background-color: #b9c9fe;
}


.color-every-other-row tr:nth-child(odd) {background: #e8edbb}


.highlight-row tbody tr:hover
{
	background-color:#d4deff;
} 

.basic-table.no-shadow {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}


.button {
	font: bold 90% verdana, tahoma, arial, helvetica, sans-serif;
	background-color:#ffffff; 
	border:1px solid; 
	border-color: #000000; 	
	color: black;
	padding: 6px 9px 6px 9px;
    min-width: 120px;
    border-radius: 3px;
}

.button-selected {
	background-color: lightgray; 
}



@media (max-width: 767px) {

	/* Enlarge buttons in mobile */
	.button {
        padding: 10px;
        margin-top: 5px;
        margin-bottom: 5px;
        width: 100%;
        /*font-size: 1.2rem;*/
    }
}	


.button:disabled, button[disabled] {
	font: bold 90% verdana, tahoma, arial, helvetica, sans-serif;
	background-color:#ffffff; 
	border:1px solid; 
	border-color: #000000; 	
	color: grey;
}

.button-in-text-input {
	font: bold 90% verdana, tahoma, arial, helvetica, sans-serif;
	background-color: rgba(255,255,255,1);; 
	border:0px solid; 
	color: black;
	width: 19px;
	/*padding: 5px 7px 5px 7px;*/
}


.note {
	color: red;
}

.no-borders td {
	padding: 0px;
	border: none;
}


.no-border td {
	border: none;
}


/* flot graphics */
.flot-graph {
    width: 100%;
	height: 400px /*!important*/;
	padding: 20px 15px 15px 15px;
	margin-left:auto;
	margin-right:auto;
	text-align:left;
}

/* flot graphics */
.flot-graph-gmap-window {
	height: 200px;
	width: 400px;
	padding: 20px 0px 15px 15px;
	/*margin-left:auto;
	margin-right:auto;*/
	text-align:left;
}

.flot-graph-wm-window {
	height: 250px;
	width: 100%;
	padding: 20px 15px 15px 15px;
	margin-left:auto;
	margin-right:auto;
	text-align:left;
}

.flot-graph-map-info-window {
	height: 250px;
	width: 100%;
	padding: 20px 15px 15px 15px;
	margin-left:auto;
	margin-right:auto;
	text-align:left;
}


.flot-graph-popup {
	/*box-sizing: border-box;*/
	/*width: 700px;*/
	height: 500px;
	padding: 20px 15px 15px 15px;
	margin-left:auto;
	margin-right:auto;
	text-align:left;
}

/* This is the actual canvas */
.flot-placeholder {
	width: 100%;
	height: 100%;
	font-size: 14px;
	line-height: 1.2em;
}

.legendLayer .background {
    fill: rgba(255, 255, 255, 0);
    stroke: rgba(0, 0, 0, 1);
    stroke-width: 0;
}        

.flot-legend {
	vertical-align: middle;
}


.flot-legend td {
	border:none;
	white-space:nowrap;
}

.flot-legend table {
	display: inline-block;
}

.forcesinglerow {
	white-space: nowrap; 
	overflow: hidden;
}

.single-row {
	white-space: nowrap; 
	overflow: hidden;
}


.ui-progressbar-value {
    font-size: 20px;
    font-weight: normal;
    line-height: 18px;
    padding-left: 10px;
    padding-top: 5px;
    text-align: center;
}

#observation-defines-table tr {
	border-top: 1px solid white;
}

/* top, right, bot, left */

#observation-defines-table td {
	padding: 7px 0px 7px 0px;
}

#observation-defines-table td:first-child {
  font-weight: bold;
  padding-right: 10px;
}


#observation-limit-table table {
	clear: none;
}

#observation-limit-table th {
	padding: 7px 10px 7px 10px;
}

#observation-limit-table td {
	font-weight: normal;
}


.modal-content {
	font-family: verdana, tahoma, arial, helvetica, sans-serif;
	color: #669;
	background: #e8edff;
}

.modal-title {
	font-weight: bold;
	font-size: 16px;
}

.modal-header {
	color: #039;
	background: #b9c9fe;
}

.modal-body {
	color: #669;
	background: #e8edff;
}




.water-meter-alert-text {
	color: red !important;
	font-weight: bold;
}

.water-meter-alert-reason {
	font-weight: bold;
}


.bootstrap-datetimepicker-widget td,
.bootstrap-datetimepicker-widget th {
    background-color: #fff ;
    color: #333 ;
}

.gm-style .gm-style-iw-c {
    background: #b9c9fe;
    padding: 0px;
}

.gm-style-iw-chr {
    height: 8px;
}


.shadow-box {
    -webkit-box-shadow: 10px 10px 8px 0px rgba(0,0,0,0.15);
    -moz-box-shadow: 10px 10px 8px 0px rgba(0,0,0,0.15);
    box-shadow: 10px 10px 8px 0px rgba(0,0,0,0.15);
}

.shadow-all {
    -webkit-box-shadow: 0px 0px 20px 20px rgba(0,0,0,0.15);
    -moz-box-shadow: 0px 0px 20px 20px rgba(0,0,0,0.15);
    box-shadow: 0px 0px 20px 20px rgba(0,0,0,0.15);
}

.basic-card {
    -webkit-box-shadow: 10px 10px 8px 0px rgba(0,0,0,0.15);
    -moz-box-shadow: 10px 10px 8px 0px rgba(0,0,0,0.15);
    box-shadow: 10px 10px 8px 0px rgba(0,0,0,0.15);
}

.no-shadow {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}



.basic-card > .card-body {
    padding: 0;
    background: #e8edff;
}

.basic-card .card-title {
    padding: 5px;
    background-color: #b9c9fe;
    font-weight: bold;
    color: #039;
    margin-bottom: 0;
}

.basic-card .card-text {
    color: #669;
    padding: 5px;
}

.basic-card .no-padding {
    padding: 0px;
}

.basic-card .no-margin {
    margin: 0px;
}

.card-title {
    font-weight: bold;
}


.mobile-menu-header {
    margin-left: 5px;
    margin-bottom: 10px;
    font-size: 1.5em;
    text-decoration: underline;
}

.archived {
    font-weight: bold;
    color: red;
}

.card-item-header {
    font-weight: normal;
    margin-bottom: .5rem;
    font-size: 1.0rem;
}

.card-item-text {
    margin-left: .25rem;
    color: #484848;
    min-height: 1rem;
}

.bi-lg {
    font-size: 1.25em;
}

.code-input {
    font-size: 1.5em;
    text-align: center;
    width: 2em;
}

.custom-switch.custom-switch-md .custom-control-label {
    padding-left: 2rem;
    /*padding-bottom: 1.5rem;*/
}

.custom-switch.custom-switch-md .custom-control-label::before {
    height: 1.5rem;
    width: calc(2rem + 0.75rem);
    border-radius: 3rem;
}

.custom-switch.custom-switch-md .custom-control-label::after {
    width: calc(1.5rem - 4px);
    height: calc(1.5rem - 4px);
    border-radius: calc(2rem - (1.5rem / 2));
}

.custom-switch.custom-switch-md .custom-control-input:checked ~ .custom-control-label::after {
    transform: translateX(calc(1.5rem - 0.25rem));
}

.ul-info-header {
    font-weight: normal;
    margin-bottom: .5rem;
    font-size: 1.0rem;
}

.ul-info-text {
    margin-left: .25rem;
    color: #484848;
    min-height: 1rem;
}


.ui-autocomplete {
	border: 1px solid gray !important;
    background: white !important;
}

.ui-widget.ui-widget-content {
	border: none;
}



.tippy-content {
    font-size: 12px;
}

.bi-lg::before {
    vertical-align: baseline;
}

.modal-dialog-scrollable .modal-body {
    overflow-x: hidden;
}
