@import url("https://fonts.verwaltungsportal.de/import/?family=Libre+Franklin:400,400i,700,700i");
@import url("https://fonts.verwaltungsportal.de/import/?family=Chelsea+Market:400");

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

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

a {
	color: #006a2a;
}

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

.linkUnderline a:not(.has-image, .shareButtonLink) {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: text-decoration 300ms;
}

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

:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 2px;
}

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

.rowGap {
	row-gap: 30px;
}

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

#topbar {
	padding-block: 20px;
}

#logo {
	display: inline-block;
}

#logo img {
	display: block;
}

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

#search_submit {
	width: 44px;
	border-radius: 10px;
	aspect-ratio: 1;
	background: #92c248 url("../img/icon-lupe-v2.png") center no-repeat;
	padding: 0;
	cursor: pointer;
	border: none;
	top: 0;
	right: 0;
	font-size: 0;
	-webkit-transition: background-color 300ms linear;
	-moz-transition: background-color 300ms linear;
	-ms-transition: background-color 300ms linear;
	-o-transition: background-color 300ms linear;
	transition: background-color 300ms linear;
}
#search_submit:hover {
	background-color: #d0e6b3;
}

/* #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: #92c248;
		border-radius: 2px;
		position: absolute;
		width: 40px;
		height: 3px;
		left: 10px;
		transition:
			transform 200ms linear,
			opacity 200ms linear;
	}

	.contrast_dark_font #burgerButton::before,
	.contrast_dark_font #burgerButton::after,
	.contrast_dark_font #burgerButtonInner {
		background-color: #000 !important;
	}
	.contrast_light_font #burgerButton::before,
	.contrast_light_font #burgerButton::after,
	.contrast_light_font #burgerButtonInner {
		background-color: #fff !important;
	}

	#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: #92c248;
		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: #92c248;
	}
.is-sticky	nav.horizontally {
   left: auto !important;
	}

	nav.horizontally .navbar-nav {
		display: flex;
		justify-content: space-between;
		align-items: center;
		flex-wrap: wrap;
		padding-block: 25px;
	}

	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 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 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: #404040;
	font-weight: 700;
	text-align: left;
	padding: 10px 15px 15px 15px;
	text-transform: uppercase;
	position: relative;
	font-size: 1.25rem;
	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 li[class*="toplevel"] + li {
		margin-left: 20px;
	}

	nav.horizontally a[class*="toplevel"] {
		text-align: center;
		padding: 10px 0;
	}
}

nav.horizontally a[class*="toplevel"]::before {
	content: "";
	width: 0;
	height: 2px;
	display: block;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: 0;
	background-color: #ffffff;
	opacity: 0;
	transition: opacity, width, 300ms;
}

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

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

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
	background-color: #92c248;
	border: 1px solid #92c248;
	border-radius: 5px;
	padding: 10px;
}

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

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

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

	nav.horizontally [class*="toplevel"] > ul::after {
		content: "";
		position: absolute;
		top: 0;
		left: 50%;
		transform: translateX(-50%);
		width: 40px;
		height: 20px;
		clip-path: polygon(50% 100%, 0 0, 100% 0);
		background: #fff;
	}

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

	nav.horizontally [class*="toplevel"] > ul::before {
		content: "";
		position: absolute;
		display: block;
		height: 30px;
		left: 0;
		right: 0;
		top: -30px;
	}

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

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
	color: #404040;
	font-weight: 400;
	text-align: center;
	padding: 10px 25px;
	font-size: 1rem;
	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;
	}
}

/* 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: #d0e6b3;
	color: #404040;
}

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

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

@media (min-width: 992px) {
	body.index #slider {
		max-height: clamp(400px, 62vw, 710px);
	}

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

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

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

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

.slider-mask {
	display: none;
}

/* ----------------------------------------------- @12nw news -------------------------------------------- */

@media (min-width: 992px) {
	#news {
		position: absolute;
		bottom: 40px;
		width: 100%;
		pointer-events: none;
		z-index: 20;
	}
	#news #nw13 {
		pointer-events: all;
	}
}

