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

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

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

a {
	color: #046e8e;
}

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

#content a:is(:hover, :focus) {
	color: #5d747e;
}

b,
strong {
	font-weight: 600;
}

#content ul:not(#content_buttons_div) > li {
	padding: 6px 10px 5px 28px;
}

#content ul:not(#content_buttons_div) > li::before {
	top: 17px;
}

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

#topbar2 {
	padding-top: 22px;
}

@media (min-width: 992px) {
	#topbar2 {
		padding: 18px 0;
	}

	.tabTop {
		padding-bottom: 19px;
	}

	.tabSocials {
		margin-bottom: -8px;
	}
}

.tabSocials {
	padding-left: 30px;
	line-height: 1.4;
}

.tabSocials .tabHeadline {
	font-size: 1rem;
	font-weight: 400;
	color: #232323;
	margin-bottom: 8px;
}

.tabSocials p {
	display: inline-block;
}

.tabSocials p + p {
	margin-left: 8px;
}

.tabSocials img {
	display: block;
	width: 37px;
	height: 37px;
	border-radius: 100%;
	object-fit: scale-down;
	object-position: center;
	background: #007da3;
}

.tabSocials a.has-image {
	font-size: 0;
	line-height: 0;
}

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

.logo {
	display: inline-block;
}

.logo img {
	display: block;
}

@media (max-width: 991px) {
	.logo img {
		max-width: calc(100vw - 120px);
		width: 100%;
		max-height: 50px;
	}
}

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

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

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

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

#search_submit {
	border: 5px solid #ffffff;
	background: #007da3 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: #6e6e6e !important;
	opacity: 1 !important;
	font-style: normal !important;
}

/* #endregion -------------------------------- search ------------------------------------------- */

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

/* burgermenu for tablet */

@media (max-width: 991px) {
	#menu-wrapper {
		margin-top: 70px;
	}

	#burgerButton {
		font-size: 0;
		border: none !important;
		display: block;
		height: 40px;
		width: 46px;
		border-radius: 2px;
		padding: 3px;
		cursor: pointer;
		background-color: #ffffff;
		position: absolute;
		z-index: 1002;
		right: 12px;
		top: 50%;
		margin-top: -20px;
	}

	#burgerButton::before,
	#burgerButton::after,
	#burgerButtonInner {
		background-color: #007da3;
		border-radius: 2px;
		position: absolute;
		width: 40px;
		height: 3px;
		left: 2px;
		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: 11px;
	}

	#burgerButton::before {
		top: 19px;
		content: "";
	}

	#burgerButton::after {
		top: 27px;
		content: "";
		display: block;
	}

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

	.navbar-collapse {
		width: calc(100% - 90px);
		max-width: 300px;
		top: 70px;
		background: #007da3;
		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 {
		height: 70px;
		line-height: 1;
		padding: 10px 15px;
		background-color: #ffffff;
		position: fixed;
		top: 0;
		right: 0;
		left: 0;
		z-index: 101;
		box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
	}

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

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

/* menu desktop */

@media (min-width: 992px) {
	nav.horizontally {
		position: relative;
	}

	.sticky-wrapper,
	#menu {
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
	}

	#menu {
		background-color: rgba(0, 125, 163, 0.85);
	}

	.sticky-wrapper #menu {
		top: 0;
	}

	.is-sticky #menu {
		left: unset !important;
		right: unset !important;
	}

	nav.horizontally .navbar-nav {
		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.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;
	}
}

/* toplevel */

nav.horizontally .navbar-nav a[class*="toplevel"] {
	color: #ffffff;
	font-weight: 400;
	text-align: center;
	padding: 10px 35px 15px 35px;
	text-transform: uppercase;
	position: relative;
	font-size: 1.0625rem;
	line-height: 1.2;
	text-decoration: none;
}

