/*Gallery*/
.agm-gallery-wrapper {
    display: flex;
    flex-direction: row;
    gap: 15px;
    justify-content: center;
}
.agm-gallery-item {
    cursor: pointer;
}
.agm-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}
.agm-modal.show {
  display: flex;
  opacity: 1;
}
img.agm-gallery-modal-content {
    max-width: 70vw;
    max-height: 90vh;
}
button.agm-lightbox-close {
    position: fixed;
    top: 30px;
    right: 30px;
    color: #fff;
    border: none;
}
button.agm-lightbox-close:hover,
button.agm-lightbox-next:hover,
button.agm-lightbox-prev:hover{
    background-color: transparent;
}
button.agm-lightbox-close .dashicons-no-alt:before {
	font-size: 30px;
}
button.agm-lightbox-prev {
    position: fixed;
    top: 50%;
    left: 20px;
	color: #fff;
    border: none;
}
button.agm-lightbox-next {
    position: fixed;
    top: 50%;
    right: 20px;
	color: #fff;
    border: none;
}
@media(max-width:992px){
	img.agm-gallery-modal-content {
    	max-width: 80vw;
    	max-height: 80vh;
	}
}
@media(max-width:768px){
	img.agm-gallery-modal-content {
    	max-width: 85vw;
	}
	button.agm-lightbox-prev{
		left:0px;
		padding:5px;
	}
	button.agm-lightbox-next{
		right:0px;
		padding:5px;
	}
}