@media (max-width: 991px) {
   #nw13{
      margin-top: 30px;
      
   }
}
/* ----------------------------------------------- @13nw news -------------------------------------------- */


#nw13 .tabHeadline {
	font-size: clamp(1.75rem, 2vw, 2.1875rem);
	color: #006a2a;
	font-weight: 400;
	margin-bottom: 0;
	align-content: center;
}
#nw13 .headlineBereich {
	background-color: #ffffff;
	border-radius: 10px;
	padding: 16px 18px;
	max-width: 1170px;
	margin:auto;
}
#nw13>.row {
	row-gap: clamp(30px, 3vw, 45px);
}

#nw13 .tab_link_entries {
	display: grid;
	gap: 30px;
}

@media (min-width: 576px) {
	#nw13 .tab_link_entries {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 768px) {
	#nw13 .tab_link_entries {
		grid-template-columns: repeat(3, 1fr);
	}
}

#nw13 .tab_link_entry {
	width: 100%;
	padding: 20px;
	display: grid;
	background: #ffffff;
	border-radius: 10px;
	margin-top:20px;
}

#nw13 .tab_link_title {
	order: 1;
	margin-bottom: 8px;
}

#nw13 .vorschau {
	display: none;
}

#nw13 .tab_date {
	order: 2;
}

#nw13 .tab_link_title a {
	font-weight: 700;
	color: #404040;
	font-size: 1.5rem;
	order:1;
}

#nw13 .tab_link_mehr {
	color: transparent;
	font-size: 0;
}
#nw13 .tab_link_entry .tab_link_mehr  {
		font-size: 0;
			order:3;
			text-align: left !important;
}
#nw13 .tab_link_entry .tab_link_mehr a{
	color: #006a2a;
	display: inline-block;
	font-size: clamp(1rem, 2vw, 1.125rem);
	font-weight: 700;
		text-align: left !important;

}
#nw13 .tab_link_mehr a {
	color: #006a2a;
	display: inline-block;
	font-size: clamp(1rem, 2vw, 1.125rem);
	font-weight: 700;
}

#nw13 .tab_link_mehr a::after {
	content: ' \00BB';
}


#nw13 .tab_spacer,
#nw13 .tab_preview_picture {
	display: none;
}

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

main {
	text-align: left;
	padding-bottom: 30px;
	padding-top: 30px;
}

@media (min-width: 992px) {
	main {
		padding-bottom: 60px;
		padding-top: 60px;
	}
}

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

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
	color: #006a2a;
	font-weight: 400;
	line-height: 1.2;
	font-family: "Chelsea Market", sans-serif;
}

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

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

h3,
.h3,
.legacy_h3 {
	font-size: clamp(1.375rem, 4.5vw, 1.5rem);
}

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited) .legacy_h4 {
	font-size: clamp(1.3125rem, 4vw, 1.375rem);
}

h5,
.h5,
.legacy_h5 {
	font-size: clamp(1.25rem, 3.5vw, 1.3125rem);
}

h6,
.h6,
.legacy_h6 {
	font-size: clamp(1.125rem, 3vw, 1.25rem);
}

/* ------------------------------------------------ @8tab ----------------------------------------------- */

#tab8 {
	padding: 70px 0 0 0;
	position: relative;
}

#tab8 #tab8Box {
	padding: 30px;
	border-radius: 10px;
	background: #ffffff;
	box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.1);
	-webkit-box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.1);
	position: relative;
	overflow: hidden;
}

@media (max-width: 575px) {
	#tab8 #tab8Box {
		padding: 20px;
	}
}

#tab8 #tab8Box::after {
	content: "";
	position: absolute;
	pointer-events: none;
	top: 0;
	bottom: 0;
	left: 0;
	width: 385px;
	height: 100%;
	background: #006a2a;
	opacity: 0.1;
}

@media (max-width: 767px) {
	#tab8 #tab8Box::after {
		bottom: unset;
		right: 0;
		width: 100%;
		height: 33vw;
	}
}

