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

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

body {
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	color: #1a1a1a;
	background: linear-gradient(180deg,rgba(255, 255, 255, 1) 30%, rgba(245, 227, 200, 1) 90%);
	font-size: clamp(1rem, 2vw, 1.125rem);
	/* 1rem = 16px */
	line-height: 1.5;
}

a {
	color: #1a3c51;
}

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

#content a {
	font-weight: normal;
	font-style: italic;
}

b,
strong {
	font-weight: 700;
}

#overflow {
	overflow: hidden;
}

/* ------------------------------------------------- social ------------------------------------------------ */

.social {
	padding: 5px 0;
	margin-bottom: 20px;
}

.social p {
	line-height: 0;
}

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

#logo {
	display: inline-block;
}

#logo img {
	display: block;
}

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

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

/* burgermenu for tablet */

@media (max-width: 991px) {
	nav.horizontally {
		position: static !important;
		background: #ffffff;
		padding: 10px 0;
	}

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

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

	nav.horizontally .navbar-nav {
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
		padding-bottom: 10px;
	}

	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 a[class*="toplevel"] {
	color: #373737;
	font-weight: 500;
	text-align: left;
	padding: 10px 15px;
	position: relative;
	font-size: 1.375rem;
	line-height: 1.2;
	text-decoration: none;
	font-family: "Yrsa", serif;
}

nav.horizontally a[class*="toplevel"]::after {
	content: "";
	position: absolute;
	width: 100%;
	height: 0;
	background: #eec759;
	left: 0;
	right: 0;
	bottom: 0;
	transition: all 200ms ease;
}

@media (max-width: 991px) {
	nav.horizontally a[class*="toplevel"].dropdown-toggle {
		padding-right: 35px;
	}
}

@media (min-width: 992px) {
	nav.horizontally a[class*="toplevel"] {
		padding: 15px 10px;
		text-align: center;
	}
}

/* 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: #373737;
}

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 {
	height: 5px;
}

/* secondlevel + thirdlevel dropdown-box */

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

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

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

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

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

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

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
	background-color: transparent;
	color: #1a1a1a;
	font-weight: 400;
	text-align: left;
	padding: 8px 30px;
	position: relative;
	font-size: 1.125rem;
	line-height: 1.2;
	text-decoration: none;
}

@media (max-width: 991px) {
	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) {
	color: #1a1a1a;
	background-color: #eec759;
}

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

/* ----------------------------------------------- @11b banner ----------------------------------------------- */

@media (min-width: 992px) {
	#b11 {
		position: absolute;
		pointer-events: none;
		z-index: 12;
		left: 0;
		right: 0;
		bottom: 0;
		top: 0;
		display: flex;
		align-items: end;
		align-content: end;
		height: 100%;
	}

	#b11 > .row,
	#b11 > .row > * {
		height: 100%;
	}

	#bannerTab {
		height: 100%;
		display: flex;
		align-content: end;
		align-items: end;
		pointer-events: all;
		position: relative;
		padding-right: 105px;
		padding-bottom: 45px;
	}

	#bannerTab::before {
		content: "";
		position: absolute;
		pointer-events: none;
		bottom: 0;
		left: -380px;
		right: 0;
		top: 0;
		background: linear-gradient(to top, #ffffff, rgba(255, 255, 255, 0));
	}
}

/* ----------------------------------------------- bannerTab ----------------------------------------------- */

#bannerTab .tab {
	margin-top: 30px;
	color: #232323;
	font-size: 1rem;
	padding-bottom: 20px;
	hyphens: auto;
}

#bannerTab .tab :is(h1, h2, h3) {
	font-size: clamp(1.75rem, 3vw, 2.75rem);
	margin-top: 0;
	margin-bottom: 0;
	color: #232323;
	font-weight: 500;
}

#bannerTab .tab a {
	text-decoration: none;
	display: inline-block;
	font-size: 1rem;
	font-weight: 400;
	color: #232323;
	padding: 7px 20px;
	margin-top: clamp(15px, 3vw, 55px);
	background: #fec35c;
	transition: background 300ms linear;
}

#bannerTab .tab a:hover,
#bannerTab .tab a:focus {
	background: #7fb6ef;
}

@media (min-width: 992px) {
	#bannerTab .tab a + a {
		margin-left: 20px;
	}
}

@media (max-width: 991px) {
	#bannerTab .tab a {
		display: block;
		width: fit-content;
	}

	#bannerTab .tab a + a {
		margin-top: 10px;
	}
}

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

#slider {
	max-height: 200px;
	overflow: hidden;
	position: relative;
}

