body, html{
    padding:0;
    margin:0;
    position:relative;
    height:100%;
}
body {
  overflow: hidden;
  line-height: 1.4;
  color: #444;
}

body, input, select, option, button {font-family: Avenir, 'Avenir Next LT Pro', Ebrima, Arial;}


.regular {
    font-weight: 400;
}
.bold {
    font-weight: 700;
}
.italic {
    font-style: italic;
}

a {
  color: #545454;
  font-weight: 600;
  text-decoration: none;
}
a:hover {
  color: #0b38e6;
  text-decoration: underline;
}
.content{
    overflow: hidden;
    width:100%;
    margin: auto;
    height:calc(100% - 50px);
}
h1{
	font-size:45px;
	padding:0px;
	line-height: 1;
	margin:0px;
}
.accordion {
    background-color: #545454;
    color: #fff;
    cursor: pointer;
    padding: 14px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    font-size: 0.97em;
    transform: translate3d(0, 0, 0); /* Force GPU acceleration for Safari: see: https://stackoverflow.com/questions/70138527 */
  }
.accordion:after {
  content: '+'; 
  font-size: 28px;
  color: #ffffff;
  line-height: 0.8;
  float: right;
  margin-left: 5px;
}
.active, .accordion:hover {
    background-color: #0b38e6;
}

.active:after {
  content: '−'; 
}


.panel {
    display: none;
    overflow: hidden;
    padding-bottom: 20px;
}

.legenddot{
  border-radius: 50%; 
  display: inline-block; 
  height: 10px; 
  margin-right: 5px; 
  width: 10px;
}
nav {
  height: 60px;
  overflow: hidden;
  background-color: #545454;
  z-index: 1100;
}
nav a {
  float: left;
  display: table-cell;
  color: #f2f2f2;
  padding-top: auto;
  padding-bottom: auto;
  padding-left: 13px;
  padding-right: 13px;
  height: 60px;
  line-height: 60px;
  text-decoration: none;
}
nav a.selected {
  background-color: #777;
}
nav a:hover {
  background-color: gray;
  color: #fff;
  text-decoration: none;
}
nav a.active {
  background-color: #B8BEC1;
  color: white;
}
nav .icon {
  display: none;
}
.main-title {
	font-size: 1em;
}
.main-title a {
	text-transform: none;
}
a.smaller {
	font-size: 0.85em;
	text-transform: none;
	line-height: 1.3;
}
.logo {
	display: none;
}
@media screen and (max-width: 760px) {
  nav a:not(:first-child) {display: none;}
  nav a.icon {
    float: right;
    display: block;
  }
}
@media screen and (max-width: 760px) {
  nav.responsive {position: relative;}
  nav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  nav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}
@media screen and (min-width: 880px) {
	.logo {
		width: 110px;
    height: 40px;
    line-height: 60px;
		display: inline;
    vertical-align: middle;
    margin-right: 3px;
	}
	nav a:first-child {
		margin-right: 15px;
	}
	a.smaller {
	font-size: 0.85em;
	text-transform: none;
	border-left: 1px solid #fff;
	line-height: 1.3;
	}
}
.rightbox {
  background-color: #fff;
  top: 60px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  padding: 20px;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  width: 280px;
  overflow: auto;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(6px);
}
.rightbox button.close-button {
  float: right;
  background-color: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
}
.rightbox h2 {
  margin: 0;
  padding: 0;
  padding-bottom: 20px;
  font-size: 1.2em;
}
.showrightbox {
  top: 70px;
  position: absolute;
  right: 15px;
  z-index: 2;
  width: 30px;
  height: 25px;
}
.showrightbox .float_button {
  cursor: pointer;
}

.float_button{
  height:35px;
  width:35px;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  background-color: #ffffff;
}

#map {
  background: linear-gradient(0deg, rgba(36,0,0,1) 56%, rgb(249 209 89) 62%, rgb(81 151 173) 80%, rgb(2 92 179) 95%);
  position: relative;
  width:100%;
  height:100%;
}

#searchbutton {
  background-color: white;
}

img.basemap {
  width: 25px;
  padding: 5px;
}

body .maplibregl-ctrl-geocoder.maplibregl-ctrl-geocoder--collapsed {
  width: 35px;
  height: 35px;
  box-shadow: 0 0 0 2px rgba(0,0,0,.1);
}

body .maplibregl-ctrl-geocoder--input {
  height: 35px;
}

body .maplibregl-ctrl-geocoder--result-address {
  font-weight: normal;
}


.cookiewarning{
   position: fixed; 
   bottom: 0; 
   left:0;
   padding:10px;
   width: 100%; 
   z-index:5000; 
   background-color:#0b38e6; 
   font-size: 12px; 
   color:#fff;
   display: none;
}
.cookiewarning a{
   color:#fff;
}
.cookiewarning a.hover{
   color:#fff;
}
.cookiewarning button {
  cursor: pointer;
  border: none;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
}
.button1 {
  background-color: white;
  color: black;
  width:50%;
  max-width: 500px;
  
}
.button2 {
  background-color: black;
  color: white;
  position: absolute;
  right:10%;
  width:20%;
  max-width: 200px;
}

