   /* Make the map container take up the full width and height of the viewport */
   html, body, #map {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
  }
  
       .map { height: 100%; width: 100%; }
       .popup {
          max-width: 300px; /* Limit the width of the popup (you can adjust this value) */
          max-height: 400px; /* Limit the height of the popup (you can adjust this value) */
          overflow: auto; /* Allow scrolling if the content is larger than the popup */
          background-color: white; /* Set a solid background color */
          border: 1px solid black;
          border-radius: 4px;
          padding: 8px;
        }

/* Image Carousel */
.img-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 0px;
}

.swiper-slide-caption {
  padding: 0px;
  background-color: rgba(255, 255, 255, 0.7);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin-right: 0px;
}

.swiper-slide {
  width: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-right: 0px;
  font-family: Arial, Helvetica, sans-serif;
}

.swiper-slide img {
  width: auto;
  display: block;
  max-width: 100%;
  max-height: 100px;
  margin-right: 0px;
}
.swiper-container {
  width: 100%;
  overflow: hidden;
}

.slide-image {
  width: auto;
}
.my-gallery figure {
  margin: 0px;
}


        .ol-popup {
    position: absolute;
    background-color: white;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #cccccc;
    bottom: 12px;
    left: -50px;
    min-width: 280px;
    font-family: Helvetica, Arial, sans-serif;
  }
  .ol-popup:after,
  .ol-popup:before {
    top: 100%;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
  }
  .ol-popup:after {
    border-top-color: white;
    border-width: 10px;
    margin-left: -10px;
  }
  .ol-popup:before {
    border-top-color: #cccccc;
    border-width: 11px;
    margin-left: -11px;
  }
  .ol-popup-closer {
    text-decoration: none;
    position: absolute;
    top: 5px;
    right: 8px;
  }
  .ol-popup-closer:after {
    content: "✖";
  }
  /* Adjust zoom control size for smaller screens */
  @media screen and (max-width: 767px) {
    .ol-zoom {
      font-size: 1.5em;
      top: 1em;
      left: 1em;
      width: auto;
      height: auto;
    }
  
    .ol-zoom button {
      width: 1em;
      height: 1em;
      padding: 0.1em;
    }
  }
  
  /* Adjust zoom control size for larger screens */
  @media screen and (min-width: 768px) {
    .ol-zoom {
      font-size: 1em;
      top: 1em;
      left: 1em;
    }
  }
  #popup {
    max-width: 90vw;
    max-height: 80vh;
    overflow-y: auto;
  }
  
  #popup .ol-popup-content-wrapper {
    max-height: 100%;
    overflow-y: auto;
  }
  #popup-content img {
    max-width: 100%;
    height: auto;
  }
/* Desktop version */
@media (min-width: 768px) {
  .docked-popup {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 25%;
    max-width: 400px;
    max-height: 100%;
    overflow-y: auto;
    pointer-events: auto;
  }

  .docked-popup .ol-popup-content-wrapper {
    padding: 1em;
  }

  .docked-popup .ol-popup-closer {
    top: 0.5em;
    right: 0.5em;
  }
}

/* Mobile version */
@media (max-width: 767px) {
  .docked-popup {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    max-height: 100%;
    overflow-y: auto;
    pointer-events: auto;
  }

  .docked-popup .ol-popup-content-wrapper {
    padding: 1em;
  }

  .docked-popup .ol-popup-closer {
    top: 0.5em;
    right: 0.5em;
  }
}
.docked-popup {
  display: none;
}  
.carousel {
  display: flex;
  overflow-x: auto;
  gap: 4px;
  scroll-snap-type: x mandatory;
}
.carousel img {
  scroll-snap-align: center;
  object-fit: contain;
  max-height: 100px;
  flex: none;
}
.arrow {
  font-size: 20px;
  color: #333;
  cursor: pointer;
}

.arrow-left {
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
}

.arrow-right {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
}
.swiper-button-next,
.swiper-button-prev {
  color: #333;
}
.image-carousel .swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.image-title {
  font-size: 14px;
  margin-top: 5px;
  text-align: center;
}