#overlayedImage {
	position: relative;
	top: 50%;
	transform: translateY(-50%);
	display: block;
	margin-left: auto;
	margin-right: auto;
	max-height: 100%;
	max-width: 100%;
}

.overlayArrow {
	position: relative;
	top: 50%;
	transform: translateY(-50%);
	width: 60%;
	max-width: 80%;
	max-height: 100%;
	margin-left: auto;
	margin-right: auto;
	display: block;
}

#overlayCloseCross {
	position: relative;
	top: 50%;
	transform: translateY(-50%);
	max-height: 80%;
	max-width: 100%;
	display: block;
	margin-left: auto;
	margin-right: 10px;
}

#overlayedImageDiv {
	width: 80%;
	max-height: 100%;
	margin-top: 10px;
	margin-bottom: 10px;
}

.overlayArrowDiv {
	width: 10%;
	margin: 10px;
}

#overlayCloseDiv {
	width: 100%;
	margin: 10px 10px 0px 10px;
	display: flex;
}

.imageOverlaySubDiv {
	background-color: rgb(0, 0, 0);
	border: solid rgb(127, 127, 127);
	opacity: 0.7;
}

.overlayArrowDiv:hover, #overlayCloseDiv:hover, #overlayedImageDiv {
	opacity: 1;
}

#imageOverlayDivTop {
	display: flex;
	width: 100%;
	height: 10%;
}

#imageOverlayDivBottom {
	display: flex;
	width: 100%;
	height: 90%;
}

#imageOverlayDiv {
	display: none;
	position: fixed;
	top: 3%;
	left: 3%;
	width: 94%;
	height: 94%;
	background-color: rgba(0, 0, 0, 0);
}

#imageOverlayDiv.show {
	display: block;
}
/*html:has(#imageOverlayDiv.show) {
	overflow: hidden;
}*/

#darkenerOverlay {
	background-color: rgba(0, 0, 0, 0.5);
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#darkenerOverlay.show {
	display: flex;
}