.fancybox__backdrop {
	opacity: 1;
	background: #0e0e0e;
}

.fancybox__slide {
	padding: 6px 2px;
}

.fancybox__toolbar {
	--f-button-width: 42px;
	--f-button-height: 42px;
	--f-button-svg-width: 18px;
	--f-button-svg-height: 18px;
}

.fancybox__infobar {
	min-width: 55px;
	padding: 0 10px;
	font-size: 14px;
	font-variant-numeric: tabular-nums;
	line-height: 42px;
}

.web4t-af5-fade-gallery .fancybox__slide {
	opacity: 0;
	transition: opacity 180ms ease;
}

.web4t-af5-fade-gallery .fancybox__slide.is-selected {
	opacity: 1;
}

.web4t-af5-fade-gallery .fancybox__slide:not(.is-selected) {
	pointer-events: none;
}

.web4t-af5-gallery .fancybox__content {
	background: transparent;
}

.web4t-af5-gallery .f-thumbs__slide {
	align-items: center !important;
	justify-content: center !important;
}

.web4t-af5-gallery .f-thumbs__slide__button {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

.web4t-af5-gallery .f-thumbs__slide__img {
	position: absolute !important;
	inset: 0 !important;
	display: block !important;
	width: 100% !important;
	margin: auto !important;
	object-fit: contain !important;
	object-position: center center !important;
}

@media (max-width: 768px) {

	.web4t-af5-gallery .fancybox__nav .f-button.is-prev,
	.web4t-af5-gallery .fancybox__nav .f-button.is-next {
		display: none;
	}
}
