@import url("https://fonts.verwaltungsportal.de/import/?family=Lato:400,400i,700,700i");
@import url("https://fonts.verwaltungsportal.de/import/?family=Playfair+Display:400,700");

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

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

a {
	color: #1670b2;
}

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

b,
strong {
	font-weight: 700;
}

#overflow {
	overflow: hidden;
}

/* ------------------------------------------- topbar2 ------------------------------------------ */

#topbar2 {
	padding: 15px 0;
}

#topbar2 > .row {
	row-gap: 15px;
}
/* LOGO MIT TEXT -------------------------------------------------------- */

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

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

.logo .cleaner {
	display: none;
}

.logoText {
	color: #444444;
	font-size: clamp(1.5625rem, 3vw, 2.375rem);
	align-content: center;
	line-height: 1.1;
	font-family: "Playfair Display", serif;
}

.logoText :is(b, strong) {
	display: inline-block;
	font-weight: 700;
	color: #1670b2;
}

.logoText br {
	display: none;
}

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

.logo img {
	display: block;
	max-width: 30vw;
}
/* LOGO MIT TEXT -------------------------------------------------------- */

/* #region ----------------------------------- search ------------------------------------------- */

#search {
	background: #fbfbfb;
	position: relative;
	border-radius: 30px;
	width: 100%;
   max-width: 380px;
}

@media (min-width: 992px) {
	#search {
		min-width: 240px;
		width: auto;
	}
}

#search_input {
	color: #444444;
	font-size: 1rem;
	font-weight: 300;
	font-style: italic;
	background: transparent;
	border: 0;
	width: 100%;
	border-radius: 30px;
	padding: 7px 14px;
	line-height: 1;
}

#search_submit {
	border: 5px solid #ffffff;
	background: #1670b2 url("../img/lupe-icon.png") center / 14px 14px no-repeat;
	padding: 0;
	border-radius: 50%;
	cursor: pointer;
	margin: -5px -5px -5px 0;
	font-size: 0;
	aspect-ratio: 1/1;
	min-width: 48px;
	flex-shrink: 0;
	transition: transform 150ms linear;
}

@media (min-width: 768px) {
	#search_submit:is(:hover, :focus) {
		transform: scale(1.2);
	}
}

#search input::placeholder {
	color: #444444 !important;
	opacity: 1 !important;
	font-style: italic !important;
}

/* #endregion -------------------------------- search ------------------------------------------- */
/* -------------------------------------------- @nav7 Navigation ------------------------------------------- */

/* ------------------------------------ navigation ----------------------------------- */

/* burgermenu for tablet */

@media (max-width: 991px) {
	#burgerButton {
		font-size: 0;
		border: none !important;
		position: relative;
		z-index: 1002;
		display: block;
		width: 46px;
		height: 40px;
		border-radius: 2px;
		cursor: pointer;
		background-color: #ffffff;
		padding: 3px;
	}

	#burgerButton::before,
	#burgerButton::after,
	#burgerButtonInner {
		background-color: #1670b2;
		border-radius: 2px;
		position: absolute;
		width: 40px;
		height: 3px;
		left: 2px;
		-webkit-transition: transform 200ms linear, opacity 200ms linear;
		-moz-transition: transform 200ms linear, opacity 200ms linear;
		-ms-transition: transform 200ms linear, opacity 200ms linear;
		-o-transition: transform 200ms linear, opacity 200ms linear;
		transition: transform 200ms linear, opacity 200ms linear;
	}

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

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

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

	#burgerButtonInner {
		top: 10px;
	}

	#burgerButton::before {
		top: 18px;
	}

	#burgerButton::after {
		top: 26px;
	}

	#burgerButton::before,
	#burgerButton::after {
		content: "";
		display: block;
	}

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

	.navbar-collapse {
		top: 0;
		background: #ffffff;
		position: fixed;
		left: -100%;
		bottom: 0;
		z-index: 100;
		height: auto !important;
		-webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
		box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
		opacity: 0;
		pointer-events: none;
		overflow-y: auto;
		-webkit-transition: left 300ms linear, opacity 300ms linear;
		-moz-transition: left 300ms linear, opacity 300ms linear;
		-ms-transition: left 300ms linear, opacity 300ms linear;
		-o-transition: left 300ms linear, opacity 300ms linear;
		transition: left 300ms linear, opacity 300ms linear;
	}

	.navbar-collapse.collapse.in {
		left: 0;
		opacity: 1;
		pointer-events: auto;
	}

	.navbar-header {
		height: 50px;
		width: 60px;
		border-radius: 2px;
		padding: 6px 8px;
		background-color: #ffffff;
		position: fixed;
		top: 15px;
		right: 15px;
		z-index: 101;
		-webkit-box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
		box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
	}

	.navbar-collapse.in::after {
		content: "";
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		z-index: -1;
		display: block;
		width: 90px;
		background-color: rgba(0, 0, 0, 0.5);
	}
}

