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

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

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

a {
	color: #e30e02;
}

#content a,
a:hover,
a:focus {
	color: #e30e02;
	text-decoration: underline;
}

b,
strong {
	font-weight: 700;
}

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

a:focus-visible,
button:focus-visible,
form:focus-visible,
input:focus-visible {
	outline: 3px solid #000000 !important;
}

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

header {
	background: #ffffff;
}

#topbar > .row {
	padding-top: 10px;
	padding-bottom: 6px;
}

@media (min-width: 992px) {
	#topbar > .row {
		position: relative;
		padding-top: 39px;
		padding-bottom: 2px;
	}

	#topbar::before {
		content: "";
		display: block;
		position: absolute;
		pointer-events: none;
		width: 100%;
		height: 5px;
		left: 0;
		top: 5px;
		background: #b8db80;
	}
}

@media (min-width: 1200px) {
	#topbar::after {
		content: "";
		position: absolute;
		pointer-events: none;
		display: block;
		z-index: 12;
		left: 0;
		top: 0;
		width: 509px;
		height: 226px;
		background: url("../img/baumzweige-header.png") center no-repeat;
	}
}

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

#logo {
	display: inline-block;
	position: relative;
	z-index: 13;
}

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

#logo img {
	display: block;
}

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

/* -------------------------------------------- contrast + styler ------------------------------------------ */

#stylerBox {
	font-size: 0.9375rem;
	font-weight: 700;
	color: #444444;
	width: 100%;
	margin-bottom: 24px;
}

#contrast_style + #style {
	margin-left: 30px;
}

#stylerBox button {
	color: #444444;
	padding: 0;
	border: 1px solid rgba(0, 0, 0, 0.6);
	font-family: "Khand", sans-serif;
	display: inline-block;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	font-weight: 700;
	text-align: center;
	background: #ffffff;
	position: relative;
	z-index: 1;
	outline: 0 solid #b8db80;
	transition: outline-width 150ms ease-in-out;
}

#stylerBox button:is(:hover, :focus) {
	outline-width: 4px;
}

#contrast_style * + *,
#style * + * {
	margin-left: 10px;
}

#contrast_style button {
	font-size: 0;
}

#style button:nth-of-type(2) {
	font-size: 17px;
	line-height: 1;
	padding-top: 1px;
	padding-left: 1px;
}

#style button:nth-of-type(1),
#style button:nth-of-type(3) {
	font-size: 21px;
	line-height: 0.95;
	padding-top: 1px;
	padding-left: 1px;
}

#contrast_style button::after {
	content: "";
	display: block;
	position: absolute;
	top: 3px;
	right: 3px;
	left: 3px;
	bottom: 3px;
	border: 1px solid rgba(0, 0, 0, 0.6);
	border-radius: 50%;
}

#contrast_style button:nth-of-type(1)::after {
	background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6) 50%, rgba(255, 255, 255, 1) 50%);
}

#contrast_style button:nth-of-type(2)::after {
	background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 1) 50%, rgba(0, 0, 0, 0.6) 50%);
}

#contrast_style button:nth-of-type(3)::after {
	background: #ea5b0c;
	border: none;
}

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

form[id^="search"] {
	min-height: 42px;
	background: #fdf8e2;
	display: inline-flex;
	position: relative;
	border-radius: 30px;
	margin-top: 20px;
	border: 1px solid #959595;
}

@media (min-width: 992px) {
	form[id^="search"] {
		margin-top: 0;
	}

	form#search1 {
		position: relative;
		z-index: 60;
		margin-right: 0;
		margin-bottom: -30px;
	}

	form#search1 label {
		color: #266112;
		font-size: 0.9375rem;
		font-weight: 700;
		padding: 0 15px;
		border-right: 1px solid #fdf8e2;
		align-content: center;
		align-items: center;
	}
}

