@import url('https://fonts.googleapis.com/css2?family=Baloo+Paaji+2:wght@400;600&display=swap');

* {
    /* font-family    : 'Baloo Paaji 2', cursive; */
    font-family    : Arial, Helvetica, sans-serif;
    font-size: 8pt;
    margin         : 0;
    padding        : 0;
    box-sizing     : border-box;
    list-style     : none;
    text-decoration: none;
}

body {
    background: #f5f5f5;
    overflow  : hidden;
}

.wrapper {
    width : 100vw;
    height: 100vh;
}

.topbar {

    /* padding: 1px;
	margin-top: 5px;
	margin-bottom: 5px;
	background: linear-gradient(135deg, #F9BA32 0%, #A1D6E2 50%, #1995AD 100%);
	font: 12px Arial, Helvetica, sans-serif;
	font-size: 1.2VW;
	color: #002c54;
	font-weight: 100; */

    position   : fixed;
    top        : 0;
    left       : 0;
    width      : 100%;
    height     : 80px;
    background: linear-gradient(135deg, #9cecfb 0%, #65c7f7 50%, #0052d4 100%);
    box-shadow : 1px 0 2px rgba(0, 0, 0, 0.125);
    display    : flex;
    align-items: center;
    z-index    : 1500;
    
}

.topbar .header {
    font-family    : Arial, Helvetica, sans-serif;
    font-weight: 100;
    
    /* width          : calc(100% - 250px); */
    
    padding        : 0 25px;
    color          : #002c54;
    /* letter-spacing : 1px;
    text-transform : uppercase; */
    font-size      : 1.9vw;
}

.topbar .menu {
    /* width: calc(100% - 250px); */
    padding        : 0 25px;
    display        : flex;
    justify-content: space-between;
    align-items    : center;
    border-right   : 1px solid #f5f5f5;
    margin-right   : 10px;
}

.topbar .menuicon {
    font-size: 25px;
    cursor   : pointer;
    color    : white;
}

.topbar .menuicon:hover {
    color: #007dc3;
}


/* Now I have determined what the sidebar will look like for a responsive device */

.collapsesidebar .sidebar {
    width  : 70px;
    z-index: 1500;
}

.collapsesidebar .sidebar ul li a .text {
    display: none;
}

.sidebar {
    position  : fixed;
    top       : 80px;
    left      : 0;
    min-width : 220px;
    width     : auto;
    height    : 100%;
    /* background: #042331; */
    background: #65c7f7;
    z-index   : 1500;
    overflow-y: auto;
}

.sidebar_inner {
    height: 100%;
}

.sidebar a {

    height: 100%;
    width: 100%;
    display: block;
    padding: 7px;
    /* color: #0e94d4; */
    cursor: default;
    font-size: 16pt;
}

.sidebar a .icon {
    color         : navy;
    vertical-align: middle;
    cursor        : pointer;
    float: left;
    margin-top: 6px;
    /* text-shadow: 1px 1px white; */
    text-shadow: -1px -1px 0 white, 1px -1px 0 white, -1px 1px 0 white, 1px 1px 0 white;
    /* text-shadow: -2px -2px 0 white 2px -2px 0 white  -2px 2px 0 white 2px 2px 0 white ; */
}

.sidebar a .text {
    /* color         : #0052d4; 
    font-family   : sans-serif;*/
    margin        : 5px 10px;
    font-size: 10pt;
}

.sidebar a:hover {
    color     : #fff;
    background:#0052d4;
}

.text :hover{
    color: white;
}

.hidepanel {
    display: none;
}

.panel {
    position: relative;
    top     : 80px;
    width   : 100%;
    height  : 100%;
}

.collapse {
    position    : relative;
    float       : right;
    color       : white;
    font-weight : 700;
    margin-right: 5px;
    margin-top: 6px;
    cursor      : pointer;
}

#addlayers {
    background-color: #000;
    border-radius   : 50%;
    width           : 35px;
    height          : 35px;
    color           : white;
    font-size       : 25px;
    font-weight     : 700;
    text-align      : center;
    vertical-align  : middle;
    left            : 50%;
    top             : 50%;
    transform       : translate(-50%, -50%);
    position        : relative;
}

