#brochure-overlay{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  z-index: 1000;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.popup-overlay-1{
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 50px;
}

.popup-overlay-1-content{
  max-height: 90vh;
  width: inherit;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
  box-sizing: border-box;
  padding: 10px;
}

.imagebox{
  display: flex;
  justify-content: center;
  align-items: center;
}
.imagebox img:hover{
  box-shadow: 0 0 10px rgba(179, 98, 26, 1)
}
.imagebox a{
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.imagebox img{
  height: 100%;
  width: 85%
}
.overlay-1-img-1, .overlay-1-img-3{
  height: 445px !important;
  width: 100% !important;
}
.overlay-1-img-2{
  height: 370px !important;
  width: 95% !important;
}


/*ENLARGED IMAGE VIEW*/

.enlarged-wrapper{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.enlarged-content{
  position: relative;
  height: 100%;
  width: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.image-view-controller{
  display: flex;
  flex-direction: row;
  height: fit-content;
  width: 100%;
  justify-content: center;
}
.images-dots-container{
  display: flex;
  flex-direction: row;
  width: 85%;
  justify-content: center;
  align-items: center;
}

.close-enlarged{
  color: white;
  font-size: 30px;
  cursor: pointer;
  align-items: center;
}
.custom-dot{
  height: 10px;
  width: 10px;
  background-color: #f6ebe8;
  border-radius: 50%;
  display: inline-block;
}

#enlarged-img{
  max-height: 90vh;
  max-width: 90vw;
  min-width: 150px;
  object-fit: cover;
  background-color: #888888;
}


/*SWIPER-----------------------------------------------*/

.enlargedSwiper{
  width: 100%;
  height: 100%;
}

.enlargedSwiper .swiper-slide{
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.enlargedSwiper .swiper-slide img{
  max-width: 100%;
  max-height: 92vh;
  transition: transform 0.1s ease;
}
.swiper-slide img:hover{
  cursor: zoom-in;
}

.enlargedSwiper .swiper-button-next,
.enlargedSwiper .swiper-button-prev {
  color: #f6ebe8;
  width: 50px;
  height: 50px;
  z-index: 10001;
}
.enlargedSwiper .swiper-button-next:hover, .enlargedSwiper .swiper-button-prev:hover{
  border-radius: 10px;
  color: #b3621a !important;
}

.enlargedSwiper .swiper-button-next:after,
.enlargedSwiper .swiper-button-prev:after {
  font-weight: bold;
}
/*SWIPER---------------------------------------------^^^^^^^^*/

@media (max-width: 770px){
.popup-overlay-1-content{
  grid-template-columns: repeat(1, 1fr);
  grid-template-rows: auto;
  max-height: 90vh;
  overflow-y: auto;
  gap: 30px;
  padding: 10px;
}
  .popup-overlay-1{
    gap: 1px;
  }
  .imagebox{
    width: 100%;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .imagebox img {
    max-width: 100%;
    max-height: 27vh;
    width: auto;
    height: auto;
    object-fit: contain;
  }

  .enlarged-content {
    width: 95%;
    height: 95%;
  }
  .enlargedSwiper .swiper-button-next,
  .enlargedSwiper .swiper-button-prev {
    padding: 0 10px;
  }

  .enlargedSwiper .swiper-button-next:after,
  .enlargedSwiper .swiper-button-prev:after {
    font-size: 1.5rem;
  }

}
