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

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

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

a {
	color: #147fa9;
}

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

b,
strong {
	font-weight: 600;
}

#overflow {
	overflow: clip;
	position: relative;
}

/* ----------------------------------------- optionsbar ----------------------------------------- */

@media (max-width: 991px) {
	#optionsbar {
		margin-top: 20px;
		padding-top: 20px;
		border-top: 1px solid rgba(0, 0, 0, 0.2);
	}
}

@media (min-width: 992px) {
	#optionsbar {
		padding: 14px 0 25px 0;
		transition: all 0.1s 0s linear;
		overflow: hidden;
	}

	.is-sticky #optionsbar {
		height: 0;
		padding: 0;
		border-color: transparent;
	}

	#optionsbar>*+* {
		border-left: 1px solid #d2bda5;
	}
}

#optionsbar>* {
	padding: 0 29px;
}

@media (min-width: 992px) and (max-width: 1199px){
	  #optionsbar {
    padding: 14px 0 10px 0;
	  }
}
/* -------------------------------------- contrast +styler -------------------------------------- */

#style h2,
#search h2 {
	font-size: 1rem;
	font-weight: 700;
	font-family: inherit;
	color: inherit;
	margin: 0 10px 0 0;
	width: unset;
	line-height: 30px;
}

/* ------------------------------------------- styler ------------------------------------------- */

#style {
	padding-right: 20px;
}

#style button {
	padding: 0 9px;
	border: none;
	color: #147fa9;
	display: inline-block;
	font-weight: 400;
	background: transparent;
	position: relative;
	line-height: 1;
	font-size: 1rem;
	border: 1px solid rgba(0, 0, 0, 0);
	width: 30px;
	height: 30px;
}

#style button:is(:hover, :focus) {
	border: 1px solid #147fa9;
}

/* ------------------------------------------- search ------------------------------------------- */

#search {
	background: transparent;
	display: inline-flex;
	padding-right: 0;
}

#search_input {
	color: #222222;
	font-size: 1rem;
	font-style: normal;
	background: transparent;
	padding: 3px 0;
	border: 0;
	width: 100%;
	max-width: 180px;
}

#search_submit {
	min-width: 33px;
	flex-shrink: 0;
	background: url("../img/icon-suche2.png") center no-repeat;
	padding: 0;
	cursor: pointer;
	border: none;
	font-size: 0;
}

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

#search_input::placeholder {
	color: #222222 !important;
	opacity: 1 !important;
	font-style: normal !important;
}

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

#logo {
	display: inline-block;
}

#logo img {
	display: block;
}

@media (min-width: 992px) and (max-width: 1199px) {
	#logo {
		margin: 20px 0 15px 0;
		transition: all 0.1s 0s linear;
		overflow: hidden;
		max-width: 140px;
	}

	.is-sticky #logo {
		height: 0;
		margin: 0;
	}
}

@media (min-width: 1200px) {
	#logo {
		margin-left: 40px;
	}
}

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

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

/* burgermenu for tablet */

@media (max-width: 991px) {
	nav.horizontally {
		position: static !important;
		padding: 20px 0 18px 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: #CC6600;
		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: #ffffff;
		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: 9px;
	}

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

/* menu desktop */

@media (min-width: 992px) {
	.sticky-wrapper {
		height: 0 !important;
	}

	nav.horizontally {
		background: rgba(255, 255, 255, 0.85);
		transition: all 0.2s 0s linear;
		position: absolute;
		top: 0;
		z-index: 55;
		width: 100%;
		left: 0;
		right: 0;
		margin: 0 auto;
	}

	.is-sticky nav.horizontally {
		box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.18);
		padding: 5px 0;
	}

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

@media (max-width: 991px) {
	nav.horizontally li[class*="toplevel"] {
		border-bottom: 1px solid rgba(46, 60, 72, 0.2);
	}
nav.horizontally a[class*="toplevel"] {
  overflow-wrap: break-word;
  word-wrap: break-word;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  hyphens: auto;
}

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

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

	nav.horizontally a[class*="toplevel"] {
		padding: 20px;
		text-align: center;
		font-size: clamp(1rem, 1.2vw, 1.25rem);
	}
}

/* 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: #fff;
	background-color: #147fa9;
}

/* secondlevel + thirdlevel dropdown-box */

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

@media (max-width: 991px) {
	nav.horizontally [class*="toplevel"] ul {
		box-shadow: inset -1px 0px 5px 0 rgba(0, 0, 0, 0.2);
	}

	nav.horizontally [class*="toplevel"]>ul {
		padding: 15px;
		background-color: rgba(255, 255, 255, 0.65);
	}

	nav.horizontally [class*="secondlevel"]>ul {
		padding: 15px 0;
		background-color: rgba(255, 255, 255, 0.15);
	}
}

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

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

	nav.horizontally [class*="secondlevel"]>ul::before {
		content: "";
		position: absolute;
		display: block;
		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: 7px 35px;
	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;
	}
nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
  overflow-wrap: break-word;
  word-wrap: break-word;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  hyphens: auto;

}
	
}

