.tutgroup {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    margin: auto;
}
   .dropnavf {
        margin: 0px 15px;
        width: 10vw;
        padding: 0;
    }

    .dropnav li {
    }
.leaflet-div-icon {
  width: "auto";
  margin: "auto";
  white-space: nowrap;
  background-color: transparent;
  border: none;
}
.leaflet-div-icon p {
  color: black;
  font-size: 1.0rem;
  font-weight: 700;
  text-shadow: -1px 0 0.05em white, 0 1px white,
      1px 0 white, 0 -1px white 
  /*text-shadow: white 0.1em 0.1em 0.05em*/
   }

.leaflet-popup-tip-container {
  display: none;
}

.leaflet-popup-content-wrapper {
  width: 50vw;
  min-Width: 400px;
  /*max-Height: 50vh;*/
  overflow: clip;
  /*height: 70vh;*/
  /*min-height: 400px;*/
}

.leaflet-popup-content {
  margin: 0;
  /*height: 100%;
  max-Height: 50vh;*/
  max-Height: 65vh;
  height: 65vh;
  overflow: clip;
}

.leaflet-popup {
  width: 50vw;
  max-Width: 50vw;
  overflow: clip;
}

path.leaflet-interactive {
  outline: none;
}

#main {
  /* transition: margin-left .5s;
      height: 50%;
      position: relative; */
  display: flex;
  flex-direction: column;
}

/* Adjustments for wider screens */
@media only screen and (min-width: 768px) {
  #main {
    flex-direction: row;
  }
}

/* Base styles are for mobile-first design, so the default styles without media queries will be for mobile views */

/* Adjustments for larger screens/tablets, typically above 768px */
@media only screen and (min-width: 768px) {
  /* You can modify specific styles for elements on larger screens here. */
  #lside,
  #rside {
    font-size: 1rem; /* Adjust text size or other properties if necessary */
  }
  #map {
    width: 80%; /* Adjust map width or other properties if necessary */
    margin: auto;
  }
}

/* Adjustments for larger screens/desktops, typically above 992px */
@media only screen and (min-width: 992px) {
  #lside,
  #rside {
    font-size: 1.2rem; /* Adjust text size or other properties if necessary */
  }
  #map {
    width: 90%; /* Adjust map width or other properties if necessary */
  }
}

/* Adjustments for extra large screens/large desktops, typically above 1200px */
@media only screen and (min-width: 1200px) {
  #lside,
  #rside {
    font-size: 1.4rem; /* Adjust text size or other properties if necessary */
  }
  #map {
    width: 95%; /* Adjust map width or other properties if necessary */
  }
}

/* --------- =========================  Map Navbar  ========================= --------- */
.navbar-map {
  background-color: #454624;
  font-family: "Josefin Sans", sans-serif;
  font-size: 1rem;
  color: #fefbec;
}

.logo-wrap {
  display: inline-block;
  /* padding: 0.75rem 0.75rem 0.75rem 0; */
  height: 100%;
}

#map {
  max-height: 100%;
  height: 100dvh;
  position: fixed;
  max-width: 100%;
  width: 100vw;
  /* top: 0; */
  left: 0;
  margin: 0 auto;
  display: block;
  color: #323232;
}

.zoom {
  /* height: 50px; */
  width: 250px;
  position: relative;
  top: 10px;
  left: 60px;
  background-color: black;
  z-index: -1;
  display: inline-block;
  transition: 0.5s;
}

.zoomlvl {
  color: white;
  top: 10px;
  left: 30px;
  position: relative;
  text-align: left;
  font-size: 26px;
  display: none;
  z-index: 999;
}

.leaflet-control-zoom {
  transition: 0.5s;
  /* margin-top: 10px; */
  left: 10px;
}

/* --------- =========================  Left side obj  ========================= --------- */

.lside {
  height: 90vh;
  width: 0;
  position: fixed;
  z-index: 99;
  left: 0;
  background-color: #565637;
  overflow-x: hidden;
  transition: 0.5s;
  /* padding-top: 60px; */
   /*border: 8px black solid; */
   display: flex;
   flex-direction: column;
}

.lside a {
  /*padding: 8px 8px 8px 32px;*/
  text-decoration: none;
  /*font-size: 12px;*/
  /*color: #818181;*/
  display: block;
  transition: 0.3s;
  color: white;
}

