
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width:1050px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 15px;
}

.thumbnail {
    width: calc(33.33% - 10px); /* Three thumbnails per row with some spacing */
    max-width: 320px;
    margin-bottom: 20px;
    text-align: center;
}
.thumbnail-message {
  margin-top:0px;
  background-color:#efefef;
  border-radius: 0 0 5px 5px;
}

img {
/*    width: 100%; */
    cursor: pointer;
}

@media (max-width: 768px) {
  .thumbnail {
    width: 100%; /* One thumbnail per row on mobile */
    max-width:320px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px 5px 0 0;
  }
}

/* Custom CSS for the SweetAlert popup container */
.custom-sweetalert-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Custom CSS for the SweetAlert popup */
.custom-sweetalert-popup {
    background: #fff !important;
    box-shadow: 0 0 20px rgba(0,0,0,0.3) !important;
    margin: auto !important;
    max-width: 90% !important;
    width: auto !important;
    overflow: hidden !important;
}

/* Custom CSS for the SweetAlert image */
.custom-sweetalert-image {
    max-width: 80vw !important;
    max-height: 70vh !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
}

.swal2-popup {
  width: auto !important;
  max-width: 90% !important;
  padding: 1.5em !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  margin: auto !important;
}

.swal2-image {
  max-width: 80vw !important;
  max-height: 70vh !important;
  width: auto !important;
  height: auto !important;
  margin: 1em auto !important;
  object-fit: contain !important;
  display: block !important;
}

.swal2-header {
  padding: 0 0.8em;
}

.swal2-html-container {
  max-width: 80vw !important;
  margin: 1em auto !important;
  text-align: center !important;
}

.swal2-actions {
  margin: 1em auto !important;
  justify-content: center !important;
}

/* Hide scrollbars on the container */
.swal2-container {
  overflow-y: hidden !important;
}

body.swal2-shown {
  overflow: hidden !important;
}


/* Custom CSS for the PLUS SIGN on the Thumbnail images in the Gallery */
.thumbnail-overlay {
    position: relative;
    width: 100%;
    text-align: center;
}

.thumbnail img {
    width: 100%;
    cursor: pointer;
}

.thumbnail-plus {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px; /* Adjust the size as needed */
    color: #fff; /* Adjust the color as needed */
    background-color: rgba(0, 0, 0, 0.7); /* Background color for the "+" sign */
    border-radius: 50%;
    width: 40px; /* Adjust the width as needed */
    height: 40px; /* Adjust the height as needed */
    line-height: 40px;
    cursor: pointer;
}
