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

/*Fonts für Dekor*/
@import url("https://fonts.verwaltungsportal.de/import/?family=Poppins:900");

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

body {
	font-family: "Work Sans", sans-serif;
	color: #fff;
	background: #031b28;
	font-size: clamp(1rem, 2vw, 1.125rem);
	/* 1rem = 16px */
	line-height: 1.5;
}

a {
	color: #3888ff;
}

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

main a {
	text-decoration: underline;
}

b,
strong {
	font-weight: 600;
}

hr {
	height: 2px;
	opacity: 0.2;
	background: #000000;
	margin-top: 30px !important;
	margin-bottom: 30px !important;
}

/* #region ----------------------------------- topbar ------------------------------------------- */

#topbar {
	color: #ffffff;
	background: #1d3557;
}

:is(#search) h2 {
	color: #fff;
	font-size: 0.875rem;
	font-weight: 600;
	margin: 0 10px 0 0;
	width: auto;
	line-height: inherit;
	text-transform: uppercase;
	font-style: italic;
}

/* search */

#search > * {
	padding-top: 12px;
	padding-bottom: 12px;
}

@media (min-width: 992px) {
	#search > * {
		padding-top: 6px;
		padding-bottom: 6px;
	}
}

#search_input {
	color: #ffffff;
	font-size: 0.875rem;
	font-style: normal !important;
	background: transparent;
	border: 0;
	width: 100%;
	max-width: 180px;
	padding-left: 10px;
	padding-right: 10px;
}

#search_submit {
	border: none;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="48" fill="%23fff" viewBox="0 -960 960 960" width="48"><path d="M796-121 533-384q-30 26-69.959 40.5T378-329q-108.162 0-183.081-75Q120-479 120-585t75-181q75-75 181.5-75t181 75Q632-691 632-584.85 632-542 618-502q-14 40-42 75l264 262-44 44ZM377-389q81.25 0 138.125-57.5T572-585q0-81-56.875-138.5T377-781q-82.083 0-139.542 57.5Q180-666 180-585t57.458 138.5Q294.917-389 377-389Z"/></svg>') no-repeat center / 20px auto;
	padding: 0;
	cursor: pointer;
	font-size: 0;
	min-width: 34px;
	flex-shrink: 0;
	transition: background-color 300ms linear;
}

#search_submit:is(:hover, :focus) {
	background-color: rgba(0, 0, 0, 0.15);
}

#search_input::placeholder {
	color: #ffffff !important;
	opacity: 0.8 !important;
	font-style: italic !important;
}

/* #endregion -------------------------------- topbar ------------------------------------------- */

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

#logo .logoImg img {
	display: block;
}

@media (max-width: 991px) {
	#logo .logoImg img {
		max-width: 130px;
		padding-top: 5px;
	}
}

@media (min-width: 992px) {
	#logo {
		position: absolute;
		top: -60px;
		left: 0;
	}
	#logo img {
		max-width: 127px;
	}
}

/* #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: #031b28;
		box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
	}

	#burgerButton::before,
	#burgerButton::after,
	#burgerButtonInner {
		background-color: #3888ff;
		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: 60px 0 20px 0;
  	}

	.navbar-collapse {
		width: calc(100% - 90px);
		max-width: 300px;
		top: 0;
		background: #2260ab;
		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: 64px;
		right: 15px;
		z-index: 101;
	}

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

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

	.dropdown-toggle-button {
		background: #0064fa !important;
	}
}

/* menu desktop */

@media (min-width: 992px) {
	nav.horizontally {
		background: #2260ab;
		padding: 0;
		box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.1);
		transition: padding 200ms linear;
	}

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

	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: #fff;
	font-weight: 700;
	text-align: left;
	padding: 12px 15px;
	position: relative;
	font-size: 1.125rem;
	line-height: 1.2;
	text-decoration: none;
	font-style: italic;
	text-transform: uppercase;
}

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

	nav.horizontally li[class*="toplevel"] + li {
		border-top: 1px solid rgba(46, 60, 72, 0.2);
	}

	nav.horizontally a[class*="toplevel"] {
		hyphens: auto;
	}
}

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

	nav.horizontally li[class*="toplevel"] + li {
		margin-left: 0;
	}
}

@media (min-width: 992px) {
	.navbar-default .navbar-nav > li.dropdownpr > a::after {
		content: "";
		position: absolute;
		bottom: 30px;
		left: calc(50% - 3px);
		display: block;
		width: 6px;
		height: 6px;
		border-right: 1px solid #fff;
		border-bottom: 1px solid #fff;
		transform: rotate(45deg);
	}
}

