@import url("https://fonts.verwaltungsportal.de/import/?family=Noto+Sans:300,400,500,600,700,300i,400i,500i,600i,700i");
@import url("https://fonts.verwaltungsportal.de/import/?family=Open+Sans:300,400,500,600,700,300i,400i,500i,600i,700i");

html {
	max-width: 1930px;
	margin-left: auto;
	margin-right: auto;
	background: #ecf3e6;
	scroll-behavior: smooth;
	scroll-padding-top: 100px;
	scrollbar-color: #406c1e #ffffff;
	scrollbar-width: thin;
}

body {
	font-family: "Open Sans", sans-serif;
	font-weight: 400;
	color: #191919;
	background: #ffffff;
	font-size: clamp(1rem, 2vw, 1.125rem);
	/* 1rem = 16px */
	line-height: 1.5;
}

a {
	color: #406c1e;
}

a:is(:hover, :focus) {
	color: #406c1e;
	text-decoration: underline;
}

#content a,
b,
strong {
	font-weight: 600;
}

.overflow {
	overflow: clip;
	position: relative;
}

/* ------------------------------------------- logo --------------------------------------------- */

#logo {
	display: inline-block;
}

#logo img {
	display: block;
}

@media (max-width: 767px) {
	#logo {
		margin: 15px 0;
	}

	#logo img {
		max-width: calc(100vw - 120px);
		width: 100%;
	}
}

@media (min-width: 768px) and (max-width: 1199px) {
	#logo img {
		max-width: 350px;
		width: 100%;
	}
}

/* -------------------------------------------- banner ------------------------------------------ */

#slider {
	max-height: clamp(300px, 62vw, 600px);
	position: relative;
}

@media (min-width: 768px) {
	#bannerOverlay {
		position: absolute;
		left: 60px;
		top: calc(50% - 40px);
		z-index: 61;
		transform: translateY(-50%);
	}
}

@media (min-width: 992px) {
	#headerpic a.nivo-nextNav {
		right: 65px;
	}

	#headerpic .nivo-controlNav {
		bottom: 90px;
	}
}

@media (min-width: 1200px) {
	#bannerOverlay {
		left: 180px;
	}

	#headerpic a.nivo-prevNav {
		left: 65px;
	}
}

#headerpic {
	padding: 0;
	position: relative;
}

.slider-wrapper,
#slider {
	height: 100%;
}

.slider-mask {
	display: none;
}

/* #region ---------------------------------- navigation ---------------------------------------- */

/* burgermenu for tablet */

@media (max-width: 991px) {
	#burgerButton {
		font-size: 0;
		display: block;
		height: 50px;
		width: 60px;
		border-radius: 2px;
		padding: 6px 8px;
		cursor: pointer;
		background: #ffffff;
		border: none !important;
		box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
	}

	#burgerButton::before,
	#burgerButton::after,
	#burgerButtonInner {
		background-color: #7ac53b;
		border-radius: 2px;
		position: absolute;
		width: 40px;
		height: 3px;
		left: 10px;
		transition:
			transform 200ms linear,
			opacity 200ms linear;
	}

	#burgerButton[aria-expanded="true"] #burgerButtonInner {
		transform: rotate(-45deg) translate(-6px, 6px);
	}

	#burgerButton[aria-expanded="true"]::before {
		opacity: 0;
	}

	#burgerButton[aria-expanded="true"]:after {
		transform: rotate(45deg) translate(-4px, -6px);
	}

	#burgerButtonInner {
		top: 16px;
	}

	#burgerButton::before {
		top: 24px;
		content: "";
	}

	#burgerButton::after {
		top: 32px;
		content: "";
	}

	.navbar-nav {
		margin: 20px 0;
	}

	.navbar-collapse {
		width: calc(100% - 90px);
		max-width: 300px;
		top: 0;
		background: #7ac53b;
		position: fixed;
		left: -100%;
		bottom: 0;
		z-index: 100;
		height: auto !important;
		opacity: 0;
		pointer-events: none;
		visibility: hidden;
		overflow-y: auto;
		transition:
			left 300ms linear,
			opacity 300ms linear,
			box-shadow 600ms linear;
		box-shadow: 250px 0 50vw 50vw rgba(255, 255, 255, 0);
	}

	.navbar-collapse:is([aria-expanded="true"], .in) {
		left: 0;
		opacity: 1;
		pointer-events: auto;
		visibility: visible;
		box-shadow: 250px 0 50vw 50vw rgba(0, 0, 0, 0.6);
	}

	.navbar-header {
		position: fixed;
		top: 15px;
		right: 15px;
		z-index: 101;
	}

	.dropdown-toggle-button-wrapper {
		top: 7px;
	}

	.dropdown-toggle-button-wrapper2 {
		top: 6px;
	}
}

