.rac-ngg-bg-slideshow {
	position: relative;
	width: 100%;
	overflow: hidden;
	pointer-events: none;
}

.rac-ngg-bg-slideshow--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 240px;
	padding: 24px;
	background: #f0f0f1;
	color: #50575e;
	text-align: center;
	pointer-events: auto;
}

.rac-ngg-bg-slideshow__slides {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.rac-ngg-bg-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	z-index: 0;
	overflow: hidden;
	transition: opacity var(--rac-slideshow-fade, 1s) ease-in-out;
}

.rac-ngg-bg-slide.is-active {
	opacity: 1;
	z-index: 1;
}

.rac-ngg-bg-slide__image {
	position: absolute;
	inset: -8%;
	width: 116%;
	height: 116%;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	transform: scale(1);
	transform-origin: center center;
	will-change: transform;
}

.rac-ngg-bg-slideshow__overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
}

.rac-ngg-bg-slideshow__timer {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	z-index: 4;
	background: var(--rac-timer-track, rgba(255, 255, 255, 0.25));
	pointer-events: none;
}

.rac-ngg-bg-slideshow__timer-progress {
	display: block;
	width: 0;
	height: 100%;
	background: var(--rac-timer-bar, rgba(255, 255, 255, 0.85));
}

.rac-ngg-bg-slideshow.is-playing .rac-ngg-bg-slideshow__timer-progress {
	animation: rac-ngg-timer-progress var(--rac-slideshow-duration, 10s) linear forwards;
}

@keyframes rac-ngg-timer-progress {
	from {
		width: 0;
	}
	to {
		width: 100%;
	}
}

@keyframes rac-ngg-ken-burns-in {
	from {
		transform: scale(1.15);
	}
	to {
		transform: scale(1);
	}
}

@keyframes rac-ngg-ken-burns-out {
	from {
		transform: scale(1);
	}
	to {
		transform: scale(1.15);
	}
}

.rac-ngg-ken-burns.rac-ngg-ken-burns-active.rac-ngg-ken-burns--in {
	animation: rac-ngg-ken-burns-in var(--rac-slideshow-duration, 10s) ease-out forwards;
}

.rac-ngg-ken-burns.rac-ngg-ken-burns-active.rac-ngg-ken-burns--out {
	animation: rac-ngg-ken-burns-out var(--rac-slideshow-duration, 10s) ease-out forwards;
}
