@import url("https://fonts.verwaltungsportal.de/import/?family=Roboto:300,400,400i,500,300i,500i%7COswald:500,600");

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

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

a {
	color: #097320;
}

a:is(:hover, :focus) {
	color: #097320;
	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;
}

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

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

#logo {
	display: inline-block;
}

#logo img {
	display: block;
}

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

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

/* burgermenu for tablet */

@media (max-width: 991px) {
	nav.horizontally {
		position: static !important;
	}

	#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: #097320;
		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 15px;
	}

	.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: 2px;
	}

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

/* menu desktop */

#menu {
	padding: 9px 0;
}

@media (min-width: 992px) {
	#menu {
		background: #ffffff;
		padding: 7px 20px;
		transition: box-shadow 300ms linear;
	}

	.is-sticky #menu {
		box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.15);
	}

	nav.horizontally,
	.sticky-wrapper {
		position: absolute;
		z-index: 56;
		left: 0;
		right: 0;
	}

	header> :is(nav.horizontally, .sticky-wrapper) {
		top: 45px;
	}

	nav.horizontally .navbar-nav {
		padding-left: clamp(15px, 2vw, 30px);
		flex-grow: 1;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	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: #444444;
	text-transform: uppercase;
	font-weight: 600;
	text-align: center;
	padding: 10px 35px;
	font-family: "Oswald", sans-serif;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
}

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

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

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

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
	background-color: #ffffff;
	border-left: 4px solid #0277a7;
	box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.2);
}

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

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

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

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

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

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

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

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
	color: #444444;
	font-weight: 300;
	text-align: center;
	padding: 7px 35px;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
}

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

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

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

/* -------------------------------------------- search ------------------------------------------ */

#search {
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	display: block;
	padding-top: 16px;
}

@media (min-width: 992px) {
	#search {
		border-top: none;
		border-left: 1px solid rgba(0, 0, 0, 0.1);
		margin-left: clamp(15px, 2vw, 30px);
		padding: 16px 0 16px 15px;
		flex: 0 0 auto;
	}
}

@media (min-width: 1200px) {
	#search {
		padding: 16px 9px 16px 24px;
	}
}

#search img {
	display: block;
	margin: 0 auto;
	padding: 10px;
	border: 2px solid transparent;
	transition: border 200ms linear;
}

@media (min-width: 992px) {
	#search img {
		padding: 4px;
	}
}

#search:is(:hover, :focus) img {
	border-color: #097320;
}

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

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

@media (min-width: 768px) {
	.index #headerpic .nivo-controlNav {
		bottom: 150px;
	}
}

@media (min-width: 992px) {
	#slider {
		min-height: 200px;
	}

	#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;
}

@media (min-width: 992px) {
	.slider-mask {
		display: block;
		background: url(../img/bannermaske.png);
		background-position: center bottom;
		background-repeat: no-repeat;
		background-size: contain;
	}
}

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

#tabs {
	margin-top: 15px;
	row-gap: 15px;
}

@media (min-width: 768px) {
	#tabs {
		margin-top: -125px;
		position: relative;
		z-index: 55;
	}
}

#headerpic .tab {
	font-size: 1rem;
	background: #0277a7;
	min-height: 100%;
	position: relative;
	padding: clamp(20px, 3vw, 40px);
	color: #ffffff;
	text-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

#headerpic .tab a {
	color: #ffffff;
}

#headerpic .tab.tab2 {
	background: #097320;
}

#headerpic .tabHeadline {
	margin: 0 0 0 0;
	color: #ffffff;
	font-size: 1.875rem;
	text-transform: none;
}

#headerpic :is(b, strong) {
	font-size: 1.375rem;
	font-weight: 500;
	font-family: "Oswald", sans-serif;
	margin-bottom: 15px;
	display: block;
}

#headerpic .tab2 {
	font-size: 2.125rem;
	font-weight: 500;
	font-family: "Oswald", sans-serif;
}

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

#content {
	text-align: left;
	padding-bottom: clamp(40px, 6vw, 80px);
	padding-top: clamp(40px, 6vw, 50px);
}

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

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

h1,
.h1,
.legacy_h1 {
	font-size: 2rem;
}

h2,
.h2,
.legacy_h2 {
	font-size: 2rem;
}

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;
}

/* ----------------------------------------------- @1nw news -------------------------------------------- */

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

#nw1 .tab {
	color: #ffffff;
	padding: 30px;
	overflow: hidden;
	border-radius: 3px;
	background: url("../img/icon-meldnungen.png") top 20px right 20px no-repeat, #0277a7;
}

#nw1 .tab a {
	color: #ffffff;
	text-decoration: underline;
}

#nw1 .tabHeadline {
	color: #ffffff;
	font-weight: 600;
	hyphens: auto;
	font-size: clamp(1.75rem, 2vw, 2rem);
}