.parent {
    height  : 35px;
    position: relative;
}

.child {
    position: absolute;
}

.center {
    left     : 50%;
    top      : 50%;
    transform: translate(-50%, -50%);
}

.addlayers {
    width           : 35px;
    height          : 35px;
    left            : 50%;
    top             : 50%;
    transform       : translate(-50%, -50%);
    border-radius   : 50%;
    color           : white;
    background-color: white;
    font-size       : 25px;
    font-weight     : 700;
    text-align      : center;
    vertical-align  : middle;
}

.bottomline {
    border-bottom: 1px solid #A1D6E2;
}

.bottomline a {

    height: 100%;
    width: 100%;
    display: block;
    padding: 5px 2px;
    /* color: #0e94d4; */
    cursor: default;
}

.addlayers a:hover {
    background   : #0e94d4;
    border-radius: 50%;
}

strong {
    color: white;
}

#layertable {
    position        : absolute;
    display         : none;
    left            : 221px;
    top             : 80px;
    overflow-y      : auto;
  /* height          : 80px;  */
  height: auto;
    z-index         : 1500;
    background-color: #9cecfb;
}

/* @@@@@@@@@@@@@ table style @@@@@@@@@@@@@@@@@@*/
.layerlist {
    /* font-family    : Arial, Helvetica, sans-serif; */
    border-collapse: collapse;
    /* width       : 100%; */
}

.layerlist td,
.layerlist th {
    border : 1px solid #ddd;
    padding: 4px;
    font-size: 9pt;
}

.layerlist td{
    padding-left: 15px;
    color: #002c54;
}
/* #attrtable td{
    border-color: #0e94d4;
} */
.layerlist td a {
    text-decoration: none;
    color          : inherit;
    font-size: 9pt;

}

.layerlist tr:hover {
    background-color: #d9f3ff;
}

.layerlist th {
    padding        : 5px 0px 5px 10px;
    /* padding-bottom     : 10px; */
    text-align         : left;
    background-color   : #65c7f7;
    /* background-color: #0e94d4; */
    color              : #002c54;
}

#attrtable {
    width: 100%;
}

#attrtable th {
    padding: 5px 0px 5px 10px;
    /* text-align         : left; */
    background-color   :#65c7f7;
    color: #002c54;
    /* text-align: center;
    vertical-align: middle; */
    /* padding-left: 1px; */
}

#attrtable td {
    padding: 2x 0px 2px 8px;
    color: #002c54;
    font-size: 9pt;
}


.closebtn {
    position : absolute;
    color    : red;
    font-size: 20pt;
    right    : 25px;
    cursor   : pointer;
    z-index: 1000;
    margin-top: 5px;
}
/*@@@@@@@@@@@@@@@@@ Alert Message @@@@@@@@@@@@@@@@@@@@@@*/

.alertmsg {
    position: fixed;
    /* or absolute */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px;
    background-color: yellow;
    *background-color: #f44336;
    *color: white;
    width: auto;
    *width: 350px;
    height: auto;
    display: none;
    margin: auto;
    z-index: 1100;
    text-align: center;
    vertical-align: middle;
    border-radius: 10px;
    border: 1px groove #c7ea46;
}

#divmsg {
    text-align: center;
    vertical-align: middle;
    font-size: 14px;
    font-weight: 200;
    width: auto;
    margin-top: 5px;
    padding: 10px;
}

/*@@@@@@@@@@@@@@@ table @@@@@@@@@@@@@@@@@@@@@*/
#divdatapanel {
    position        : absolute;
    bottom          : 1px;
    right: 10px;
    z-index         : 1500;
    background-color: #ccc;
    display         : none;
    overflow        : auto;
    height: 45px;
}

/*@@@@@@@@@@@@@@@@*/