@media (min-width: 576px) {
	#slider {
		max-height: 300px;
	}
}

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

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

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

#headerpic {
	margin: 0 auto;
	position: relative;
	width: 100%;
}

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

.slider-mask {
	display: none;
}

/* ------------------------------------------------ Banner-Bedienungs-Pfeile ----------------------------------------------- */

#headerpic .slider-wrapper .nivo-control.active::after {
	width: 20px;
}

#headerpic .slider-wrapper .nivo-directionNav a {
	position: absolute;
	color: #232323;
	top: unset;
	bottom: 50px;
	left: 0;
	opacity: 1;
	font-size: 0px;
	text-indent: unset;
	width: 50px;
	height: 50px;
	background: #ffffff;
}

#headerpic .slider-wrapper .nivo-directionNav a::after {
	content: "\2039";
	position: absolute;
	top: 50%;
	right: 50%;
	font-size: 50px;
	font-weight: 400;
	line-height: 12px;
	width: 15px;
	height: 21px;
	color: #232323;
	transform: translate(50%, -50%);
	transition: all, 250ms;
}

#headerpic .nivo-prevNav::after {
	color: #232323 !important;
}

#headerpic .slider-wrapper .nivo-directionNav a.nivo-nextNav::after {
	content: "\203A";
}

#headerpic .slider-wrapper .nivo-directionNav a.nivo-nextNav {
	background: #eec759;
	left: 0;
	bottom: 0;
}

#headerpic .slider-wrapper .nivo-directionNav a:hover::after {
	color: #232323;
}

#headerpic a.nivo-nextNav,
#headerpic a.nivo-prevNav {
	right: 0;
	bottom: 0;
	top: unset;
	background-image: unset;
	padding: 25px;
	opacity: 1;
}

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

/* ------------------------------------------------ Banner-Bedienungs-Punkte ----------------------------------------------- */

#headerpic .theme-default .nivo-controlNav a {
	position: relative;
	color: #ffffff;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	border: 1px solid #ffffff;
	background: transparent;
}

#headerpic .theme-default .nivo-controlNav a::after {
	content: "";
	position: absolute;
	display: block;
	top: 50%;
	left: 57%;
	margin-left: 0;
	margin-top: 0;
	width: 0;
	height: 0;
	border-radius: 50%;
	background: #004261;
	transition:
		width 200ms linear,
		height 200ms linear,
		margin 200ms linear;
}

#headerpic .theme-default .nivo-controlNav a.active::after,
#headerpic .theme-default .nivo-controlNav a:hover::after,
#headerpic .theme-default .nivo-controlNav a:focus::after {
	margin-top: -7px;
	margin-left: -7px;
	width: 100%;
	height: 100%;
}

@media (min-width: 992px) {
	#headerpic .theme-default .nivo-controlNav a + a {
		margin-top: 20px;
	}
}

#headerpic .theme-default .nivo-controlNav {
	z-index: 60;
	font-size: 0;
	bottom: 10px;
	left: 60px;
	display: flex;
	flex-direction: row;
	align-items: start;
	width: 60%;
}

@media (min-width: 992px) {
	#headerpic .theme-default .nivo-controlNav {
		z-index: 60;
		font-size: 0;
		bottom: 125px;
		display: flex;
		flex-direction: column;
		align-items: start;
		width: 100%;
		left: 15px;
	}
}

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

main {
	text-align: left;
	padding-top: clamp(30px, 7vw, 70px);
	padding-bottom: clamp(40px, 7vw, 90px);
}

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

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

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

h2,
.h2,
.legacy_h2 {
	font-size: clamp(1.6875rem, 3.5vw, 2.1875rem);
}

h3,
.h3,
.legacy_h3 {
	font-size: clamp(1.625rem, 3vw, 2rem);
}

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited) .legacy_h4 {
	font-size: clamp(25px, 2.5vw, 1.6875rem);
}

h5,
.h5,
.legacy_h5 {
	font-size: 1.5rem;
}

h6,
.h6,
.legacy_h6 {
	font-size: 1.375rem;
}

.specialHeadline {
	color: #1a1a1a;
	font-size: clamp(1.75rem, 3vw, 2.1875rem);
	margin-bottom: 28px;
	display: block;
}

#tabWrapper > .row {
	padding: 30px 0;
}


@media (max-width: 767px) {
	#tabWrapper .tab {
		margin-bottom: 20px;
	}
}
/* ------------------------------------------------ @27tab ----------------------------------------------- */

#tab27 {
	margin: auto;
	width: 100%;
	max-width: 1200px;
	padding: 30px 0;
}

#tab27 .tab {
	font-size: 1rem;
	padding: 20px;
	background: #ffffff;
	box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
}