/* menu desktop */

@media (min-width: 992px) {
	.sticky-wrapper {
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
	}

	nav.horizontally {
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		right: 0;
		bottom: 0;
		max-width: 1930px;
		width: 100%;
		z-index: 101;
		background-color: rgba(255, 255, 255, 0.5);
		transition: all 0.3s 0s linear;
	}

	.is-sticky nav.horizontally {
		background-color: #fff;
		box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
		bottom: unset;
	}

	nav.horizontally .navbar-nav {
		padding: 10px 0;
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
	}

	nav.horizontally .navbar-nav > li {
		flex-grow: 1;
	}

	nav.horizontally .navbar-nav ul {
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 1000;
		display: block !important;
		pointer-events: none;
		opacity: 0;
		visibility: hidden;
		transition: opacity 300ms linear;
	}

	nav.horizontally .navbar-nav [class*="secondlevel"] > ul {
		left: 100%;
		top: 0;
	}

	nav.horizontally .navbar-nav li {
		position: relative;
	}

	nav.horizontally .navbar-nav li:is(.open:focus-within, :hover) > ul,
	nav.horizontally .navbar-nav li[class*="secondlevel"] > ul[style*="block"] {
		pointer-events: auto !important;
		opacity: 1 !important;
		visibility: visible;
	}

	nav.horizontally .navbar-nav li:is(:hover, :focus-within) > ul {
		z-index: 1003;
	}
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
	color: #191919;
	background: #7ac53b;
	font-weight: 700;
	text-align: left;
	padding: 12px 15px;
	text-transform: uppercase;
	position: relative;
	font-size: 1.125rem;
	line-height: 1.2;
	text-decoration: none;
	font-family: "Noto Sans", sans-serif;
}

@media (max-width: 991px) {
	nav.horizontally li[class*="toplevel"] {
		border-bottom: 2px solid #ffffff;
	}

	nav.horizontally a[class*="toplevel"].dropdown-toggle {
		padding-right: 35px;
	}
}

@media (min-width: 992px) {
	nav.horizontally li[class*="toplevel"] + li {
		margin-left: 5px;
	}

	nav.horizontally a[class*="toplevel"] {
		padding: 19px 10px;
		display: flex;
		align-items: center;
		justify-content: center;
		text-align: center;
		height: 100%;
	}
}

/* toplevel-over */

nav.horizontally li[class*="toplevel"]:is(:hover, :focus-within) > a,
nav.horizontally li[class*="toplevel"] > a:is(:hover, :focus),
nav.horizontally li[class*="toplevel"].open > a,
nav.horizontally li[class*="toplevel"].open > a:is(:hover, :focus),
nav.horizontally li[class*="toplevel"][class*="_over"] > a,
nav.horizontally li[class*="toplevel"][class*="_over"] > a:is(:hover, :focus) {
	background: #fff;
	color: #406c1e;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
	background-color: #ffffff;
	box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.2);
}

@media (max-width: 991px) {
	nav.horizontally [class*="toplevel"] > ul {
		padding: 10px 0;
	}
}

@media (min-width: 992px) {
	nav.horizontally [class*="toplevel"] ul {
		padding-top: 28px;
		padding-bottom: 28px;
	}

	nav.horizontally [class*="toplevel"] > ul {
		margin-top: 20px;
	}

	nav.horizontally [class*="secondlevel"] > ul {
		margin-top: -28px;
		margin-left: 10px;
	}

	nav.horizontally :is([class*="toplevel"], [class*="secondlevel"]) > ul::before {
		content: "";
		position: absolute;
		display: block;
	}

	nav.horizontally [class*="toplevel"] > ul::before {
		height: 20px;
		left: 0;
		right: 0;
		top: -20px;
	}

	nav.horizontally [class*="secondlevel"] > ul::before {
		width: 10px;
		top: 0;
		bottom: 0;
		left: -10px;
	}
}

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
	color: #191919;
	font-weight: 400;
	text-align: left;
	padding: 9px 25px;
	font-size: 1.125rem;
	line-height: 1.2;
	text-decoration: none;
}

