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

html {
	max-width: 1930px;
	margin-left: auto;
	margin-right: auto;
	background: #4d4d4d;
	scroll-behavior: smooth;
	scroll-padding-top: 100px;
	scrollbar-color: #00ff00 #333333;
	scrollbar-width: thin;
}

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

a {
	color: #00ff00;
}

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

.linkUnderline a:not(.has-image, .shareButtonLink) {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: text-decoration 300ms;
}

.linkUnderline a:not(.has-image, .shareButtonLink):is(:hover, :focus) {
	text-decoration-color: transparent;
}

b,
strong {
	font-weight: 500;
}

.row.wide {
	max-width: 1600px;
	width: 100%;
}

.gap {
	gap: 30px 0;
}

#overflow {
	overflow: hidden;
}

/* ------------------------------------------------- topbar ------------------------------------------------ */

#topbar {
	position: relative;
	z-index: 20;
}

@media (min-width: 1200px) {
	#topbar {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		width: 100%;
		z-index: 20;
	}
}

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

.logo {
	display: inline-block;
}

.logo img {
	display: block;
}

#footerTabs .logo img {
	max-height: 125px;
}

@media (max-width: 1199px) {
	.logo img {
		max-width: 140px;
	}
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
	.dropdown-toggle-button-wrapper,
	.dropdown-toggle-button-wrapper2 {
		color: #006900;
	}
	#burgerButton {
		font-size: 0;
		border: none !important;
		display: block;
		height: 50px;
		width: 60px;
		border-radius: 2px;
		padding: 6px 8px;
		cursor: pointer;
		background-color: #4d4d4d;
		box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
	}

	#burgerButton::before,
	#burgerButton::after,
	#burgerButtonInner {
		background-color: #00ff00;
		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: #4d4d4d;
		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) {
	#menu-sticky-wrapper {
		position: absolute;
		bottom: 0;
		width: 100%;
	}
	nav.horizontally {
		background-color: rgba(51, 51, 51, 0.65);
		outline: 1px solid rgba(255, 255, 255, 0.85);
		border-top: 7px solid rgba(255, 255, 255, 0.85);
		transition: background-color 300ms linear;
	}

	.is-sticky nav.horizontally {
		background-color: #333333;
		left: auto !important;
	}

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

	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: #0b9344 ;
	font-weight: 500;
	text-align: left;
	padding: 10px 15px 15px 15px;
	text-transform: uppercase;
	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: 23px 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: #00ff00;
	background-color: transparent;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
	background-color: #333333;
	border: 1px solid rgba(255, 255, 255, 0.85);
}

@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 {
		left: 50%;
		transform: translate(-50%, 0);
	}

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

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

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
	color: #fff;
	font-weight: 500;
	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: #4d4d4d;
	color: #00ff00;
}

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

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

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

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

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

	#headerpic .nivo-controlNav {
		bottom: 100px;
	}
}

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

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

.slider-mask {
	display: none;
}

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

main {
	text-align: left;
	padding-bottom: 30px;
	padding-top: 30px;
}

@media (min-width: 992px) {
	main {
		padding-bottom: 60px;
		padding-top: 60px;
	}
}

/* -------------------------------------- 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: "Roboto", sans-serif;
}

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

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

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

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

h5,
.h5,
.legacy_h5 {
	font-size: clamp(1.375rem, 3.5vw, 1.875rem);
}

h6,
.h6,
.legacy_h6 {
	font-size: clamp(1.25rem, 3vw, 1.6875rem);
}

/* ----------------------------------------------- @19ev events -------------------------------------------- */

#ev19 {
	position: relative;
	padding-top: 90px;
	padding-bottom: 60px;
}

@media (max-width: 767px) {
	#ev19 {
		padding-top: 40px;
		padding-bottom: 130px;
	}
}

#ev19 > .row::before {
	content: "";
	position: absolute;
	left: 0;
	top: -92px;
	width: 470px;
	height: 470px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	z-index: -1;
}

@media (max-width: 1199px) {
	#ev19 > .row::before {
		width: 370px;
		height: 370px;
	}
}

@media (max-width: 767px) {
	#ev19 > .row::before {
		bottom: -92px;
		top: unset;
	}
}

