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

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

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

a {
	color: #00519b;
}

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

b,
strong {
	font-weight: 700;
}

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

@media (min-width: 1200px) {
	#nw23,
	.row,
	.compact,
	._op-container .container {
		max-width: 1440px;
		width: 100%;
	}

	nav.horizontally > .row {
		max-width: 1600px;
		width: 100%;
	}
}

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

#logo {
	display: inline-block;
}

#logo img {
	display: block;
}

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

/* ------------------------------------------------- optionsBox ------------------------------------------------ */

@media (max-width: 991px) {
	#optionsBox {
		padding: 15px;
		border-bottom: 2px solid #1b1b1b;
	}
}

@media (min-width: 992px) {
	#optionsBox {
		display: flex;
		align-items: center;
		align-content: center;
		justify-content: end;
		padding-top: 10px;
	}
}

/* ------------------------------------------------- tabSocialMedia ------------------------------------------------ */

@media (max-width: 991px) {
	#optionsBox .tabSocialMedia {
		margin-bottom: 15px;
		padding-bottom: 15px;
		border-bottom: 1px solid rgba(27, 27, 27, 0.4);
	}
}

@media (min-width: 992px) {
	#optionsBox .tabSocialMedia {
		margin-right: 40px;
		padding-right: 40px;
		border-right: 1px solid rgba(27, 27, 27, 0.4);
	}
}

.tabSocialMedia {
	font-size: 1rem;
}

.tabSocialMedia p {
	display: inline-block;
}

.tabSocialMedia p + p {
	margin-left: 10px;
}

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

#search {
	min-height: 45px;
	border: 1px solid #1b1b1b;
	background: #ffffff;
	display: inline-block;
	position: relative;
}

@media (max-width: 991px) {
	#search {
		display: flex;
		flex-direction: column;
	}
}

#search_input {
	color: #1b1b1b;
	font-size: clamp(1rem, 1vw, 1.125rem);
	font-style: normal;
	background: transparent;
	padding: 0;
	border: 0;
	padding-left: 20px;
	padding-right: 145px;
	min-height: 45px;
	width: 100%;
}

@media (max-width: 991px) {
	#search_input {
		padding-right: 20px;
	}
}

#search_submit {
	min-height: 130px;
	background: #00519b url("../img/icon-suche2.png") center left 12px no-repeat;
	padding: 0 13px 0 45px;
	cursor: pointer;
	border: none;
	position: absolute;
	top: 0;
	right: 0;
	min-height: 45px;
	font-weight: 400;
	color: #e8d10d;
	text-align: left;
	font-size: clamp(1rem, 1vw, 1.125rem);
	text-transform: uppercase;
	transition: background-color 300ms linear;
}

@media (max-width: 991px) {
	#search_submit {
		position: relative;
	}
}

#search_submit:hover {
	background-color: #00519b;
}

#search_input::-ms-input-placeholder {
	color: #1b1b1b !important;
}

#search_input::-webkit-input-placeholder {
	color: #1b1b1b !important;
}

#search_input::-moz-placeholder {
	opacity: 1;
}

#search_input:-moz-placeholder {
	opacity: 1;
}

#search input::placeholder {
	color: #1b1b1b !important;
	opacity: 1 !important;
	font-style: normal !important;
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
	nav.horizontally {
		position: static !important;
		padding: 10px 0;
		background-color: #ffffff;
		box-shadow: 0px 10px 20px 0px rgba(27, 27, 27, 0.3);
	}

	#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: #00519b;
		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: 7px;
	}

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

/* menu desktop */

@media (min-width: 992px) {
	nav.horizontally {
		padding: 10px 0;
		background-color: #ffffff;
		box-shadow: 0px 10px 20px 0px rgba(27, 27, 27, 0.3);
	}

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

	nav.horizontally .navbar-nav > li {
		flex-grow: 1;
	}

	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: #1b1b1b;
	font-weight: 400;
	text-align: left;
	padding: 10px 15px 15px 15px;
	position: relative;
	font-size: 1.125rem;
	line-height: 1.2;
	text-decoration: none;
}

@media (max-width: 991px) {
	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;
	}
}

/* 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: #00519b;
	background-color: transparent;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
	background-color: #ffffff;
}

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

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

	nav.horizontally [class*="toplevel"] > ul {
		margin-top: 26px;
	}

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

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

	nav.horizontally :is([class*="toplevel"], [class*="secondlevel"]) > ul::before {
		background: #ffffff;
	}

	nav.horizontally [class*="toplevel"] > ul::before {
		left: 45px;
		top: -10px;
		width: 20px;
		height: 20px;
		transform: rotate(45deg);
	}

	nav.horizontally [class*="secondlevel"] > ul::before {
		left: -10px;
		top: 10px;
		width: 20px;
		height: 20px;
		transform: rotate(45deg);
	}

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

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

/* secondlevel + thirdlevel */

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

@media (min-width: 992px) {
	nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
		padding: 7px 20px;
		font-size: 1.125rem;
	}
}