form [id^="search_input"] {
	color: #666666;
	font-size: 0.9375rem;
	font-style: normal;
	background: transparent;
	padding: 0;
	border: 0;
	padding-left: 15px;
	padding-right: 47px;
	min-height: 40px;
	width: 100%;
	border-radius: 30px;
}

form [id^="search_submit"] {
	width: 40px;
	height: 40px;
	border: none;
	background: url("../img/lupe-icon-v2.png") center no-repeat;
	padding: 0;
	border-radius: 50%;
	cursor: pointer;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	font-size: 0;
	transition: transform 150ms linear;
}

form [id^="search_submit"]:hover,
form [id^="search_submit"]:focus {
	transform: scale(1.2);
}

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

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

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

[id^="search_input"]::placeholder {
	color: #666666 !important;
	opacity: 1 !important;
	font-style: italic !important;
}

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

#slider {
	max-height: 300px;
	overflow: hidden;
	position: relative;
}

@media (min-width: 992px) {
	#slider {
		max-height: 400px;
	}

	body.index #slider {
		max-height: 582px;
	}

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

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

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

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

.slider-mask {
	display: block;
	background: url("../img/slider-mask.png") top -1px center / 100% auto no-repeat;
}

/* --------------------------------------- navigation --------------------------------------- */

/* burgermenu for tablet */

@media (max-width: 991px) {
	#burgerButton {
		font-size: 0;
		display: block;
		height: 50px;
		width: 60px;
		border-radius: 2px;
		padding: 6px 8px;
		cursor: pointer;
		background: #ffffff;
		border: none !important;
		-webkit-box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
		box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
	}

	#burgerButtonInner2,
	#burgerButton:after,
	#burgerButtonInner {
		background-color: #e30e02;
		border-radius: 2px;
		position: absolute;
		width: 40px;
		height: 3px;
		left: 10px;
		-webkit-transition:
			transform 200ms linear,
			opacity 200ms linear;
		-moz-transition:
			transform 200ms linear,
			opacity 200ms linear;
		-ms-transition:
			transform 200ms linear,
			opacity 200ms linear;
		-o-transition:
			transform 200ms linear,
			opacity 200ms linear;
		transition:
			transform 200ms linear,
			opacity 200ms linear;
	}

	#burgerButton[aria-expanded="true"] #burgerButtonInner {
		-webkit-transform: rotate(-45deg) translate(-6px, 6px);
		transform: rotate(-45deg) translate(-6px, 6px);
	}

	#burgerButton[aria-expanded="true"] #burgerButtonInner2 {
		opacity: 0;
	}

	#burgerButton[aria-expanded="true"]:after {
		-webkit-transform: rotate(45deg) translate(-4px, -6px);
		transform: rotate(45deg) translate(-4px, -6px);
	}

	#burgerButtonInner {
		top: 16px;
	}

	#burgerButtonInner2 {
		top: 24px;
	}

	#burgerButton:after {
		top: 32px;
		content: "";
		display: block;
	}

	.navbar-nav {
		margin: 20px 0;
	}

	.navbar-collapse {
		top: 0;
		background: #006fc5;
		position: fixed;
		left: -100%;
		bottom: 0;
		z-index: 100;
		height: auto !important;
		-webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
		box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
		opacity: 0;
		pointer-events: none;
		overflow-y: auto;
		-webkit-transition:
			left 300ms linear,
			opacity 300ms linear;
		-moz-transition:
			left 300ms linear,
			opacity 300ms linear;
		-ms-transition:
			left 300ms linear,
			opacity 300ms linear;
		-o-transition:
			left 300ms linear,
			opacity 300ms linear;
		transition:
			left 300ms linear,
			opacity 300ms linear;
	}

	.navbar-collapse[aria-expanded="true"],
	.navbar-collapse.in {
		left: 0;
		opacity: 1;
		pointer-events: auto;
	}

	.navbar-header {
		position: fixed;
		top: 15px;
		right: 15px;
		z-index: 101;
	}

	.navbar-toggle::before {
		content: "";
		opacity: 0;
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		width: 0;
		z-index: -1;
		display: block;
		background-color: rgba(0, 0, 0, 0.5);
		-webkit-transition:
			width 300ms linear,
			opacity 300ms linear;
		-moz-transition:
			width 300ms linear,
			opacity 300ms linear;
		-ms-transition:
			width 300ms linear,
			opacity 300ms linear;
		-o-transition:
			width 300ms linear,
			opacity 300ms linear;
		transition:
			width 300ms linear,
			opacity 300ms linear;
	}

	.navbar-toggle[aria-expanded="true"]::before {
		opacity: 1;
		width: 90px;
	}

	.dropdown-toggle-button-wrapper {
		top: 14px;
	}

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