.lside a:hover {
  color: #f1f1f1;
}

/* .lclosebtn {
    font-size: 36px;
    position: absolute;
    /* padding: 8px 8px 8px 174px; 
    color: #818181;
    text-decoration: none;
    left: 0;
  } */

.lbtn {
  font-size: 20px;
  cursor: pointer;
  background-color: #fefbec;
  color: white;
  padding: 6px 10px;
  padding-right: 14px;
  border: 1px #c0bd95 solid;
  z-index: 99;
  position: fixed;
  /*border-radius: 50% 0% 0% 50%;*/
  top: 50%;
  transition: 0.5s;
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;

  left: 0;
}

.lbtn:hover {
  border: 3px #e8d20e solid;
}

/* --------- =========================  Right side obj  ========================= --------- */

.rside {
  height: 89.5%;
  width: 0;
  position: fixed;
  z-index: 99;
  /* left: 0;  */
  right: 0;
  background-color: #fefbec;
  overflow-x: hidden;
  /*overflow-y: hidden;*/
  transition: 0.5s;
  padding: 0px;
  /* padding-top: 60px; */
  /* border: 0px black solid; */
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.rside::-webkit-scrollbar {
  display: none;
}

.rside a {
  /*padding: 8px 8px 8px 32px;*/
  text-decoration: none;
  font-size: 12px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.rside a:hover {
  color: #f1f1f1;
}

/* .rclosebtn {
    font-size: 36px;
    position: absolute;
    /* padding: 8px 8px 8px 174px; 
    color: #818181;
    text-decoration: none;
    right: 0;
  } */

.rbtn {
  font-size: 20px;
  cursor: pointer;
  background-color: #fefbec;
  color: white;
  padding: 6px 12px;
  padding-left: 14px;
  border: 1px #c0bd95 solid;
  z-index: 99;
  position: fixed;
  /*border-radius: 50% 0% 0% 50%;*/
  top: 50%;
  right: 0;
  transition: 0.5s;
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
}

.rbtn:hover {
  border: 3px #e8d20e solid;
}

/* --------- =========================  headings  ========================= --------- */

/* --------- =========================  lside headings  ========================= --------- */

.rtext {
}

.ltext h4 {
  margin: 5px 0px 0px;
  color: #6c6a48;
  font-size: 30px;
}

.ltext h5 {
  margin: 5px 0px 35px;
  font-size: 15px;
  font-family: revert;
}

/* --------- =========================  rside headings  ========================= --------- */

.rtext {
  height: 39px;
  min-height: 39px;
  text-align: center;
  vertical-align: middle;
  line-height: 39px;
}

.rtext h4 {
  margin: 5px 0px 0px;
  color: #6c6a48;
  font-size: 30px;
}

.rtext h5 {
  margin: 5px 0px 0px;
  font-size: 15px;
  font-family: revert;
}

#information {
  color: #454624;
  font-size: 16px;
  font-weight: 700;
}

#information h3 {
  padding-left: 10px;
  padding-top: 10px;
  font-size: 35px;
  font-family: "Josefin Sans", sans-serif;
  font-weight: bold;
}

#noinformation::after {
  content: ""; /* Creates an empty box */
  display: block; /* Makes it a block level element */
  width: 100%; /* Full width of the parent */
  height: 10px; /* Desired height */
  background-color: #db932f; /* Color of the line */
}

#stories {
  font-size: 16px;
  padding-left: 10px;
  font-weight: 700;
  /*font-weight: bold;*/
  color: white;
  background-color: #db932f;
  font-family: "Josefin Sans", sans-serif;
  /* color: #454624; */
}
#information {
  font-size: 16px;
  padding-left: 10px;
  color: white;
  /*height: 30px;*/
  background-color: #db932f;
  font-family: "Josefin Sans", sans-serif;
  font-weight: 700;
  /* color: #454624; */
}
#places {
  font-size: 16px;
  padding-left: 10px;
  color: white;
  background-color: #db932f;
  font-family: "Josefin Sans", sans-serif;
  font-weight: 700;
  /* color: #454624; */
}

#placesBox {
 /** margin-bottom: 3rem;*/
 height: 25%;
 padding-left: 1vw;
}
#placesBox ul {
 /** margin-bottom: 3rem;*/
 height: 100%;
 overflow: auto;
}

