#map {
  position: relative;
  margin-bottom: 0 !important;
  scroll-margin-top: 50px !important;
}

#map-container {
  height: 550px;
}
#dimos-new-section {
  position: relative;
  margin-bottom: 0 !important;
  scroll-margin-top: 50px !important;
}
@media screen and (max-width: 425px) {
  #map-container {
    height: 450px;
  }
}

.map-filters-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 999;
  background-color: #e0eafb;
  border-radius: 0 0 20px 0;
  color: var(--section-title);
  transition: all 0.2s ease-in;
  padding: 0rem 1rem;
  align-items: center;
}

@media screen and (max-width: 768px) {
  .map-filters-wrapper {
    width: 100%;
    top: -68px;
    border-radius: unset;
  }

  #map {
    margin-top: 68px;
  }
}

.map-filters-wrapper.open {
  height: 60%;
  max-height: 100%;
  transition: all 0.2s ease-in;
}

.filters-toggler {
  border: none;
  background: none;
  padding: 1rem;
  font-size: var(--text-lg);
  width: fit-content;
  position: relative;
  color: var(--section-title);
}

.filters-toggler::before {
  content: "";
  position: absolute;
  left: 15;
  bottom: 15px;
  width: 0;
  height: 3px;
  background-color: var(--section-title);
  transition: width 0.25s ease-out;
}

.filters-toggler:hover::before {
  width: 90%;
}

.map-filters {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--text-md);
}

.map-filters input[type="checkbox"] {
  width: 20px;
  height: 20px;
}

.filter-icon {
  width: 20px;
  height: 20px;
}

.map-filters-wrapper.open > .map-filters {
  display: block;
  animation: filters 1s forwards;
  opacity: 0;
}

@keyframes filters {
  to {
    opacity: 1;
  }
}