@media (min-width: 575px) and (max-width: 991px) {
	.navbar-collapse {
		width: 60%;
	}

	.navbar-collapse.collapse.in:after,
	.navbar-toggle[aria-expanded="true"]::before {
		width: 40%;
	}
}

/* menu desktop */

@media (min-width: 992px) {
	nav.horizontally {
		position: sticky;
		top: 0;
		scroll-padding-top: auto;
		z-index: 102;
		border-top: 5px solid #ffffff;
		background-color: #b8db80;
	}

	nav.horizontally .navbar-nav {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-pack: justify !important;
		-ms-flex-pack: justify !important;
		justify-content: space-between !important;
		-webkit-box-align: center !important;
		-ms-flex-align: center !important;
		align-items: center !important;
		flex-wrap: wrap;
	}

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

	nav.horizontally .dropdown-menu {
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 1000;
	}

	nav.horizontally .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
		position: absolute;
		left: 100%;
		top: 0;
	}

	nav.horizontally .navbar-nav > li,
	nav.horizontally .navbar-nav > li > .dropdown-menu > li {
		position: relative;
	}

	.navbar-default .navbar-nav li[class*="toplevel"] > ul,
	.navbar-default .navbar-nav li[class*="secondlevel"] > ul {
		display: block !important;
		pointer-events: none;
		opacity: 0;
		-webkit-transition: opacity 300ms linear;
		-moz-transition: opacity 300ms linear;
		-ms-transition: opacity 300ms linear;
		-o-transition: opacity 300ms linear;
		transition: opacity 300ms linear;
	}

	.navbar-default .open > .dropdown-menu,
	.navbar-default .navbar-nav li[class*="toplevel"]:hover > ul,
	.navbar-default .navbar-nav li[class*="secondlevel"]:hover > ul,
	.navbar-default .navbar-nav li[class*="secondlevel"] > ul[style*="block"] {
		pointer-events: auto !important;
		opacity: 1 !important;
	}

	.navbar-default .navbar-nav li[class*="toplevel"]:focus-within > ul,
	.navbar-default .navbar-nav li[class*="secondlevel"]:focus-within > ul {
		pointer-events: auto !important;
		opacity: 1 !important;
	}

	.navbar-default .nav .open > .dropdown-menu {
		pointer-events: none !important;
		opacity: 0 !important;
	}
}

/* ---------------------------------------------- toplevel ---------------------------------------------- */

.navbar-default .navbar-nav > li > a {
	color: #444444;
	font-weight: 500;
	text-align: left;
	padding: 15px 15px;
	position: relative;
	font-size: 1.125rem;
	line-height: 1.2;
	text-decoration: none;
	font-family: "Khand", sans-serif;
}

@media (max-width: 991px) {
	.navbar-default .navbar-nav > li {
		border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	}

	nav.horizontally .navbar-nav > li > a.dropdown-toggle {
		padding-right: 35px;
	}
}