@media (min-width: 575px) and (max-width: 991px) {
	.navbar-collapse {
		width: 60%;
	}

	.navbar-collapse.collapse.in::after {
		width: 40%;
	}
}

/* menu desktop */

@media (min-width: 992px) {
	nav {
		border-left: 1px solid #dbe2e1;
		border-top: 1px solid #dbe2e1;
		border-bottom: 1px solid #dbe2e1;
	}

	.navbar-default .navbar-nav {
		width: 100%;
	}

	.navbar-default .navbar-nav > li {
		display: block !important;
		width: 100%;
		float: none;
	}

	.navbar-default .navbar-nav li[class*="toplevel"]:focus-within > ul,
	.navbar-default .navbar-nav li[class*="secondlevel"]:focus-within > ul {
		display: block;
	}
}

/* ---------------------------------------------- toplevel ---------------------------------------------- */

.navbar-default .navbar-nav > li > a {
	color: #444444;
	font-weight: 700;
	text-align: left;
	padding: 8px 15px 8px 15px;
	position: relative;
	font-size: clamp(1.125rem, 1.5vw, 1.375rem);
	line-height: 1.2;
	text-decoration: none;
}

@media (min-width: 992px) {
	.navbar-default .navbar-nav > li > a {
		padding: 13px 15px;
	}
}

@media (min-width: 1200px) {
	.navbar-default .navbar-nav > li > a {
		padding: 13px 28px;
	}
}

nav .navbar-nav > li > a.dropdown-toggle {
	padding-right: 35px;
}

.navbar-default .navbar-nav > li + li {
	border-top: 1px solid #dbe2e1;
}

@media (min-width: 992px) {
	.navbar-default .navbar-nav > li > a.dropdown-toggle::after {
		content: "+";
		position: absolute;
		display: block;
		right: 10px;
		top: 50%;
		margin-top: -14px;
		font-variant: normal;
		font-weight: 400;
		font-style: italic;
		font-size: clamp(1rem, 1.5vw, 1.25rem);
	}
}

/* -------------------------------------------- toplevel-over ------------------------------------------- */

.navbar-default .navbar-nav > li:hover > a,
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > li.open > a,
.navbar-default .navbar-nav > li.open > a:hover,
.navbar-default .navbar-nav > li.open > a:focus,
.navbar-nav > li[class$="_over"] > a,
.navbar-nav > li[class$="_over"] > a:hover,
.navbar-nav > li[class$="_over"] > a:focus {
	color: #1670b2;
}

.navbar-nav > li:focus-within > a {
	color: #1670b2;
}

/* -------------------------------------- secondlevel + thirdlevel dropdown-box -------------------------------------- */

.navbar-default .navbar-nav > li > .dropdown-menu {
	border-top: 1px solid #dbe2e1;
	padding: 12px 0 12px 14px;
	position: relative;
}

@media (min-width: 1200px) {
	.navbar-default .navbar-nav > li > .dropdown-menu {
		padding-left: 30px;
	}
}

.navbar-default .navbar-nav > li > .dropdown-menu::after {
	content: "";
	display: block;
	position: absolute;
	top: 28px;
	left: 20px;
	bottom: 28px;
	width: 1px;
	background: #dbe2e1;
}

@media (min-width: 1200px) {
	.navbar-default .navbar-nav > li > .dropdown-menu::after {
		left: 35px;
	}
}

.navbar-nav li[class*="_over"] > .dropdown-menu,
.navbar-nav li[class*="open"] > .dropdown-menu {
	display: block !important;
}

/* --------------------------------------------- secondlevel + thirdlevel -------------------------------------------- */

.navbar-default .navbar-nav > li > .dropdown-menu > li > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
	color: #444444;
	font-weight: 400;
	text-align: left;
	position: relative;
	font-size: clamp(1rem, 1.5vw, 1.1875rem);
	line-height: 1.2;
	text-decoration: none;
}

@media (max-width: 991px) {
	nav .navbar-nav > li > .dropdown-menu > li > a.dropdown-toggle2 {
		padding-right: 35px;
	}
}

.navbar-default .navbar-nav > li > .dropdown-menu > li > a {
	padding: 9px 15px 9px 30px;
}

