.wego-lightbox {
	position: fixed;
	inset: 0;
	width: 100%;
	max-width: 100%;
	height: 100%;
	max-height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	overflow: hidden;
}

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

.wego-lightbox::backdrop {
	background: rgba(0, 0, 0, 0.8);
}

.wego-lightbox img {
	display: block;
	max-width: calc(100% - 16px);
	max-height: calc(100% - 96px);
	background: #fff;
}

.wego-lightbox button {
	position: absolute;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	font-size: 24px;
	line-height: 44px;
	cursor: pointer;
}

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

.wego-lightbox-close {
	top: 8px;
	right: 8px;
}

.wego-lightbox-close::before {
	content: "\00d7";
}

.wego-lightbox-previous {
	top: 50%;
	left: 8px;
	margin-top: -22px;
}

.wego-lightbox-previous::before {
	content: "\2039";
}

.wego-lightbox-next {
	top: 50%;
	right: 8px;
	margin-top: -22px;
}

.wego-lightbox-next::before {
	content: "\203a";
}

.wego-lightbox-counter,
.wego-lightbox-message {
	position: absolute;
	left: 0;
	right: 0;
	margin: 0;
	color: #fff;
	font-size: 14px;
	text-align: center;
}

.wego-lightbox-counter {
	bottom: 12px;
}

.wego-lightbox-message {
	top: 50%;
}
