.top-pane .wahl-slider-module:first-child {
	margin-top: -22px;
}

.top-pane .wahl-slider-module .panelwrapper,
.bottom-pane .wahl-slider-module .panelwrapper {
	width: 100%;
	max-width: 100%;
	padding: 0;
	margin: 0;
}

.wahl-slider {
	position: relative;
	min-width: 0;
	overflow: hidden;
	margin: 0 auto;
}

.top-pane .wahl-slider:first-child {
	max-width: 95%;
}

.wahl-slider > * {
	z-index: 1;
}

.wahl-slider__edit {
	left: unset !important;
	right: 0;
}

.wahl-slider__edit,
.wahl-slider .modulelinks {
	background-color: #333333;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	color: #fff;
	padding: 4px 8px;
}

.wahl-slider .modulelinks a {
	color: #fff;
}

.wahl-slider .modulelinks a:hover {
	color: #fff;
}

.wahl-slider__item {
	background-size: cover;
	background-position: center center;
	max-width: 100%;
	min-width: 0;
	min-height: 0;
}

.wahl-slider__item,
.wahl-slider__item a,
.wahl-slider__item h1,
.wahl-slider__item h2,
.wahl-slider__item h3,
.wahl-slider__item h4,
.wahl-slider__item h5,
.wahl-slider__item h6,
.wahl-slider__item .moduletitle {
	color: #fff;
}

/* .wahl-slider__item::before {
	background: rgba(0,0,0,0.5);
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
} */

.wahl-slider__full-tint .wahl-slider__item--inner::before {
	background: rgba(0,0,0,0.5);
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.wahl-slider__item > * {
	z-index: 2;
	position: relative;
}

.wahl-slider__item a:hover {
	color: #fff;
}

.wahl-slider__item-edit {
	background-color: #333333;
	position: absolute;
	top: 0;
	right: 0;
	color: #fff;
	padding: 4px 8px;
	z-index: 5;
}

.wahl-slider__content {
	padding-top: 40px;
	padding-bottom: 40px;
}

.wahl-slider__controls {
	position: relative;
	text-align: center;
}

.wahl-slider__control {
	background-color: var(--text-color);
	border: 0 none;
	color: #fff;
	display: inline-block;
	font-size: 16px;
	width: 50%;
	padding: 20px 30px;
	text-align: center;
	transition: background-color 150ms ease;
	z-index: 2;
}

.wahl-slider__control:hover {
	background-color: var(--brand-primary);
	transition: background-color 150ms ease;
}

.wahl-slider__control--next {
	margin-left: 10px;
}

.wahl-slider__item--inner {
	background-size: cover;
	background-position: center center;
	max-width: 100%;
	min-width: 0;
	min-height: 300px;
}

.wahl-slider__item--inner[data-orientation="center"] .wahl-slider__content {
	margin: 0 auto;
	text-align: center;
}

.wahl-slider__item--inner[data-orientation="right"] .wahl-slider__content {
	margin: 0 0 0 auto;
}

.wahl-slider__content {
	background-color: rgb(52 55 65 / 50%);
	padding: 40px;
}

.wahl-slider__full-tint .wahl-slider__content {
	background-color: unset;
	z-index: 999;
	position: relative;
}

.wahl-slider__title {
	text-transform: uppercase;
	font-size: 36px;
	font-weight: 700;
}

.wahl-slider__content h1,
.wahl-slider__content h2,
.wahl-slider__content h3,
.wahl-slider__content h4,
.wahl-slider__content h5,
.wahl-slider__content h6,
.wahl-slider__content a:not(.btn) {
	color: #fff;
}

.wahl-slider__content a:not(.btn):hover {
	color: #fff;
	text-decoration: underline;
}


@media (max-width: 767px) {
	.wahl-slider__controls {
		font-size: 0;
	}
	.wahl-slider__control--next {
		margin-left: 0;
	}
	.wahl-slider__control--next::before {
		content: "Next";
		padding-right: 15px;
	}
	.wahl-slider__control--prev::after {
		content: "Previous";
		padding-left: 15px;
	}
}
@media (min-width: 768px) {
	.wahl-slider {
		position: relative;
		margin: 0 auto;
	}
	.wahl-slider__controls {
		position: static;
	}
	.wahl-slider__control {
		display: block;
		height: 140px;
		left: 0;
		padding: 23px;
		position: absolute;
		top: 50%;
		transform: translate(0, -50%);
		width: auto;
	}
	.wahl-slider__control--next {
		left: auto;
		right: 0;
		margin: 0;
	}
}
@media (min-width: 992px) {
	.wahl-slider__item--inner {
		padding: 10vw;
	}

	.wahl-slider__content {
		max-width: 600px;
	}

	.wahl-slider__full-tint .wahl-slider__item--inner {
		padding: 6vw 10vw;
	}
}

@media (min-width: 1200px) {

}