@media (max-width: 991px) {
	nav.horizontally a[class*="secondlevel"].dropdown-toggle2 {
		padding-right: 35px;
	}
}

nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]) + li:not(:nth-child(2)) {
	border-top: 2px solid rgba(0, 0, 0, 0.1);
}

/* secondlevel + thirdlevel over */

nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]):is(:hover, :focus-within) > a,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]) > a:is(:hover, :focus),
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open > a,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open > a:is(:hover, :focus),
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"] > a,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"] > a:is(:hover, :focus) {
	background: #7ac53b;
}

/* #endregion ------------------------------- navigation ---------------------------------------- */

/* ------------------------------------------- content ------------------------------------------ */

#content {
	text-align: left;
	padding-bottom: 40px;
	padding-top: clamp(30px, 4vw, 60px);
}

@media (min-width: 992px) {
	#content > .row > div + div {
		padding-left: 45px;
	}
}

#content > .row {
	row-gap: 30px;
}

/* -------------------------------------- h1 - h6, newslink ------------------------------------- */

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
	color: #406c1e;
	font-weight: 700;
	line-height: 1.2;
	font-family: "Noto Sans", sans-serif;
}

h1,
.h1,
.legacy_h1 {
	font-size: clamp(1.875rem, 4vw, 2.125rem);
}

h2,
.h2,
.legacy_h2 {
	font-size: clamp(1.75rem, 3.5vw, 1.875rem);
}

h3,
.h3,
.legacy_h3 {
	font-size: 1.75rem;
}

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited) .legacy_h4 {
	font-size: 1.625rem;
}

h5,
.h5,
.legacy_h5 {
	font-size: 1.5rem;
}

h6,
.h6,
.legacy_h6 {
	font-size: 1.375rem;
}

/* --------------------------------------------- tabs ------------------------------------------- */

#tabs {
	padding-top: clamp(30px, 4vw, 60px);
	padding-bottom: 40px;
	position: relative;
	z-index: 1;
}

#tabs .tab {
	color: #191919;
	padding: clamp(30px, 3vw, 40px) clamp(30px, 3vw, 40px) clamp(30px, 3vw, 45px) clamp(30px, 3vw, 40px);
	font-size: 1rem;
   margin-bottom: 30px;
}

@media (min-width: 992px) {
	#tabs .tab {
		margin-left: 30px;
	}
}

#tabs .tab.tab0 {
	border: 1px solid #7ac53b;
   padding-block: 15px;
}

#tabs .tab.tab1 {
	background-color: #7ac53b;
}

#tabs .tab1 a:is([href*="mailto"], [href*="tel"]) {
	text-decoration: underline;
   color: inherit;
}

#tabs .tab1 a:not([href*="mailto"], [href*="tel"]) {
   background: #ffffff;
   border-radius: 4px;
   padding: 8px 15px;
   color: #406c1e;
   font-size: .875rem;
   font-weight: 700;
   text-transform: uppercase;
   display: inline-block;
   margin-top: 30px;
}

#tabs .tab1 a:not([href*="mailto"], [href*="tel"]):is(:hover, :focus) {
   background: #406c1e;
   color: #ffffff;
   text-decoration: none;
}

#tabs > .row > * + * {
	margin-top: 30px;
}

@media (min-width: 576px) and (max-width: 991px) {
	#tabs > .row > * + * {
		margin-top: 0;
	}

	#tabs .tab {
		height: 100%;
		min-height: 100%;
	}
}

#tabs .tabHeadline {
	color: #191919;
	text-transform: uppercase;
	font-family: "Noto Sans", sans-serif;
	font-size: 1.625rem;
	margin-bottom: 25px;
	hyphens: auto;
}

#tabs .tab_spacer {
	height: 20px;
}

/* ------------------------------------------ tab buttons --------------------------------------- */

