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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 100px;
	scrollbar-color: #447505 #ffffff;
	scrollbar-width: thin;
}

body {
	font-family: "Open Sans", sans-serif;
	font-weight: 300;
	color: #404040;
	background-color: #f2f2f2;
	font-size: clamp(1rem, 2vw, 1.125rem);
	line-height: 1.5;
	background: #186645;
}

@media (min-width: 768px) {
	html {
		position: relative;
	}
	body::after {
		content: "";
		position: absolute;
		background: #cec120;
		width: 100vw;
		height: 5px;
		bottom: 95px;
		z-index: 0;
		pointer-events: none;
		left: 0;
		right: 0;
		margin: auto;
		display: block;
	}
	body::before {
		content: "";
		position: absolute;
		background: #cec120;
		width: 100vw;
		height: 5px;
		top: 100px;
		z-index: 0;
		pointer-events: none;
		left: 0;
		right: 0;
		margin: auto;
		display: block;
	}
}

a {
	color: #1d7a53;
}

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

b,
strong {
	font-weight: 400;
}

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

#topbar {
	color: #fff;
	background-color: #1d7a53;
	max-width: 1200px;
	padding: 0 15px;
	left: 0;
	right: 0;
	margin: auto;
	padding-bottom: 50px;
	padding-top: 18px;
}

#topbar > div.row:nth-child(1) {
	margin-bottom: -10px;
}

@media (max-width: 991px) {
	#topbar > div.row:nth-child(1) {
		margin-bottom: 0px;
	}
}

@media (max-width: 991px) {
	#topbar {
		padding-bottom: 10px;
	}
}

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

#search2 {
	margin-right: 25px;
}

form[id^="search"] {
	height: 36px;
	background: transparent;
	display: inline-block;
	position: relative;
}

form [id^="search_input"] {
	color: #ffffff;
	font-size: 1.125rem;
	font-style: normal;
	font-weight: 400;
	background: transparent;
	padding: 0;
	border: 0;
	line-height: 36px;
	padding-left: 5px;
	padding-right: 30px;
	height: 36px;
	width: 100%;
	min-width: 170px;
}

form [id^="search_submit"] {
	width: 30px;
	height: 36px;
	border: none;
	background: url("../img/icon-lupe.png") center no-repeat;
	/*Replace url with ("../img/YOUR-IMAGE.png")*/
	padding: 0;
	cursor: pointer;
	position: absolute;
	top: 0;
	right: 0;
	font-size: 0 !important;
}

form [id^="search_submit"]:hover,
form [id^="search_submit"]:focus {
	background-color: #114730;
}

[id^="search_input"]::-ms-input-placeholder {
	color: #ffffff !important;
	font-style: normal;
}

[id^="search_input"]::-webkit-input-placeholder {
	color: #ffffff !important;
	font-style: normal;
}

[id^="search_input"]::-moz-placeholder {
	opacity: 1;
	font-style: normal;
}

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

@media (min-width: 992px) {
	#style {
		margin-right: -10px;
		border-left: solid 1px #fff;
		padding-left: 40px;
	}

	#style h2 {
		font-size: 1.125rem;
		font-weight: 400;
		color: inherit;
		width: auto;
		margin: 0;
	}

	#style button {
		color: #ffffff;
		font-weight: 400;
		background: transparent;
		border: none;
		padding: 0 10px;
		line-height: 1;
		font-size: 1.125rem;
	}

	#style button:is(:hover, :focus) {
		text-decoration: underline;
	}

	#style button + button {
		border-left: 1px solid #ffffff;
	}
}

/* ----------------------------------------------- Button ----------------------------------------------- */

#topbarButton a {
	background: #cec120;
	font-weight: 400;
	font-size: 0.9375rem;
	color: #404040;
	padding: 6px 15px 6px 15px;
	position: relative;
	text-decoration: none;
	display: inline-block;
}

#topbarButton a:is(:hover, :focus) {
	background: #e1d222;
}

#topbarButton a::before {
	content: "";
	position: absolute;
	background: url(../img/icon-hammer.png) no-repeat;
	width: 22px;
	height: 23px;
	bottom: 10px;
	z-index: 0;
	pointer-events: none;
	left: 10px;
	display: block;
}

@media (max-width: 991px) {
   #topbarButton {
      line-height: 0;
		font-size: 0;
   }
	#topbarButton a {
		font-size: 0;
		width: 50px;
		height: 50px;
      margin: 0;
      margin-top: -10px;
	}

#topbarButton a::before {
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
}
}

@media (min-width: 992px) {
	#topbarButton a {
		padding: 8px 46px 8px 20px;
		padding-left: 47px;
		font-size: 1rem;
	}

	#topbarButton a::after {
		content: "\00BB";
		display: block;
		position: absolute;
		right: 0;
		top: 9px;
		bottom: 9px;
		width: 35px;
		text-align: center;
		font-size: 26px;
		line-height: 18px;
		border-left: 2px solid rgba(0, 0, 0, 0.1);
	}
}

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