.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
	padding: 7px 15px 7px 45px;
}

.navbar-default .navbar-nav > li > .dropdown-menu > li > a::before {
	content: "";
	display: block;
	position: absolute;
	left: 0;
	top: 15px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #ffffff;
	border: 1px solid #1670b2;
	transition: background 300ms linear, border 300ms linear;
	z-index: 1;
}

/* ------------------------------------------ secondlevel + thirdlevel over ------------------------------------------ */

.navbar-nav > li > .dropdown-menu > li:hover > a,
.navbar-nav > li > .dropdown-menu > li > a:hover,
.navbar-nav > li > .dropdown-menu > li > a:focus,
.navbar-nav > li > .dropdown-menu > li.open > a,
.navbar-nav > li > .dropdown-menu > li.open > a:hover,
.navbar-nav > li > .dropdown-menu > li.open > a:focus,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a:hover,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a:focus,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a:hover,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a:focus,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a:hover,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a:focus,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a:hover,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a:focus {
	color: #1670b2;
}

.navbar-nav > li > .dropdown-menu > li:focus-within > a,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li:focus-within > a {
	color: #1670b2;
}

.navbar-nav > li > .dropdown-menu > li:hover > a::before,
.navbar-nav > li > .dropdown-menu > li > a:hover::before,
.navbar-nav > li > .dropdown-menu > li > a:focus::before,
.navbar-nav > li > .dropdown-menu > li.open > a::before,
.navbar-nav > li > .dropdown-menu > li.open > a:hover::before,
.navbar-nav > li > .dropdown-menu > li.open > a:focus::before,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a::before,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a:hover::before,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a:focus::before {
	background: #1670b2;
	border: 1px solid #1670b2;
}

.navbar-nav > li > .dropdown-menu > li:focus-within > a::before {
	background: #1670b2;
	border: 1px solid #1670b2;
}

/* #region ------------------------------------ banner ------------------------------------------ */

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

@media (min-width: 992px) {
	body.index #slider {
		max-height: clamp(450px, 64vw, 600px);
	}

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

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

	#headerpic .nivo-controlNav {
		width: calc(100% - 200px);
		left: 100px;
	}
}

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

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

.slider-mask {
	display: block;
	background: url(../img/welle.png);
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position: bottom center;
}

@media (min-width: 768px) {
	#headerpic .nivo-directionNav a {
		top: 12px;
	}
}

#headerpic .nivo-controlNav {
   top: 10px;
   bottom: auto;
}

@media (min-width: 1200px) {
	#headerpic .nivo-directionNav a {
		top: 20px;
	}
}

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

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

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

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

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

/* ----------------------------------------------- @6ev, @nw7 -------------------------------------------- */

#tabsTop {
	margin-top: 30px;
	position: relative;
	z-index: 20;
}

@media (min-width: 992px) {
	#tabsTop {
		margin-top: -140px;
		position: relative;
		z-index: 20;
	}
}

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

#ev6 .tab,
#nw7 .tab {
	color: #444444;
	min-height: 100%;
	height: 100%;
	background-color: #fff;
	border-radius: 30px;
	box-shadow: 0px 0px 10px 0px rgba(1, 1, 1, 0.1);
}
#ev6 > div,
#nw7 > div {
	min-height: 100%;
	height: 100%;
}

@media (min-width: 992px) {
	#ev6 .tab,
	#nw7 .tab {
		display: grid;
		grid-template-columns: 1fr 2fr;
	}
}

#ev6 .tabHeadline,
#nw7 .tabHeadline {
	margin: 0;
	padding: 20px;
	text-align: center;
	color: #ffffff;
	font-weight: 400;
	font-size: clamp(1.375rem, 2vw, 1.625rem);
	position: relative;
	background-color: #1670b2;
	border-top-left-radius: 30px;
	border-top-right-radius: 30px;
}

@media (min-width: 992px) {
	#ev6 .tabHeadline,
	#nw7 .tabHeadline {
		height: 100%;
		min-height: 100%;
      border-radius: 0;
      border-top-left-radius: 30px;
      border-bottom-left-radius: 30px;
	  padding: 30px;
	}
}

#ev6 .tabHeadline::before,
#nw7 .tabHeadline::before {
	content: "";
	display: block;
	height: 91px;
	width: 100%;
	margin-bottom: 14px;
	background: url("../img/Kalender.png") center no-repeat;
}

#nw7 .tabHeadline::before {
	background: url("../img/Aktuelles.png") center no-repeat;
}

