@import url("https://fonts.verwaltungsportal.de/import/?family=Merriweather+Sans:300,700,300i,700i%7CMerriweather:400,700,400i,700i");

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

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

a {
	color: #7e4899;
}

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

.linkUnderline a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: text-decoration 300ms;
}

.linkUnderline a:is(:hover, :focus) {
	text-decoration-color: transparent;
}

b,
strong {
	font-weight: 700;
}

#overflow {
	overflow: clip;
}

/* ----------------------------------------------- @3tp topbar ----------------------------------------------- */

#tp3 {
	color: #2b2b2b;
	padding-top: 10px;
	padding-bottom: 10px;
	background: #83ad6c;
}

@media (max-width: 991px) {
	#tp3>.row>*+* {
		margin-top: 10px;
	}
}

@media (max-width: 575px) {
	#tp3>.row>*>*+* {
		margin-top: 10px;
	}
}

@media (min-width: 992px) {
	#tp3 {
		padding-top: 3px;
		padding-bottom: 3px;
	}
}

#tp3 span {
	color: #2b2b2b;
	font-size: 0.875rem;
	padding-right: 10px;
	font-weight: 700;
	font-family: "Merriweather", sans-serif;
}

/* ------------------------------------------------ contrast_style ---------------------------------------------- */

#contrast_style button {
	color: #000000;
	padding: 0;
	font-size: 0;
	border: unset !important;
	display: inline-block;
	text-align: center;
	width: 2.0625rem;
	height: 2.0625rem;
	font-weight: 400;
	background: rgba(255, 255, 255, 0.9);
	transition: background 300ms linear;
	position: relative;
	z-index: 1;
}

#contrast_style button:hover,
#contrast_style button:focus {
	background: #7e4899;
}

#contrast_style *+* {
	margin-left: 3px;
}

/* ------------------------------------------------ styler ---------------------------------------------- */

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

#style button {
	padding: 0;
	border: none;
	color: #58453a;
	display: inline-block;
	min-width: 2.0625rem;
	min-height: 2.0625rem;
	font-weight: 300;
	font-size: 0.875rem;
	text-align: center;
	background: rgba(255, 255, 255, 0.9);
	position: relative;
	line-height: 1;
	transition: color 300ms linear, background 300ms linear;
}

#style button+button {
	margin-left: 3px;
}

#style button:hover,
#style button:focus {
	color: #fff;
	background: #7e4899;
}

/* LOGO MIT TEXT -------------------------------------------------------- */

.logo {
	display: flex;
	flex-wrap: wrap;
	gap: 15px 15px;
	text-decoration: none !important;
	margin: 20px 0;
}

.logo .template-page {
	width: auto;
}

.logo .cleaner {
	display: none;
}

.logoText {
	color: #2d2d2d;
	font-size: 1.125rem;
	align-content: center;
	line-height: 1.1;
	font-weight: 300;
	text-transform: uppercase;
}

.logoText :is(b, strong) {
	display: block;
	font-family: "Merriweather", sans-serif;
	font-weight: 700;
	text-transform: none;
	color: #506e40;
	font-size: 1.375rem;
}

.logoText br {
	display: none;
}

@media (max-width: 575px) {
	.logoText {
		hyphens: auto;
	}
}

.logo img {
	display: block;
	max-width: 30vw;
}

/* LOGO MIT TEXT -------------------------------------------------------- */

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

/* burgermenu for tablet */

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

	#burgerButton::before,
	#burgerButton::after,
	#burgerButtonInner {
		background-color: #506e40;
		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: #ffffff;
		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: 4px;
	}
}

/* menu desktop */

@media (min-width: 992px) {
	nav.horizontally {
		background-color: #ffffff;
		box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.2);
		position: sticky;
		left: 0;
		right: 0;
		top: 0;
		z-index: 101;
	}

	.navbar,
	.navbar>div#myNavbar,
	.navbar>div#myNavbar>ul,
	.navbar>div#myNavbar>ul>li {
		height: 100% !important;
	}

	nav.horizontally .navbar-nav {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	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, :hover)>ul,
	nav.horizontally .navbar-nav li.open:focus-within>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.open>ul {
		pointer-events: none !important;
		opacity: 0 !important;
		visibility: hidden;
	}

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

/* toplevel */

nav.horizontally a[class*="toplevel"] {
	color: #2d2d2d;
	font-weight: 300;
	text-align: left;
	padding: 12px 15px;
	position: relative;
	font-size: 1.125rem;
	line-height: 1.2;
	text-decoration: none;
}

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