@media (min-width: 992px) {
	nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])+li:not(:nth-child(2)) {
		border-top: 1px solid rgba(0, 0, 0, 0.2);
	}
}

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

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

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

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

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

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

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

	#headerpic {
		background-color: #222222;
	}

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

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

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

.slider-mask {
	display: none;
}

.slogan {
	font-size: clamp(2.375rem, 5vw, 3.625rem);
	font-weight: 700;
}

@media (min-width: 992px) {
	#banneroverlay {
		position: absolute;
		bottom: 15%;
		width: 100%;
		z-index: 55;
	}

	.slogan {
		color: #fff;
		text-shadow:
			-1px -1px 0 #6e6e6e,
			1px -1px 0 #6e6e6e,
			-1px 1px 0 #6e6e6e,
			1px 1px 0 #6e6e6e;
	}
}

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

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

#content {
	background-color: #fff;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
	padding: 30px;
}

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

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

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

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

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

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited),
.legacy_h4 {
	font-size: 1.5rem;
}

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

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

/* ----------------------------------------------- @6nw news -------------------------------------------- */

#nw6 {
	font-size: 1rem;
	padding-bottom: clamp(30px, 3vw, 50px);
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: scroll, fixed;
	background-size: cover;
}

#nw6 .tabHeadline {
	font-size: clamp(2.1875rem, 3vw, 2.25rem);
	margin-bottom: 0;
}

#nw6 .tabContent {
	font-size: 1rem;
	color: #222222;
}

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

#nw6 .tab_link_entries {
	display: grid;
	gap: 30px;
}

@media (min-width: 576px) {
	#nw6 .tab_link_entries {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 768px) {
	#nw6 .tab_link {
		margin-top: 18px;
	}

	#nw6 .tab_link_entries {
		grid-template-columns: repeat(2, 1fr);
	}
}

#nw6 .tab_link_entry {
	text-align: center;
	position: relative;
	width: 100%;
	border-bottom: none !important;
	padding: 165px 20px 20px 20px;
	background: #ffffff;
	box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
}

#nw6 .tab_link_entry::before {
	content: "";
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	right: 0;
	height: 150px;
	background:
		center / cover no-repeat,
		#666666;
}

#nw6 .tab_link_entry .tab_preview_picture {
	position: absolute;
	display: block;
	left: 0;
	right: 0;
	top: 0;
	height: 150px;
	overflow: hidden;
	background: #ffffff;
}

#nw6 .tab_preview_picture img {
	position: absolute;
	left: 50%;
	top: 50%;
	max-width: none;
	min-width: 100%;
	min-height: 100%;
	max-width: 100%;
	width: auto;
	height: auto;
	transform: translateX(-50%) translateY(-50%);
}

#nw6 .tab_date {
	position: absolute;
	display: inline-block;
	z-index: 1;
	left: 50%;
	top: 134px;
	font-weight: 400;
	font-size: 1rem;
	color: #191919;
	padding: 4px 10px;
	background: #cc6600;
	transform: translateX(-50%);
}

#nw6 .tab_link_title a {
	color: #147fa9;
	font-weight: 600;
	font-size: 1.25rem;
	line-height: 1.2;
	text-decoration: none;
}

#nw6 .tab_link_entry>div:nth-last-child(2) {
	font-size: 0;
	line-height: 0;
	display: none;
}

#nw6 .tab_link_mehr_main a {
	text-decoration: none;
	display: inline-block;
	font-size: 0.875rem;
	font-weight: 600;
	color: #fff;
	padding: 5px 15px;
	background: #147fa9;
	border: 1px solid #147fa9;
}

#nw6 .tab_link_mehr_main a:hover,
#nw6 .tab_link_mehr_main a:focus {
	color: #fff;
	background: #116e92;
	border-color: #116e92;
}

/* ----------------------------------------------- @12ev events -------------------------------------------- */

@media (min-width: 992px) {
	#bgRight {
		position: relative;
		margin-top: -230px;
		z-index: 55;
	}
}

#ev12,
#bgRight .tab {
	margin-bottom: 30px;
}

#bgRight .tab .tabContent,
#ev12 .tabContent {
	padding: 10px 20px;
	background: #ffffff;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
	margin-bottom: 30px;
	color: #222222;
	font-size: 1rem;
	position: relative;
	hyphens: auto;
}

#bgRight .tab .tabHeadline {
	background: #cc6600;
	color: #ffffff;
	text-align: center;
	margin: 0;
	font-size: 1.5625rem;
	padding: 7px 20px;
	hyphens: auto;
}