nav.horizontally .navbar-nav li[class*="toplevel"] + li {
	border-top: 1px solid #ffffff;
}

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

	nav.horizontally .navbar-nav a[class*="toplevel"] {
		padding: 18px 4px;
	}
}

nav.horizontally .navbar-nav a[class*="toplevel"]::before {
	content: "";
	width: 0;
	height: 4px;
	display: block;
	position: absolute;
	left: 0;
	bottom: 0;
	transition:
		width 300ms linear,
		background-color 300ms linear;
}

/* toplevel-over */

nav.horizontally .navbar-nav li[class*="toplevel"]:is(:hover, :focus-within) > a,
nav.horizontally .navbar-nav li[class*="toplevel"] > a:is(:hover, :focus),
nav.horizontally .navbar-nav li[class*="toplevel"].open > a,
nav.horizontally .navbar-nav li[class*="toplevel"].open > a:is(:hover, :focus),
nav.horizontally .navbar-nav li[class*="toplevel"][class*="_over"] > a,
nav.horizontally .navbar-nav li[class*="toplevel"][class*="_over"] > a:is(:hover, :focus) {
	color: #ffffff;
	background-color: transparent;
}

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

/* secondlevel + thirdlevel dropdown-box */

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

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

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

	nav.horizontally [class*="toplevel"] > ul {
		margin-top: 6px;
		left: 0;
		border-bottom-left-radius: 4px;
		border-bottom-right-radius: 4px;
	}

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

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

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

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

/* secondlevel + thirdlevel */

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

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

/* secondlevel + thirdlevel over */

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

nav.horizontally li[class*="thirdlevel"]:is(:hover, :focus-within) > a,
nav.horizontally li[class*="thirdlevel"] > a:is(:hover, :focus),
nav.horizontally li[class*="thirdlevel"].open > a,
nav.horizontally li[class*="thirdlevel"].open > a:is(:hover, :focus),
nav.horizontally li[class*="thirdlevel"][class*="_over"] > a,
nav.horizontally li[class*="thirdlevel"][class*="_over"] > a:is(:hover, :focus) {
	background: #eaeaea;
	color: #007da3;
}

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

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

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

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

	#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: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent 100%);
}

@media (min-width: 992px) {
	.slider-mask {
		display: block;
		background:
			url("../img/wellen.png") bottom center no-repeat,
			linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent 100%);
	}
}

@media (min-width: 768px) {
	#headerpic {
		background: #535353;
	}

	.theme-nivo .nivo-controlNav .slick-dots li {
		color: #fff;
	}

	#headerpic .nivo-directionNav a {
		top: auto;
		bottom: 12px;
	}
}

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

	#headerpic .nivo-controlNav {
		bottom: 100px;
	}
}

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

/* #region ------------------------------------ slogan ------------------------------------------ */

#slogan {
	font-weight: 400;
	pointer-events: auto;
	color: #5d747e;
	font-size: clamp(1rem, 2vw, 1.125rem);
}

@media (max-width: 767px) {
	#slogan {
		border-bottom: 1px solid #e0e0e0;
		padding: 20px 15px;
	}
}

@media (min-width: 768px) {
	#slogan {
		color: #ffffff;
	}

	#bannerOverlay {
		position: absolute;
		right: 0;
		bottom: 50px;
		left: 0;
		z-index: 9;
		pointer-events: none;
	}
}

@media (min-width: 1200px) {
	#bannerOverlay {
		bottom: 150px;
	}
}

#slogan .headline {
	font-size: clamp(1.875rem, 5vw, 5.625rem);
	font-weight: 700;
}

@media (min-width: 768px) {
	#slogan .headline,
	#slogan :is(h3, h4, h5, h6) {
		color: #ffffff;
		margin-bottom: 0;
		text-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
	}
}

