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

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

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

a,
a:is(:hover, :focus) {
	color: #d21e33;
}

a:is(:hover, :focus),
:is(#contact-col, #content, #footer .template-page) a {
	text-decoration: underline;
}

b,
strong {
	font-weight: 700;
}

#overflow {
	overflow: clip;
}

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

#topbar {
	position: relative;
}

@media (min-width: 1200px) {
	#topbar::after {
		content: "";
		display: block;
		background: url("../img/stifte-top.png") center no-repeat;
		width: 236px;
		height: 178px;
		position: absolute;
		left: calc(50% + 725px);
		bottom: -62px;
		z-index: 100;
	}
}

#topbar::before {
	content: "";
	display: block;
	width: 100%;
	height: 6px;
	background: linear-gradient(90deg, #e58c43 16%, #e54c5d 16%, #e54c5d 33%, #937eb7 33%, #937eb7 50%, #4b5ca0 50%, #4b5ca0 66%, #71ce4b 66%, #71ce4b 83%, #ecd039 83%);
}

#topbar>.row {
	font-size: 1rem;
	padding: 30px 0;
	row-gap: 30px;
}

/* LOGO MIT TEXT -------------------------------------------------------- */


#logo {
	display: flex;
	align-items: center;
	align-content: center;
	gap: 8px;
	text-decoration: none;
}

#logo .logoImg img {
	display: block;
}

@media (max-width: 991px) {
	#logo {
		flex-wrap: wrap;
	}

	#logo .logoImg img {
		max-width: 210px;
		width: 100%;
	}
}

#logo .logoTxt {
	color: #37457c;
	font-size: 1.375rem;
	align-content: center;
	line-height: 1.1;
	font-weight: 700;
}

#logo .logoTxt :is(b, strong) {
	font-size: 1.5625rem;
}

#logo .logoTxt :is(i, em) {
	font-style: normal;
	color: #c43233;
}

/* LOGO MIT TEXT -------------------------------------------------------- */

#contact-col {
	column-gap: 30px;
}

@media (max-width: 575px) {
	#contact-col {
		font-size: 0.875rem;
	}
}

@media (max-width: 767px) {
	#contact-col {
		border-top: 1px solid #37457c;
		column-gap: 10px;
		padding-top: 30px;
		margin-top: 30px;
	}
}

.contact-tab {
	padding-top: 45px;
	background: center top / 35px auto no-repeat;
	min-height: 30px;
	display: grid;
	place-content: center;
}

@media (min-width: 768px) {
	.contact-tab {
		padding: 0 0 0 45px;
		background: center left / 35px auto no-repeat;
		min-height: 45px;
	}
}

@media (min-width: 992px) {
	.contact-tab {
		padding: 0 0 0 70px;
		background: center left / 53px auto no-repeat;
		min-height: 53px;
	}
}

.contact-tab.contact-phone {
	background-image: url("../img/telefon-icon.svg");
}

.contact-tab.contact-phone :is(b, strong) {
	text-transform: uppercase;
}

.contact-tab.contact-address {
	background-image: url("../img/adresse-icon.svg");
}

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

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

/* burgermenu for tablet */

@media (max-width: 991px) {
	.sticky-wrapper {
		height: auto !important;
		padding: 10px 0;
	}

	.sticky-wrapper nav.horizontally {
		position: static !important;
	}

	#burgerButton {
		font-size: 0;
		border: none !important;
		display: block;
		height: 50px;
		width: 60px;
		border-radius: 4px;
		padding: 6px 8px;
		cursor: pointer;
		background-color: #37457c;
	}

	#burgerButton::before,
	#burgerButton::after,
	#burgerButtonInner {
		background-color: #ffffff;
		border-radius: 4px;
		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: #37457c;
		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: 10px;
	}

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

/* menu desktop */