#bgRight .tab .list ul li {
	padding-block: 2px;
}

#bgRight .tab .list ul li a {
	color: #147fa9;
}

#bgRight .tab .list ul li a:is(:hover, :focus),
#bgRight .tab .tabContent a:is(:hover, :focus) {
	color: #147fa9;
	text-decoration: underline;
}

#bgRight .tab .list ul li::before {
	color: currentColor;
	border-radius: 0;
	opacity: 1;
	height: 2px;
	top: 50%;
}

#ev12 #clr-events-hide>P:first-of-type {
	display: none;
}

#ev12 .tab_link_title a {
	font-weight: 600;
	color: #147fa9;
}

#ev12 .tab_link_mandat a {
	color: #222222;
	font-style: italic;
}

#ev12 .tab_link_mehr {
	font-size: 0;
	text-align: right !important;
	padding: 0 !important;
	right: 10px;
	position: relative;
	bottom: 10px;
}

#bgRight .tab .buttonStyle a,
#ev12 .tab_link_mehr a {
	color: #147fa9;
	text-decoration: none;
	font-size: 1rem;
	font-weight: 400;
}

#bgRight .tab .buttonStyle a:is(:hover, :focus),
#ev12 .tab_link_mehr a:hover,
#ev12 .tab_link_mehr a:focus {
	color: #222222;
	text-decoration: underline;
}




@media (min-width: 768px)  and (max-width: 991px) {
	
#bgRight {
	display: grid;
	gap: 15px;
}


#bgRight   {
		grid-template-columns: repeat(2, 1fr);
	}
}



/* -------------------------------------------- teaser ------------------------------------------ */

#teaser {
	color: #56524a;
	font-weight: 400;
	line-height: 1.4;
	padding-top: clamp(30px, 4vw, 60px);
	font-size: 1.125rem;
}

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

.teaser {
	background: #ffffff;
	padding: clamp(20px, 2vw, 40px) clamp(20px, 2vw, 30px);
	height: 100%;
	min-height: 100%;
	box-shadow: 0 12px 24px 0 rgba(0, 0, 0, 0.1);
}

.teaser :is(h1, h2, h3, h4, h5, h6) {
	font-size: 1.25rem;
}

.teaser img {
	margin-bottom: 30px;
}

.teaser:is(:hover, :focus-within) img {
	animation: shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
	transform: translate3d(0, 0, 0);
	backface-visibility: hidden;
}

@keyframes shake {

	10%,
	90% {
		transform: translate3d(-1px, 0, 0);
	}

	20%,
	80% {
		transform: translate3d(2px, 0, 0);
	}

	30%,
	50%,
	70% {
		transform: translate3d(-4px, 0, 0);
	}

	40%,
	60% {
		transform: translate3d(4px, 0, 0);
	}
}

/* ----------------------------------------------- @1f footer ----------------------------------------------- */

#f1 {
	color: #ffffff;
	font-size: 1rem;
	padding-top: 40px;
	padding-bottom: 40px;
	background-color: #cc6600;
	margin-bottom: 30px;
}

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

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

#f1 a,
#f1 a:hover,
#f1 a:focus {
	color: #147fa9;
}

#f1 .footerTab {
	font-size: 1rem;
}

#f1 .tabHeadline {
	font-size: 1.25rem;
	font-weight: 700;
	color: #ffffff;
}

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

#innerfooter ul {
	background-color: #cc6600;
	padding: 0;
}

#innerfooter li+li {
	border-top: 2px solid rgba(0, 0, 0, 0.1);
}

#innerfooter a {
	text-decoration: none;
	position: relative;
	display: block;
	font-size: 1rem;
	font-weight: 400;
	padding: 6px 10px;
	color: #ffffff;
	background-color: #147fa9;
}

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

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

#vernetzt {
	gap: 12px;
	text-align: right;
	font-size: 0.8125rem;
	color: #ffffff !important;
	line-height: 1.3;
	text-decoration: none;
}

#vernetzt span span {
	display: block;
}

.social {
	margin-bottom: 30px;
}

/* ------------------------------------------ scrollTop ----------------------------------------- */

#scrollTopBtn {
	position: relative;
	text-decoration: none;
	padding: 6px 15px 6px 15px;
	display: inline-block;
	font-size: 1.125rem;
	color: #ffffff !important;
	font-weight: 700;
	background: #147fa9;
	border: 1px solid #fff;
	margin-bottom: 30px;
}

#scrollTopBtn:is(:hover, :focus) {
	color: #fff;
	background: #116e92;
}

#scrollTopBtn::after {
	content: "\203A";
	position: relative;
	bottom: 1px;
	display: inline-block;
	margin-left: 15px;
	transform: rotate(-90deg);
}