
body, * {
  font-family: 'Baskerville Old Face', 'Baskerville Display', 'Libre Baskerville', 'Georgia', serif;
}

body, .leaflet-popup-content {
  font-family: 'Baskerville Old Face', 'Baskerville Display', 'Libre Baskerville', 'Georgia', serif;
}

.button-400 {
    position: relative;
    align-items: center;
    background-color: #111827;
    border: 1px solid transparent;
    border-radius: .75rem;
    box-sizing: border-box;
    color: #FFFFFF;
    cursor: pointer;
    flex: 0 0 auto;
    /* font-family: "Inter var", ui-sans-serif, system-ui, -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; */
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.5rem;
    padding: .75rem 1.2rem;
    margin: 5px;
    text-align: center;
    text-decoration: none #6B7280 solid;
    text-decoration-thickness: auto;
    transition-duration: .2s;
    transition-property: background-color, border-color, color, fill, stroke;
    transition-timing-function: cubic-bezier(.4, 0, 0.2, 1);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    width: auto;
}

.button-400:hover {
    background-color: #374151;
}

.button-400:focus {
    box-shadow: none;
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.button-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 10px;
  }
  
  .button-label {
    display: flex;
    align-items: center;
    margin-right: 10px;
  }




@media (min-width: 768px) {
    .button-400 {
        padding: .75rem 1.5rem;
    }
}


.text_title {
  border-radius: 5px;
  background: #f1f4ef;
  font-size: large;
  font-weight: bolder;
  /* padding: 20px;  */
  /* width: 200px; */
  height: 45px;
  position: relative;
  align-items: center;
}

.text_rcorners {
    border-radius: 5px;
    font-weight: bold;
    font-size:medium ;
    background: #f1f4ef;
    /* padding: 20px;  */
    /* width: 200px; */
    height: 250px; /* Fixed height */
    width: 100%; /* Fixed width; adjust as needed */
    
    overflow-y: auto; /* Make it scrollable */
    resize: none; 
    /* position: relative; */
    /* align-items: center; */
    align-items: flex-start; /* Align text to the top */
    /* overflow-y: auto;  */


    /* padding: 10px; Add some padding (optional, adjust as needed) */
    /* resize: vertical;  */

}


.blur-effect {
    filter: blur(4px);
    pointer-events: none; /* Prevents interactions with the sidebar when it's blurred */
  }

  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  .spinner {
    width: 20px;
    height: 20px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    /* animation: spin 1s linear infinite; */
  }








.leaflet-sidebar {
  position: fixed !important; /* Position over the map */
  z-index: 2000; /* Ensure it's above the map */
  /* width: 30%; */
}

/* Ensure sidebar opens over the map */
.leaflet-sidebar.left.visible,
.leaflet-sidebar.right.visible {
  transform: translateX(0) !important;
}


.leaflet-sidebar.left {
  left: 0;
  transform: translateX(-100%) !important; /* Hide off-screen to the left */
}

.leaflet-sidebar.right {
  right: 0;
  transform: translateX(100%) !important; /* Hide off-screen to the right */
}




.info-box { 

  position: absolute;
  bottom: 10px; /* Distance from top of the map */
  right: 10px; /* Distance from right side of the map */
  width: 220px; /* Width of the box */
  height: 100px;
  padding: 5px; /* Height of the box */
  background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent white background */
  border: 1px solid #000; /* Black border */ 
  z-index: 1000;
}

/* Style for when the box is active/visible */
.info-box.active {
  display: block;
}
.info-box h5 {
  margin-top: 0; /* Removes the top margin of the h5 elements */  
}

.info-box h3 {
  margin-top: 0; /* Removes the top margin of the h5 elements */  
  /* margin-bottom: 0;  */
}


.inline-element {
  display: inline-block; /* Or 'inline', depending on your layout needs */
  margin-right: 5px; /* Optional, for spacing between elements */
  margin: 0; /* Remove default margins */
  padding: 0; /* Remove default padding */
  line-height: 1.5; /* Adjust line height for compactness */
  font-size: medium;
}


/* #identify h5, #identify label {
  
} */


/* #half_break {
  line-height: 10px;
} */



