/* Lightbox fotogalerie (www/js/galerie.js) */

html.lb-open {
	overflow: hidden;
}

.lb {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 25, 18, 0.92);
}

.lb[hidden] {
	display: none;
}

.lb-figure {
	margin: 0;
	padding: 0 70px;
	max-width: 100%;
	max-height: 100%;
	box-sizing: border-box;
	text-align: center;
}

.lb-img {
	display: block;
	margin: 0 auto;
	max-width: 100%;
	max-height: calc(100vh - 90px);
	width: auto;
	height: auto;
	border: 4px solid #ffe8a2;
	box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
	cursor: pointer;
}

.lb-caption {
	margin-top: 10px;
	color: #ffe8a2;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 14px;
}

.lb-counter {
	margin-left: 12px;
	opacity: 0.7;
}

.lb-btn {
	position: absolute;
	border: 0;
	padding: 0;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: rgba(255, 232, 162, 0.15);
	color: #ffe8a2;
	font: 40px/56px Georgia, serif;
	cursor: pointer;
}

.lb-btn:hover,
.lb-btn:focus-visible {
	background: rgba(255, 232, 162, 0.35);
	outline: none;
}

.lb-prev {
	left: 8px;
	top: 50%;
	margin-top: -28px;
}

.lb-next {
	right: 8px;
	top: 50%;
	margin-top: -28px;
}

.lb-close {
	top: 8px;
	right: 8px;
	font-size: 36px;
}

.lb-single .lb-prev,
.lb-single .lb-next {
	display: none;
}

@media (max-width: 600px) {
	.lb-figure {
		padding: 0 8px;
	}

	.lb-prev,
	.lb-next {
		top: auto;
		bottom: 8px;
		margin-top: 0;
	}
}
