.sitewrap:not(:has(.top-pane)) .center-pane .homepage-banner-module:first-child {
	margin-top: -75px;
}

.sitewrap:not(:has(.top-pane)) .center-pane .homepage-banner-module:first-child .modulelinks,
.sitewrap:not(:has(.top-pane)) .center-pane .homepage-banner-module:first-child .flexi-item-edit {
	top: 35px;
}

.top-pane .homepage-banner-module:first-child {
	margin-top: -30px;
}

.homepage-banner-module {
	position: relative;
	overflow: hidden;
	min-height: 150px;
}

.homepage-banner__label span {
	color: #fff;
	font-weight: 500;
	font-size: 18px;
}

.homepage-banner__label span::before {
	background-color: var(--brand-success);
	height: 3px;
	width: 60px;
	display: inline-block;
	position: relative;
	content: "";
	margin-right: 20px;
	vertical-align: middle;
}

.homepage-banner-module h2 {
	margin: 25px 0;
	font-size: 40px;
}

.homepage-banner-module > * {
	z-index: 1;
	position: relative;
}

.homepage-banner-module .modulelinks {
	background-color: var(--gray-darker);
	position: absolute;
	top: 30px;
	left: 0;
	z-index: 2;
	color: #fff;
	padding: 4px 8px;
}

.homepage-banner-module .modulelinks a {
	color: #fff;
}

.homepage-banner-module .modulelinks a:hover {
	color: #fff;
}

.homepage-banner__item {
	margin: 0 calc((var(--grid-gutter-width) / 2) * -1);
}

.homepage-banner__item--inner {
	background-color: var(--brand-primary);
	background-position: center center;
	background-repeat: no-repeat;
    background-size: contain;
	max-width: 100%;
	min-width: 100%;
	padding-bottom: 35px;
	position: relative;
}

.homepage-banner__item,
.homepage-banner__item a,
.homepage-banner__item h1,
.homepage-banner__item h2,
.homepage-banner__item h3,
.homepage-banner__item h4,
.homepage-banner__item h5,
.homepage-banner__item h6,
.homepage-banner__item .moduletitle {
	color: #fff;
}

.homepage-banner__item--inner > * {
	z-index: 2;
	position: relative;
}

.homepage-banner-module .flexi-item-edit {
	background-color: var(--gray-darker);
	position: absolute;
	top: 30px;
    left: 50%;
	transform: translate(-50%, 0);
	color: #fff;
	padding: 4px 8px;
	z-index: 5;
}

.homepage-banner__content {
	padding: 75px 25px 40px;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}

.item-center .homepage-banner__content {
	text-align: center;
    max-width: 900px;
    padding: 40px;
    margin-left: auto;
    margin-right: auto;
}

.homepage-banner__item--inner[style*="background-position: center center"] .homepage-banner__content-innerwrap > *:last-child {
	margin-bottom: 0;
}

.homepage-banner__content .btn {
	margin-top: 25px;
}

.homepage-banner__content .btn i.fal {
	margin-left: 20px;
	vertical-align: middle;
}

.overlay-primary .homepage-banner__item--inner::before,
.overlay-dark .homepage-banner__item--inner::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	content: "";
	display: block;
	background-color: var(--brand-primary);
	opacity: 0.4;
}

.overlay-dark .homepage-banner__item--inner::before {
	background-color: var(--text-color);
}

@media screen and (min-width: 500px) and (max-width: 992px) {
	.homepage-banner__item--inner {
		padding-bottom: 0;
	}
}

@media screen and (min-width: 992px) and (max-width: 1200px) {
	.homepage-banner__item--inner {
		background-size: 60vw auto;
	}
}

@media (min-width: 768px) {
	.homepage-banner__item--inner,
	.overlay-primary .homepage-banner__item--inner::before,
	.overlay-dark .homepage-banner__item--inner::before {
		border-radius: 15px;
	}
}

@media screen and (min-width: 1200px) {
	.homepage-banner__item--inner {
		padding-bottom: 35px;
	}

	.homepage-banner__item {
		margin: 0 -100px;
	}
}

@media screen and (min-width: 992px) and (max-width: 1200px) {
	.homepage-banner__content {
		padding: 75px 75px 40px;
		text-align: left;
	}
}

@media (min-width: 992px) {
	.homepage-banner-module h2 {
		font-size: 55px;
		width: 800px;
    	max-width: 100%;
		margin-bottom: 40px;
	}

	.homepage-banner__content-innerwrap {
		width: 800px;
    	max-width: 100%;
	}

	.item-center .homepage-banner__content {
		padding: 60px;
	}

	.homepage-banner__content {
		text-align: left;
	}

	.item-center .homepage-banner__content .homepage-banner__content-innerwrap {
		width: 100%;
	}

	.homepage-banner__content .btn {
		margin-top: 30px;
	}
}
@media (min-width: 1200px) {
	.homepage-banner-module {
		position: relative;
		margin: 0;
	}

	.homepage-banner-module h2 {
		font-size: 52px;
	}

	.homepage-banner__content {
		padding: 100px 40vw 50px 10vw;
	}

	.homepage-banner__content-innerwrap {
		max-width: 80%;
	}

	.item-center .homepage-banner__content {
		padding: 80px;
	}

	.item-center .homepage-banner__content .homepage-banner__content-innerwrap {
		max-width: 100%;
	}

	.homepage-banner__item {
		overflow: hidden;
	}
}

@media (min-width: 1400px) {
	.homepage-banner-module h2 {
		font-size: 66px;
	}

	.homepage-banner__content {
		padding: 100px 35vw 50px 7vw;
	}

	.item-center .homepage-banner__content {
		padding: 140px;
	}

}

@media (min-width: 1600px) {
	.homepage-banner__content {
		padding: 150px 30vw 100px 8vw;
	}
}