#placesBox li {
  list-style-type: none;
  margin-top: 5px;
  margin-bottom: 5px;
  color: #454628;

  font-family: Josefin Sans;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 200%; /* 24px */
  text-decoration-line: underline;
}

#storiesBox {
  display: grid;
  grid-template-rows: repeat(auto-fit, minmax(60px, 1fr));
  grid-auto-flow: column;
  min-height: 150px;
  gap: 10px;
  place-items: center;
  width: 100%;
  overflow-x: auto;
  padding: 10px;
}

#mrtitle {
  padding-top: 10px;
  margin-left: 10px;
  margin-bottom: 0;
  color: #454628;
  font-family: Josefin Sans;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}

/* --------- =========================  lside headings  ========================= --------- */
#navigation {
  /* font-size: 40px; */
  text-align: center;
  color: #ddd9cb;
  border-bottom: 5px solid #b7b071;
}

.accordion-button {
  background-color: #dc932f;
  border-width: 0;
  color: #e6e7cb;
  /*  border-bottom-left-radius: 15px !important;*/
  /*  border-bottom-right-radius: 15px !important;*/
  border-color: #dc932f;
  padding-top: 10px;
  padding-bottom: 10px;
  margin-top: 1em;
  text-align: center;
  position: relative;
  display: grid;
  color: #fefbec;

  font-family: Josefin Sans;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  /*border-radius: 0px 0px 19px 19px !important;*/
}

.accordion-button::after {
  display: none;
}

.arrow-icon {
  transition: all 0.5s;
  position: absolute;
  right: 24px;
  top: 10px;
}

.accordion-button > .arrow-icon {
  transform: rotateX(180deg);
}

.accordion-button:not(.collapsed) {
  color: #f1f2d8;
  background-color: #d7902d;
}

.accordion-button:not(.collapsed) > .arrow-icon {
  transform: rotate(0deg);
}

/* .accordion-button:is(.collapsed) {
} */

.accordion-item {
  background-color: transparent;
/*
  border: none;
  display: flex;
  flex-direction: column;
  border: 8px solid red;
*/
  min-height: 0px;
  width: 100%;
  /*border: 8px solid red;*/
  box-sizing: border-box;
}

.accordion {
  --bs-accordion-border-color: transparent;
  /*heightstyle: "content";*/
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  /*border: 8px solid blue;*/
}

.accordion-header {
}
.accordion-body {
  overflow: hidden;
  min-height: 0;
  height: 100%;
  max-height: 100%;
  transition: max-height 0.3s ease;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  /*border: 8px solid green;*/
}

 .accordion-collapse {
  height: 100%;
  min-height: 0;
}

/* --------- =========================  Slider  ========================= --------- */


.range {
  position: absolute;
  bottom: 30px;
  left: 55vw;
  transform: translateX(-50%);
  height: 50px;
  width: 60%;
  max-width: 80vw;
  border-radius: 10px;
  padding: 0px;
}

.range .sliderValue {
  position: relative;
  width: 100%;
}

/* slider value appears when slider button is moved */
.range .sliderValue span {
  margin-top: -120px;
  height: 25px;
  width: 50px;
  color: #454624; /* color of the slider value inside the bubble */
  font-weight: 650;
  font-size: 0.95rem;
  text-align: center;
  line-height: 45px;
  padding: 0px;
  position: absolute;
  left: 0;
  top: 55px;
  transform: scale(0);
  transform-origin: bottom;
  opacity: 0.7;
  transition: opacity 0.2s ease-in-out;
}

.range .sliderValue span.hover,
.range .sliderValue span.hover:after {
  opacity: 1; /* Full opacity on hover */
}

/* slider value background appears when slider button is moved*/
.range .sliderValue span:after {
  position: absolute;
  content: "";
  height: 45px;
  width: 45px;
  background: #c0bd95; /* color of the bubble behind the slider value*/
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  z-index: -1;
  border: 3px solid #fff;
  border-top-left-radius: 50%;
  border-top-right-radius: 50%;
  border-bottom-left-radius: 50%;
  opacity: 0.7;
}

.range .sliderValue span.show {
  transform: scale(1);
}

.field {
  /*left: 10%;*/
  width: 85%;
}