@media (min-width: 992px) {
	nav.horizontally {
		background: rgba(55, 69, 124, 0.8);
		transition: background-color 300ms linear;
	}

	.is-sticky nav.horizontally {
		background: rgba(55, 69, 124, 1);
		left: 50% !important;
		transform: translateX(-50%);
	}

	nav.horizontally::before {
		content: "";
		background: linear-gradient(to right, #ecd039 50%, rgba(255, 255, 255, 0) 50%) top left / 9px 1px repeat-x, linear-gradient(to right, #ffffff 50%, rgba(255, 255, 255, 0) 50%) bottom left / 9px 1px repeat-x;
		position: absolute;
		top: 8px;
		right: 0;
		bottom: 8px;
		left: 0;
		pointer-events: none;
	}

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

	nav.horizontally .navbar-nav {
		display: flex;
		justify-content: start;
		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.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: #ffffff;
	font-weight: 700;
	text-align: left;
	padding: 12px 15px 12px 20px;
	position: relative;
	font-size: 1.25rem;
	line-height: 1.2;
	text-decoration: none;
}

@media (max-width: 991px) {
	nav.horizontally li[class*="toplevel"]+li {
		border-top: 1px solid rgba(255, 255, 255, 0.4);
	}

	nav.horizontally a[class*="toplevel"].dropdown-toggle {
		padding-right: 35px;
	}
}

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

	nav.horizontally a[class*="toplevel"] {
		text-align: center;
		padding: 30px 0;
	}
}

nav.horizontally a[class*="toplevel"]::before {
	content: "";
	width: 12px;
	height: 20px;
	display: block;
	position: absolute;
	left: 0;
	bottom: calc(50% - 10px);
	border-radius: 0 10px 10px 0;
	background-color: #ecd039;
	opacity: 0;
	transition: opacity 300ms linear;
}

@media (min-width: 992px) {
	nav.horizontally a[class*="toplevel"]::before {
		width: 20px;
		height: 12px;
		left: calc(50% - 10px);
		bottom: 0;
		border-radius: 10px 10px 0 0;
	}
}

/* toplevel-over */

nav.horizontally li[class*="toplevel"]:is(:hover, :focus-within)>a::before,
nav.horizontally li[class*="toplevel"]>a:is(:hover, :focus)::before,
nav.horizontally li[class*="toplevel"].open>a::before,
nav.horizontally li[class*="toplevel"].open>a:is(:hover, :focus)::before,
nav.horizontally li[class*="toplevel"][class*="_over"]>a::before,
nav.horizontally li[class*="toplevel"][class*="_over"]>a:is(:hover, :focus)::before {
	opacity: 1;
}

/* secondlevel + thirdlevel dropdown-box */

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

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

	nav.horizontally [class*="toplevel"] ul {
		margin: 10px;
	}
}

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

	nav.horizontally [class*="toplevel"]>ul {
		border-bottom-left-radius: 4px;
		border-bottom-right-radius: 4px;
		left: 50%;
		transform: translate(-50%, 0);
	}

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

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

/* secondlevel + thirdlevel */

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

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

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

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

#search {
	height: 37px;
	background: #fbfbfb;
	display: inline-block;
	position: relative;
	border-radius: 100vw;
}

#search_input {
	color: #6e6e6e;
	font-size: 16px;
	font-style: normal;
	background: transparent;
	padding: 0;
	border: 0;
	line-height: 37px;
	padding-left: 10px;
	padding-right: 43px;
	height: 37px;
	width: 100%;
}

#search_submit {
	width: 37px;
	background: #ecd039 url("../img/icon-suche.png") center no-repeat;
	padding: 0;
	cursor: pointer;
	line-height: 37px;
	border: none;
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	font-size: 0;
	-webkit-transition: background-color 300ms linear;
	-moz-transition: background-color 300ms linear;
	-ms-transition: background-color 300ms linear;
	-o-transition: background-color 300ms linear;
	transition: background-color 300ms linear;
	border-radius: 100vw;
	outline: 2px solid #ecd039;
}

#search_submit:hover {
	background-color: #fff;
}

#search_input::-ms-input-placeholder {
	color: #6e6e6e !important;
	opacity: 1;
}

#search_input::-webkit-input-placeholder {
	color: #6e6e6e !important;
	opacity: 1;
}

#search_input::-moz-placeholder {
	color: #6e6e6e !important;
	opacity: 1;
}

#search_input:-moz-placeholder {
	color: #6e6e6e !important;
	opacity: 1;
}

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

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

@media (min-width: 992px) {
	body.index #slider {
		max-height: clamp(400px, 62vw, 635px);
	}

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

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

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

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

.slider-mask {
	display: none;
}

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

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

#tabs {
	font-size: 1rem;
	background: #fcf3ec url("../img/muster-tabbereich.png") center / cover no-repeat;
}

#tabs>.row {
	row-gap: 30px;
	padding: clamp(40px, 5vw, 50px) 0;
}

@media (min-width: 576px) {
	#tabs>.row {
		min-height: 340px;
		background: url("../img/stifte-tabs.png") bottom left no-repeat;
	}
}

#tabs :is(h1, h2, h3, h4, h5, h6) {
	margin-bottom: 5px;
	color: #0f0f0f;
}

#tabs .tab::before {
	content: "";
	display: block;
	width: 100px !important;
	height: 100px !important;
	background: #e58c43 url("../img/icon-information.png") center no-repeat;
	border-radius: 50%;
	margin: 0 auto 15px auto;
}

#tabs .tab.tab-2::before {
	background: #e54c5d url("../img/icon-aktuelles.png") center no-repeat;
}

#tabs .tab.tab-3::before {
	background: #937eb7 url("../img/icon-schreibtisch.png") center no-repeat;
}

#tabs .buttonStyle a:not(.has-image) {
	font-size: 1rem;
	display: inline-block;
	border-radius: 4px;
	color: #0f0f0f;
	font-weight: 700;
	background: #e58c43;
	padding: 2px 15px 6px 15px;
	text-decoration: none;
	line-height: 1.2;
	margin-top: 20px;
	transition: transform 300ms;
}

