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

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

body {
	font-family: "Source Sans 3", sans-serif;
	font-weight: 400;
	color: #252525;
	background: #f8e1c3 url(../img/bg-stoff.jpg);
	font-size: clamp(1rem, 2vw, 1.125rem);
	/* 1rem = 16px */
	line-height: 1.5;
}

a {
	color: #a61c1a;
	font-weight: 600;
}

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

:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 2px;
}

b,
strong {
	font-weight: 600;
}

#overflow {
   overflow: hidden;
}

/* -------------------------------------------- @nav1 Navigation ------------------------------------------- */

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

#logo {
	display: inline-block;
}

#logo.contrast_light_font {
   background: #fff !important;
}

#logo img {
	display: block;
}

@media (min-width: 992px) {
	#logo img {
		max-width: 340px;
		width: 100%;
	}
}

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

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

/* burgermenu for tablet */

@media (max-width: 991px) {
	#menu {
		padding: 10px 0;
		position: static !important;
		background-color: #f8e1c3;
		box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.15);
	}

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

	#burgerButton:before,
	#burgerButton:after,
	#burgerButtonInner {
		background-color: #460e0f;
		border-radius: 2px;
		position: absolute;
		width: 40px;
		height: 3px;
		left: 10px;
		transition:
			transform 200ms linear,
			opacity 200ms linear;
	}

	.contrast_dark_font #burgerButton::before,
	.contrast_dark_font #burgerButton::after,
	.contrast_dark_font #burgerButtonInner {
		background-color: #000 !important;
	}
	.contrast_light_font #burgerButton::before,
	.contrast_light_font #burgerButton::after,
	.contrast_light_font #burgerButtonInner {
		background-color: #fff !important;
	}

	#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;
	}

	#burgerButton:after {
		top: 32px;
	}

	#burgerButton:before,
	#burgerButton:after {
		content: "";
		display: block;
	}

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

	.navbar-collapse {
		width: calc(100% - 90px);
		max-width: 300px;
		top: 0;
		background: #f8e1c3;
		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.collapse.in {
		left: 0;
		opacity: 1;
		pointer-events: auto;
	}

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

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

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

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

/* menu desktop */

@media (min-width: 992px) {
	#menu {
		background-color: #f8e1c3;
		box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.15);
	}
   .is-sticky
	#menu {
      left: auto !important;
	}

	nav.horizontally .navbar-nav {
		display: flex;
		justify-content: flex-end;
		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 {
		position: absolute;
		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: #460e0f;
	font-weight: 400;
	text-align: left;
	padding: 15px 35px 15px 15px;
	position: relative;
	font-size: 1.125rem;
	line-height: 1.2;
	text-decoration: none;
	font-family: "Merriweather", serif;
}

@media (max-width: 991px) {
	nav.horizontally li[class*="toplevel"] {
		border-bottom: 1px solid rgba(68, 68, 68, 0.2);
	}
}

@media (min-width: 992px) {
	nav.horizontally a[class*="toplevel"] {
		padding: 34px 5px 36px 5px;
		text-align: center;
	}
}

nav.horizontally a[class*="toplevel"]::after {
	content: "";
	position: absolute;
	display: block;
	width: 0;
	bottom: 0;
	height: 6px;
	left: 50%;
	transform: translateX(-50%);
	background: #849352;
	transition: width 300ms linear;
}

@media (min-width: 992px) {
	nav.horizontally a[class*="toplevel"]::after {
		top: 0;
		bottom: auto;
	}
}

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

nav.horizontally li[class*="toplevel"]:is(:hover, :focus-within) > a::after,
nav.horizontally li[class*="toplevel"] > a:is(:hover, :focus)::after,
nav.horizontally li[class*="toplevel"].open > a::after,
nav.horizontally li[class*="toplevel"].open > a:is(:hover, :focus)::after,
nav.horizontally li[class*="toplevel"][class*="_over"] > a::after,
nav.horizontally li[class*="toplevel"][class*="_over"] > a:is(:hover, :focus)::after {
	width: 100%;
}

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

nav.horizontally [class*="toplevel"] ul,
nav.horizontally [class*="secondlevel"] > ul {
	background: #a61c1a;
}

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

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

	nav.horizontally [class*="toplevel"] > ul {
		left: 50%;
		transform: translate(-50%, 0);
	}

	nav.horizontally [class*="toplevel"] > ul::after {
		content: "";
		display: block;
		position: absolute;
		left: 50%;
		top: -20px;
		margin-left: -20px;
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 20px 20px 0 20px;
		border-color: #f8e1c3 transparent transparent transparent;
		transition: top 150ms linear;
	}

	nav.horizontally li[class*="toplevel"]:hover > ul::after {
		top: 0;
	}

	nav.horizontally [class*="secondlevel"] > ul {
		margin-top: -30px;
		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: #ffffff;
	font-weight: 400;
	text-align: left;
	padding: 8px 25px;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
}

@media (min-width: 992px) {
	nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
		text-align: center;
		padding: 13px 25px;
	}
}

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

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

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