.range .field {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30%;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  z-index: -3;
  opacity: 0.9;
  transition: opacity 0.2s ease-in-out;
  /* padding: 10px; */
  /* display: inline-block; */
}
.range:hover .field:hover {
  opacity: 1;
}

.field input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 5px;
  max-height: 5px;
  background: #454624; /* Color of the track the slider runs on */
  outline: none;
  transition: opacity 0.2s;
}

.field input[type="range"]::-moz-range-thumb {
  width: 40px;
  height: 40px;
  background: url("../img/YearSliderHandle.5fb569cc69ca.png") no-repeat center;
  background-size: contain;
  cursor: pointer;
  border: 0;
}

.field input[type="range"]::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  margin-top: 0px;
  width: 100%;
  height: 5px;
  /*background: #454624; Color of the track */
  border-radius: 10px; /* Rounded corners */
  cursor: pointer;
}

.field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
  margin-top: -20px;
  width: 40px;
  height: 40px;
  background: url("../img/YearSliderHandle.5fb569cc69ca.png") no-repeat center;
}

.field .ticks {
  display: flex;
  justify-content: space-between;
  position: absolute;
  width: calc(100% - 20px); /* Account for padding */
  padding: 0 10px;
  bottom: 0px;
}

.field .ticks .tick {
  position: relative;
  width: 2px;
  height: 10px;
  background-color: #454624;
}

.field .ticks .tick::before {
  content: attr(data-year);
  position: absolute;
  bottom: -19px;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(10px, 1vw, 14px);
  font-weight: 650;
}

.field .ticks .tick:first-child::before {
  transform: translateX(-50%);
}

.field .ticks .tick:last-child::before {
  transform: translateX(-50%);
}

.hide-tick-text::before {
  display: none; /* Hide the content */
}

/* .bubble {
    margin-top: 30px;
    background: #c0bd95;;
    color: white;
    padding: 4px 12px;
    position: absolute;
    border-radius: 4px;
    left: 50%;
    transform: translateX(-50%);
  }
  .bubble::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 2px;
    background: #c0bd95;
    top: -1px;
    left: 50%;
  } */

/* .chck {
    z-index: 999;
    position: absolute;
    top: 850px;
    left: 125px;
    font-size: 25px;
  }
  
  .slidecontainer {
    z-index: 9;
    position: relative;
    top: 800px;
    left: 15%;
    width: 70%;
  }
  
  .slidecontainer p {
    text-align-last: center;
    font-size: 31px;
    margin: 6px;
    font-weight: bold;
  }
  
  .slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 15px;
    border-radius: 5px;
    background: #6d6c6c;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
  }
  
  .slider:hover {
    opacity: 1;
  }
  
  .slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #193027;
    cursor: pointer;
  }
  
  .slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #04AA6D;
    cursor: pointer;
  } */

/* --------- =========================  Drop Down Menu  ========================= --------- */

.special-dropdown .dropdown-toggle {
  background-color: #c0bd95;
  color: white;
  border: 1px #c0bd95 solid;
  font-size: 10px;
  padding: 10px 15px;
  transition: 0.5s;
}

#special-dropdown .btn.btn-secondary.dropdown-toggle {
  border-radius: 15px;
}

.special-dropdown .dropdown-toggle:hover,
.special-dropdown .dropdown-toggle:focus {
  background-color: #444;
  border: 1px #444 solid;
  color: white;
}

/* --------- =========================  Icons  ========================= --------- */
.rbtn img {
  background-color: #fefbec;
}

.lbtn img {
  width: 50px;
  height: 50px;
  margin: 0px;
}

.modal-header img {
  width: 85px;
  height: 75px;
}

.modal-paragraph {
  font-size: clamp(8px, 1.2vw, 12px);
  padding-left: 0.2vw;
  padding-right: 0.2vw;
  margin-bottom: 0.5vh;
}

/* --------- =========================  Other  ========================= --------- */

.leaflet-control-zoom {
  left: 30px !important;
}

.container-fluid {
  font-size: x-large;
  height: 100%;
}

.navbar-brand {
  /*padding-top: 10px;*/
  /*padding-bottom: 0.625rem;*/
  margin-left: 1rem;
  padding: 0px;
  height: 90%;
  padding-left: 0px;
  padding-right: 0px;
  border: 0px;
}

