.jacob-gallery {
    overflow-x: auto;
    white-space: nowrap;
	padding: 5px 0;
    margin: 20px 0;
}

.jacob-gallery.gallery-large {
	margin: 0 1rem;
}

.jacob-gallery .jacob-gallery-thumb-container {
    display: inline-block;
    vertical-align: top;
    margin-right: 20px;
}

.jacob-gallery .jacob-gallery-thumb-container:last-child {
    margin-right: 0;
}

.jacob-gallery .jacob-gallery-thumb-container img {
    max-width: 80%;
    height: auto;
    border: 1px solid #ccc;
    transition: border 0.3s;
}

.jacob-gallery .jacob-gallery-thumb-container img:hover {
    border: 1px solid #333;
}

.jacob-gallery .jacob-gallery-thumb-container a {
    text-decoration: none;
    display: inline-block;
    max-height: 300px;
	max-width: 80%;
}

/* Lightbox */
.lightbox {
  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;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border: 1px solid #fff;
  margin: auto;
  opacity: 1;
}

.lightbox-visible {
  display: flex;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  width: 30px;
  height: 30px;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  text-align: center;
  line-height: 30px;
  text-decoration: none;
  font-size: 24px;
  font-weight: bold;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 1001; /* Increase the z-index value */
  opacity: 0.7; /* Increase the opacity for better visibility */
}

.lightbox-arrow:hover {
  opacity: 1; /* Add this rule to increase opacity on hover */
}

.lightbox-arrow-left {
  left: 5px;
}

.lightbox-arrow-right {
  right: 5px;
}