#logos {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
#logos img {
  height: 100px;
  border: 0;
  flex-shrink: 0;
}

p.help-end {
    font-size: 0.9em;
    font-weight: normal;
}


#overlay {
  display: none;
  position: fixed; 
  width: 100%; 
  height: 100%; 
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5); 
  z-index: 10; 
  cursor: pointer;
}

/*
.mapboxgl-ctrl-geocoder{
  min-width: 289px !important;
}
*/

/* Sliders; see: https://refreshless.com/nouislider/examples/#section-styling */
.slider-styled{
  margin: auto;
  width: 87%;
}

.slider-styled .noUi-connect{
  background: #0b38e6;
}

.slider-styled {
  height: 10px;
  font-size: 0.83em;
}

.slider-styled .noUi-connect {
  background: gray;
}
.slider-styled .noUi-handle {
  height: 20px;
  width: 20px;
  top: -5px;
  right: -10px; /* half the width */
  border-radius: 10px;
  border-color: #aaa;
  cursor: ew-resize;
}

.slider-styled .noUi-handle:before, .slider-styled .noUi-handle:after {
  display: none;
}

.noUi-pips-horizontal {
  padding-top: 10px;
}

.noUi-marker-horizontal.noUi-marker-large {
  height: 10px;
}

.noUi-pips-horizontal .noUi-value-large {
  font-size: 0.9em;
}

/*
.noUi-pips-horizontal .noUi-value-large:first-child {
    text-align: left;
}

.noUi-pips-horizontal .noUi-value-large:last-child {
    text-align: right;
}
*/

/* Responsive image widths*/
.responsive {
  width: 100%;
  height: auto;
}

.helpbutton {
  cursor: pointer;
  background: transparent;
  border: none !important;
  min-width: 15px;
  min-height: 15px;
}

.fa-question-circle {
  color: #0b38e6;
}


/* Basemap selection */

#basemapform input {
  display: none;
  float: left;
}

#basemapform label {
  border: 1px solid #fff;
  position: relative;
  cursor: pointer;
  user-select: none;
}

#basemapform label::before {
  transition-duration: 0.4s;
  transform: scale(0);
}

#basemapform label img {
  height: 40px;
  width: 40px;
  border-radius: 5px;
  transition-duration: 0.4s;
  transform-origin: 50% 50%;
}

#basemapform :checked+label img {
  transform: scale(0.9);
  box-shadow: 0 0 20px #0060df;
  z-index: -1;
}


/* Legend */
.legend {
  width: calc(100% - 2px);
  text-align: center;
  display: table;
  table-layout: fixed;
  font-size: 10px;
  min-height: calc(18px + 18px + 2px);
}

.l_r{
  display: table-row;
}

.lb{
  display: table-cell;
}

.legend div span {
  display: inline-block;
  height: 18px;
  width: 100%;
  border: 1px solid black;
}

.legend div span input[type="checkbox"].legendfilter {
  display: block;
  text-align: left;
  opacity: 0.65;
}


/* Basemap Control */
#basemapcontrol {
  display: none;  /* Hidden by default */
  background-color: #fff;
  top: 260px;
  max-height: calc(100% - 150px);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  padding: 20px;
  position: absolute;
  left: 60px;
  z-index: 5;
  width: 230px;
  overflow: auto;
}

#basemapcontrol:hover {
  display:block;
}

#basemapcontrol h3 {
  font-size: 16px;
  margin-top: 0;
  padding-top: 0;
  margin-bottom: 20px;
}




/* Checkbox slider */
 /* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #e9e9ed;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 15px;
  width: 15px;
  left: 2px;
  bottom: 3px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #0b38e6;
}

input:focus + .slider {
  box-shadow: 0 0 1px #9c9c9c;
}

input:checked + .slider:before {
  -webkit-transform: translateX(20px);
  -ms-transform: translateX(20px);
  transform: translateX(20px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 20px;
}

.slider.round:before {
  border-radius: 50%;
} 

/* Map popup */