@media (min-width: 992px) {
	.navbar-default .navbar-nav > li > a {
		padding: 18px 10px;
		display: flex;
		align-content: center;
		align-items: center;
		justify-content: center;
		text-align: center;
		height: 100%;
		font-size: 1.5rem;
	}
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) and (min-width: 992px) {
	.navbar-default .navbar-nav > li > a {
		display: block;
	}
}

.navbar-default .navbar-nav > li > a::before {
	content: "";
	width: 0;
	height: 5px;
	display: block;
	position: absolute;
	left: 50%;
	bottom: 0;
	background: #ffe708;
	opacity: 0;
	-moz-transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-o-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
	-webkit-transition:
		opacity 300ms linear,
		width 300ms linear;
	-moz-transition:
		opacity 300ms linear,
		width 300ms linear;
	-ms-transition:
		opacity 300ms linear,
		width 300ms linear;
	-o-transition:
		opacity 300ms linear,
		width 300ms linear;
	transition:
		opacity 300ms linear,
		width 300ms linear;
}

@media (min-width: 992px) {
	.navbar-default .navbar-nav > li > a::before {
		bottom: auto;
		top: -5px;
	}
}

/* -------------------------------------------- toplevel-over ------------------------------------------- */

.navbar-nav > li:hover > a,
.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus,
.navbar-nav > li.open > a,
.navbar-nav > li.open > a:hover,
.navbar-nav > li.open > a:focus,
.navbar-nav > li[class$="_over"] > a,
.navbar-nav > li[class$="_over"] > a:hover,
.navbar-nav > li[class$="_over"] > a:focus {
	background: #fdf8e2;
	color: #266112;
}

.navbar-nav > li:focus-within > a {
	background: #fdf8e2;
	color: #266112;
}

.navbar-nav > li:hover > a::before,
.navbar-nav > li > a:hover::before,
.navbar-nav > li > a:focus::before,
.navbar-nav > li.open > a::before,
.navbar-nav > li.open > a:hover::before,
.navbar-nav > li.open > a:focus::before,
.navbar-nav > li[class$="_over"] > a::before,
.navbar-nav > li[class$="_over"] > a:hover::before,
.navbar-nav > li[class$="_over"] > a:focus::before {
	opacity: 1;
	width: 100%;
}

.navbar-nav > li:focus-within > a::before {
	opacity: 1;
	width: 100%;
}

/* -------------------------------------- secondlevel + thirdlevel dropdown-box -------------------------------------- */

.navbar-default .navbar-nav > li > .dropdown-menu,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
	border-top: 5px solid #ffe708;
	background: #ffffff;
	-webkit-box-shadow: 0 5px 12px 0 rgba(0, 0, 0, 0.1);
	box-shadow: 0 5px 12px 0 rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
	.navbar-default .navbar-nav > li > .dropdown-menu {
		padding: 10px 0;
	}
}

@media (min-width: 992px) {
	.navbar-default .navbar-nav > li > .dropdown-menu,
	.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
		padding-top: 18px;
		padding-bottom: 18px;
	}

	.navbar-default .navbar-nav > li > .dropdown-menu {
		margin-top: 6px;
	}

	.navbar-default .navbar-nav > li > .dropdown-menu::before {
		content: "";
		position: absolute;
		display: block;
		height: 15px;
		left: 0;
		right: 0;
		top: -15px;
	}

	.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
		margin-top: -23px;
		margin-left: 6px;
	}

	.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu::before {
		content: "";
		position: absolute;
		display: block;
		width: 6px;
		top: 0;
		bottom: 0;
		left: -6px;
	}
}

/* --------------------------------------------- secondlevel + thirdlevel -------------------------------------------- */

.navbar-default .navbar-nav > li > .dropdown-menu > li > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
	color: #656666;
	font-weight: 400;
	text-align: left;
	padding: 8px 25px;
	font-size: 1.125rem;
	line-height: 1.2;
	text-decoration: none;
	font-family: "Khand", sans-serif;
}