#eventsBox {
	padding: 40px 100px;
	background-color: #4d4d4d;
	outline: 1px solid #00f500;
	margin-top: -5px;
}

@media (max-width: 991px) {
	#eventsBox {
		padding: 30px 30px 35px 30px;
		margin-top: -2px;
	}
}

#eventsKalender #clr-events-hide,
#eventsKalender .tab_link_mehr {
	display: none;
	height: 0;
}

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

@media (max-width: 767px) {
	#eventsKalender .eventclndr-tab {
		margin-top: 0;
		margin-bottom: 15px;
	}
}

#eventsList {
	position: relative;
	color: #fff;
	font-size: clamp(1rem, 2vw, 1.1875rem);
}

#eventsList .tab_spacer {
	height: 0;
	display: none;
}

#eventsList .tab_link_entries {
	display: grid;
	gap: clamp(20px, 2vw, 30px);
}

#eventsList .tab_link_title a {
	color: #fff;
	font-weight: 600;
}

#eventsList .tab_link_mandat a {
	color: #fff;
}

#eventsList .tab_link_mehr {
	font-size: 0;
	position: relative;
	text-align: left !important;
}

#eventsList .tab_link_mehr a {
	text-decoration: none;
	display: inline-block;
	position: relative;
	font-size: 1.125rem;
	font-weight: 500;
	color: #ffffff;
	background-color: #333333;
	text-transform: uppercase;
	position: relative;
	isolation: isolate;
	margin-top: 60px;
	margin-left: 30px;
	margin-bottom: -30px;
}

@media (min-width: 992px) {
	#eventsList .tab_link_mehr a {
		position: absolute;
		right: -170px;
		bottom: 30px;
		transform: translateX(50%);
		margin: 0;
	}
}

#eventsList .tab_link_mehr a::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) rotate(45deg);
	background: #333333;
	aspect-ratio: 1;
	width: calc(100% + 20px);
	z-index: -1;
	border: 2px solid #00f500;
	transition: color 300ms, border-color 300ms;
}

#eventsList .tab_link_mehr a:is(:hover, :focus),
#eventsList .tab_link_mehr a:is(:hover, :focus)::after {
	color: #00ff00;
	border-color: #00ff00;
}

/* ----------------------------------------------- @5f footer ----------------------------------------------- */

#footerTabs {
	background: #fff;
	color: #191919;
	font-size: 1rem;
	padding: 40px 0;
	position: relative;
}

#footerTabs::after {
	content: "";
	pointer-events: none;
	position: absolute;
	inset: 12px -30px;
	border: 2px solid #006900;
}

#footerTabs :is(h1, h2, h3, h4, h5, h6, a) {
	color: #191919;
}

#footerTabs a {
	color: #006900;
}

#footerTabs :is(h1, h2, h3, h4, h5, h6) {
	font-size: clamp(1.25rem, 3vw, 1.5625rem);
	text-transform: uppercase;
}

#f5 {
	padding-top: 20px;
	padding-bottom: 20px;
	background-color: #333333;
}

@media (min-width: 992px) {
	#f5 > .row::before {
		content: "";
		position: absolute;
		background: url(../img/deko-karate.png);
		width: 296px;
		height: 277px;
		left: 30px;
		bottom: -20px;
		transform: translateX(-100%);
	}

	#f5 > .row::after {
		content: "";
		position: absolute;
		background: url(../img/deko-fussball.png);
		width: 256px;
		height: 301px;
		right: 30px;
		top: 12px;
		transform: translate(100%, -100%);
	}
}

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

#innerfooter ul {
	padding: 0;
}

#innerfooter li {
	display: inline-block;
}

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

#innerfooter a:hover,
#innerfooter a:focus {
	color: #00ff00;
	text-decoration: underline;
}

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

@media (min-width: 992px) {
	#innerfooter li + li::before {
		margin: 0 20px;
	}
}

@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.9375rem;
	color: #191919 !important;
	line-height: 1.3;
	text-decoration: none;
}

#vernetzt span span {
	display: block;
}

#vernetzt strong {
	font-style: italic;
}