#tab8 .tab {
	padding: 20px 0;
	hyphens: auto;
	font-size: clamp(1rem, 3vw, 1.25rem);
	position: relative;
	z-index: 1;
}

@media (max-width: 575px) {
	#tab8 .tab {
		padding-bottom: 0;
	}
}

@media (min-width: 768px) {
	#tab8 .tab {
		padding-left: 45px;
	}
}

#tabImg {
	position: relative;
	z-index: 1;
}

@media (min-width: 768px) {
	#tabImg {
		max-width: 324px;
	}
}

#tab8 #tabImg .banner {
	height: 100%;
	line-height: 0;
}

#tab8 #tabImg .banner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

@media (min-width: 992px) {
	#tab8 #tab8Box {
		padding: 40px 45px;
	}

	#tabImg {
		width: 100%;
		overflow: hidden;
		background-position: center;
	}

	#tabImg img {
		min-height: 360px;
		max-width: unset;
	}

	#tab8 .tab {
		max-width: 560px;
	}
}

/* Wenn Banner animiert sein soll (Wechselbanner mit alten Bannermodul) */

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

#tab8 #slider img {
	object-fit: cover;
	object-position: center;
	width: 100% !important;
	height: 100% !important;
}


@media (min-width: 992px) {

	#tab8::after {
		content: "";
		position: absolute;
		background: url(../img/frosch-fussspuren-v2.png);
		width: 100%;
		height: 768px;
		background-position: bottom center;
		background-repeat: no-repeat;
		background-size: contain;
		top: clamp(100px, 20vw, 230px);
	transform: translateY(-52%);
		z-index: -1;
	}
}

/* ----------------------------------------------- @17f footer ----------------------------------------------- */

#f17 {
	font-size: 1rem;
	position: relative;
	margin-top: 220px;
	padding-top: 30px;
	padding-bottom: 30px;
	background: #92c248;
}

#f17 a {
	color: #404040;
}

#f17::before {
	content: "";
	position: absolute;
	pointer-events: none;
	display: block;
	top: -28px;
	width: 100%;
	height: 28px;
	background: url("../img/maske.png") no-repeat;
}

/* --------------------------------------------- footerTabs17 -------------------------------------------- */

#footerTabs17 {
	color: #404040;
	font-size: 1rem;
	position: relative;
	padding: 30px 20px;
	margin-top: -230px;
	margin-bottom: 30px;
	background: #d0e6b3;
	box-shadow: 0px 10px 15px 0px rgba(0, 0, 0, 0.15);
	border-top: 10px solid #006a2a;
}

#footerTabs17 .tabHeadline {
	color: #404040;
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 30px;
	font-family: "Libre Franklin", sans-serif;
}

#footerTabs17 a {
	color: #404040;
}

@media (max-width: 991px) {
	#footerTabs17 > * + * {
		margin-top: 30px;
	}
}


/* #region -------------------------------------- socials ---------------------------------------- */

#socials a:has(img) {
	background: #006a2a;
	display: inline-block;
	line-height: 0;
	min-height: 50px;
	min-width: 50px;
	border-radius: 25px;
	text-align: center;
	align-content: center;
}

#socials a:has(img):is(:hover, :focus) {
	background: #577728;
}

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

#innerfooter ul {
	padding: 0;
}

@media (max-width: 767px) {
	#innerfooter ul {
		margin-top: 20px;
	}
}

#innerfooter li {
	display: inline-block;
}

#innerfooter a {
	color: #404040;
	font-size: 0.875rem;
	font-weight: 400;
	text-decoration: none;
}

#innerfooter a:hover,
#innerfooter a:focus {
	text-decoration: underline;
}

#innerfooter li + li {
	margin-left: 20px;
}

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

@media (max-width: 767px) {
	#innerfooter li {
		display: block;
		text-align: center;
		padding: 5px;
		margin: 0;
	}

	#innerfooter li + li {
		margin-left: 0;
	}
}

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

#vernetzt {
	gap: 15px;
	text-align: left;
	font-size: 0.875rem;
	color: #ffffff;
}

#vernetzt span span {
	display: block;
}