@media (min-width: 992px) {
	nav.horizontally a[class*="toplevel"] {
		padding: 20px 10px;
		display: flex;
		align-content: center;
		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-color: #ffea3d;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
	padding: 10px 0;
	background-color: #ffffff;
	border-radius: 5px;
	box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.2);
}

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

@media (min-width: 992px) {
	nav.horizontally [class*="toplevel"]>ul {
		left: 50%;
		margin-top: 10px;
		transform: translate(-50%, 0);
	}

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

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

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

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

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
	background-color: transparent;
	color: #494949;
	font-weight: 300;
	text-align: center;
	padding: 8px 30px;
	position: relative;
	font-size: 1.125rem;
	line-height: 1.2;
	text-decoration: none;
}

@media (max-width: 991px) {
	nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
		text-align: left;
	}

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

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"])::after {
	content: "";
	position: absolute;
	left: 0%;
	top: 50%;
	height: 2px;
	margin-top: -1px;
	width: 0;
	background-color: #83ad6c;
	transition: width 200ms linear;
}

/* 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) {
	color: #7e4899;
	background-color: transparent;
}

nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]):is(:hover, :focus-within)>a::after,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])>a:is(:hover, :focus)::after,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a::after,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a:is(:hover, :focus)::after,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a::after,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a:is(:hover, :focus)::after {
	width: 22px;
}

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

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

@media (min-width: 992px) {
	#headerpic a.nivo-prevNav {
		left: 65px;
		top: 30px;
	}

	#headerpic a.nivo-nextNav {
		right: 65px;
		top: 30px;
	}

	#headerpic .nivo-controlNav {
		top: 30px;
		bottom: auto;
		pointer-events: none;
	}

	#headerpic .nivo-controlNav .slick-dots {
		pointer-events: all;
	}
}

#headerpic {
	position: relative;
}

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

#headerpic .slider-mask {
	display: block;
	background: #83ad6c;
	opacity: 0.6;
	height: 10px;
	bottom: 0;
}

#slider {
	overflow: hidden;
	position: relative;
	/*1920px * 530px*/
	height: 18vw;
	max-height: clamp(300px, 16vw, 350px);
}

body.index #slider {
	height: 28vw;
	max-height: clamp(300px, 52vw, 420px);
}

@media (max-width: 991px) {

	#slider-onebanner,
	#slider .nivo-box>div,
	#slider .nivo-slice>div,
	#slider .nivo-main-image,
	#slider div[style*='background-size'] {
		background-attachment: unset !important;
		background-size: 100% auto !important;
	}
}

/* --------------------------------------------- bannerOverlay ------------------------------------------- */

#bannerOverlay .bannerTab {
	padding: 20px 20px;
	background-color: rgba(255, 255, 255, 0.8);
	border-radius: clamp(25px, 4vw, 50px) 2px;
	border-top: 5px solid rgba(131, 173, 108, 0.6);
	border-bottom: 5px solid rgba(220, 202, 230, 0.6);
	box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.1);
}

#bannerOverlay .wappenTab {
	line-height: 0;
	font-size: 0;
}

#bannerOverlay .wappenTab img {
	max-width: 148px;
}

#bannerOverlay .bannerTab .tab1 {
	color: #2d2d2d;
	font-size: 1rem;
	font-weight: 300;
}

#bannerOverlay .bannerTab .tab1 :is(b, strong) {
	margin-bottom: 10px;
	font-size: 1.125rem;
	display: inline-block;
}

#bannerOverlay .bannerTab .tab1 .tabHeadline {
	color: #506e40;
	font-size: 1.75rem;
}

@media (min-width: 992px) {
	#bannerOverlay .bannerTab {
		display: flex;
		align-items: center;
		align-content: center;
		gap: 20px;
	}
}

@media (min-width: 1200px) {
	#bannerOverlay {
		position: absolute;
		pointer-events: none;
		bottom: 40px;
		left: 0;
		right: 0;
		z-index: 12;
	}

	#bannerOverlay .bannerTab {
		pointer-events: all;
	}
}

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

.tab {
	max-width: 400px;
	margin: 0 auto;
	background-color: #fff;
	position: relative;
	border-radius: clamp(25px, 4vw, 50px) 2px;
	border-top: 5px solid rgba(131, 173, 108, 0.6);
	border-bottom: 5px solid rgba(220, 202, 230, 0.6);
	box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.1);
	padding-bottom: 40px;
}

