#block-showeventdetailspagecontentblock .about-events {
  padding-top: 30px;
  padding-bottom: 30px;
  background-color: rgba(121, 177, 189, 1) !important;
}
#block-showeventpagecontentblock {
  padding-bottom: 10rem;
}

.gallery-img {
  cursor: pointer;
}
.embed-video {
  height: 400px !important;
}

/* Gallery Popup Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  overflow: auto; /* Enable scrolling for small screens */
}

.modal-content {
  position: fixed !important;
  width: 90%; /* Adjust the width for smaller screens */
  max-width: 700px; /* Set a maximum width */
  background: #4c4d5508;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 9991;
  margin: 15px;
  border-radius: inherit !important;
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  color: gray;
  border: none;
  background: none;
  cursor: pointer;
}

.slides-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  overflow-x: auto; /* Enable horizontal scrolling for small screens */
}

.mySlides {
  padding: 10px;
  text-align: center;
}

.mySlides img {
  max-width: 100%;
  max-height: 70vh;
  margin: auto;
  border-radius: none;
  transition: opacity 0.5s ease;
}

.numbertext {
  color: black;
  display: flex;
  justify-content: left;
}

.previous-btn,
.next-btn {
  position: absolute;
  top: 50%;
  font-size: 30px;
  color: black;
  cursor: pointer;
  z-index: 1;
  border: none;
  background: none;
}

.previous-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}


/* Adjust modal styles for mobile devices */
@media screen and(max-width: 767px) {
  .modal-content {
    width: 90% !important;
    margin: 10px;
  }

  .mySlides {
    padding: 0;
  }
}