@media (min-width: 1200px) {
	#topbarButton,
	.socialMedia {
		margin-top: 30px;
	}
}
/* ----------------------------------------------- logo ----------------------------------------------- */

.logo {
	display: inline-block;
}

.logo img {
	display: block;
}

@media (max-width: 991px) {
	.logo {
		margin-bottom: 15px;
	}

	.logo img {
		max-width: 300px;
		width: 100%;
	}
}

@media (min-width: 992px) {
	.logo {
		margin-bottom: 30px;
		width: auto;
	}
}

@media (max-width: 991px) {
	.mobileBackground {
		background-color: #1d7a53;
	}
}
/* #region ------------------------------------- navigation --------------------------------------------- */

.navbar-nav {
	background-color: #186645;
}

/* burgermenu for tablet */

@media (max-width: 991px) {
	#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: #186645;
		border-radius: 2px;
		position: absolute;
		width: 40px;
		height: 3px;
		left: 10px;
		transition:
			transform 200ms linear,
			opacity 200ms linear;
		display: block;
	}

	#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: #186645;
		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: 5px;
	}

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

/* menu desktop */

@media (min-width: 992px) {
	nav.horizontally .navbar-nav {
		display: flex;
		justify-content: space-between;
		align-items: center;
		flex-wrap: wrap;
		margin-top: -50px;
		padding: 0 24px;
	}

	.is-sticky nav.horizontally .navbar-nav {
		margin-top: 0px !important;
	}

	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:is(.open:focus-within, :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-within) > ul {
		z-index: 1003;
	}
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
	color: #ffffff;
	font-weight: 400;
	text-align: left;
	padding: 10px 15px;
	font-size: 1rem;
	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 a[class*="toplevel"] {
		padding: 12px 17px;
		text-align: center;
	}
}

/* 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: rgba(0, 0, 0, 0.3);
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
	padding: 12px 0;
	background-color: #ffffff;
	border: 1px solid #cec120;
}

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

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

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

	nav.horizontally [class*="secondlevel"]:before {
		height: 0;
		left: 0;
		right: 0;
		top: -0;
	}

	nav.horizontally [class*="thirdlevel"]::before {
		width: 10px;
		top: 0;
		bottom: 0;
		left: -10px;
	}
}

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
	color: #404040;
	font-weight: 300;
	text-align: left;
	padding: 4px 30px;
	background-color: transparent;
	position: relative;
	font-size: 1rem;
	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"])::before {
	content: "";
	position: absolute;
	left: 15px;
	top: 12px;
	display: block;
	width: 7px;
	height: 7px;
	background-color: #cec120;
	opacity: 0;
	transition: opacity 300ms linear;
}

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

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

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

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

#slider,
.slider-wrapper {
	max-height: clamp(200px, 44vw, 300px);
	overflow: hidden;
	height: 100%;
}

@media (min-width: 768px) {
	#headerpic .nivo-directionNav a {
		top: auto;
		bottom: 12px;
	}

	#headerpic .nivo-controlNav {
		pointer-events: none;
	}

	#headerpic .nivo-controlNav a {
		pointer-events: auto;
	}
}

@media (min-width: 992px) {
	#headerpic .nivo-directionNav a {
		bottom: 18px;
	}
}

#headerpic {
	margin: 0 auto;
	overflow: hidden;
	position: relative;
	width: 100%;
}

@media (min-width: 992px) {
	#headerpic {
		margin-top: -40px;
	}
}

.slider-mask {
	display: none;
}

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

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

#content {
	text-align: left;
	padding-top: 30px;
}

@media (min-width: 768px) {
	#content.md-gutter {
		margin-left: -15px;
		margin-right: -15px;
	}
}

@media (min-width: 992px) {
	#contentCol {
		padding: clamp(20px, 3vw, 30px) clamp(25px, 4vw, 45px) 0 clamp(20px, 4vw, 45px);
	}
}

@media (min-width: 1200px) {
	body:not(.noListStyle) main ul:not([class*="menue"]):not([class*="slick-dots"]):not(.rsbtn_toollist) li:not(.gallery-list-item):not(.album-list-item):not(.entry)::before {
		top: 24px;
	}
}

.compact {
	padding: 0px;
	background-color: #ffffff;
	box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
	position: relative;
	z-index: 5;
}

.compactPadding {
	padding: 15px;
}
@media (min-width: 768px) {
	.compact {
		padding: 0;
		margin-top: clamp(30px, 5vw, 60px);
		margin-bottom: clamp(30px, 5vw, 60px);
	}
	.compactPadding {
		padding: 20px clamp(15px, 3vw, 30px) clamp(15px, 3vw, 30px) clamp(15px, 3vw, 30px);
	}
	nav.horizontally.compactPadding {
		padding: 0px clamp(15px, 3vw, 30px) clamp(15px, 3vw, 30px) clamp(15px, 3vw, 30px);
	}

	#newsBereich .compactPadding {
		padding-bottom: 15px;
	}
}

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

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

h1,
.h1,
.legacy_h1 {
	font-size: clamp(2rem, 4vw, 2.25rem);
	margin-bottom: clamp(20px, 3vw, 30px);
}

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

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

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

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

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

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

#news,
#events {
	padding-top: clamp(40px, 4vw, 55px);
	padding-bottom: clamp(40px, 4vw, 60px);
}

@media (min-width: 768px) {
	#news,
	#events {
		font-size: 1.125rem;
	}
}

#news {
	padding-left: 25px;
	padding-right: 25px;
	color: #404040;
}

:is(#news, #events) .tab_link_entries {
	margin-bottom: 30px;
	display: grid;
	gap: 30px;
	grid-template-columns: 1fr;
}

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

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

/* news events button */