/* ----------------------------------------------- @10ev events -------------------------------------------- */

#ev10 .tab {
	margin-left: auto;
	margin-right: auto;
	position: relative;
	background: #ffffff;
	font-size: 0.9375rem;
	color: #2d2d2d;
	-webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
	box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
}

#ev10 .tabSpecial {
	padding: 20px;
}

#ev10 .tabSpecial .tabHeadline {
	text-align: center;
	font-size: 1.4375rem;
	font-weight: 700;
	margin: 0;
}

#ev10 #clr-events-hide {
	margin-top: 25px;
	padding-left: 20px;
	padding-right: 20px;
}

#ev10 .tab .eventclndr-tab {
	margin-bottom: 0;
}

#ev10 .tab .tab_link_title a {
	color: #2d2d2d;
	font-weight: 600;
}

#ev10 .tab .tab_link_mandat a {
	color: #2d2d2d;
	font-weight: 400;
}

#ev10 .tab #clr-events-hide>p:nth-child(1) {
	display: none !important;
}

#ev10 .tab .tab_spacer {
	height: 15px;
}

#ev10 .tab .tab_link_mehr {
	color: transparent;
	font-size: 0;
	padding-right: 20px;
}

#ev10 .tab .tab_link_mehr a {
	text-decoration: none;
	display: inline-block;
	font-size: 0.9375rem;
	color: #7e4899;
	font-weight: 600;
	border-radius: 2px;
	padding: 3px 11px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.15);
}

#ev10 .tab .tab_link_mehr a:hover,
#ev10 .tab .tab_link_mehr a:focus {
	color: #ffffff;
	background: #7e4899;
}

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

#content {
	text-align: left;
	row-gap: 30px;
	padding-top: clamp(30px, 5vw, 70px);
	padding-bottom: clamp(30px, 7vw, 90px);
}

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

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
	color: #506e40;
	font-weight: bold;
	line-height: 1.2;
	font-family: "Merriweather", sans-serif;
}

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

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

h3,
.h3,
.legacy_h3 {
	font-size: clamp(1.5625rem, 3vw, 2rem);
}

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited) .legacy_h4 {
	font-size: clamp(1.5rem, 2.5vw, 1.75rem);
}

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

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

/* #region ----------------------------------- footer ------------------------------------------- */

#footerBG {
	position: relative;
	height: 180px;
	line-height: 0;
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

#footer {
	background: #ffea3d;
}

@media (max-width: 991px) {
	#footer {
		padding-top: 20px;
		padding-bottom: 20px;
	}
}

@media (max-width: 767px) {
	#footer>.row>.col-xs-12+* {
		border-top: 1px solid rgba(0, 0, 0, 0.2);
		margin-top: 15px;
		padding-top: 15px;
	}
}

#innerfooter ul {
	padding: 0;
}

#innerfooter a {
	color: #2d2d2d;
	text-decoration: none;
	display: inline-block;
	font-size: 1rem;
	padding: 6px 0;
}

@media (min-width: 992px) {
	#innerfooter a {
		padding: 56px 20px;
	}
}

#innerfooter a:is(:hover, :focus) {
	background: rgba(255, 255, 255, 0.3);
}

@media (min-width: 500px) {
	#innerfooter li+li {
		margin-left: 15px;
	}

	#innerfooter li {
		display: inline-block;
	}
}

/* ----------------------------------------- scroll top ----------------------------------------- */

#scroll-top {
	opacity: 1 !important;
	font-size: 0;
	border: 1px solid #2d2d2d;
	border-radius: 3px;
	width: 40px;
	height: 40px;
	display: block;
	position: relative;
	margin: 0 auto;
}

@media (min-width: 768px) {
	#scroll-top {
		margin-right: 0;
	}
}

#scroll-top::after {
	content: "";
	position: absolute;
	left: 13px;
	top: 16px;
	width: 9px;
	height: 9px;
	border-radius: 2px;
	display: inline-block;
	border-right: 2px solid #2d2d2d;
	border-top: 2px solid #2d2d2d;
	transform: rotate(-45deg);
	transition: border 300ms linear;
}

#scroll-top:is(:hover, :focus) {
	background-color: #fff;
}

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

#vernetzt {
	gap: 10px;
	text-align: left;
	font-size: 0.875rem;
	color: #2d2d2d;
	line-height: 1.4;
	text-decoration: none;
}

#vernetzt span span {
	display: block;
}