.navbar-brand a {
  padding: 0px;
  margin: 0px;
  border: 0px;
}

/* --------- =========================  Modal  ========================= --------- */

/* General Modal Content Styling */
.modal-content {
  transform: rotateX(15deg) translateY(250px) scale(1.5);
  margin: 1vh auto;
  background-color: #faf8f8;
  left: -20px;
  position: relative;
  border-radius: 15px;
  transition: all 0.3s;
  width: 38vw; /* updated to 80% for better mobile view */
  max-width: 50vw; /* setting a max-width to ensure it's not too wide on large screens */
  /*height: auto; allowing the height to adjust based on content */
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  animation-name: animatetop;
  animation-duration: 0.4s;
  font-size: 1rem; /* I changed font to font-size assuming you intended to specify the size */
  border: 1px solid lightgreen;
  box-shadow: 0 0 0 3px white, 0 0 0 5px lightblue; /* This creates the second border effect */
  padding: 5px;
  overflow: hidden;
}

/* Media query for smaller screens */
@media (max-width: 768px) {
  .modal-content {
    font-size: 0.9rem; /* adjust font size on smaller screens */
  }
}

/* Remove separation lines */
.modal-header {
  height: 30%;
  overflow: clip;
}
.modal-footer {
  border: none;
  font-size: 0.5rem;
  overflow: hidden;
  height: 35%;
}

/* Modal Button General Styling */
.modal-button {
  border-radius: 15px;
  font-family: "Josefin Sans", sans-serif;
  padding: 10px 20px; /* adding some padding for better aesthetics */
}

/* Specific Button Styling */
.custom-skip {
  background-color: #c0bd95;
  color: white;
}

.custom-start {
  background-color: #454624;
  color: white;
}

.custom-next {
  background-color: #c0bd95;
  color: white;
}

.custom-exit {
  background-color: #c0bd95;
  color: white;
}

/* Position 'Skip' button to the bottom left corner */
.modal-footer {
  display: flex;
  justify-content: space-between;
}

.single-button {
  justify-content: flex-end;
}

.modal-backdrop {
  display: none !important;
  z-index: 998 !important;
}

.modal {
  /*z-index: 999 !important;*/
  position: fixed;
  width: 100%; /* occupies 90% of the screen width */
}

.modal-header {
  text-align: center;
}

.imodal-body {
  text-align: center;
}

.modal-body img {
  padding-bottom: 10px;
}

/* --------- =========================  Bandaids  ========================= --------- */
.corner-image {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 45px;
  height: auto;
  z-index: 10;
}

/* --------- =========================  Modal Box 3  ========================= --------- */
.modal-content-wrapper {
  display: flex;
  align-items: center; /* Vertically center the items */
}

.modal-image {
  margin-right: 20px;
  margin-left: 20px;
}

.symbolconfig {
  min-height: 0px;
  height: 100%;
  width: 100%;
  overflow: hidden;
  /*display: inline;*/
  padding-top: 10px;
  display: flex;
  flex-direction: column;
}
.panelconfig {
  height: 33%;
  width: 100%;
  /*border: solid;*/
  /* background-color:#CCC; */
  /*overflow-y:auto;*/
 /* float: left;*/
  /*position: relative;*/
  /*margin-left:-5px;*/
  /*border: 2px solid black;*/
  cursor: pointer;
  margin: 0;
 white-space: pre-wrap;
  white-space: -moz-pre-wrap;
  white-space: -pre-wrap;
  white-space: -o-pre-wrap;
  word-wrap: break-word;
}

.panelconfig ul {
   padding-bottom: 0;
   padding: 0;
}

.overlayconfig {
  height: 100%;
  width: 118%;
  /* background-color:#CCC; */
  /*overflow-y:auto;*/
  /*float: left;*/
  position: inline-block;
  margin-left: -15px;
  margin-right: 0;
  padding: 0;
  /*border: 2px solid black;*/
}

.oul {
   padding: 0;
   width: 100%;
}

.navtreeconfig {
  height: auto;
  width: 250px;
  /* background-color:#CCC; */
  /*overflow-y:auto;*/
  float: left;
  position: relative;
  margin-left: -5px;
  /*border: 2px solid black;*/
}