#slogan a {
	text-decoration: none;
	display: inline-block;
	font-size: 1rem;
	line-height: 1;
	border: 3px solid #ffffff;
	border-radius: 28px;
	color: #ffffff;
	padding: clamp(10px, 1.5vw, 17px) clamp(15px, 2vw, 22px);
	margin-top: 20px;
	background: rgba(0, 0, 0, 0.6);
	backface-visibility: hidden;
	box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.15);
	transition: transform 150ms linear;
}

@media (min-width: 992px) {
	#slogan a {
		background: rgba(93, 116, 126, 1);
	}
}

#slogan a:nth-child(2n + 1) {
	background: rgba(0, 125, 163, 1);
}

#slogan a:is(:hover, :focus) {
	transform: scale(1.1);
}

#slogan a + a {
	margin-left: clamp(15px, 2vw, 25px);
}

#slogan :is(b, strong) {
	font-weight: 700;
}

/* #endregion --------------------------------- slogan ------------------------------------------ */

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

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

#ev10 .tab {
	margin-left: auto;
	margin-right: auto;
	margin-top: 32px;
	position: relative;
	background: #ffffff;
	font-size: 0.9375rem;
	color: #232323;
	border-top: 4px solid #566c75;
	-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);
	border-radius: 0 0 20px 20px;
	max-width: 370px;
}

#ev10 .tab::before {
	content: "";
	display: block;
	width: 60px;
	height: 60px;
	position: absolute;
	top: -32px;
	left: 50%;
	margin-left: -30px;
	border-radius: 50%;
	background:
		url("../img/icon-veranstaltungen.png") center no-repeat,
		#ffffff;
	-webkit-box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.15);
	box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.15);
}

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

#ev10 .tabSpecial .tabHeadline {
	text-align: center;
	font-size: 1.25rem;
	font-weight: 700;
	color: #007da3;
	margin: 0;
	text-transform: uppercase;
}

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

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

#ev10 .tab a:hover,
#ev10 .tab a:focus {
	color: #046e8e;
	background: #e6eff2;
}

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

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

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

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

#content {
	padding-bottom: clamp(30px, 4vw, 60px);
}

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

	#content:not(.no-padding-right) {
		padding-right: 30px;
	}
}

#content .template-page ul li {
   padding-block: 3px !important;
}

#content .template-page ul li::before {
   top: 14px !important;
}

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

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

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

/* #region ----------------------------------- teaser ------------------------------------------- */

#teaser {
	background-size: cover;
	margin-top: clamp(30px, 4vw, 60px);
	overflow: hidden;
	height: 300px;
}

/* #endregion -------------------------------- teaser ------------------------------------------- */

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

footer {
	padding: 30px 0 12px 0;
	color: #232323;
	background-color: #ffffff;
}

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

footer hr {
	margin: 0;
	opacity: 1;
	border-width: 1px;
	border-color: #c9c9c9;
}

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

#innerfooter {
	font-size: 0.875rem;
}

#innerfooter ul {
	padding: 0;
}

#innerfooter a {
	color: #232323;
	text-decoration: none;
	display: inline-block;
	text-transform: uppercase;
}

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

	#innerfooter li + li::before {
		content: "•";
		margin: 0 clamp(10px, 2vw, 25px);
		color: #232323;
	}
}

#innerfooter a:is(:hover, :focus) {
	color: #007da3;
}

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

#scroll-top {
	display: inline-block;
	text-transform: uppercase;
	color: #ffffff;
	background-color: #046e8e;
	font-weight: bold;
	font-size: 1rem;
	border-radius: 30px;
	padding: 16px 30px 16px 50px;
	opacity: 1 !important;
	text-decoration: none;
	position: relative;
}

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

#scroll-top::after {
	content: "";
	position: absolute;
	border-radius: 1px;
	left: 30px;
	width: 7px;
	height: 7px;
	top: 50%;
	margin-top: -1px;
	display: inline-block;
	border-right: 2px solid #ffffff;
	border-top: 2px solid #ffffff;
	transform: rotate(-45deg);
}

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

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

#vernetzt span span {
	display: block;
}
