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

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

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

a {
	color: #04049c;
}

a:is(:hover, :focus) {
	color: #04049c;
	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: 700;
}

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

#topbar {
	background: #002b4a;
}


#topbar .template-page a {
	color: inherit;
	text-decoration: none;
}

#topbar > .row {
	padding: 12px 0;
   gap: 20px 0;
}

#logo {
	display: inline-block;
}

#logo img {
	display: block;
}

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

/* #region ------------------------------------- search ----------------------------------------- */

form[id^="search"] {
	display: inline-flex;
	overflow: hidden;
}

@media (max-width: 991px) {
	form[id^="search"] {
		width: calc(100% - 30px);
		margin: 20px 15px;
	}
}

@media (min-width: 992px) {
	form#search1 {
		position: relative;
		z-index: 60;
		margin-right: 4px;
		height: 30px;
	}
}

form [id^="search_submit"] {
	min-width: 40px;
	border: none;
	background: url("../img/icon-lupe2.png") center no-repeat;
	padding: 0;
	cursor: pointer;
	font-size: 0;
}

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

/* #endregion ---------------------------------- search ----------------------------------------- */

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

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

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

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

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

#headerpic {
	padding: 0;
	overflow: hidden;
	position: relative;
	border-bottom: 5px solid #ffffff;
}

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

.slider-mask {
	display: none;
}

/* #region ---------------------------------- 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;
		box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
	}

	#burgerButton::before,
	#burgerButton::after,
	#burgerButtonInner {
		background-color: #dc0000;
		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: #002b4a;
		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: 14px;
	}

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

/* menu desktop */

@media (min-width: 992px) {
	nav.horizontally {
		background-color: #002b4a;
		position: sticky;
		top: 0;
		z-index: 101;
		padding: 12px 0;
	}

	nav.horizontally .navbar-nav {
		display: flex;
		justify-content: space-between;
		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: #ffffff;
	font-weight: 600;
	text-align: left;
	padding: 15px 15px;
	position: relative;
	font-size: 1.125rem;
	line-height: 1.2;
	text-decoration: none;
}

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

	nav.horizontally a[class*="toplevel"].dropdown-toggle {
		padding-right: 35px;
	}
}

@media (min-width: 992px) {
	nav.horizontally a[class*="toplevel"] {
		padding: 18px 10px;
		display: flex;
		align-items: center;
		justify-content: center;
		height: 100%;
	}
}

/* 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) {
	background: #002b4a;
	color: #f3ec19;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
	background: #fff;
	box-shadow: 0 5px 12px 0 rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

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

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

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
	color: #191919;
	font-weight: 400;
	text-align: left;
	padding: 8px 25px;
	font-size: 1.125rem;
	line-height: 1.2;
	text-decoration: none;
	padding-inline: 22px 52px;
	transition: padding 200ms;
}

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"])::before {
	content: "";
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 0;
	background: url(../img/arrow.png);
	width: 16px;
	height: 16px;
	opacity: 0;
	transition: opacity 300ms, left 300ms;
}

@media (max-width: 991px) {
	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: #002b4a;
	color: #f3ec19;
	padding-inline: 52px 22px;
}

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;
	left: 22px;
}

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

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

#content {
	text-align: left;
	background-color: #fafafa;
	padding-bottom: clamp(40px, 6vw, 95px);
	padding-top: clamp(30px, 4vw, 65px);
}

@media (min-width: 992px) {
	main {
		background: #fafafa center bottom / 100% auto no-repeat;
	}

	#contentCol {
		padding-top: 30px;
	}
}

@media (max-width: 991px) {
	main {
		background-image: none !important;
	}
}

#content > .row {
	row-gap: 40px;
}

/* #region -------------------------------------- tabs ------------------------------------------ */

#tabsLeft {
	display: none;
	gap: 30px;
}

@media (min-width: 992px) {
	#tabsLeft {
		align-items: start;
		align-content: start;
	}

	#tabsLeft {
		padding-right: clamp(20px, 2vw, 38px);
	}
}

#tabsLeft .tab {
	width: 100%;
	max-width: 360px;
	margin: 32px auto 0 auto;
	position: relative;
	padding: 45px 20px 20px 20px;
	background: #ffffff;
	font-size: 0.9375rem;
	border-top: 4px solid #dc0000;
	box-shadow: 0 5px 12px 0 rgba(0, 0, 0, 0.1);
   margin-inline: auto;
}

@media (min-width: 992px) {
	#tabsLeft .tab::after {
		content: "";
		position: absolute;
		background: url(../img/logo-feuerwehrlangenau-wasserzeichen.png);
		width: 328px;
		height: 415px;
		bottom: -30px;
		transform: translateX(-100%);
		left: 20px;
	}
}

