.gallery-modal {
	display: none !important;

	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 65;

	justify-content: center;
	align-items: center;
}


.gallery-modal.active {
	display: block !important;
}

.gallery-modal-header {
  width: 80%;
  box-sizing: border-box;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	height: 50px;
	margin: 0 10%;
	padding: 20px;
	position: absolute;
	top: 10dvh;
	border-radius: 8px 8px 0 0 ;
	z-index: 100000;
  background: white;
}

.gallery-modal-header .close-gallery-btn {
	background-color: transparent;
  border: none;
  cursor: pointer;
}

.gallery-modal .swiper-slide {
	top: calc(10dvh + 50px);
    overflow: hidden;
}

.gallery-modal .swiper-slide img {
	max-height: 75dvh;
	height: auto;
	object-fit: contain; 
    cursor: zoom-in;
}

.gallery-modal .swiper-slide .swiper-zoom-container.active img {
    cursor: zoom-out;
} 

.swiper-button {
    display: none;
	color: #1e1e1e !important;
	z-index: 100000;
}

.swiper-button-next {
	right: 12%;
}

.swiper-button-prev {
	left: 12%;
}

.swiper-zoom-container {  
    max-height: 75dvh;
    margin: 0 auto;
}

@media (min-width: 1086px) {
    .swiper-button {
        display: block
    }    
}
@media (max-width: 1086px) {
    .gallery-modal-header {
        top: 20dvh;
    } 
  .gallery-modal .swiper-slide {
    top: calc(20dvh + 50px);
  }   
}