@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 {
	padding: 0;
	position: relative;
	max-width: 1570px;
	margin-inline: auto;
}

#headerpic::after {
	content: "";
	background: url(../img/ornament-imasgo.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	width: 1720px;
	max-width: 90vw;
	height: 75px;
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translate(-50%, 50%);
}

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

.slider-mask {
	display: none;
}

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

#content {
	text-align: left;
	padding-block: clamp(45px, 6vw, 90px);
}

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

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

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

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

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

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

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);
}

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

#nw6 {
	font-size: 1rem;
	padding-block: clamp(45px, 6vw, 90px);
	background: linear-gradient(to bottom, #f8e1c3, #ffffff00);
}

#nw6 .tabHeadline {
	margin-bottom: 0;
}

#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(3, 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: 0 5px 15px 0 rgba(0, 0, 0, 0.1);
}

#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-style: italic;
	font-size: 1rem;
	color: #fff;
	padding: 4px 10px;
	background: #801616;
	transform: translateX(-50%);
}

#nw6 .tab_link_title a {
	color: #252525;
	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;
}

#nw6 .tab_link_entry > div:nth-last-child(2) > a {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	text-align: center;
	font-size: 0;
	color: #ffffff;
	font-weight: 400;
	display: flex !important;
	justify-content: center;
	align-items: center;
	align-content: center;
	background: linear-gradient(to bottom, rgba(132, 147, 82, 0.8), #849352 150px);
	opacity: 0;
	transition: opacity 200ms linear;
}

#nw6 .tab_link_entry:hover div:nth-last-child(2) > a {
	opacity: 1;
}

#nw6 .tab_link_entry div:nth-last-child(2) > a::before {
	content: "";
	position: absolute;
	display: block;
	top: 50%;
	left: 50%;
	margin-left: -40px;
	margin-top: -60px;
	width: 80px;
	height: 80px;
	background: url("../../../mbs/img/6nw/mehr-erfahren.png") center no-repeat;
	/*Replace url with ("../img/YOUR-IMAGE.png")*/
}

#nw6 div:nth-last-child(2) > a::after {
	content: "mehr erfahren";
	margin-top: 100px;
	font-size: 1.25rem;
}

#nw6 a:hover,
#nw6 a:focus {
	text-decoration: none;
}

/* ----------------------------------------- @6nw tab_link_mehr_main ---------------------------------------- */

#nw6 .tab_link_mehr_main {
	color: transparent;
	font-size: 0;
	text-align: right;
}

#nw6 .tab_link_mehr_main a,
.buttonStyle a {
	text-decoration: none;
	text-transform: uppercase;
	display: inline-block;
	position: relative;
	font-size: 1rem;
	font-weight: 600;
	color: #252525;
	padding: 13px 25px;
	background: #849352;
	transition:
		color 300ms linear,
		background 300ms linear;
}

.buttonStyle a {
	margin-top: 30px;
}

#nw6 .tab_link_mehr_main a::after,
.buttonStyle a::after {
	content: url(../img/button-arrow.png);
	margin-left: 15px;
}

@media (min-width: 992px) {
	#nw6 .tab_link_mehr_main a,
	.buttonStyle a {
		padding: 13px 55px;
	}
}

#nw6 .tab_link_mehr_main a:hover,
#nw6 .tab_link_mehr_main a:focus,
.buttonStyle a:is(:hover, :focus) {
	background: #e27b28;
}

/* ------------------------------------------------ @7tab ----------------------------------------------- */

#tab7 {
	padding-top: 40px;
	padding-bottom: 50px;
	position: relative;
	z-index: 1;
}

#tab7::before {
	content: "";
	position: absolute;
	display: block;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 1570px;
	height: 490px;
	background: #f8e1c3;
}

#tab7::after {
	content: "";
	background: url(../img/ornament-imasgo.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	width: 1720px;
	max-width: 90vw;
	height: 75px;
	position: absolute;
	top: 490px;
	z-index: -1;
	left: 50%;
	transform: translate(-50%, -50%);
}

@media (min-width: 576px) {
	#tab7 > .row > * + *:nth-child(2) {
		margin-top: 0;
	}
}