@media (max-width: 991px) {
	nav.horizontally .navbar-nav > li > .dropdown-menu > li > a.dropdown-toggle2 {
		padding-right: 35px;
	}

	.navbar-default .navbar-nav > li > .dropdown-menu > li > a,
	.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
		font-size: 1rem;
	}
}

/* ------------------------------------------ secondlevel + thirdlevel over ------------------------------------------ */

.navbar-nav > li > .dropdown-menu > li:hover > a,
.navbar-nav > li > .dropdown-menu > li > a:hover,
.navbar-nav > li > .dropdown-menu > li > a:focus,
.navbar-nav > li > .dropdown-menu > li.open > a,
.navbar-nav > li > .dropdown-menu > li.open > a:hover,
.navbar-nav > li > .dropdown-menu > li.open > a:focus,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a:hover,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a:focus,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a:hover,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a:focus,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a:hover,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a:focus,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a:hover,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a:focus {
	background: #fdf8e2;
	color: #266112;
}

.navbar-nav > li > .dropdown-menu > li:focus-within > a,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li:focus-within > a {
	background: #fdf8e2;
	color: #266112;
}

/* ------------------------------------------------ tabs ----------------------------------------------- */

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

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

#tabs .tab {
	height: calc(100% - 32px);
	min-height: calc(100% - 32px);
	max-width: 320px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 32px;
	position: relative;
	hyphens: auto;
	padding: 50px 20px 20px 20px;
	font-size: 0.9375rem;
	color: #666666;
	border-top: 4px solid #b8db80;
	background: #fdf8e2;
	box-shadow: 0 5px 12px 0 rgba(0, 0, 0, 0.1);
}

#tabs .tab::before {
	content: "";
	display: block;
	width: 60px;
	height: 60px;
	position: absolute;
	top: -32px;
	left: 50%;
	margin-left: -30px;
	border-radius: 50%;
	background-color: #ffffff;
	background-position: center;
	background-repeat: no-repeat;
	-webkit-box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.15);
	box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.15);
}

#tab1::before {
	background-image: url("../img/icon-veranstaltungen.png");
}

#tab2::before {
	background-image: url("../img/icon-rathaus.png");
}

#tab3::before {
	background-image: url("../img/icon-uhr.png");
}

#tab4::before {
	background-image: url("../img/icon-newsletter.png");
}

#tabs .tab :is(h1, h2, h3, h4, h5, h6, .tabHeadline) {
	color: #444444;
	font-size: 1.625rem;
	font-weight: 600;
	text-transform: uppercase;
	margin: 0 0 16px 0;
	text-align: center;
	hyphens: auto;
}

#tabs .tab .tab_link_title a {
	color: #666666;
	font-weight: 700;
}

#tabs .clr-events-tab-h3 {
	font-size: 1.125rem !important;
}

#tabs .tab .tab_link_mandat a {
	color: #666666;
}

#tabs .tab .tab_link_mehr {
	color: transparent;
	font-size: 0;
}

#nw21 .buttonStyle a,
#tabs .tab .tab_link_mehr a,
.tab1 a {
	text-decoration: none;
	padding: 4px 15px 3px 15px;
	display: inline-block;
	border-radius: 15px;
	font-size: 0.9375rem;
	color: #266112;
	font-weight: 600;
	font-family: "Khand", sans-serif;
	border: 1px solid #959595;
	background-color: #fdf8e2;
}

#nw21 .buttonStyle a:is(:hover, :focus),
#tabs .tab .tab_link_mehr a:is(:hover, :focus),
.tab1 a:is(:hover, :focus) {
	background: #266112;
	color: #ffffff;
	border: 1px solid #266112;
}

#tab2 a,
#tab3 a,
#tab4 a,
.nw21Tab a {
	color: #666666;
	text-decoration: underline;
}

#tabs .tab .eventclndr-tab {
	margin-bottom: 22px;
}