.infoconfig {
  min-height: 42vh;
  height: 50%;
  font-size: 35px;
  font-family: "Josefin Sans", sans-serif;
  /* background-color:#CCC; */
  overflow-y: auto;
  float: left;
  position: relative;
  padding: 0px;
  /*margin-left:-5px;*/
}

.infopanel-label {
  color: #454628;
  font-family: Josefin Sans;
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
}

/* --------- =========================  Nav-bar Dropdown Display  ========================= --------- */
.nav-link.dropdown-toggle {
  border: 2px solid transparent;
  padding: 5px 15px;
  border-radius: 25px;
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-link.dropdown-toggle.clicked,
.nav-link.dropdown-toggle:hover,
.nav-link.dropdown-toggle:focus {
  border: 2px solid #ffdb58;
  background-color: #ffdb58;
  color: black;
}

.dropdown-menu {
  position: absolute;
  transform: translateX(-50%) !important;
  left: 50% !important ;
  top: calc(100% + 20px) !important;
  background-color: black;
  z-index: 2000000;
  min-width: 280px;
  max-width: 280px;
  width: 280px;
  overflow-x: hidden;
}

/* Fix dropdown menu item text handling to prevent flickering */
.dropdown-menu li a {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  padding: 8px 12px;
  display: block;
  color: white;
  text-decoration: none;
}

.dropdown-menu li a:hover {
  background-color: #333;
  color: white;
}

/* Ensure dropdown menu has consistent width */
.dropdown-menu.show {
  width: 280px !important;
  min-width: 280px !important;
  max-width: 280px !important;
}

/* Override inline styles and ensure consistent dropdown behavior */
#placeDropdownMenu,
#regionDropdownMenu,
#basinDropdownMenu,
#projectDropdownMenu {
  width: 280px !important;
  min-width: 280px !important;
  max-width: 280px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  max-height: 82vh !important;
}

/* Ensure dropdown items don't cause width changes */
#placeDropdownMenu li,
#regionDropdownMenu li,
#basinDropdownMenu li,
#projectDropdownMenu li {
  width: 100% !important;
  max-width: 100% !important;
}

#placeDropdownMenu li a,
#regionDropdownMenu li a,
#basinDropdownMenu li a,
#projectDropdownMenu li a {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.nav-item.dropdown {
  position: relative;
}

.nav-item.dropdown.clicked::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 10px;
  background: #ffdb58;
}

.nav-item.dropdown.clicked::after {
  content: "";
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: #ffdb58;
  border-radius: 50%;
}

.nav-link.dropdown-toggle::after {
  display: none;
}

.nav-item.dropdown.item-selected::before,
.nav-item.dropdown.item-selected::after {
  top: calc(100% + 10px);
}

.nav-item.dropdown.item-selected::before {
  top: calc(100%);
  height: 10px;
}

.nav-item.dropdown.item-selected::after {
  top: calc(100% + 10px);
}

.selected-value-container {
  display: none;
  position: absolute;
  top: calc(100% - 70px);
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  z-index: 8000;
}

.selected-value {
  padding: 5px 15px;
  border-radius: 20px;
  background-color: #f2f2f2;
  font-size: 1.1rem;
  border: 1px solid #ccc;
  color: #454624;
  transition: 0.3s ease;
  font-weight: 600;
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.1);
}

/* Transition effect for hover */
&:hover {
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1); /* Slightly bigger shadow on hover */
  background-color: #e8e8e8; /* Slightly darker color on hover */
}

.selected-value:hover {
  background-color: #f7f7f7;
  cursor: pointer;
}


#boxbox {
   position: fixed;
   left: 50vw;
   margin-left: -75px;
}

#global-button {
  padding: 10px;
  position: static;
  /*left: 55vw;*/
  background-color: #fefbec;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%; /* Makes the button perfectly circular */
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  font-size: 20px;
  display: inline-block;
  margin-top: 15px;
  color: #db932f;
  width: 50px; /* Equal width and height will ensure it stays circular */
  height: 50px;
  line-height: 20px; /* Vertically centers the icon in the button */
  text-align: center; /* Horizontally centers the icon in the button */
}

