/*
 * FFG testimonial carousel (former Unlimited Elements "Testimonial Carousel" on
 * /jugendfeuerwehr/). Centre card highlighted, side cards faded and scaled down.
 */
.ffg-testi {
	--ffg-testi-name: var(--global-palette2, #da1a09);
	--ffg-testi-icon: var(--global-palette2, #da1a09);
	--ffg-testi-arrow: #fffcfc;
	font-family: 'Roboto Condensed', sans-serif;
}

.ffg-testi .ffg-carousel__track {
	align-items: flex-start;
}

.ffg-testi__card {
	min-height: 100px;
	padding: 30px;
	border: 1px solid #d6d6d6;
	border-radius: 5px;
	background: #fff;
	color: #000;
	font-size: 16px;
	text-align: center;
	opacity: 0.3;
	transform: scale(0.8);
	transition: 0.3s ease-in-out;
}

.ffg-testi .is-center .ffg-testi__card {
	opacity: 1;
	transform: none;
}

.ffg-testi__info {
	display: flex;
	flex-direction: column;
}

.ffg-testi__author {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 0;
}

.ffg-testi__name {
	margin-top: 0;
	color: var(--ffg-testi-name);
	font-size: 20px;
	font-weight: 800;
	line-height: 1px;
}

.ffg-testi__text {
	margin-top: 20px;
	color: #000;
	line-height: 22px;
}

.ffg-testi__text p {
	margin: 0;
}

.ffg-testi__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	margin-top: 15px;
	border-radius: 60px;
	background: var(--ffg-testi-icon);
	color: #fff;
	font-size: 20px;
}

.ffg-testi__icon .ffg-icon {
	width: 0.875em;
	height: 1em;
}

.ffg-testi .ffg-carousel__nav {
	top: 150px;
	width: 50px;
	height: 50px;
	border-radius: 10px;
	background: transparent;
	color: var(--ffg-testi-arrow);
	font-size: 37px;
	transition: 0.2s;
}

.ffg-testi .ffg-carousel__nav:hover {
	background: #fff;
	color: transparent;
}

.ffg-testi .ffg-carousel__nav--prev {
	left: 15px;
}

.ffg-testi .ffg-carousel__nav--next {
	right: 15px;
}