#ev6 .tabContent,
#nw7 .tabContent {
	padding: 25px 30px 20px 30px;
	line-height: 1.3;
	display: grid;
	row-gap: 10px;
}

#ev6 .tabContent a,
#nw7 .tabContent a {
	color: #444444;
}

#ev6 .tab_link_title a,
#nw7 .tab_link_title a {
	color: #444444;
	font-weight: 700;
}

#ev6 .tab_link_mandat a,
#nw7 .tab_link_mandat a {
	color: #ffffff;
	font-style: italic;
}

#ev6 .tab_link_date,
#nw7 .tab_link_date {
	font-style: italic;
}

#ev6 .tab_spacer,
#nw7 .tab_spacer {
	height: 20px;
}

/* ----------------------------------------------- @6ev, @nw7 -------------------------------------------- */

/* ----------------------------------------- @6ev, @nw7 mehr-button ---------------------------------------- */

#ev6 .tab_link_mehr,
#nw7 .tab_link_mehr {
	color: transparent;
	font-size: 0;
	text-align: center;
	position: relative;
}

@media (min-width: 768px) {
	#ev6 .tab_link_mehr,
	#nw7 .tab_link_mehr {
		text-align: right;
		right: -45px;
	}
}

#ev6 .tab_link_mehr a,
#nw7 .tab_link_mehr a {
	text-decoration: none;
	display: inline-block;
	position: relative;
	font-size: 1rem;
	color: #fff;
	font-weight: 700;
	padding: 7px 20px 10px 20px;
	background: #1670b2;
	border-radius: 100px;
}

#ev6 .tab_link_mehr a:hover,
#ev6 .tab_link_mehr a:focus,
#nw7 .tab_link_mehr a:hover,
#nw7 .tab_link_mehr a:focus {
	color: #ffffff;
	background: #444444;
}

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

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
	color: #1670b2;
	font-weight: 400;
	line-height: 1.2;
	font-family: "Playfair Display", serif;
}

:is(h1, h2) :is(em, i) {
	font-style: normal;
	font-weight: 400;
	color: #444444;
	font-size: 70%;
}

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

h2,
.h2,
.legacy_h2 {
	font-size: clamp(1.75rem, 3.5vw, 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.25rem;
}

#breaker {
	height: 300px;
	background-size: cover;
	background-position: center;
}

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

#footer {
	padding: clamp(30px, 4vw, 60px) 0;
}

#footer .logo {
	border-bottom: 2px solid #c9c9c9;
	margin-bottom: 15px;
	padding-bottom: 15px;
}

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

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

#vernetzt {
	gap: 18px;
	text-align: right;
	font-size: 0.9375rem;
	color: #444444;
	line-height: 1.3;
	font-weight: 400;
	text-decoration: none;
}

#vernetzt span span {
	display: block;
}

/* ----------------------------------------------- @5f footer ----------------------------------------------- */

#f5 {
	padding-top: 20px;
	padding-bottom: 20px;
	background-color: #1670b2;
}

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

#innerfooter ul {
	padding: 0;
}

#innerfooter li {
	display: inline-block;
}

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

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

#innerfooter li + li::before {
	content: "•";
	margin: 0 6px;
	color: #fff;
}

@media (min-width: 992px) {
	#innerfooter li + li::before {
		margin: 0 20px;
	}
}

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

	#innerfooter li + li::before {
		display: none;
	}
}

/* --------------------------------------------- Konfetti -------------------------------------------- */

#topbar2 > .row::after {
	content: "";
	position: absolute;
	background: url(../img/konfetti-roas-top.png);
   width: 126px;
   height: 94px;
	transform: translate(-100%, 0);
	left: -235px;
	bottom: -60px;
   z-index: 20;
   pointer-events: none;
}
main > #contentWrap.row::after {
	content: "";
	position: absolute;
	background: url(../img/konfetti-blau-bottom.png);
   width: 49px;
   height: 50px;
	transform: translate(100%, -100%);
	right: -265px;
	bottom: -70px;
   pointer-events: none;
}
#footer > .row::after {
	content: "";
	position: absolute;
	background: url(../img/konfett-gelb-bottom.png);
	width: 151px;
	height: 67px;
	transform: translate(-100%, -100%);
	left: -210px;
	top: -25px;
   pointer-events: none;
}
#f5 > .row::after {
	content: "";
	position: absolute;
	background: url(../img/konfetti-rot-bottom.png);
	width: 110px;
	height: 120px;
	transform: translate(100%, -100%);
	right: -250px;
	top: 0;
   pointer-events: none;
}
