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

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

body {
	font-family: "Open Sans", sans-serif;
	color: #442f28;
	background: #e7f8db;
	font-size: 1rem;
	/* 1rem = 16px */
	line-height: 1.6;
	isolation: isolate;
}

a {
	color: #13750e;
}

#content a,
a:is(:hover, :focus) {
	color: #13750e;
	text-decoration: underline;
}

b,
strong {
	font-weight: 600;
}

#overflow {
	overflow: hidden;
}

/* ------------------------------------------- topbar ------------------------------------------- */

#topbar {
	padding: 15px 0;
	border-top: 4px solid #13750e;
}

#topbar>.row>*+*>*+* {
	margin-left: 70px;
}

#mail-tab {
	margin-left: 20px !important;
}

#mail-tab,
.iconsTop  {
	font-size: 14px;
	text-align: center;
}

#mail-tab a  {
	margin-bottom: 5px;
}

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

#logo {
	display: inline-block;
}

#logo.contrast_light_font {
	background: #fff !important;
}

#logo img {
	display: block;
}

@media (max-width: 991px) {
	#logo img {
		max-width: 210px;
		width: 100%;
	}
}

/* contact col */

#mail-tab a,
#search-button {
	border-radius: 40px;
	padding: 9px 18px 7px 18px;
	display: block;
	min-height: 42px;
	min-width: 42px;
}

.iconsTop {
	display: flex;
	margin-right: 10px;
	min-width: 150px;
}

.iconsTop img {
	border-radius: 40px;
	padding: 5px;
	min-height: 42px;
	min-width: 42px;
	background: #13750e;
	margin: 0 auto;
	
}

/* mail */

#mail-tab a {
	font-weight: 400;
	text-align: center;
	text-decoration: none;
	background: #13750e;
	color: #fff;
}

#mail-tab a[href*="mailto"] {
	background: #13750e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' viewBox='0 96 960 960' width='48'%3E%3Cpath d='M140 896q-24 0-42-18t-18-42V316q0-24 18-42t42-18h680q24 0 42 18t18 42v520q0 24-18 42t-42 18H140Zm340-302L140 371v465h680V371L480 594Zm0-60 336-218H145l335 218ZM140 371v-55 520-465Z' fill='%23ffffff'/%3E%3C/svg%3E") center / 24px auto no-repeat;
	font-size: 0;
	width: 42px;
}

/* search */

#search-button {
	background: #2e582a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' viewBox='0 96 960 960' width='48'%3E%3Cpath d='M774 913 533 672q-30 26-69.959 40.5T378 727q-108.162 0-183.081-75Q120 577 120 471t75-181q75-75 181.5-75t181 75Q632 365 632 471.15 632 514 618 554q-14 40-42 75l243 241q9 8.442 9 20.721t-9.913 22.192Q809 922 795.778 922q-13.222 0-21.778-9ZM377 667q81.25 0 138.125-57.5T572 471q0-81-56.875-138.5T377 275q-82.083 0-139.542 57.5Q180 390 180 471t57.458 138.5Q294.917 667 377 667Z' fill='%23fff'/%3E%3C/svg%3E") right bottom / 34px auto no-repeat;
	color: #ffffff;
	font-size: 0;
}

*+#search-button {
	margin-left: 10px;
}

@media (min-width: 992px) {
	*+#search-button::before {
		content: "";
		display: block;
		pointer-events: none;
		position: absolute;
		left: -40px;
		top: 50%;
		transform: translateY(-50%);
		background: #13750e;
		width: 1px;
		height: 30px;
	}
}

#mail-tab a,
#search-button {
	position: relative;
	z-index: 1;
}

:is(#mail-tab a, #search-button)::after {
	content: "";
	display: block;
	position: absolute;
	z-index: 1;
	top: -6px;
	left: -6px;
	right: -6px;
	bottom: -6px;
	opacity: 0;
	border-radius: 40px;
	transform: scale(0.8);
	transition: 300ms opacity linear, 300ms transform linear;
}

#mail-tab a::after {
	border: 2px solid #13750e;
}

#search-button::after {
	border: 2px solid #2e582a;
}

:is(#mail-tab a, #search-button):is(:hover, :focus)::after {
	opacity: 1;
	transform: scale(1);
}

/* #endregion ----------------------------------- topbar ---------------------------------------- */

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

:is(#style, #contrast_style) {
	/* width: 160px; */
	flex-shrink: 0;
	line-height: 1;
}

:is(#style, #contrast_style) button {
	background: #13750e;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	flex-shrink: 0;
}

:is(#style, #contrast_style) span {
	font-size: 0.875rem;
	font-weight: inherit;
	color: inherit;
	margin: 0 4px 0 0;
	width: unset;
}

:is(#style, #contrast_style) button:is(:hover, :focus) {
	background: #2e582a;
}