#nw1 .tab,
#nw1 .tab_link,
#nw1 .tab_link>div {
	height: 100%;
	min-height: 100%;
}

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

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

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

#nw1 .tab_link_entries {
	height: 100%;
}

#nw1 .tab_link_entry {
	font-size: 1rem;
	position: relative;
	width: 100%;
	border-radius: 3px;
	padding: 160px 30px 30px 30px;
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.15) !important;
}

#nw1 .vorschau {
	opacity: 1;
}

#nw1 .tab_preview_picture {
	background: #ffffff;
}

#nw1 .tab_link_entry::before,
#nw1 .tab_link_entry .tab_preview_picture {
	position: absolute;
	display: block;
	top: -1px;
	left: -1px;
	right: -1px;
	height: 120px;
	overflow: hidden;
	border-radius: 3px 3px 0 0;
}

#nw1 .tab_link_entry::before {
	content: "";
	background: center / cover no-repeat, #666666;
}

#nw1 .tab_preview_picture img {
	position: absolute;
	margin: 0 !important;
	left: 50%;
	top: 50%;
	max-width: none;
	min-width: 100%;
	min-height: 100%;
	max-width: 350px;
	width: auto;
	height: auto;
	-ms-interpolation-mode: bicubic;
	transform: translateX(-50%) translateY(-50%);
}

#nw1 .tab_date {
	display: inline-block;
	position: absolute;
	z-index: 1;
	left: -1px;
	top: 105px;
	font-weight: 400;
	color: #ffffff;
	font-size: 0.75rem;
	padding: 6px 20px;
	background: #0277a7;
	border-radius: 0 3px 3px 0;
}

#nw1 .tab_link_title a {
	display: block;
	font-weight: 600;
	font-size: 1.375rem;
	color: #0277a7;
	line-height: 1.2;
	margin-bottom: 8px;
	font-weight: 600;
	line-height: 1.2;
	font-family: "Oswald", sans-serif;
}

#nw1 .tab_link_entries+div,
#nw1 .tab_link_entries .tab_spacer,
#nw1 .tab_link_entry>div:nth-last-child(2) {
	display: none;
}

/* ------------------------------------------- @1nw buttonStyle ------------------------------------------- */

#nw1 .buttonStyle a {
	text-decoration: none;
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 600;
	color: #ffffff;
	padding: 5px 12px;
	border-radius: 3px;
	border: 1px solid #ffffff;
	background: transparent;
	transition: background 300ms linear, color 300ms linear;
}

@media (min-width: 768px) {
	#nw1 .buttonStyle a+a {
		margin-left: 12px;
	}
}

#nw1 .buttonStyle a:hover,
#nw1 .buttonStyle a:focus {
	color: #ffffff;
	background: #0277a7;
}

/* ----------------------------------------------- buttomTabs ----------------------------------------------- */

#buttomTabs {
	padding-top: 60px;
	padding-bottom: 60px;
}

#buttomTabs a {
	display: inline-block;
	background: #097320;
	color: #fff;
	font-weight: 400;
	padding: 5px 10px;
	padding-right: 50px;
	position: relative;
	text-decoration: none;
}

#buttomTabs a::after {
	content: "";
	position: absolute;
	background: url(../img/icon-pfeil.png) #fff;
	background-position: center;
	background-repeat: no-repeat;
	inset: 3px;
	left: unset;
	width: 30px;
	transition: left 300ms, width 300ms;
}

#buttomTabs a:is(:hover, :focus)::after {
	width: calc(100% - 6px);
}

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

footer {
	background: #097320 url(../img/logo-deko.png);
	background-position: bottom 60px left 70px;
	background-repeat: no-repeat;
	padding: clamp(20px, 3vw, 40vw) 0;
	color: #ffffff;
	font-size: 1rem;
}

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

footer a {
	color: #fff;
}

#innerfooter {
	line-height: 1.8;
}

#innerfooter ul {
	padding: 0;
}

#innerfooter a {
	text-decoration: none;
	display: inline-block;
	font-weight: 300;
}

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

footer .footerTab a {
	text-decoration: underline;
}


/* Map -------------------------------------------------------- */

#map :is(iframe, .iframe-wrapper-manual-enabling) {
	width: 100%;
	min-width: 100% !important;
}

#map iframe {
	display: block;
}

/* Map -------------------------------------------------------- */


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

#vernetzt {
	gap: 12px;
	font-size: 0.8125rem;
	color: #fff;
	line-height: 1.3;
	font-weight: 300;
	text-decoration: none;
	flex-direction: column;
}

#vernetzt span span {
	display: block;
}

@media (max-width: 991px) {
	#vernetzt img {
		margin: 0 auto;

	}
}