:is(#news, #events) .tab_link_mehr {
	color: transparent;
	font-size: 0;
}

:is(#news, #events) .tab_link_mehr a {
	background: #1d7a53;
	font-weight: 400;
	font-size: 1rem;
	color: #ffffff;
	padding: 8px 55px 8px 20px;
	position: relative;
	text-decoration: none;
	display: inline-block;
}

:is(#news, #events) .tab_link_mehr a::after {
	content: "\00BB";
	display: block;
	position: absolute;
	right: 0;
	top: 9px;
	bottom: 9px;
	width: 35px;
	text-align: center;
	font-size: 26px;
	line-height: 18px;
	border-left: 2px solid rgba(255, 255, 255, 0.1);
}

:is(#news, #events) .tab_link_mehr a:is(:hover, :focus) {
	background: #114730;
	color: #ffffff;
}

/* news */

#news {
	background-color: #186645;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	position: relative;
}

#news::after {
	content: "";
	display: block;
	position: absolute;
	z-index: 1;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: linear-gradient(135deg, rgba(17, 71, 48, 0.9) 36%, rgba(24, 102, 69, 0.8) 36%);
}

#news > .row {
	position: relative;
	z-index: 2;
}

#news h2 {
	color: #ffffff;
	font-weight: 500;
	font-size: clamp(2.25rem, 4vw, 3rem);
	text-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
	margin-bottom: clamp(30px, 4vw, 65px);
	margin-top: 10px;
}

#news .tab_link_entry {
	padding: 70px 20px 20px 20px;
	background: #ffffff;
	position: relative;
	min-height: 106px;
	display: flex;
	align-items: center;
}

@media (min-width: 576px) {
	#news .tab_link_entry {
		padding: 20px 30px 20px 135px;
	}
}

#news .tab_link_title a {
	color: inherit;
	font-weight: 400;
	line-height: 1.3;
	display: inline-block;
}

#news .tab_link_date {
	font-size: 1rem;
	color: #ffffff;
	font-weight: 400;
	background: #1d7a53 url("../img/kalender-icon.png") top 8px center no-repeat;
	text-align: center;
	line-height: 1;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	padding: 30px 15px 10px 15px;
	hyphens: auto;
	word-wrap: break-word;
}

@media (min-width: 576px) {
	#news .tab_link_date {
		right: auto;
		bottom: 0;
		width: 105px;
		padding: 65px 0 20px 0;
		background-position: top 25px center;
	}
}

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

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

#f5 {
	background-color: #fff;
}

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

@media (max-width: 991px) {
	#f5 {
		padding-top: 12px;
		padding-bottom: 12px;
	}
}
/* --------------------------------------------- innerfooter -------------------------------------------- */

@media (max-width: 767px) {
	#innerfooter {
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
		padding-bottom: 15px;
		margin-bottom: 15px;
	}
}

#innerfooter ul {
	padding: 0;
}

@media (min-width: 992px) {
	#innerfooter ul {
		padding-right: 40px;
	}
}

#innerfooter li {
	display: inline-block;
}

#innerfooter a {
	color: #404040;
	text-decoration: none;
	display: inline-block;
	font-size: 1.125rem;
	font-weight: 400;
}

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

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

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

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

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

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

#vernetzt {
	gap: 15px;
	text-align: left;
	font-size: 0.875rem;
	color: #404040;
	line-height: 1.3;
	text-decoration: none;
	font-weight: 400;
}
@media (min-width: 992px) {
	#vernetzt {
		padding-left: 30px;
	}
}
#vernetzt span span {
	display: block;
}