/* Popups (adjustments to emulate Leaflet.js) - see https://github.com/mapbox/mapbox-gl-js/issues/8368 */
@keyframes fadein {from {opacity: 0;} to {opacity: 1;}}
.maplibregl-popup {animation: fadein 0.2s;}
.maplibregl-popup-content {max-width: 300px; min-width: 50px; border-radius: 12px; padding: 13px 19px; box-shadow: 0 3px 14px rgba(0,0,0,0.4); min-width: 300px;}
.maplibregl-popup-close-button {font-size: 16px; font-family: Tahoma, Verdana, sans-serif; color: #c3c3c3; font-weight: bold;}
.maplibregl-popup-close-button:hover {color: #999; background-color: white; border-top-right-radius: 12px;}
body .maplibregl-map {line-height: 1.4;}


.layerpopup {
  min-width: 350px;
  max-width: 400px;
  max-height: 340px;
}

.layerpopup .maplibregl-popup-content {
  overflow-y: auto;
}

.layerpopup table th, .layerpopup table td {
  padding: 2px 4px;
}

.layerpopup table th {
  text-align: left;
}

.layerpopup table td {
  text-align: right;
}

.layerpopup table.left td {
  text-align: left;
}

/* Bigger Buttons */
.maplibregl-ctrl-group button {
  height: 35px;
  width: 35px;
}

.externallink {
  white-space: nowrap;
}

/* Checkbox proxies */
.showlayer.hidden {display: none;}


/* Modals */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000; /* Sit on top */
  left: 50px;
  top: 50px;
  bottom: 50px;
  right: 50px;
  max-height: 650px;
  padding: 20px;
  overflow: auto; /* Enable scroll if needed */
  background-color: #fefefe;
  animation-name: fadeIn;
  animation-duration: 0.4s;
  max-width: 800px;
}

/* Mobile responsive modal */
@media screen and (max-width: 760px) {
  .modal {
    left: 20px;
    right: 20px;
    top: 20px;
    bottom: 20px;
    max-height: none;
    padding: 15px;
  }
}

/* Prevent images from overflowing the box size */
.modal img {
  max-width: 100%;
}

/* The Close Button */
.modal-close {
  color: black;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.modal-close:hover, .modal-close:focus {
  text-decoration: none;
  cursor: pointer;
}

.modal-header .modal-close {
  color: white;
}

.modal-header {
  padding: 2px 16px;
  background-color: #717e82;
  color: white;
}

/*.modalrow {
  display: flex;
}

.modalcolumn {
  flex: 49%;
} */

.modalcolumn {
  float: left;
  width: 49%;
}

/* Clear floats after the columns */
.modalrow:after {
  content: "";
  display: table;
  clear: both;
}

/* Add Animation */
@-webkit-keyframes slideIn {
  from {bottom: -300px; opacity: 0} 
  to {bottom: 0; opacity: 1}
}

@keyframes slideIn {
  from {bottom: -300px; opacity: 0}
  to {bottom: 0; opacity: 1}
}

@-webkit-keyframes fadeIn {
  from {opacity: 0} 
  to {opacity: 1}
}

@keyframes fadeIn {
  from {opacity: 0} 
  to {opacity: 1}
}

.chart-wrapper {
  width: 100%;
  clear: both;
  margin: 30px 0;
  padding: 30px 0;
  border-top: 1px solid #eee;
}
.chart-wrapper h4 {
  margin-top: 0;
  padding-top: 0;
}
.chart-container {
  height: 400px;
  width: 100%;
}
.chart-text {
  width: 100%;
  padding-right: 0;
}

@media screen and (min-width: 56.25rem) {
  .chart-container {
  position: relative;
  float: right;
  height: 400px;
  width: 50%;
  }
  .chart-text {
  position: relative;
  float: left;
  width: 45%;
  padding-right: 4%;
  }
}

/**tab content wrapper
.wrapper {
	width: 100%;
}
.chart-container {
	height: 400px;
	width: 100%;
}
.chart-text {
	width: 100%;
	padding-right: 0;
	}

@media screen and (min-width: 56.25rem){
	.chart-container {
		position: relative;
		float: right;
		height: 400px;
		width: 50%;
	}
	.chart-text {
		position: relative;
		float: left;
		width: 50%;
		padding-right: 4%;
	}
} **/


/* Tabs in the modal */
 /* Style the tab */
.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
}

/* Style the buttons that are used to open the tab content */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
	font-family: Raleway, sans-serif;
	font-size: 1em;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #ccc;
  content: "";
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 0 16px 8px 16px;
  border: 1px solid #ccc;
  border-top: none;
} 

.tabcontent:after {
  content: "";
  display: table;
  clear: both;
}

/**table styles**/
table, th, td {
    border: 1px solid #dedede;
}
table {
    border-collapse: separate;
    border-spacing: 0;
    border-width: 1px 0 0 1px;
    margin: 0 0 1.75em;
    table-layout: fixed;
    /*width: 100%; */
}
td, th {
	vertical-align: top;
	font-size: 0.9em;
	line-height: 1.4;
}

table.filters {width: 100%; border-collapse: collapse; border: 0; margin: 0; padding: 0;}
table.filters td {border: 0; padding: 10px 0 4px; border-bottom: 1px solid #e9e9e9; vertical-align: top; text-align: left;}
table.filters tr:first-child td {border-top: 1px solid #e9e9e9;}
table.filters td:first-child {width: 5.5em; height: 3.5em; font-size: 0.75em; line-height: 1.2;}

/* Layer-specific controls */
div.layertools {opacity: 0.2; pointer-events: none;}
div.layertools.enabled {opacity: 1; pointer-events: auto;}

/* License note */
p.license {font-size: 0.77em; color: gray;}

/* Beta */
#betabanner {display: inline-block; margin-top: 14px; height: 25px; line-height: 25px; color: #00437d; background-color: #d9eeff; padding: 2px; border: 1px solid rgba(0, 101, 189, 0.8); margin-left: 10px; font-weight: normal;}