/* 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: #1b1b1b;
	background-color: #fddc00;
}

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

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

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

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

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

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

	#headerpic .theme-nivo .nivo-directionNav a {
		top: 90%;
	}
}

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

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

.slider-mask {
	display: block;
	background: rgba(0, 0, 0, 0.3);
}

.index .slider-mask {
	display: block;
	background: rgba(0, 0, 0, 0.7);
}

/* ------------------------------------------------ bannerOverlay ----------------------------------------------- */

@media (max-width: 991px) {
	#bannerOverlay {
		padding: 30px 0;
		background: #1b1b1b;
	}
}

#bannerOverlay .tab {
	font-size: clamp(1.125rem, 2vw, 1.5rem);
}

#bannerOverlay .tab,
#bannerOverlay .tab :is(h1, h2, h3, h4, h5, h6) {
	color: #ffffff;
}

#bannerOverlay .tab :is(h1, h2, h3, h4, h5, h6) {
	text-transform: uppercase;
	margin: 0;
}

#bannerOverlay .tab :is(h1, h2) {
	font-size: clamp(2.1875rem, 5vw, 5rem);
}

#bannerOverlay .tab :is(h1, h2, h3, h4, h5, h6) :is(em, i) {
	font-style: normal;
	display: block;
	font-size: 62%;
}

@media (min-width: 992px) {
	#bannerOverlay {
		position: absolute;
		pointer-events: none;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 12;
		display: flex;
		align-items: center;
		align-content: center;
		background-color: rgba(0, 0, 0, 0.01);
	}

	#bannerOverlay .tab {
		pointer-events: all;
	}
}

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

.buttonStyle a {
	text-decoration: none;
	display: inline-block;
	text-transform: uppercase;
	color: #fddc00;
	font-weight: 700;
	font-size: 1rem;
	padding: 8px 46px;
	background: #00519b;
	clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
}

.buttonStyle a:is(:hover, :focus) {
   background: #fddc00;
   color: #00519b;
}
#footer .buttonStyle a {
	color: #ffffff;
	background: #00519b;
}

#footer .buttonStyle a:is(:hover, :focus) {
	color: #fddc00;
	background: #1b1b1b;
}

#bannerOverlay .buttonStyle a + a {
	margin-left: 15px;
}


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

#content {
	text-align: left;
	padding-top: clamp(40px, 4vw, 55px);
	padding-bottom: clamp(40px, 4vw, 60px);
}


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

#content .tab :is(h1, h2, h3, h4, h5, h6) {
	font-size: 1.5rem;
}
/* ----------------------------------------------- @1nw news -------------------------------------------- */

#nw1 {
	padding-bottom: clamp(40px, 4vw, 60px);
	background: url("../img/deko-news.png") bottom right no-repeat;
}

#nw1 > .row {
	row-gap: 35px;
}

#nw1 .tabHeadline {
	hyphens: auto;
	margin: 0;
	font-size: clamp(1.75rem, 2vw, 2.25rem);
	text-transform: uppercase;
}

#nw1 .tab,
#nw1 .tab_link,
#nw1 .tab_link > div {
	height: 100%;
	min-height: 100%;
}

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

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

@media (min-width: 992px) {
	#nw1 .tab_link_entries {
		grid-template-columns: repeat(4, 1fr);
	}
}

#nw1 .tab_link_entry {
	font-size: 1rem;
	position: relative;
	width: 100%;
	padding: 205px 35px 45px 35px;
	background: #ffffff;
	border: unset !important;
	box-shadow: 0px 10px 20px 0px rgba(27, 27, 27, 0.2);
}

#nw1 .vorschau {
	opacity: 1;
}

#nw1 .tab_preview_picture {
	background: #ffffff;
}

#nw1 .tab_link_entry::before,
#nw1 .tab_link_entry .tab_preview_picture {
	position: absolute;
	display: block;
	top: -1px;
	left: -1px;
	right: -1px;
	height: 160px;
	overflow: hidden;
}

#nw1 .tab_link_entry::before {
	content: "";
	background:
		center / cover no-repeat,
		#ffffff;
}

#nw1 .tab_preview_picture img {
	position: absolute;
	margin: 0 !important;
	left: 50%;
	top: 50%;
	max-width: none;
	min-width: 100%;
	min-height: 100%;
	max-width: 350px;
	width: auto;
	height: auto;
	-ms-interpolation-mode: bicubic;
	transform: translateX(-50%) translateY(-50%);
}

#nw1 .tab_date {
	display: inline-block;
	position: absolute;
	z-index: 1;
	left: -1px;
	top: 145px;
	font-weight: 400;
	color: #ffffff;
	font-size: 1rem;
	padding: 6px 30px 6px 25px;
	background: #00519b;
	clip-path: polygon(0 0, 100% 0%, 90% 100%, 0% 100%);
}