#content .tab::before {
	content: "";
	display: block;
	width: 60px;
	height: 60px;
	position: absolute;
	top: -32px;
	left: 50%;
	margin-left: -30px;
	border-radius: 50%;
	background: #002b4a url("../img/icon1.png") center no-repeat;
	box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.15);
}

#tabsLeft .tab :is(h1, h2, h3, h4, h5, h6, .tabHeadline) {
	font-size: 1.625rem;
	margin: 0 0 16px 0;
	text-align: center;
}

#tabsLeft .tab .tab_link_title a {
	color: #191919;
	font-weight: 700;
}

#tabsLeft .tab .tab_link_mandat a {
	color: inherit;
}

#tabsLeft .tab .tab_link_mehr {
	font-size: 0;
	text-align: center !important;
}

#tabsLeft .tab .tab_link_mehr a,
#nw6 .tab_link_mehr_main a {
	text-decoration: none;
	padding: 4px 30px;
	border-radius: 100vw;
	display: inline-block;
	text-transform: uppercase;
	font-size: 1rem;
	background: #002b4a;
	color: #f3ec19;
	font-weight: 600;
	border: 1px solid rgba(0, 0, 0, 0.15);
}

#tabsLeft :is(.tab .tab_link_mehr) a:is(:hover, :focus),
#nw6 .tab_link_mehr_main a:is(:hover, :focus) {
	background: #dc0000;
	color: #ffffff;
}

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

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

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

#tabsLeft .tab hr {
	height: 4px;
	opacity: 1;
	background: #04049c;
	max-width: 100px;
	width: 100%;
	margin: 28px auto;
	display: block;
}

/* #endregion ----------------------------------- tabs ------------------------------------------ */

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

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

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

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

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

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

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

#nw6 {
	font-size: 1rem;
	padding-top: clamp(30px, 4vw, 65px);
	padding-bottom: clamp(30px, 3vw, 50px);
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: scroll, fixed;
	background-size: cover;
}

#nw6 .tabHeadline {
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-weight: 700;
	margin-bottom: 5px;
	border-top: rgba(25, 25, 25, 0.15) 2px solid;
	padding-top: 25px;
}

#nw6 .tabContent {
	font-size: clamp(1rem, 2vw, 1.25rem);
}

#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-size: 1rem;
	color: #f3ec19;
	padding: 4px 10px;
	background: #002b4a;
	transform: translateX(-50%);
}

#nw6 .tab_link_title a {
	color: #dc0000;
	font-weight: 700;
	font-size: 1.25rem;
	line-height: 1.2;
	text-decoration: none;
	text-transform: uppercase;
}

#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(25, 25, 25, 0.8), #002b4a 150px);
	opacity: 0;
	transition: opacity 200ms linear;
}

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

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

#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 {
	padding: 15px 30px;
}



#social {
	padding: 50px 0;
	background-color: #fff;
}

#social .tabContent {
	background-color: #fff;
	box-shadow: 0 0px 5px rgba(0, 0, 0, 0.15);
}
/* #region ----------------------------------- footer ------------------------------------------- */

footer {
	color: #ffffff;
	background: #dc0000;
	font-size: 0.9375rem;
}

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

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

#footer {
	padding: 40px 0;
}

@media (min-width: 992px) {
	#footer {
		padding: 70px 0;
	}
	#footer > .row > * + * {
		border-left: 1px solid #fff;
	}

	.tabLeft {
		border-left: 0px solid #fff !important;
	}
}

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

:is(.footerTab) a {
	text-decoration: underline;
}

.footerTab :is(iframe, .iframe-wrapper-manual-enabling) {
	min-width: 100% !important;
	width: 100% !important;
	display: block;
}

/* #endregion -------------------------------- footer ------------------------------------------- */

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

#vernetzt {
	gap: 18px;
	text-align: left;
	font-size: 0.8125rem;
	color: #ffffff;
	line-height: 1.3;
	font-weight: 400;
	text-decoration: none;
}

#vernetzt span span {
	display: block;
}

#vernetzt img {
	display: block;
	margin-left: auto;
	margin-bottom: 20px;
}

@media (max-width: 991px) {
	#vernetzt {
		text-align: center;
	}
	#vernetzt img {
		margin-right: auto;
	}
}

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

#footer2 {
	padding: 15px 0;
	background: #002b4a;
}

#footer2 > .row {
	gap: 30px 0;
}

#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;
	border: 1px solid rgba(255, 255, 255, 0.15);
}

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

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

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

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

.contrast_dark_font :is(form[id^="search"], #search_input1, #scrollTopBtn) {
	background-color: #ffffff !important;
}

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

:is(.contrast_light_font, .contrast_dark_font) #content,
.contrast_light_font #teaser > .row,
.contrast_light_font #teaser > .row > * {
	background: none !important;
}

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

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