#tabs .tab #clr-events-hide > p:first-child {
	margin-bottom: 15px;
}

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

/*  newsletter  */

#newsletterInputs {
	min-height: 32px;
	background: #fdf8e2;
	display: inline-block;
	position: relative;
	border: 1px solid #959595;
	border-radius: 15px;
	margin-top: 20px;
}

@media (min-width: 992px) {
	#newsletterInputs {
		width: 100%;
	}
}

#newsletter_input {
	color: #444444;
	font-size: 0.9375rem;
	font-style: normal;
	background: transparent;
	padding: 0;
	border: 0;
	padding-left: 10px;
	padding-right: 43px;
	min-height: 30px;
	width: 100%;
	font-weight: 600;
	font-family: "Khand", sans-serif;
}

#newsletter_submit {
	width: 30px;
	background: #f9f8e6 url("../img/icon-absenden-v2.png") center no-repeat;
	padding: 0;
	cursor: pointer;
	border: none;
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	font-size: 0;
	border-radius: 50%;
	transition: background-color 300ms linear;
}

#newsletter_submit:is(:hover, :focus) {
	background-color: #ffffff;
}

#newsletter_input::-ms-input-placeholder {
	color: #444444 !important;
}

#newsletter_input::-webkit-input-placeholder {
	color: #444444 !important;
}

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

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

#newsletter_input::placeholder {
	color: #444444 !important;
	opacity: 1 !important;
	font-style: normal !important;
}

/* ----------------------------------------------- @21nw news -------------------------------------------- */

#nw21 {
	color: #666666;
	font-size: 1rem;
	padding-top: 15px;
}

#nw21 .nwBanner {
	min-height: 380px;
	height: 100%;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
}

@media (min-width: 768px) {
	#nw21 .nwBanner {
		margin-right: -30px;
	}
}

@media (min-width: 992px) {
	#nw21 .nwBanner {
		margin-left: -30px;
	}
}

#nw21 .nwContent {
	padding: 55px 40px 25px 40px;
	border-top: 6px solid #b8db80;
	background: #fdf8e2;
	box-shadow: 0 5px 12px 0 rgba(0, 0, 0, 0.1);
	position: relative;
	height: 100%;
}

#nw21 .tabHeadline {
	font-size: 1.625rem;
	margin-bottom: 0;
	color: #444444;
	font-weight: 600;
	margin-bottom: 25px;
	text-transform: uppercase;
}

#nw21 .tab_link_entries {
	display: grid;
	row-gap: 25px;
}

#nw21 .tab_link_entry {
	display: grid;
	border-bottom: unset !important;
}

#nw21 .tab_link_title {
	order: 1;
}

#nw21 .tab_date,
#nw21 .tab_link_date {
	order: 2;
}

#nw21 .vorschau {
	order: 3;
	opacity: 1;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

#nw21 .tab_link_title a {
	color: #666666;
	font-weight: 700;
}

#nw21 .buttonStyle {
	margin-top: 25px;
}

#nw21 .tab_link_mehr,
#nw21 .tab_preview_picture,
#nw21 .tab_spacer {
	display: none;
}

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

#content {
	text-align: left;
	padding-block: clamp(30px, 4vw, 60px);
	position: relative;
}

@media (min-width: 1200px) {
	.index #content > .row::before {
		content: "";
		position: absolute;
		pointer-events: none;
		display: block;
		right: -365px;
		top: -190px;
		width: 335px;
		height: 270px;
		background: url("../img/baumzweige.png") center no-repeat;
	}
}

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

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

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

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

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.5625rem);
}

#sponsoren {
	padding-bottom: clamp(30px, 4vw, 60px);
}

#sponsoren .template-page>.row>div p {
   align-content: center;
   display: flex;
   justify-content: space-between;
   align-items: center;
   flex-wrap: wrap;
   gap: 15px;
}

/* ----------------------------------------------- breaker ----------------------------------------------- */