#tabs .tab .tab_link_mehr a {
	font-size: 0.875rem;
	text-transform: uppercase;
	font-weight: 700;
	background: #fff;
	color: #406c1e;
	border-radius: 4px;
	padding: 9px 15px;
	text-decoration: none;
	display: inline-block;
	font-family: "Noto Sans", sans-serif;
}

#tabs .tab .tab_link_mehr a:is(:hover, :focus) {
	background: #406c1e;
	color: #fff;
}

/* ----------------------------------------------- @9ev events -------------------------------------------- */

#ev9 .tab {
	font-size: 1rem;
	color: #191919;
	padding: 35px 30px 30px 30px;
	background-color: #7ac53b;
}

#ev9 .tabSpecial {
	margin-bottom: 20px;
}

#ev9 .tabHeadline {
	font-size: clamp(1.375rem, 3vw, 1.625rem);
	color: #191919;
	font-weight: 700;
	margin-bottom: 0;
	text-transform: uppercase;
}

#ev9 .tab_link_entry {
	border: none !important;
	display: flex !important;
	flex-wrap: wrap;
	position: relative;
	flex-direction: column;
	justify-content: center;
	min-height: 80px;
	z-index: 12;
}

#ev9 .tab_link_entry+.tab_link_entry {
	margin-top: 30px;
}

#ev9 .tab_link_entry+.tab_link_entry::before {
	content: '';
	pointer-events: none;
	height: 1px;
	width: 100%;
	position: absolute;
	top: -15px;
	left: -30px;
	right: 0px;
	background: linear-gradient(to right, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0));
}

#ev9 .tab_link_title a {
	color: #191919;
	font-weight: 600;
}

#ev9 .tab_link_mandat a {
	color: #191919;
}

#ev9 .tab_preview_picture,
#ev9 .vorschau,
#ev9 .tab_link .tab_link_mehr {
	display: none;
}

#ev9 .tab_link_entry .tab_spacer {
	height: 0;
}

#ev9 .tab_link_mehr {
	font-size: 0;
}

/* ------------------------------------------ Kontaktbox --------------------------------------- */

#contactBox {
	background: #7ac53b;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: #191919;
	position: relative;
	font-size: 1rem;
	z-index: 0;
}

#tabLogo,
#contact {
	padding-top: 40px;
	padding-bottom: 40px;
}

@media (min-width: 1200px) {
	body.index #contactBox > .row::after {
		content: "";
		display: block;
		position: absolute;
		background: url("../img/wasserzeichen-logo.png") no-repeat;
		width: 463px;
		height: 150px;
		right: 0;
		top: 0%;
		transform: translateY(-100%);
		z-index: -1;
	}
}

#contactBox .row {
	position: static;
}

#contact .tabHeadline {
	color: #191919;
}

#contact a {
	color: #191919;
	text-decoration: underline;
}

@media (max-width: 991px) {
	#tabLogo,
	#contact {
		text-align: center;
		margin-bottom: 25px;
	}
}

/*------- map ------*/

#map iframe,
#map .iframe-wrapper-manual-enabling {
	min-width: 100% !important;
	width: 100% !important;
	display: block;
}

/* ------------------------------------------- innerfooter -------------------------------------- */

#innerfooter {
	padding: 33px 0;
	font-size: 0.9375rem;
}

#innerfooter > .row {
	row-gap: 25px;
}

#innerfooter ul {
	padding: 0;
}

#innerfooter ul a {
	color: #191919;
	text-decoration: none;
}

@media (min-width: 576px) {
	#innerfooter ul li {
		display: inline-block;
	}

	#innerfooter ul li + li::before {
		content: "•";
		margin: 0 clamp(15px, 2vw, 25px);
		color: #191919;
	}
}

#innerfooter ul a:is(:hover, :focus) {
	color: #406c1e;
}

/* --------------------------------------------- vernetzt --------------------------------------- */

#vernetzt {
	gap: 18px;
	text-align: right;
	font-size: 0.875rem;
	color: #191919;
	line-height: 1.4;
	font-weight: 400;
	text-decoration: none;
}

#vernetzt :is(b, strong) {
	color: #406c1e;
	font-weight: 600;
}

#vernetzt span span {
	display: block;
}
