body {
    position: relative;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0px;
    padding: 0px;
}

#map {
    width: 100%;
    height: calc(100vh - 73px);
}

#macroUD {
    padding: 7px;
    border-radius: 5px;
    width: 90%;
    font-size: 20px;

}

.popup-list {
  height: 200px;
  overflow: auto;
}

div.link-wrapper {
  position: fixed;
  bottom: 29px;
  right: 10px;
  z-index: 1000;
  padding: 10px;
}

a.link {
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  padding: 8px;
  border-radius: 5px;
  color: rgb(63, 63, 63);
  background-color: #ffffff;
  z-index: 1000;
}

body>header {
  padding: 15px;
  padding-top: 0px;
  padding-bottom: 0px;
  font-size: large;
  font-weight: bold;
  background: #ccc;
  border: 3px solid rgb(75, 74, 74);
  border-top: none;
  border-left: none;
  border-right: none;
  background: white;
}

#flex-layout {
  display: flex;
  justify-content: space-between;
  height: 70px;
}

#inner-flex-layout {
  display: flex;
  align-items: center;
}

#inner-flex-layout img {
  width: 75px;
  margin-left: 10px;
}

#inner-flex-layout>div:nth-child(3) img {
  width: auto;
  height: 60px
}

#title {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#title p {
  margin: 5px;
}

.leaflet-container {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

p.leaflet-control-layers-label {
  font-size: 16px;
  padding: 5px;
}

.leaflet-control-layers-toggle {
  height: 0px !important;
}

img.legend2 {
  width: 85%
}

img.legend1 {
  width: 63%
}

section {
  margin: 0;
  padding: 0;
  display: flex;
  height: calc(100vh - 73px);
  overflow: hidden;
}

.leaflet-top.leaflet-right {
  display: none;
}

/* Style for the range input */
input[type="range"] {
  width: 100%;
  height: 8px;
  margin: 10px 0;
  background-color: #ddd;
  border: none;
  outline: none;
}

/* Style for the slider thumb */
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background-color: #007bff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

/* Style for the slider track */
input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  background-color: #aaa;
}

 /* Styles for the left aside */
 .left-aside {
  width: 0;
  flex: 0 0 auto;
  background-color: #333;
  color: #fff;
  transition: width 0.3s ease-in-out;
  padding: 20px;
}

/* Styles for the right section */
.right-section {
  flex: 1;
  background-color: #ddd;
  transition: margin-left 0.3s ease-in-out;
}

/* Apply a non-zero width to show the aside */
body.show-aside .left-aside {
  width: 250px;
  background-color: #152A6C;
  color: #FCDB00;
}

/* Apply a margin to the right section when aside is shown */
body.show-aside .right-section {
  margin-left: 0px;
}

/* Styles for the toggle button */
/* .toggle-button {
  position: fixed;
  top: 20px;
  left: 20px;
  background-color: #007bff;
  color: #fff;
  padding: 10px 15px;
  border: none;
  cursor: pointer;
  z-index: 2;
} */

.toggle-icon-open {
  align-self: center;
  background-image: url(/assets/img/LogoMakr-6SOvD8.png);
  background-size: cover;
  cursor: pointer;
}

.toggle-icon-closed {
  align-self: center;
  background-image: url(/assets/img/LogoMakr-462u1v.png);
  background-size: cover;
  cursor: pointer;
}

#icon-header {
  display: flex;
}

#toggleAside {
  width: 35px;
  height: 25px;
  border: none;
  background-color: white;
}

/* POP UP */
.popup-title {
  font-size: 14px;
  font-weight: bold;
  text-align: center;
}

.popup-list {
  list-style-type: circle;
}

.popup-list li {
  font-size: 12px;
}

.tab-button {
  background-color: #f1f1f100;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  color: #FCDB00;
  border-bottom: 1px solid #FCDB00; 
}

.selected-tab {
  border-bottom: 2px solid #FCDB00;
}

.legend-wrapper {
  padding: 2px 15px;
  background-color: white;
  color: #152A6C;

}

.legend {
  padding: 10px;
  border-radius: 10px;
  max-width: 200px;
}

.legend-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.color-box {
  width: 20px;
  height: 20px;
  border: 1px solid #333;
  margin-right: 10px;
}