.lb-overlay {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 10000;
	background: rgba(0, 0, 0, 0.88);
	align-items: center;
	justify-content: center;
}
.lb-overlay.lb-otevreno { display: flex; }
.lb-bez-scrollu { overflow: hidden; }

.lb-obal {
	position: relative;
	max-width: 92vw;
	max-height: 84vh;
	display: flex;
	align-items: center;
	justify-content: center;
}
.lb-img {
	display: block;
	max-width: 92vw;
	max-height: 84vh;
	border: 4px solid #fff;
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
	cursor: pointer;
	background: #fff;
}
.lb-nacita .lb-img { opacity: 0.3; }
.lb-loader {
	display: none;
	position: absolute;
	width: 40px;
	height: 40px;
	border: 4px solid rgba(255, 255, 255, 0.3);
	border-top-color: #fff;
	border-radius: 50%;
	animation: lb-toc 0.8s linear infinite;
}
.lb-nacita .lb-loader { display: block; }
@keyframes lb-toc { to { transform: rotate(360deg); } }

.lb-btn {
	position: absolute;
	background: rgba(0, 0, 0, 0.35);
	color: #fff;
	border: 0;
	cursor: pointer;
	font: 48px/1 Arial, sans-serif;
	padding: 10px 18px 16px;
	border-radius: 4px;
	user-select: none;
}
.lb-btn:hover, .lb-btn:focus { background: #26952a; outline: none; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.lb-close { top: 10px; right: 10px; font-size: 36px; padding: 4px 14px 10px; }

.lb-popis, .lb-pocitadlo {
	position: absolute;
	color: #fff;
	font: 14px Arial, sans-serif;
	text-shadow: 0 1px 2px #000;
}
.lb-popis { bottom: 14px; left: 0; right: 0; text-align: center; padding: 0 80px; }
.lb-pocitadlo { top: 18px; left: 18px; }

@media (max-width: 600px) {
	.lb-btn { font-size: 34px; padding: 6px 12px 10px; }
	.lb-popis { padding: 0 10px; bottom: 8px; }
}
