/* Slideshow styles */
.mySlides {
	display: none;
	width: 100%;
	height: 100%;
	position: relative;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	padding: 0;
	margin: 0;
}

.mySlides[style*="display: block"] {
	display: flex !important;
}

/* Slide content container */
.slide-content {
	display: flex;
	flex-direction: row;
	align-items: flex-end;
	justify-content: center;
	width: auto;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	gap: 0.5rem;
	position: relative;
	margin: 0 auto;
	padding: 0;
}

/* Image wrapper to center the image */
.slide-image-wrapper {
	flex: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	min-width: 0;
	height: 100%;
}

img {
	vertical-align: middle;
}

/* Slideshow container */
.slideshow-container {
	max-width: 100%;
	width: 100%;
	height: calc(100vh - 16vh);
	max-height: calc(100vh - 16vh);
	position: fixed;
	top: 8vh;
	bottom: 8vh;
	left: 0;
	right: 0;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

/* Next & previous buttons */
.prev, .next {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 50%;
	opacity: 0%;
	cursor: pointer;
	z-index: 10;
}

.prev {
	left: 0;
}

.next {
	right: 0;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
	background-color: rgba(0,0,0,0.8);
}

/* Caption class - positioned on right side, vertical text bottom to top */
/* To reactivate: change display from 'none' to 'flex' */
.caption {
	writing-mode: vertical-rl;
	text-orientation: mixed;
	transform: rotate(180deg);
	text-align: center;
	display: none; /* Hidden - change to 'flex' to reactivate */
	align-items: flex-start;
	justify-content: center;
	font-size: 12px;
	white-space: nowrap;
	padding: 1rem 0.25rem;
	flex-shrink: 0;
}

/* Slide image class */
.slide-image {
	height: 100%;
	max-width: 100%;
	width: auto;
	display: block;
	object-fit: contain;
}