#nw1 .tab_link_title a {
	display: block;
	font-weight: 700;
	font-size: clamp(1.125rem, 2vw, 1.5rem);
	color: #1b1b1b;
	line-height: 1.2;
	margin-bottom: 8px;
}

#nw1 .tab_link_entries + div,
#nw1 .tab_link_entries .tab_spacer,
#nw1 .tab_link_entry > div:nth-last-child(2) {
	display: none;
}

/* #region ------------------------------------ events ------------------------------------------ */

#events {
	padding-top: clamp(40px, 6vw, 110px);
	padding-bottom: clamp(40px, 6vw, 100px);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	background-color: #1b1b1b;
}

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

#events .tab,
#events .tabHeadline {
	color: #ffffff;
}

#events .tabHeadline {
	margin-bottom: 5px;
	font-size: clamp(1.75rem, 2vw, 2.25rem);
	text-transform: uppercase;
}

#events .tab_link_entries {
	display: grid;
	gap: 30px;
	counter-reset: section;
}

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

@media (min-width: 992px) {
	#events .tab_link_entries {
		grid-template-columns: repeat(3, 1fr);
	}
}

#events .tab_link_entry {
	background: #ffffff;
	padding: 45px 20px;
	overflow: hidden;
	position: relative;
}

#events .tab_link_entry::before {
	counter-increment: section;
	content: "0" counter(section);
	font-size: 180px;
	font-weight: 700;
	opacity: 0.1;
	pointer-events: none;
	position: absolute;
	right: 15px;
	bottom: -50px;
	color: #00519b;
	line-height: 1;
}

#events .tab_link_entry a {
	color: #1b1b1b;
}

#events .tab_link_title a {
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.2;
	display: block;
	margin-bottom: 6px;
}

#events .tab_link_mehr {
	font-size: 0;
}

/* #endregion --------------------------------- events ------------------------------------------ */

/* ------------------------------------------------ tabSports ----------------------------------------------- */

#tabSports {
	padding-top: clamp(40px, 3vw, 55px);
	padding-bottom: 40px;
}

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

@media (min-width: 1200px) {
	#tabSports > .row > *:not(.colHead) {
		flex: 0 0 20%;
		max-width: 20%;
	}
}

#tabSports .tabHead {
	margin-bottom: 10px;
}

#tabSports .tabHead .tabHeadline {
	margin-bottom: 0;
	font-size: clamp(1.75rem, 2vw, 2.25rem);
	text-transform: uppercase;
}

#tabSports .tabYellow {
	height: 100%;
	line-height: 1.2;
	font-weight: 700;
	font-size: clamp(1.25rem, 3vw, 1.875rem);
	color: #00519b;
	padding: 20px 20px 5px 20px;
	background:
		url("../img/deko-tabs.png") bottom right no-repeat,
		#fddc00;
	transition: all 300ms linear;
}

#tabSports .tabYellow a {
	color: #00519b;
}

#tabSports .tabYellow:is(:hover, :focus) {
	box-shadow: 0px 10px 20px 0px rgba(27, 27, 27, 0.2);
}

#tabSports .tabYellow .tp-image-wrapper {
	min-height: 140px;
	display: flex;
	align-content: center;
	align-items: center;
	justify-content: center;
}

/* -------------------------------------------- partner ----------------------------------------- */

#partner {
	padding: 40px 0 15px 0;
	font-size: 1rem;
}

#partner hr {
	margin: clamp(40px, 4vw, 60px) 0 20px 0;
	background: #1b1b1b;
	opacity: 0.2;
	height: 1px;
	border: unset;
}

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

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

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

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

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

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

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

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

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

#footer {
	color: #1b1b1b;
	padding-top: 35px;
	padding-bottom: 14px;
	background-color: #fddc00;
}

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

#footer .tab a {
	color: #1b1b1b;
	text-decoration: underline;
}

#footer .tab .tabHeadline {
	color: #1b1b1b;
	font-size: 1.625rem;
}

#footer .hrCol hr {
	margin-top: 30px;
	margin-bottom: 0;
	background: #1b1b1b;
	opacity: 0.1;
	height: 1px;
	border: unset;
}

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

#innerfooter ul {
	padding: 0;
}

#innerfooter li {
	color: #1b1b1b;
	font-size: 1rem;
	display: inline-block;
}

#innerfooter a {
	color: #1b1b1b;
	text-decoration: none;
	display: inline-block;
	font-size: 1rem;
}

#innerfooter a:hover,
#innerfooter a:focus {
	color: #1b1b1b;
	text-decoration: underline;
}

#innerfooter li + li::before {
	content: "•";
	margin: 0 6px;
}

@media (min-width: 992px) {
	#innerfooter li + li::before {
		margin: 0 clamp(15px, 3vw, 30px);
	}
}

@media (max-width: 767px) {
	#innerfooter li {
		display: block;
		text-align: center;
		padding: 5px;
		margin: 0;
	}

	#innerfooter li + li::before {
		display: none;
	}
}

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

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

#vernetzt span span {
	display: block;
}
