/* Lightbox nativo per le gallerie (vedi js/gallery-lightbox.js) */
html.lsb-lock {
	overflow: hidden;
}

.lsb {
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	overflow: hidden;
}

.lsb::backdrop {
	background: rgba(0, 0, 0, .9);
}

.lsb[open] {
	display: flex;
	align-items: center;
	justify-content: center;
}

.lsb-figure {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 50px 80px;
	box-sizing: border-box;
}

.lsb-img {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 140px);
	width: auto;
	height: auto;
	margin: 0;
	background: #fff;
	box-shadow: 0 0 23px rgba(0, 0, 0, .6);
}

.lsb-caption {
	margin: 14px 0 0;
	font-family: "brandon-grotesque", sans-serif;
	font-size: 16px;
	line-height: 22px;
	text-transform: uppercase;
	text-align: center;
}

.lsb-counter {
	position: absolute;
	top: 18px;
	left: 20px;
	font-family: "brandon-grotesque", sans-serif;
	font-size: 14px;
}

.lsb-btn {
	position: absolute;
	padding: 8px 16px;
	border: 0;
	background: none;
	color: #fff;
	font-size: 48px;
	line-height: 1;
	cursor: pointer;
	opacity: .8;
}

.lsb-btn:hover,
.lsb-btn:focus-visible {
	opacity: 1;
	color: #019bb1;
}

.lsb-close {
	top: 6px;
	right: 10px;
}

.lsb-prev,
.lsb-next {
	top: 50%;
	transform: translateY(-50%);
	font-size: 64px;
}

.lsb-prev {
	left: 10px;
}

.lsb-next {
	right: 10px;
}

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

@media screen and (max-width: 600px) {
	.lsb-figure {
		padding: 50px 10px 70px;
	}

	.lsb-prev,
	.lsb-next {
		top: auto;
		bottom: 6px;
		transform: none;
	}
}