/* #identify-sidebar {
  height: 250px; 
  bottom: 10; 
  right: 10; 
  width: 500px;
  border-radius: 5px; 
} */

/* #identify-sidebar .leaflet-sidebar-close {
  display: none; 
} */

/* #identify {
  
  bottom: 50px; 
  right: 20px; 
  width: 500px;
  border-radius: 5px; 
} */


/* #infoBox {
  position: absolute; 
  bottom: 20px; 
  right: 10px; 
  width: 260px;
  border-radius: 5px; 
  z-index: 1000;
  
} */


.splash-screen {
  position: fixed;
  top: 25%;
  left: 25%;
  width: 50%;
  height: 50%;
  background-color: rgba(0, 0, 0, 0.9); /* Semi-transparent background */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000; /* Ensure it's above all other content */
}

.splash-content {
  text-align: center;
  color: white;
  padding:25px;
  /* justify-content: flex-end; */  
}




.splash-content-description {
  text-align: justify;
  color: white;
  padding:25px;
  
  font-size: 20px;
  /* justify-content: flex-end; */
}

/* Style the close button if needed */
.closeSplash {
  margin-top: 10px;  
  background-color: #ffffff;
  border: 1px solid transparent;
  border-radius: .75rem;
  box-sizing: border-box;
  color: #000000;
  cursor: pointer;
  flex: 0 0 auto;
  /* font-family: "Inter var", ui-sans-serif, system-ui, -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; */
  font-size: large;
  font-weight: bold;
  /* font-weight: 60px; */
  line-height: 35px;
  /* padding: .75rem 1.2rem; */
  /* margin: 10px; */
  padding: 5px;
  text-align: center;
  text-decoration: none #6B7280 solid;
  text-decoration-thickness: auto;
  transition-duration: .2s;
  transition-property: background-color, border-color, color, fill, stroke;
  transition-timing-function: cubic-bezier(.4, 0, 0.2, 1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  /* width: auto; */
  /* Additional styling for the button */
}
@media screen and (max-width: 1500px) , (max-height: 800px){
  .splash-screen {
    /* Adjust position and size for smaller screens */
    top: 20%;
    left: 20%;
    width: 60%;
    height: 60%;
  }

  .splash-content {
    /* Adjust padding or font size for smaller screens */
    padding: 10px;
  }

  .splash-content-description {
    /* Adjust padding or font size for smaller screens */
    padding: 10px;
    font-size: 16px;
  }

  /* You can further adjust other styles as needed for responsiveness */
}




.popup_panel {
  position: absolute;
  display: none;
  top: 33%;
  left: 33%;
  width: 33%;
  height: 28%;
  background-color: rgba(0, 0, 0, 0.9); /* Semi-transparent background */
  /* display: flex; */
  align-items: center;
  justify-content: center;
  z-index: 1000; /* Ensure it's above all other content */
}

.popup_panel_content {
  
  text-align: center;
  color: white;
  padding:25px;
  justify-content: flex-end;
  /* Add more styling as needed */
}


@media screen and (max-width: 1500px) , (max-height: 1000px){
  .popup_panel {
    /* Adjust position and size for smaller screens */
    top: 25%;
    left: 25%;
    width: 50%;
    height: 50%;
  }
}


.leaflet-toolbar-icon {
  width: 40px;
  min-width: 50px;
  min-height: 50px;
  height: 50px;
  line-height: 50px;
  padding: 0px;
  list-style: none; 
  box-sizing: border-box;  
  vertical-align: middle;
}


.leaflet-toolbar-icon a {
  width: 40px; /* Slightly larger to account for padding/border */
  height: 40px;
  line-height: 40px; /* Center the icon if it's not an img tag */
  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  text-decoration: none; /* Optional: Removes underline from icons if they are text-based */
  vertical-align: middle;
}

.leaflet-toolbar-icon a img {
  max-width: 100%;
  max-height: 100%;
  vertical-align: middle;
  
}
.leaflet-control-toolbar.collapsed .leaflet-toolbar-icon {
  display: none; /* Hide all actions when toolbar is collapsed */
}

.leaflet-control-toolbar .leaflet-toolbar-toggle {
  display: block; /* Always show the toggle button */
}