/* 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) {
	background-color: #1d3557;
}

.navbar-default .navbar-nav > li.dropdownpr > a:is(:hover, :focus-within) > a::after,
.navbar-default .navbar-nav > li.dropdownpr > a:is(:hover, :focus)::after,
.navbar-default .navbar-nav > li.dropdownpr.open > a::after,
.navbar-default .navbar-nav > li.dropdownpr.open > a:is(:hover, :focus)::after,
.navbar-default .navbar-nav > li.dropdownpr[class*="_over"] > a::after,
.navbar-default .navbar-nav > li.dropdownpr[class*="_over"] > a:is(:hover, :focus)::after {
	border-right: 1px solid #ffffff;
	border-bottom: 1px solid #ffffff;
}

/* secondlevel + thirdlevel dropdown-box */

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

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

@media (min-width: 992px) {
	header {
		position: relative;
	}

	nav.horizontally [class*="toplevel"] ul {
		padding-top: 18px;
		padding-bottom: 18px;
	}

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

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

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

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

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

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
	color: #fff;
	font-weight: 400;
	text-align: left;
	padding: 10px 15px;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
}

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

	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: #0064fa;
	color: #ffffff;
}

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

/* #region ------------------------------------ banner ------------------------------------------ */
#headerpic {
	padding-top: 20px;
}
#headerpic > .row {
	max-width: 100%;
	width: 100%;
   gap: 30px 0;
}

#headerpic > .row > div:first-child {
	padding: 0;
}

#headerpic .slider-wrapper,
#slider,
#slider > .slick-slider,
#slider > .slick-slider > div,
#slider > .slick-slider > div > div,
#slider > .slick-slider > div > div > div,
#slider > .slick-slider > div > div > div > div,
#slider > .slick-slider > div > div > div > div > img {
	height: 100%;
}
#slider > .slick-slider > div > div > div > div > img {
	object-fit: cover;
}

@media (min-width: 992px) {
	#headerpic .nivo-nextNav {
		right: 280px;
	}
}
/* #endregion --------------------------------- banner ------------------------------------------ */

#headerpic .tab1 .tabHeadline {
	font-size: clamp(1.875rem, 3vw, 2.5rem);
}

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

.tab_link_mehr {
	font-size: 0;
}

.tab_link_mehr a,
.buttonStyle a:not(.has-image):not([rel]) {
	font-weight: 700;
	display: inline-block;
	padding: 7px 15px 8px 15px;
	color: #ffffff;
	background: #0064fa;
	font-size: 1rem;
	text-decoration: none;
	text-transform: uppercase;
	font-style: italic;
}

.tab_link_mehr a:is(:hover, :focus),
.buttonStyle a:not(.has-image):not([rel]):is(:hover, :focus) {
	background: #fff;
	color: #0064fa;
}

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

#content {
	padding-top: 40px;
}

body:not(.index) #content {
	text-align: left;
	padding-bottom: clamp(40px, 6vw, 90px);
}

/* ---------------------------------------- specialHeadline ------------------------------------- */

.headlineTab {
	z-index: 12;
	position: relative;
}

.headlineTab .tabHeadline {
	color: #fff;
	text-align: right;
	margin: 0;
	position: relative;
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	text-transform: uppercase;
	font-style: italic;
}

.headlineTab .tabHeadline::after {
	content: "";
	display: block;
	pointer-events: none;
}

.headlineTab .tabHeadline::after {
	max-width: 200px;
	width: 100%;
	height: 2px;
	background: rgba(255, 255, 255, 0.2);
	margin: 30px 0 30px auto;
}

@media (max-width: 991px) {
	.headlineTab .tabHeadline {
		text-align: center;
	}

	.headlineTab .tabHeadline::after {
		margin: 30px auto 30px auto;
	}
}

/* #region -------------------------------------- news ------------------------------------------ */

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

#news {
	color: #fff;
	font-size: 1rem;
	position: relative;
	padding: 45px 30px;
	background-color: #1d3557;
	box-shadow: 0 0 5px rgba(43, 43, 43, 0.15);
}

#news .tabHeadline {
	color: #ffffff;
	font-size: clamp(1.625rem, 3.5vw, 1.875rem);
	font-weight: 700;
	text-transform: uppercase;
}

#news .tabContent {
	padding: 30px 20px 45px 20px;
}

#news .tab_link_title a {
	font-weight: 00;
	color: #fff;
	font-style: italic;
}

#news .tab_link_mandat a {
	color: #fff;
	font-style: italic;
}

#news .tab_date,
#news .tab_link_date {
	font-style: italic;
}

