#lightbox {
    position: fixed;
    top: 75px; /* Adjust for the persistent header */
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
#lightbox.active {
    display: flex;
}
.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    border: 5px solid white;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
}
.lightbox-caption {
    color: black;
    font-size: 1rem;
    text-align: center;
	background-color: white;
	padding-left: 10px;
	padding-right: 10px;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    outline: none;
    z-index: 1001;
    padding: 10px;
}
.lightbox-close {
    color: white;
    top: 10px;
    right: 10px;
	padding: 4px;
	background-color: #ccc;
	border-radius: 8px;
}
.lightbox-prev {
    color: white;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
	padding: 4px;
	background-color: #ccc;
	border-radius: 8px;
}
.lightbox-next {
    color: white;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
	padding: 4px;
	background-color: #ccc;
	border-radius: 8px;
}
.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-close:hover {
    color: #ffcc00;
}