:is(#style, #contrast_style) *+* {
	margin-left: 10px;
}

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

#style button {
	font-weight: 400;
	font-size: 14px;
	padding: 0;
	border: none;
	color: #ffffff;
	display: inline-block;
	text-align: center;
	line-height: 20px;
}

/* -------------------------------------------- contrast ------------------------------------------ */

#contrast_style button {
	color: #000000;
	padding: 0;
	border: none;
	display: inline-block;
	font-weight: 400;
	text-align: center;
	position: relative;
	z-index: 1;
	font-size: 0;
}

#contrast_style button::before {
	content: "";
	position: absolute;
	inset: 6px;
	background: #fff;
	border-radius: 50%;
}

#contrast_style button::after {
	content: "";
	display: block;
	position: absolute;
	inset: 11px;
	border: 1px solid #4b4b4b;
	border-radius: 50%;
}

#contrast_style button:nth-of-type(1)::after {
	background: linear-gradient(to right, #4b4b4b, #4b4b4b 50%, #fff 50%);
}

#contrast_style button:nth-of-type(2)::after {
	background: linear-gradient(to right, #fff, #fff 50%, #4b4b4b 50%);
}

#contrast_style button:nth-of-type(3)::after {
	background: #ea5b0c;
	border: 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: #13750e;
		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;
		border-bottom: 1px solid #2e582a;
		padding-bottom: 20px;
	}

	.navbar-collapse {
		width: calc(100% - 90px);
		max-width: 300px;
		top: 0;
		background: #13750e;
		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 #e7f8db;
	}

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

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

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

/* menu desktop */

@media (min-width: 992px) {
	nav.horizontally {
		background: #13750e;
		transition: background 300ms;
	}

	.is-sticky nav.horizontally {
		background: #13750e;
	}

	.secondandthird-wrapper {
		padding: 10px 0;
	}

	nav.horizontally .navbar-nav {
		display: flex;
		justify-content: space-between;
		align-items: center;
		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.open>ul {
		pointer-events: none !important;
		opacity: 0 !important;
		visibility: hidden;
	}

	nav.horizontally .navbar-nav li:is(: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)>ul {
		z-index: 1003;
	}

	nav.horizontally .navbar-nav.toplevel-only>li>ul {
		display: none !important;
	}
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
	color: #fff;
	font-weight: 700;
	text-align: center;
	padding: 12px 35px;
	font-size: 1.125rem;
	line-height: 1.2;
	text-decoration: none;
	font-family: "Bitter", serif;
}

@media (min-width: 992px) {
	nav.horizontally a[class*="toplevel"]::after {
		content: "";
		position: absolute;
		background: url(../img/logo-hover.png);
		width: 40px;
		height: 63px;
		top: 50%;
		transform: translate(-50%, -50%);
		left: 50%;
		opacity: 0;
		transition: opacity 300ms;
	}

	nav.horizontally a[class*="toplevel"] {
		padding: 24px 0;
	}

	nav.horizontally li[class*="toplevel"]+li {
		margin-left: 15px;
	}
}

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

nav.horizontally li[class*="toplevel"]:is(:hover, :focus-within)>a::after,
nav.horizontally li[class*="toplevel"]>a:is(:hover, :focus)::after,
nav.horizontally li[class*="toplevel"].open>a::after,
nav.horizontally li[class*="toplevel"].open>a:is(:hover, :focus)::after,
nav.horizontally li[class*="toplevel"][class*="_over"]>a::after,
nav.horizontally li[class*="toplevel"][class*="_over"]>a:is(:hover, :focus)::after {
	opacity: 1;
}

/* secondlevel + thirdlevel dropdown-box */

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

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

	nav.horizontally [class*="toplevel"]>ul {
		left: 0;
	}

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

	nav.horizontally [class*="secondlevel"]>ul::before {
		content: "";
		display: block;
		position: absolute;
		width: 20px;
		top: 0;
		bottom: 0;
		left: -20px;
	}
}

/* secondlevel + thirdlevel */

:is(nav.horizontally, #menu-left) a:is([class*="secondlevel"], [class*="thirdlevel"]) {
	background: #ffffff;
	font-weight: normal;
	text-align: left;
	padding: 10px 18px;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
	color: #442f28;
}

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

@media (min-width: 992px) {
	#menu-left a[class*="thirdlevel"] {
		padding-left: 30px;
	}
}

/* secondlevel + thirdlevel over */

