body { 
	margin: 0; 
	padding: 0; 
}
#map { 
	position: absolute; 
	top: 0; 
	bottom: 0; 
	width: 100%; 
}

.logo-panel {
	position: absolute;
	top: 15px;
	left: 55px;
	width: 90px;
	height: 30px;
	opacity: 85%;
	box-shadow: black;
	transition: 0.2s;
}

.logo-panel:hover {
	opacity: 100%;
}

.map-overlay-container {
    position: absolute;
	background-color: transparent;
    top: 20px;
    right: 20px;
    border-radius: 5px;
    width: 450px;
    /* box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2); */
	opacity: 100%;
}

.map-overlay {
	font-size: 30;
	position: relative;
    padding: 2px;
    display: block; /* Initially visible */
	height : 340px;
	/* max-height: 300px; */
	background-color: rgb(255, 255, 255);
	opacity: 100%;
	/* overflow: auto; */
	/* transition: max-height ease-in-out 1s; */
}
 
.map-overlay h2{
	font-size: 20;
}
.map-overlay p {
	left: 2px;
	
	/* font-size: 12px; */
	font-family:  'Georgia', serif;
	font-style: normal;
	margin: 0 0 10px;
}

.opacity-slider {
    -webkit-appearance: none;  /* Override default CSS styles */
	appearance: none;
	width: 45%; /* Full-width */
	height: 7px; /* Specified height */
	border-radius: 3px;
	background: #e2e1df; /* Grey background */
	outline: none; /* Remove outline */
	opacity: 0.9; /* Set transparency (for mouse-over effects on hover) */
	-webkit-transition: .2s; /* 0.2 seconds transition on hover */
	transition: opacity .2s; 
}

#toggle-overlay-button {
    background-color: rgb(125, 65, 19);
	left: 0%;
	/* border-top-right-radius: 5px;
	border-top-left-radius: 5px; */
    border: 1px;
	/* border-radius: 5px; */
	position: relative;
	width: 100%;
    padding: 1px;
    cursor: pointer;
    outline: none;
    font-size: 28px;
	font-family: 'Georgia', serif;
	transition: all 0.3s;
	opacity: 100%;
	color: white; /* Add this line */
}

#toggle-overlay-button:hover {
	background-color:  rgb(154, 96, 8);
	-webkit-text-fill-color: rgb(255, 255, 255);
}

.dropdown-container {
    display: inline-block; /* Use flexbox to align items in a row */
    align-items: center; /* Vertically center items */
}

/* The switch - the box around the slider */
.switch {
	position: relative;
	display: inline-block;
	width: 20px;
	height: 12px;
	left: 5px;
	/* top: 5px; */
	align-items: center;
  }
  
  /* 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: #cfcebb;
	-webkit-transition: .4s;
	transition: .4s;
  }
  
  .slider:before {
	position: absolute;
	content: "";
	height: 9px;
	width: 9px;
	left: 1px;
	bottom: 2px;
	background-color: rgb(91, 0, 0);
	-webkit-transition: .4s;
	transition: .4s;
  }
  
  input:checked + .slider {
	background-color: #de5f16;
  }
  
  input:focus + .slider {
	box-shadow: 0 0 1px #de5f16;
  }
  
  input:checked + .slider:before {
	-webkit-transform: translateX(8px);
	-ms-transform: translateX(8px);
	transform: translateX(8px);
  }

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

#popup {
	/* position: initial; */
	z-index: 999;
	width: 200px;
	height: 170px;
	font-size: 12px;
	background-color: rgb(255, 255, 255);
	pointer-events: auto; /* Allows clicks inside the popup */
}

/* Add appropriate styling for the legend */
#legend{
	position: absolute;
	display: none;
	background-color: white;
	padding: 4px;
	margin: 3px;
	width: 350px;
	bottom: 18px;
	right: 2px;
}
/* Gradient container */
.legend-gradient {
	width: 100%;
	height: 15px;
	background: linear-gradient(to right, red, yellow, green);
	margin-bottom: 5px;
  }
  
  /* Individual color block in the gradient */
  .legend-color {
	display: inline;
	width: calc(100% / 60);
	height: 100%;
  }
  
  /* Labels */
  .legend-labels {
	display: flex;
	justify-content: space-between;
  }
  
  /* Styling for min, mid, and max labels */
  .legend-min,
  .legend-max,
  .legend-mid {
	font-size: 10px;
	color: #333;
  }

#myChart {
	position: absolute;
	display: none;
	z-index: 999;
	left: 6px;
	bottom: 6px;
	background-color: bisque;
	width:400px;
	height: 400px;
	/* max-height:500px; */
}

.legend-box {
	position: absolute;
	max-width: 300px;
	margin: 2px;
	background-color: rgb(255, 255, 255);
	bottom: 30px;
	left: 10px;
}