#tabs .tab.tab-2 .buttonStyle a:not(.has-image) {
	background: #e54c5d;
}

#tabs .tab.tab-3 .buttonStyle a:not(.has-image) {
	background: #937eb7;
}

#tabs a:not(.has-image):is(:hover, :focus) {
	transform: scale(1.1);
}

#tabs .tab_link_title a {
	color: #0f0f0f;
	font-weight: 700;
}

#tabs .tab_link_mehr {
	display: none;
}

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

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

#contentWrap {
	text-align: left;
	padding-bottom: clamp(40px, 8vw, 60px);
	padding-top: clamp(40px, 8vw, 60px);
	gap: 60px 0;
}

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

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

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

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

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

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited),
.legacy_h4,
#tabs :is(h1, h2, h3, h4, h5, h6) {
	font-size: 1.875rem;
}

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

h6,
.h6,
.legacy_h6,
#footer .template-page :is(h1, h2, h3, h4, h5, h6) {
	font-size: 1.625rem;
}

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

#ev10 .tab {
	margin: 0 auto;
	position: relative;
	background: #ffffff;
	font-size: 0.9375rem;
	color: #0f0f0f;
	border-top: 4px solid #e58c43;
	-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);
	max-width: 400px;
	padding-bottom: 20px;
}


#ev10 .tabSpecial {
	padding: 20px;
}

#ev10 .tabSpecial .tabHeadline {
	text-align: center;
	font-size: 1.4375rem;
	color: #0f0f0f;
	margin: 0;
}

#ev10 #clr-events-hide {
	margin-top: 25px;
	padding-left: 20px;
	padding-right: 20px;
}

#ev10 .tab .eventclndr-tab {
	margin-bottom: 0;
}

#ev10 .tab .tab_link_title a {
	color: #0f0f0f;
	font-weight: 700;
}

#ev10 .tab .tab_link_mandat a {
	color: #0f0f0f;
	font-weight: 700;
}

#ev10 .tab #clr-events-hide>p:nth-child(1) {
	display: none !important;
}

#ev10 .tab .tab_spacer {
	height: 15px;
}

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

#ev10 .tab .tab_link_mehr a {
	text-decoration: none;
	display: inline-block;
	font-size: 1rem;
	color: #0f0f0f;
	font-weight: 700;
	border-radius: 4px;
	padding: 3px 11px;
	background: #e58c43;
}

#ev10 .tab .tab_link_mehr a:hover,
#ev10 .tab .tab_link_mehr a:focus {
	background: #e54c5d;
}

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

footer {
	font-size: 1rem;
	background: #37457c;
}

footer {
	color: #ffffff;
}

footer .template-page a {
	color: #ecd039 !important;
}

footer .tabHeadline {
	color: #fff;
	font-size: 1.4375rem;
}

#footer {
	position: relative;
	background: center / cover no-repeat;
	padding: 32px 0;
	box-shadow: inset 0 0 0 100vw rgba(55, 69, 120, 0.8);
}

#footer::before {
	content: "";
	background: linear-gradient(to right, #ffffff 50%, rgba(255, 255, 255, 0) 50%) top left / 9px 1px repeat-x, linear-gradient(to right, #ffffff 50%, rgba(255, 255, 255, 0) 50%) bottom left / 9px 1px repeat-x;
	position: absolute;
	top: 10px;
	right: 0;
	bottom: 10px;
	left: 0;
	pointer-events: none;
}

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

#footer .template-page :is(h1, h2, h3, h4, h5, h6) {
	margin-bottom: 5px;
}

.footer-tab {
	padding-top: 100px;
	background: url("../img/icon-buecher.png") center top no-repeat;
}

@media (min-width: 768px) {
	.footer-tab {
		min-height: 80px;
		padding: 0 0 0 115px;
		background-position: left 15px center;
	}
}

#innerfooter {
	padding-top: 17px;
	padding-bottom: 17px;
	font-size: 1rem;
}

#innerfooter ul {
	padding: 0;
}

#innerfooter li {
	display: block;
}

#innerfooter a {
	color: inherit;
	text-decoration: none;
	font-weight: 400;
}

@media (max-width: 575px) {
	#innerfooter a {
		padding: 6px;
		display: inline-block;
	}
}

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

@media (min-width: 576px) {
	#innerfooter li+li::before {
		content: "•";
		margin: 0 clamp(15px, 2vw, 25px);
		color: #ecd039;
	}

	#innerfooter li {
		display: inline-block;
	}
}

#sponsoren {
	background: #fff;
	padding: 30px;
	color: #0f0f0f;
}

#sponsoren a {
	color: #4b5ca0 !important;
}

/* #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 span span {
	display: block;
}

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