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

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

body {
	font-family: "Noto Sans", sans-serif;
	font-weight: 400;
	color: #1a1a1a;
	background: #ffffff;
	font-size: clamp(1rem, 2vw, 1.125rem);
	line-height: 1.5;
	max-width: 1600px;
	margin: auto;
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
}

a {
	color: #b61f29;
}

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

@media (min-width: 1200px) {

	._op-container .container,
	.compact,
	.row {
		max-width: 1600px;
		width: 100%;
	}
}

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

#topbar {
	padding-block: 30px;
}

#topbar>.row,
#bfElements {
	gap: 15px 0;
}

#bfElements {
	padding-block: 0 15px;
}

#bfElements>div+div {
	flex-wrap: wrap;
}

#topbar hr {
	margin: 0;
	background: #1a1a1a;
	height: 1px;
	opacity: 0.2;
	border: none;
}

#socialMedia {
	padding-block: 20px;
}

@media (min-width: 992px) {
	#socialMedia {
		padding-block: 80px 30px;
		padding-left: 50px;
		background-size: auto;
	}

	#bfElements {
		padding-block: 0 30px;
	}
}

/* ----------------------------------------------- @3tp topbar ----------------------------------------------- */

#bfElements {
	font-size: 1rem;
}

/* ------------------------------------------------ contrast_style ---------------------------------------------- */

#contrast_style button {
	color: #000000;
	padding: 0;
	border: 1px solid #4b4b4b;
	display: inline-block;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	font-weight: 400;
	text-align: center;
	background: #ffffff;
	position: relative;
	z-index: 1;
	font-size: 0;
}

#contrast_style button::before {
	content: "";
	display: block;
	position: absolute;
	z-index: -1;
	left: -6px;
	top: -6px;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.1);
	opacity: 0;
	-webkit-transition: opacity 150ms linear;
	-moz-transition: opacity 150ms linear;
	-ms-transition: opacity 150ms linear;
	-o-transition: opacity 150ms linear;
	transition: opacity 150ms linear;
}

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

#contrast_style button::after {
	content: "";
	display: block;
	position: absolute;
	top: 3px;
	right: 3px;
	left: 3px;
	bottom: 3px;
	border: 1px solid #4b4b4b;
	border-radius: 50%;
}

#contrast_style button:nth-of-type(1)::after {
	background: linear-gradient(to right, #4b4b4b, #4b4b4b 50%, #fff 50%);
}

#contrast_style button:nth-of-type(2)::after {
	background: linear-gradient(to right, #fff, #fff 50%, #4b4b4b 50%);
}

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

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

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

#style button {
	padding: 0;
	border: none;
	color: #fff;
	background: #b61f29;
	display: inline-block;
	min-width: 29px;
	min-height: 29px;
	font-weight: 600;
	font-size: 1rem;
	text-align: center;
	position: relative;
	line-height: 1;
	border-radius: 100vw;
	transition: color 300ms linear, background 300ms linear;
	outline: 2px solid rgba(0, 0, 0, 0.3);
}

#style button {
	margin-left: 8px;
}

#style button:hover,
#style button:focus {
	color: #1a1a1a;
	background: #fff;
}

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

#logo {
	display: inline-block;
}

#logo img {
	display: block;
}

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

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

/* 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: #b61f29;
		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: #fff;
		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.5);
	}

	.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) {
	#sticky-wrapper {
		position: absolute;
		width: 100%;
	}

	nav.horizontally {
		background-color: rgba(255, 255, 255, 0.94);
		border-top: 1px solid #000;
		border-bottom: 4px solid #000;
	}

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

	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: #1a1a1a;
	font-weight: 500;
	text-align: left;
	padding: 10px 15px 15px 15px;
	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 a[class*="toplevel"] {
		text-align: center;
		padding: 20px;
	}
}

/* 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: #ffffff;
	background-color: #b61f29;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
	background-color: rgba(182, 31, 41, 0.95);
}

nav.horizontally [class*="secondlevel"] ul {
	background-color: rgba(255, 255, 255, 0.95);
}

@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-block: 30px;
	}

	nav.horizontally [class*="toplevel"]>ul {
		left: 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: #fff;
	font-weight: 500;
	padding: 8px 25px;
	font-size: 1.0625rem;
	line-height: 1.2;
	text-decoration: none;
	border: none;
	border-style: solid;
	border-left: none;
	border-right: none;
	border-top-width: 1px;
	border-bottom-width: 1px;
	border-color: transparent;
	transition: border-color 300ms, background 300ms, color 300ms;
}

nav.horizontally a[class*="thirdlevel"] {
	color: #1a1a1a;
}

@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: #fff;
	color: #b61f29;
	border-color: #000;
}

nav.horizontally li[class*="thirdlevel"]:is(:hover, :focus-within)>a,
nav.horizontally li[class*="thirdlevel"]>a:is(:hover, :focus),
nav.horizontally li[class*="thirdlevel"].open>a,
nav.horizontally li[class*="thirdlevel"].open>a:is(:hover, :focus),
nav.horizontally li[class*="thirdlevel"][class*="_over"]>a,
nav.horizontally li[class*="thirdlevel"][class*="_over"]>a:is(:hover, :focus) {
	background: #b61f29;
	color: #fff;
	border-color: #000;
}

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

#slider {
	max-height: clamp(300px, 42vw, 400px);
	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;
	overflow: hidden;
	position: relative;
}

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

.slider-mask {
	display: none;
}

@media (min-width: 992px) {
	.slider-mask {
		display: block;
		background: url(../img/overlay-linksv2.png), url(../img/overlay-rechtsv2.png);
		background-repeat: no-repeat;
		background-position: left center, right center;
		background-size: auto 100%, auto 100%;
	}
}

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

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

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

#contentWrap>.row {
	gap: 60px 0;
}

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

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
	color: #1a1a1a;
	font-weight: 700;
	line-height: 1.2;
	font-family: "Noto Sans", 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.6875rem);
}

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

/* ----------------------------------------------- tab -------------------------------------------- */