#zoom-button {
  padding: 10px;
  position: static;
  left: 45vw;
  background-color: #fefbec;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%; /* Makes the button perfectly circular */
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  font-size: 20px;
  display: inline-block;
  margin-top: 15px;
  color: #db932f;
  width: 50px; /* Equal width and height will ensure it stays circular */
  height: 50px;
  line-height: 20px; /* Vertically centers the icon in the button */
  text-align: center; /* Horizontally centers the icon in the button */
}

#help-button {
  padding: 10px;
  position: static;
  left: 50vw;
  background-color: #fefbec;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%; /* Makes the button perfectly circular */
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  font-size: 20px;
  display: inline-block;
  margin-top: 15px;
  color: #db932f;
  width: 50px; /* Equal width and height will ensure it stays circular */
  height: 50px;
  line-height: 20px; /* Vertically centers the icon in the button */
  text-align: center; /* Horizontally centers the icon in the button */
}

#help-showme
{
  padding: 10px;
  position: inline;
  /*float: right;*/
  background-color: #fefbec;
  border-radius: 9999px;
  place-items: center;
  border: solid;
  border-radius: 50%; /* Makes the button perfectly circular */
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  font-size: 20px;
  color: #db932f;
  width: 50px; /* Equal width and height will ensure it stays circular */
  height: 50px;
  line-height: 20px; /* Vertically centers the icon in the button */
  text-align: center; /* Horizontally centers the icon in the button */
}

#global-button:hover {
  box-shadow: 0px 0px 15px rgba(219, 147, 47, 0.4); /* Adds a subtle glow around the button */
  transform: scale(1.1); /* Slight growth on hover for an interactive feel */
}

#global-button:active {
  transform: scale(0.9); /* Slight shrink on active for a pressed look */
}

.leaflet-mytop {
  position: absolute;
  z-index: 1000;
  pointer-events: none;
  top: 1%; /* possible because the placeholder's parent is the map */
  transform: translateY(-5%); /* using the CSS3 Transform technique */
  padding-top: 10px;
  left: 80%;
}

.leaflet-bottom {
  position: absolute;
  z-index: 1000;
  pointer-events: none;
  top: 85vh; /* possible because the placeholder's parent is the map */
  transform: translateY(-5%); /* using the CSS3 Transform technique */
  padding-top: 10px;
  left: 40vw;
}

.leaflet-zoomtop {
  top: 1%;
  position: absolute;
  z-index: 1000;
  pointer-events: none;
  transform: translate(0%, -10%);
}

.leaflet-mytop .leaflet-control {
  margin-bottom: 10px;
}

.leaflet-zoomtop.leaflet-zoomright {
  transform: translate(15%, 0%);
  left: clamp(100px,26vw,250px);
}

.leaflet-zoomtop .leaflet-control {
  margin-bottom: 10px;
}

.leaflet-center {
  left: 25%;
  transform: translate(-50%, 0%);
}

#filter-map .dropdown-menu {
  background-color: #d3d1c3;
  border-radius: 13px;
}

#filter-map .dropdown-menu li {
  padding-top: 10px;
  padding-bottom: 10px;
}

#filter-map .dropdown-menu li a {
  color: black;
}

#menuDropdownSpecial {
  background-color: #fefbec;
  border-radius: 23px;
  left: 10% !important;
  border: 1px solid #ddd !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
  min-width: 200px !important;
}

/* Ensure Menu dropdown text is visible */
#menuDropdownSpecial .dropdown-item {
  color: #333 !important;
  font-weight: 500;
  padding: 8px 16px;
}

#menuDropdownSpecial .dropdown-item:hover {
  background-color: #e8e4d0;
  color: #000 !important;
}

#menuDropdownSpecial .dropdown-item:focus {
  background-color: #e8e4d0;
  color: #000 !important;
}

/* Global dropdown styling to ensure visibility */
.dropdown-menu {
  background-color: #fff !important;
  border: 1px solid #ddd !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

.dropdown-menu .dropdown-item {
  color: #333 !important;
  background-color: transparent !important;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #f8f9fa !important;
  color: #000 !important;
}

.dropdown-menu .dropdown-item:focus {
  background-color: #e9ecef !important;
  color: #000 !important;
}


.townpopup {
    display: none;
    position: absolute;
    left: 100px;
    top: 50px;
    border: solid black 1px;
    padding: 10px;
    background-color: rgb(200,200,200);
    text-align: justify;
    font-size: 12px;
    width: 80vw;
 }