#news .tab_link_mehr {
	font-size: 0;
	position: relative;
	display: none;
}

#news .tab-mehr a {
	text-decoration: none;
	display: inline-block;
	font-size: 1rem;
	font-weight: 700;
	color: #fff;
	padding: 5px 15px;
	background: #0064fa;
	font-style: italic;
	margin-top: 30px;
	margin-left: auto;
}

#news .tab-mehr a:hover,
#news .tab-mehr a:focus {
	color: #0064fa;
	background: #fff;
}

/* #endregion ----------------------------------- news ------------------------------------------ */

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

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

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

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

h3,
.h3,
.legacy_h3 {
	font-size: 1.5rem;
}

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited) .legacy_h4,
#news .tab_link_entry .tab_link_title {
	font-size: 1.375rem;
}

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

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

/* #region ----------------------------------- contactRow --------------------------------------- */

.tabFooter {
	pointer-events: auto;
	background: #1d3557;
	padding: clamp(30px, 3vw, 40px);
	box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.1);
	font-size: 1rem;
}

.tabFooter .tabHeadline {
	font-weight: 700;
	font-style: italic;
	text-transform: uppercase;
	margin-bottom: 5px;
}

#contactRow {
	padding: 40px 0;
	border-top: 2px solid #1d3557;
}

@media (max-width: 991px) {
	#contactRow {
		padding-top: 30px;
	}
}

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

#contactRow .tabHeadline {
	color: #fff;
	margin: 0;
	font-size: clamp(1.625rem, 3.5vw, 1.875rem);
	font-style: italic;
	text-transform: uppercase;
}

#contactRow .tab strong {
	font-weight: 600;
	text-transform: uppercase;
	font-style: italic;
}

.contactElement {
	padding-left: 35px;
	font-size: 1rem;
	margin-top: 25px;
	min-height: 30px;
}

.contactElement a {
	text-decoration: underline;
}

.location {
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%233888ff" height="48" viewBox="0 -960 960 960" width="48"><path d="M480.089-490Q509-490 529.5-510.589q20.5-20.588 20.5-49.5Q550-589 529.411-609.5q-20.588-20.5-49.5-20.5Q451-630 430.5-609.411q-20.5 20.588-20.5 49.5Q410-531 430.589-510.5q20.588 20.5 49.5 20.5ZM480-159q133-121 196.5-219.5T740-552q0-117.79-75.292-192.895Q589.417-820 480-820t-184.708 75.105Q220-669.79 220-552q0 75 65 173.5T480-159Zm0 79Q319-217 239.5-334.5T160-552q0-150 96.5-239T480-880q127 0 223.5 89T800-552q0 100-79.5 217.5T480-80Zm0-480Z"/></svg>') no-repeat left -6px center / 35px auto;
}

.phone {
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%233888ff" height="48" viewBox="0 -960 960 960" width="48"><path d="M795-120q-116 0-236.5-56T335-335Q232-438 176-558.5T120-795q0-19.286 12.857-32.143T165-840h140q14 0 24 10t14 25l26.929 125.641Q372-665 369.5-653.5q-2.5 11.5-10.729 19.726L259-533q26 44 55 82t64 72q37 38 78 69.5t86 55.5l95-98q10-11 23.151-15T686-369l119 26q15 4 25 16.044T840-300v135q0 19.286-12.857 32.143T795-120ZM229-588l81-82-23-110H180q2 42 13.5 88.5T229-588Zm369 363q41 19 89 31t93 14v-107l-103-21-79 83ZM229-588Zm369 363Z"/></svg>') no-repeat left center / 32px auto;
}

.mail {
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%233888ff" height="48" viewBox="0 -960 960 960" width="48"><path d="M120-160v-640l760 320-760 320Zm60-93 544-227-544-230v168l242 62-242 60v167Zm0 0v-457 457Z"/></svg>') no-repeat left -4px center / 32px auto;
}

/* #endregion -------------------------------- contactRow --------------------------------------- */

/* #region ----------------------------------- footer ------------------------------------------- */

#footerNav {
	background: #1d3557;
	padding: 15px 0 8px 0;
}

@media (max-width: 767px) {
	#footerNav > .row > * + * {
		margin-top: 20px;
		padding-top: 20px;
		border-top: 1px solid rgba(255, 255, 255, 0.1);
	}
}

#innerfooter ul {
	padding: 0;
	font-size: 1rem;
}

#innerfooter li {
	display: inline-block;
}

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

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

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

/* #endregion -------------------------------- footer ------------------------------------------- */

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

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

#vernetzt strong {
	font-weight: 600;
}

#vernetzt span span {
	display: block;
}
