/* This file is generated from plugins-src/local-void-images/assets/lightbox.css. Edit that master rather than this file. */

.lvi-lightbox {
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	width: 100vw;
	height: 100vh;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	overflow: hidden;
	touch-action: pan-y;
}

.lvi-lightbox[open] {
	display: flex;
}

.lvi-lightbox::backdrop {
	background: rgb(0 0 0 / 92%);
}

.lvi-lightbox .lvi-frame {
	position: relative;
	display: block;
	width: min(100vw, calc(100vh * var(--lvi-ar, 1.5)));
	max-width: 100vw;
	max-height: 100vh;
}

.lvi-lightbox .lvi-lightbox__under {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
	max-height: 100vh;
	aspect-ratio: auto var(--lvi-ar, 1.5);
	object-fit: contain;
}

.lvi-lightbox .lvi-frame > .lvi-img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	opacity: 0;
}

.lvi-lightbox .lvi-frame.lvi-loaded > .lvi-img {
	opacity: 1;
}

@media not (prefers-reduced-motion) {
	.lvi-lightbox.lvi-lightbox--waited .lvi-frame.lvi-loaded > .lvi-img {
		transition: opacity 0.3s ease;
	}
}

.lvi-lightbox button {
	position: absolute;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	min-height: 40px;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: rgb(90 90 90 / 25%);
	color: #fff;
	fill: currentColor;
	cursor: pointer;
}

.lvi-lightbox button[hidden] {
	display: none;
}

.lvi-lightbox button:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.lvi-lightbox__close {
	top: 16px;
	right: 16px;
}

.lvi-lightbox__previous,
.lvi-lightbox__next {
	top: 50%;
	transform: translateY(-50%);
}

.lvi-lightbox__previous {
	left: 16px;
}

.lvi-lightbox__next {
	right: 16px;
}

.lvi-lightbox__live {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