.basintooltip {
    border-radius   : 3px;
    padding         : 2px 2px;
    *background     : rgba(33, 33, 33, 0.7);
    background-color: #FFFF66;
    border          : none;
    display         : inline-block;
    box-sizing      : border-box;
    letter-spacing  : normal;
    *color          : #fff;
    font-family     : Verdana, Helvetica, Arial, 'sans-serif';
    font-size       : 12px;
    font-variant    : small-caps;
    position        : absolute;
    pointer-events  : none;
    white-space     : nowrap;
    text-align      : center;
    *text-transform : capitalize;
    text-transform  : lowercase;
    *margin         : 10px;
    z-index: 2000;
}

.legend {
    float      : left;
    font-family: "Verdana";
    font-size  : .7em;
}

.legend>.ibox {
    width        : 15px;
    height       : 15px;
    float        : left;
    margin-right : 8px;
    opacity      : 0.5;
    fill-opacity : 1;
    border-radius: 50%;
    display      : inline;
}

.info {
    padding      : 6px 8px;
    font         : 14px/16px Arial, Helvetica, sans-serif;
    background   : white;
    background   : rgba(255, 255, 255, 0.8);
    box-shadow   : 0 0 15px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    min-width    : 200px;
    opacity      : 0.95;
    color        : darkslategray;
}

.info br {
    content  : "";
    margin   : 1em;
    display  : block;
    font-size: 20%;
    outline  : red;

}

.label {
    font-size  : 8px;
    font-weight: bold;
    color      : #808080;
}

.inner {
    border    : 0.1em solid #000;
    position  : absolute;
    top       : 50%;
    left      : 50%;
    transform : translate(-50%, -50%);
    margin-top: -3px;
    opacity   : 0.4;
}

/*@@@@@@@@@@@@@@ Tab Control @@@@@@@@@@@@@@@@@@@@*/
.tabs {
    clear     : both;
    position  : relative;
    /* width  : 800px;
	margin       : 25px 0; */
    min-height: 440px;

}

.tab {
    float    : left;
    display  : none;
    width    : 700px;
    /* height: 450px;  */
}

.tab:first-of-type {
    display: inline-block;
}

.tabs-link {
    position: relative;
    top     : -14px;
    height  : 20px;
    left    : -40px;
}

.tabs #lableheader {
    position       : relative;
    color          : maroon;
    top            : -35px;
    height         : 20px;
    display        : inline-block;
    padding        : 5px;
    list-style-type: none;
    margin-right   : 10px;
}

/* 
.tab-link {
	background: #eee;
	display: inline-block;
	padding: 10px;
	border: 1px solid #ccc;
	margin-left: -1px;
	position: relative;
	list-style-type: none;
	left: 1px;
	top: 1px;
	cursor: pointer;
}

.tab-link {
	background: #f8f8f8;
} */

.content {
    background: white;
    position  : absolute;
    top       : 30px;
    left      : 0;
    right     : 0;
    bottom    : 0;
    width     : 380px;
    overflow-y: auto;
}

.tab:target {
    display: block;
}


.content table {
    width          : 98%;
    border         : 0px;
    border-collapse: collapse;
    border-spacing : 0px;
}

.content th {
    border-bottom : 2px double #ccc;
    border-top    : 2px double #ccc;
    font-size     : 12px;
    color         : maroon;
    text-align    : left;
    padding       : 5px 0;
    text-align    : center;
    vertical-align: middle;
}

.content td {
    font-size : 12px;
    font-style: normal;
    padding   : 5px;
}

/*@@@@@@@@@@@@@@@ chart @@@@@@@@@@@@@@@@@*/
.grid line {
    stroke         : lightgrey;
    stroke-opacity : 0.5;
    shape-rendering: crispEdges;
}

.grid path {
    stroke-width: 0;
}

.line {
    fill        : none;
    stroke      : royalblue;
    stroke-width: 3;
}