:is(nav.horizontally, #menu-left) li[class*="secondlevel"]:is(:hover, :focus-within)>a,
:is(nav.horizontally, #menu-left) li[class*="secondlevel"]>a:is(:hover, :focus),
:is(nav.horizontally, #menu-left) li[class*="secondlevel"].open>a,
:is(nav.horizontally, #menu-left) li[class*="secondlevel"].open>a:is(:hover, :focus),
:is(nav.horizontally, #menu-left) li[class*="secondlevel"][class*="_over"]>a,
:is(nav.horizontally, #menu-left) li[class*="secondlevel"][class*="_over"]>a:is(:hover, :focus) {
	background: #13750e;
	color: #ffffff;
}

:is(nav.horizontally, #menu-left) li[class*="thirdlevel"]:is(:hover, :focus-within)>a,
:is(nav.horizontally, #menu-left) li[class*="thirdlevel"]>a:is(:hover, :focus),
:is(nav.horizontally, #menu-left) li[class*="thirdlevel"].open>a,
:is(nav.horizontally, #menu-left) li[class*="thirdlevel"].open>a:is(:hover, :focus),
:is(nav.horizontally, #menu-left) li[class*="thirdlevel"][class*="_over"]>a,
:is(nav.horizontally, #menu-left) li[class*="thirdlevel"][class*="_over"]>a:is(:hover, :focus) {
	background: #2e582a;
	color: #fff;
}

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

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

#slider {
	padding: 0;
	position: relative;
	max-height: clamp(230px, 46vw, 400px);
}

@media (min-width: 992px) {
	body.index :is(#slider) {
		max-height: clamp(250px, 68vw, 650px);
	}

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

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

#headerpic {
	position: relative;
}

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

.slider-mask {
	display: none;
}

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

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

#content-area {
	text-align: left;
	row-gap: 40px;
	padding: clamp(30px, 4vw, 60px) 0 clamp(40px, 6vw, 80px) 0;
}

@media (min-width: 992px) {
	#content-area::after {
		content: "";
		position: absolute;
		right: calc((100vw - 992px) / 2 * -1);
		top: calc(clamp(-60px, -4vw, -40px) - 30px);
		background: linear-gradient(180deg, transparent 75%, #e7f8db 100%), url(../img/eier-in-einer-verpackung.png);
		width: 817px;
		height: 815px;
		background-position: top right;
		background-repeat: no-repeat;
		background-size: contain;
		pointer-events: none;
		z-index: -1;
	}
}

@media (min-width: 1200px) {
	#content-area::after {
		right: calc((100vw - 1200px) / 2 * -1);
	}
}

@media (min-width: 1920px) {
	#content-area::after {
		right: -365px;
	}
}

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

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

h1,
.h1 {
	font-size: 1.875rem;
}

h2,
.h2 {
	font-size: 1.75rem;
}

h3,
.h3 {
	font-size: 1.625rem;
}

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

h5,
.h5 {
	font-size: 1.375rem;
}

h6,
.h6 {
	font-size: 1.25rem;
}

/* #region ------------------------------------ tabs -------------------------------------------- */

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

@media (min-width: 1200px) {
	#tabs {
		padding-left: 42px;
	}

	#menu-left {
		padding-right: 42px;
	}
}

.tab_link_mehr {
	text-align: center !important;
	font-size: 0;
}

.tab_link_mehr a {
	color: #ffffff;
	background: #13750e;
	border-radius: 2px;
	display: inline-block;
	padding: 4px 13px;
	font-weight: 600;
	font-size: 0.8125rem;
	text-decoration: none;
}

.tab_link_mehr a:is(:hover, :focus) {
	background: #2e582a;
}

/* #endregion --------------------------------- tabs -------------------------------------------- */

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

#ev10 .tab {
	margin-left: auto;
	margin-right: auto;
	position: relative;
	background: #ffffff;
	font-size: 0.875rem;
	padding: 20px;
	max-width: 300px;
	margin-inline: auto;
}

#ev10 .tabSpecial {
	padding: 0 0 20px 0;
}

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

#ev10 #clr-events-hide {
	margin-top: 25px;
}

#ev10 .clr-events-tab-h3 {
	text-decoration: underline;
}

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

#ev10 .tab .tab_link_title a {
	color: #442f28;
	font-weight: 600;
}

#ev10 .tab .tab_link_mandat a {
	color: #442f28;
	font-weight: 600;
}

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

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

/* ------------------------------------------- footer ------------------------------------------- */

footer {
	background-color: #13750e;
	padding: 30px 0;
	color: #fff;
}

footer>.row {
	row-gap: 30px;
}

#innerfooter ul {
	padding: 0;
}

#innerfooter a {
	color: #fff;
	text-decoration: none;
	display: inline-block;
	font-size: 0.9375rem;
}

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

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

	#innerfooter li+li::before {
		content: "|";
		margin: 0 clamp(10px, 2vw, 20px);
		color: #fff;
	}
}

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

#vernetzt {
	gap: 14px;
	text-align: right;
	font-size: 0.8125rem;
	color: #ffffff;
	line-height: 1.3;
	text-decoration: none;
}

#vernetzt span span {
	display: block;
}