#breaker {
	min-height: 180px;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	position: relative;
}

#breaker::after {
	content: "";
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background:
		url("../img/welle-parallax-v2.png") bottom -1px center / 100% auto no-repeat,
		linear-gradient(to bottom, #ffffff, rgba(255, 255, 255, 0) 50%);
}

@media (min-width: 992px) {
	#breaker {
		min-height: 383px;
	}
}

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

#footer {
	color: #444444;
	font-size: 0.9375rem;
	padding-top: clamp(35px, 3vw, 45px);
	padding-bottom: 35px;
	background: #b8db80;
}

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

@media (min-width: 1200px) {
	#footer {
		background: #b8db80 url("../img/baum-und-familie-v2.png") left bottom no-repeat;
	}
}

#footer :is(h1, h2, h3, h4, h5, h6, .footerHeadline) {
	color: #444444;
	font-size: 1.375rem;
	text-transform: uppercase;
	margin: 0;
	hyphens: auto;
	font-weight: 600;
}

#footer a,
#footer a:hover {
	color: #444444;
}

#footer .footerTab a {
	text-decoration: underline;
}

/*  innerfooter  */

#innerfooter ul {
	padding: 0;
	line-height: 1.7;
}

#innerfooter a {
	color: #444444;
	font-weight: 400;
	font-size: 1.25rem;
	font-family: "Khand", sans-serif;
	text-transform: uppercase;
}

#innerfooter li::before {
	content: "\0007C";
	color: #444444;
	position: relative;
	bottom: 2px;
	margin-right: 4px;
}

/*  iframe  */

footer iframe,
#footer .iframe-wrapper-manual-enabling {
	min-width: 100% !important;
	width: 100% !important;
	display: block;
}

.iframetab iframe,
.iframetab .iframe-wrapper-manual-enabling {
	min-width: 100% !important;
	width: 100% !important;
	display: block;
	min-height: 100%;
}

.iframe-wrapper-manual-enabling {
	position: relative;
	cursor: pointer;
	display: inline-block;
	overflow: hidden;
}

/*  vernetzt  */

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

#vernetzt span span {
	display: block;
}

/* --------------------------------------------- footer2 -------------------------------------------- */

#footer2 {
	padding: 15px 0;
	background: #266112;
}

/*  scrollTopBtn  */

#scrollTopBtn {
	position: relative;
	text-decoration: none;
	padding: 4px 15px 3px 15px;
	display: inline-block;
	border-radius: 2px;
	font-size: 0.9375rem;
	color: #ffffff;
	font-weight: 600;
	font-family: "Khand", sans-serif;
	border: 1px solid rgba(255, 255, 255, 0.15);
}

#scrollTopBtn:hover,
#scrollTopBtn:focus {
	background: rgba(0, 0, 0, 0.2);
}

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

@media (min-width: 576px) {
	#scrollTopBtn::after {
		margin-left: 15px;
	}
}

/* --------------------------------------------- contrast -------------------------------------------- */

.contrast_light_font form[id^="search"],
.contrast_light_font form #search_input1,
.contrast_dark_font #footer2 {
	background-color: #000000 !important;
}

.contrast_dark_font #footer,
.contrast_dark_font form[id^="search"],
.contrast_dark_font form #search_input1,
.contrast_dark_font #scrollTopBtn,
.contrast_dark_font #logo img,
.contrast_light_font #logo img {
	background-color: #ffffff !important;
}

.contrast_light_font form [id^="search_submit"],
.contrast_dark_font form [id^="search_submit"] {
	background: #ffffff url("../img/lupe-icon.png") center no-repeat !important;
}

.contrast_light_font #content,
.contrast_dark_font #content {
	background: none !important;
}

.contrast_light_font [id^="search_input"]::placeholder,
.contrast_light_font #newsletter_input::placeholder {
	color: #ffffff !important;
}