.line1 {
    fill        : none;
    stroke      : #FF5733;
    stroke-width: 2;
    clip-path   : url(#clip);
}

.line2 {
    fill            : none;
    stroke          : #f614ff;
    stroke-dasharray: 4, 2;
    clip-path       : url(#clip);
}

.line3 {
    fill            : none;
    stroke          : blue;
    stroke-dasharray: 4, 2;
    clip-path       : url(#clip);
}

.line4 {
    fill            : none;
    stroke          : green;
    stroke-width    : 2;
    stroke-dasharray: 3, 3;
    clip-path       : url(#clip);
}

.line5 {
    fill            : none;
    stroke          : red;
    stroke-width    : 2;
    stroke-dasharray: 5, 3;
    clip-path       : url(#clip);
}

.axis--x path {
    display: none;
}

/*@@@@@@@@@@@ leaflet @@@@@@@@@@@@@@@@*/
.leaflet-popup-content-wrapper,
.leaflet-popup-content {
    width           : auto !important;
    padding         : 3px;
    margin          : 5px;
    background-color: #eee;
}

.leaflet-container a.leaflet-popup-close-button {
    margin        : 4px 4px 0px 0px;
    color         : red;
    border-color  : blue;
    border-radius : 25%;
    text-align    : center;
    vertical-align: middle;
}

/* .leaflet-popup-content-wrapper {
	max-height: 415px;
} */

.dsiidc {
    fill          : blue;
    opacity       : 0.6;
    text-align    : center;
    vertical-align: middle;
    transform     : translate(-50%, -50%);
}

#divpopchart {
    position        : absolute;
    right           : 1px;
    bottom          : 1px;
    background-color: '#eee';
    z-index         : 1000;
    display         : none;
    border          : 1px ridge darkgrey;
}

#populationchart>svg {
    background-color: #eee;
}

#popheader,
#subheader {
    padding       : 5px;
    font-size     : 15px;
    text-align    : center;
    vertical-align: middle;
}

#subheader {
    font-size : 10px;
    font-style: italic;
}

#closebutton {
    position      : absolute;
    display       : inline;
    width         : 5%;
    font-size     : 20px;
    color         : red;
    font-weight   : bolder;
    cursor        : pointer;
    top           : 5px;
    right         : 5px;
    text-align    : center;
    vertical-align: middle;
}

.tbtoolTip {
    font-family  : "Helvetica Neue", Helvetica, Arial, sans-serif;
    position     : absolute;
    *display     : none;
    width        : auto;
    height       : auto;
    background   : none repeat scroll 0 0 #FFFF99;
    border       : 0 none;
    border-radius: 8px 8px 8px 8px;
    *box-shadow  : -3px 3px 15px #888888;
    color        : black;
    font         : 12px sans-serif;
    padding      : 5px;
    text-align   : center;
    z-index      : 1500;
}

.logo {
    /* position: absolute; */
	right: 20px;
    top: 5px;
	margin-bottom: 5px;
	margin-right: 5px;
	width: 68px;
	height: 68px;
	border: 2px solid #fff;
	-moz-box-shadow: 0px 6px 5px #ccc;
	-webkit-box-shadow: 0px 6px 5px #ccc;
	box-shadow: 0px 6px 5px #ccc;
	-moz-border-radius: 80px;
	-webkit-border-radius: 80px;
	border-radius: 80px;
    z-index: 1500;
}

table {
    /* Not required only for visualizing */
    border-collapse: collapse;
    width: 100%;
}

table thead tr th {
    /* Important */
    /* background-color: red; */
    position: sticky;
    z-index: 100;
    top: 0;
}
.watertable{
    padding: 16px 18px;
    font: 14px/16px Arial, Helvetica, sans-serif;
    background-color: white;
    box-shadow: 0 0 15px rgb(0 0 0 / 20%);
    border-radius: 5px;
    max-width: 400px;
    max-height: 550px;
    opacity: 0.95;
    color: darkslategray;
    top: 40px;
    overflow: auto;
    display: none;
}

.watertable > table{
    width: 1000px;
}

.headcol {
    position: absolute;
    left: 0;
    top: auto;
    /*border-top-width: 1px;
    only relevant for first row*/
    /*margin-top: -1px;
    compensate for top border*/
}