@media (max-width: 767px) {
	#tab7 > .row > * + * {
		margin-top: 30px;
	}
}

#tab7 .info {
	margin-bottom: clamp(24px, 3vw, 50px);
	background-color: #f8e1c3;
}

#tab7 .tab {
	padding: 30px;
	height: 100%;
	min-height: 100%;
	background: #ffffff;
	-webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
	background-position: center;
	background-size: cover;
   hyphens: auto;
   min-height: 300px;
}

@media (min-width: 992px) {
	#tab7 .tab {
		padding: 20px 30px 50px 30px;
	}
}

#tab7 .tab .tabHeadline {
	font-size: 1.5625rem;
	text-transform: uppercase;
	margin-bottom: 10px;
	font-weight: 600;
	position: relative;
	color: #a61c1a;
	font-family: "Source Sans 3", sans-serif;
}

@media (min-width: 992px) {
	#tab7 .tab .tabHeadline {
		margin-bottom: 20px;
	}
}

#tab7 .tab .tabHeadline::before,
#tab7 .tab .tabHeadline::after {
	content: "";
	display: block;
}

#tab7 .tab .tabHeadline::before {
	height: 78px;
	margin-bottom: 40px;
	background-position: center;
	background-repeat: no-repeat;
}

@media (min-width: 768px) {
	#tab7 .tab .tabHeadline::before {
		margin-bottom: 52px;
	}
}

#tab7 .tab .tabHeadline::after {
	position: absolute;
	top: 94px;
	left: 50%;
	margin-left: -30px;
	width: 59px;
}

#tab7 > .row > div:nth-child(1) .tab .tabHeadline::before {
	background-image: url("../img/icon-spende.png");
}

#tab7 > .row > div:nth-child(1) .tab .tabHeadline::after {
	border-bottom: 5px solid #849352;
}

#tab7 > .row > div:nth-child(2) .tab .tabHeadline::before {
	background-image: url("../img/icon-mitglied.png");
}

#tab7 > .row > div:nth-child(2) .tab .tabHeadline::after {
	border-bottom: 5px solid #849352;
}

/* ---------------------------------------- veranstaltungen ------------------------------------- */

@media (max-width: 991px) {
	.eventclndr-tab {
		margin-bottom: 30px;
	}
}

#clr-events-hide,
#clr-events-hide + div {
	display: none;
}

#footerTabs .tab_link_title a {
	font-weight: 600;
}

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

#footerTabs .tab_link_mehr a {
	text-decoration: underline;
	font-size: 1rem;
}

#footerTabs .tab_link_mehr a::after {
	content: "\00BB";
	margin-left: 4px;
	display: inline-block;
}

#footerTabs .tab_spacer {
	height: 15px;
}

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

#map :is(iframe, .iframe-wrapper-manual-enabling) {
	min-width: 100% !important;
	width: 100% !important;
	display: block;
	min-height: 300px !important;
}

#map :is(.row, .row > div) {
	padding: 0;
	margin: 0;
}

#footerTabs {
	position: relative;
	color: #ffffff;
	position: relative;
	background: #450d0d;
	padding: clamp(45px, 4vw, 60px) 0;
   border-bottom: 2px solid #f8e1c3;
}

footer :is(h1, h2, h3, h4, h5, h6, .footerHeadline) {
	color: #ffffff;
	font-size: 1.5625rem;
	margin-bottom: 20px;
}

#footerTabs a,
#footerTabs a:is(:hover, :focus) {
	color: #ffffff;
}

@media (max-width: 991px) {
	#footerTabs > .row > div + div {
		border-top: 1px solid rgba(255, 255, 255, 0.3);
		padding-top: 25px;
		margin-top: 25px;
	}

	.socialTab {
		margin-bottom: 30px;
	}
}

@media (min-width: 992px) {
	#footerTabs > .row > div + div {
		border-left: 1px solid rgba(255, 255, 255, 0.3);
	}
}

@media (min-width: 1200px) {
	#footerTabs > .row > div:first-child {
		padding-right: 40px;
	}

	#footerTabs > .row > div:last-child {
		padding-left: 40px;
	}
}

.socialTab a img {
	transition: transform 0.3s 0s ease;
}

.socialTab a:is(:hover, :focus) img {
	transform: scale(1.2);
}

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

#f5 {
	padding-top: 12px;
	padding-bottom: 12px;
	background-color: #450d0d;
	color: #ffffff;
}

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

#innerfooter li {
	display: inline-block;
}

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

#innerfooter a:hover,
#innerfooter a:focus {
	color: #ffffff;
	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;
	}
}