main .tab {
	padding: 30px 50px;
	border: 1px solid rgba(25, 25, 25, 0.22);
}

main .tabHeadline {
	font-size: clamp(1.5rem, 4vw, 2rem);
}

/* ----------------------------------------------- buttons -------------------------------------------- */

main .tab a:not([href^="mailto"], [href^="tel"]),
#nw6 .tab_link_mehr_main a {
	background: #b61f29 url(../img/icon-bus.png);
	background-repeat: no-repeat;
	background-position: center left 18px;
	color: #fff;
	text-decoration: none;
	padding: 12px 40px;
	display: inline-block;
	padding-left: 60px;
	margin-top: 40px;
	box-shadow: 0px 2px 1px 0px rgba(0, 0, 0, 0.2);
	transition: background 300ms;
}

main .tab a:not([href^="mailto"], [href^="tel"]).contrast_dark_font,
#nw6 .tab_link_mehr_main a.contrast_dark_font {
	color: #fff !important;
}

main .tab a:not([href^="mailto"], [href^="tel"]):is(:hover, :focus),
#nw6 .tab_link_mehr_main a:is(:hover, :focus) {
	background-color: #1a1a1a;
}

#nw6 .tab_link_mehr_main a {
	background-image: url(../img/icon-events.png);
	margin-top: 20px;
}

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

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

#nw6 .tabHeadline {
	font-size: clamp(1.5rem, 3vw, 2rem);
	margin-bottom: 15px;
}

#nw6 hr {
	margin: 0;
	background: #1a1a1a;
	height: 1px;
	opacity: 1;
	border: none;
}

#nw6>.row {
	row-gap: 20px;
}

#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_entries {
		grid-template-columns: repeat(3, 1fr);
	}
}

#nw6 .tab_link_entry {
	position: relative;
	width: 100%;
	padding: 280px 20px 20px 20px;
	background: #ffffff;
	border: 1px solid rgba(25, 25, 25, 0.22);
	font-size: 1.0625rem;
}

#nw6 .tab_link_entry::before {
	content: "";
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	right: 0;
	height: 266px;
	background: center / cover no-repeat, #1a1a1a;
	border-bottom: 4px solid #1a1a1a;
}

#nw6 .tab_link_entry .tab_preview_picture {
	position: absolute;
	display: block;
	left: 0;
	right: 0;
	top: 0;
	height: 266px;
	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_link_date {
	display: none;
}

#nw6 .tab_link_title a {
	color: #1a1a1a;
	font-weight: 600;
	font-size: 1.375rem;
	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(247, 247, 247, 0.8), #f7f7f7 150px);
	opacity: 0;
	transition: opacity 200ms linear;
	box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.1);
}

#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("../img/mehr-erfahren.png") center no-repeat;
}

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

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

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

#footerTabs {
	border-top: 2px solid rgba(25, 25, 25, 0.3);
	padding-block: 22px;
	background: url(../img/logo-ella-kulturhaus-footer_v2.png);
	background-position: center right 90px;
	background-repeat: no-repeat;
}

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

#f5 {
	padding-block: 30px;
	background-color: #b61f29;
}

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

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

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

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

#vernetzt span span {
	display: block;
}

#vernetzt strong {
	font-weight: 500;
}

#scrollTopBtn {
	background: #fff;
	font-size: 0;
	background-image: url(../img/icon-up.png);
	background-repeat: no-repeat;
	background-position: center;
	display: inline-block;
	width: 37px;
	height: 37px;
	outline: 2px solid rgba(25, 25, 25, 0.3);
	transition: outline 300ms;
}

#scrollTopBtn:is(:hover, :focus) {
	outline-color: #b61f29;
}

@media (min-width: 1600px) {
	#scrollTopBtn {
		position: absolute;
		top: -20px;
		transform: translateY(-100%);
		right: -150px;
	}
}