#tab27 .tab :is(h1, h2, h3, h4, h5, h6) {
	font-size: 1.25rem;
	font-weight: 700;
	color: #444444;
}

#tab27 img {
	left: -20px;
	top: -20px;
	display: block;
	max-width: unset;
	position: relative;
	width: calc(100% + 40px);
}

/* ----------------------- @26tab slider arrows + dots ------- DO NOT DELETE ----------------------- */

#tab27 .slick-slide {
	padding: 15px;
}

#tab27 .slick-dots button,
#tab27 .slick-button {
	background: transparent;
	border: none;
	padding: 5px;
}

#tab27 .slick-button {
	font-size: 0px;
	position: relative;
	top: 4px;
}

#tab27 .slick-prev {
	margin-left: 14px;
}

@media (max-width: 767px) {
	#tab27 .slick-next {
		margin-left: 14px;
	}
}

#tab27 .slick-button::before {
	display: block;
	line-height: 9px;
	height: 20px;
	font-size: 40px;
	color: #000000;
}

#tab27 .slick-button::after {
	content: "";
	position: absolute;
	pointer-events: none;
	left: 50%;
	top: 50%;
	width: 0;
	height: 0;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	background: rgba(0, 0, 0, 0.05);
	transition:
		width 200ms linear,
		height 200ms linear;
	z-index: -1;
}

#tab27 .slick-button:focus::after,
#tab27 .slick-button:hover::after {
	width: 28px;
	height: 28px;
}

@media (max-width: 767px) {
	#tab27 .slick-button::after,
	#tab27 .slick-button::after {
		width: 28px;
		height: 28px;
	}
}

#tab27 .slick-dots {
	padding: 0 15px;
	list-style: none;
}

#tab27 .slick-dots > li {
	display: inline-block;
	position: relative;
	top: 50%;
	font-size: 0px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 1px solid #aaaaaa;
	transform: translateY(-50%);
}

#tab27 .slick-dots,
#tab27 .slick-button {
	display: inline-block !important;
}

@media (max-width: 767px) {
	#tab27 .slick-dots {
		display: none !important;
	}
}

#tab27 .slick-dots > li.slick-active {
	background: #ffc66e;
	transition: background 200ms linear;
}

#tab27 .slick-dots > li + li {
	margin-left: 10px;
}

#tab27 .slick-prev::before {
	content: "\2039";
}

#tab27 .slick-next::before {
	content: "\203A";
}

/* ------------ @26tab slider 1 stop/play button for accessibility ------- DO NOT DELETE ------------ */

#tab27 .slick-animate-control {
	position: relative;
	z-index: 2;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	top: -5px;
	left: 10px;
	border: 1px solid #ffffff;
	background-color: #000;
	background-size: 16px 16px;
	background-position: center;
	background-repeat: no-repeat;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M12 36V12h24v24Z' fill='%23fff'/%3E%3C/svg%3E");
}

#tab27 .slick-animate-control.slick-pause {
	background-size: 20px 20px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M16 37.85v-28l22 14Z' fill='%23fff'/%3E%3C/svg%3E");
}

/* ------------------------------------------ buttonStyle ------------------------------------------ */

.buttonStyle a {
	font-size: 1.125rem;
	color: #1a1a1a;
	background: #eec759;
	padding: 6px 18px;
	font-weight: 400;
	text-decoration: none;
}

.buttonStyle a:is(:hover, :focus) {
	color: #1a1a1a;
	background: #7fb6ef;
}

/* #endregion -------------------------------- aktuelles + news ------------------------------------ */

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

#vernetzt {
	gap: 10px;
	text-align: right;
	font-size: 0.9375rem;
	color: #1a1a1a;
	line-height: 1.4;
	text-decoration: none;
}

#vernetzt strong {
	color: #1a1a1a;
	font-weight: inherit;
}

#vernetzt span span {
	display: block;
}

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

form [id^="search_submit"].contrast_grayscale {
	background-color: #ffffff;
}

#footer2 {
	color: #1a1a1a;
	padding: clamp(30px, 3vw, 54px) 0;
	background: #f5e3c8;
}

#footer .innerfooter ul {
	padding: 0;
}

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

	.innerfooter li + li::before {
		content: "•";
		margin: 0 clamp(15px, 1.5vw, 20px);
	}
}

.innerfooter a {
	color: #1a1a1a;
	text-decoration: none;
}

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

@media (min-width: 992px) {
	.innerfooter a {
		color: inherit;
	}

	.innerfooter a:is(:hover, :focus) {
		color: #1a1a1a;
	}
}
