/* general Styles */
body {
	color: #000;
}

textarea {
	resize: vertical;
}

a,
button {
	transition: all .4s;
}

a {
	color: #e40613;
}

a:hover {
	text-decoration: underline;
	color: #e40613
}

.btn.text-white.bg-black:hover {
	background-color: transparent !important;
	color: #000 !important;
	cursor: pointer;
}

a, button, .btn:focus, .btn.focus {
	box-shadow: none;
	outline: none;
}

/* font styles */
body {
	font-family: "Poppins", sans-serif;
}

.hero-text .h1 {
	font-size: 1.5rem;
}

/* pixelgraphic and honeypot */
#get {
	background: url('https://http-get.de/get.gif') no-repeat;
}

#maedchenname {
	position: absolute;
	top: -9999px;
	left: -9999px;
}

/* helper classes */
.scroll-abstand {
	position: relative;
	height: 125.5px;
	margin-top: -125.5px;
	opacity: 0;
	visibility: hidden;
	z-index: -1;
}

.color-primary {
	color: #e40613 !important;
}

.primary-background {
	background-color: #e40613 !important;
}

.bg-gray {
	background-color: #b4b4b4 !important;
}

.bg-light-gray {
	background-color: #dadada !important;
}

.bg-dark-gray {
	background-color: #595959 !important
}

.bg-black {
	background-color: #000 !important;
}

.border-black {
	border-color: #000 !important;
}

.bw-2 {
	border-width: 2px !important;
}

.mb-30px {
	margin-bottom: 30px !important;
}

.custom-link {
	position: relative;
	padding-left: 10px;
	display: inline-block;
	color: #000;
}

.custom-link:hover {
	color: #e40613;
}

.custom-link::before {
	content: "\f0da";
	font-family: FontAwesome;
	position: absolute;
	top: 0;
	left: 0;
	width: 10px;
	color: #e40613;
}

.container-small {
	margin: 0 auto;
	padding-right: 15px;
	padding-left: 15px;
}

.aktuelles-box, .termin-box {
	padding-bottom: 15px;
}

.box-content {
	padding-bottom: 38px;
}

.box-bild {
	position: relative;
	padding-top: calc(100% / 3 * 2);
}

.box-bild, .termin-bild {
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}

.termin-bild {
	padding-top: 100%;
}

.termin-bild.placeholder {
	width: 50%;
	background-size: contain;
}

.termin-title {
	font-size: 1.3rem;
}

.termin-box > a {
	top: 0;
	left: 0;
}

.box-bild a {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

.box-bild a, .termin-bild a, .termin-box > a {
	text-indent: -9999px;
}

.box-btn,
.footer-btn {
	bottom: 0;
}

.box-btn {
	left: 0;
}

.footer-btn {
	left: 0;
}

.social-icon {
	height: 2rem;
	width: auto;
}

.custom-carousel-control {
	top: auto;
	width: auto;
}

.kachel-container {
	-ms-transform: translateY(-52px);
	transform: translateY(-52px);
}

.kachel {
	height: 100px;
}

.kachel.primary-background:hover {
	background-color: #000 !important;
	text-decoration: none;
	color: #fff !important;
}

.bild-container {
	padding-bottom: 40px;
}

.bild-caption {
	bottom: 0;
	left: 0;
	z-index: 2;
	width: 80%;
	max-width: 360px;
	padding: 16px 10px;
}

#aktuelles-slider {
	padding-bottom: 47px;
}

.grid {
	width: calc(100% + 30px);
	margin-right: -15px;
	margin-left: -15px;
}

.grid:after {
	content: '';
	display: block;
	clear: both;
}

.grid-sizer,
.grid-item {
	width: 100%;
	padding-right: 15px;
	padding-left: 15px;
	margin-bottom: 15px;
}
.grid-item {
	float: left;
}

/* header main */
.header-main {
	border-bottom: 6px solid #e40613;
	box-shadow: 2px 2px 10px -2px rgba(0,0,0,.75);
}

/* top header */
.top-header {
	padding-top: 15px;
	padding-bottom: 15px;
}

.top-header a {
	color: #000;
}

.top-header a:hover {
	color: #e40613;
}

/* main navigation */
.navbar {
	padding-top: 18px;
	padding-bottom: 18px;
}
.navbar-brand {
	position: fixed;
	top: 0;
	left: 15px;
	z-index: 2;
	transition: all .4s;
}

.navbar-brand img {
	width: 119.5px;
	transition: all .4s;
}

#mainmenu-nav.show {
	max-height: calc(100vh - 125.5px);
	overflow-y: auto;
}

.navbar-toggler {
	height:20px;
	width: 2rem;
}

.navbar-toggler .bar {
	width: 2rem;
	height: 4px;
	background-color: #000;
	left:0;
	transition: opacity .4s, transform .4s;
}

#bar-1 {
	top: 0;
}

#bar-2 {
	top: 8px;
}

#bar-3 {
	top: 16px
}

.navbar-toggler.open #bar-1, .navbar-toggler.open #bar-3 {
	top: 8px;
}

.navbar-toggler.open #bar-1 {
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

.navbar-toggler.open #bar-2 {
	opacity: 0;
}

.navbar-toggler.open #bar-3 {
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

/* hero */
.hero {
	margin-top: 125.5px;
	padding-top: 200px;
	background: url(../images/header-bild.jpg) no-repeat center center / cover;
	margin-bottom: 4rem;
}

.hero-text {
	position: relative;
	max-width: 350px;
	padding-bottom: 88px;
	top: 4rem;
}

/* content */
.content-main {
	min-height: 786px;
	padding-top: 61.5px;
}

#about {
	padding-top: 3rem;
	padding-bottom: 90px;
}

#parallax {
	background: url(../images/AdobeStock_231393163_Preview.jpeg) no-repeat center top / cover;
	background-attachment: fixed;
}

.termin-left {
	border-top: 2px solid #e40613;
	padding-top: 1rem;
}

/* footer */
.footer-column {
	padding-bottom: 38px;
}

.footer-column .social-icon {
	height: 38px;
}

.mandatory-container {
	height: 25.2px;
}

.mandatory {
	right: auto;
	z-index: 1000;
}

.mandatory-btn {
	display: block;
	-ms-flex: 0 0 auto;
	flex: 0 0 auto;
	padding: 3px 8px;
	text-transform: uppercase;
	font-weight: bold;
	background-color: #595959;
	color: #fff;
	text-align: center;
	font-size: .8rem;
}

.mandatory-btn:not(:last-of-type) {
	margin-right: 3px;
}

.mandatory-btn img {
	height: 1.5rem;
	width: auto;
}

.mandatory-btn:hover {
	background-color: #000;
	color: #fff;
	text-decoration: none;
}

#totop {
	visibility: hidden;
	opacity: 0;
	left: auto;
	z-index: 1000;
}

/* Google Maps on contact page */
.map {
	width: 100%;
	position: relative;
	height: 300px;
}

.map:before,
.map iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.map:before {
	content: '';
	z-index: 1;
}

.map iframe {
	border: none;
}

.map.active {
	z-index: 1
}

.map.active:before {
	z-index: 0
}

.wpt img {
	max-width: 100px;
}

@media screen and (min-width: 576px) and (max-width: 1199px) {

	.navbar-expand-xl>.container,
	.navbar-expand-xl>.container-fluid {
		padding-right: 15px;
		padding-left: 15px;
	}
}

@media screen and (min-width: 400px) {
	.mandatory-container {
		height: 34px;
	}
	.mandatory-btn {
		padding: 5px 10px;
		font-size: 1rem;
	}
}

@media screen and (min-width: 576px) {

	/* font styles */
	.hero-text .h1 {
		font-size: 2rem;
	}

	/* helper classes */
	.container-small {
		max-width: 540px;
	}
	.grid-sizer,
	.grid-item {
		width: 50%;
		margin-bottom: 30px;
	}

	/* main navigation */
	.navbar-brand {
		left: calc((100% - 510px) / 2);
	}

	/* hero */
	.hero-text {
		max-width: 425px;
	}
}

@media screen and (min-width: 768px) {
	/* helper classes */
	.kachel {
		height: 140px;
	}

	/* main navigation */
	.navbar-brand {
		left: calc((100% - 690px) / 2);
	}
}

@media screen and (min-width: 992px) {
	/* helper classes */
	.container-small {
		max-width: 720px;
	}
	.kachel {
		height: 175px;
	}

	/* main navigation */
	.navbar-brand {
		left: calc((100% - 930px) / 2);
	}

	/* content */
	.termin-left {
		border-top: none;
		border-right: 2px solid #e40613;
		padding-top: 0;
	}
}

@media screen and (min-width: 1200px) {

	/* font styles */
	.hero-text .h1 {
		font-size: 2.5rem;
	}

	/* helper classes */
	.scroll-abstand {
		height: 141.5px;
		margin-top: -141.5px;
	}
	.container-small {
		max-width: 960px;
	}

	.kachel {
		height: 230px;
	}

	#aktuelles-slider {
		padding-bottom: 57px;
	}

	.grid-sizer,
	.grid-item {
		width: 33.3333333%;
	}

	/* main navigation */
	.navbar-brand {
		left: calc((100% - 1110px) / 2);
		max-width: none;
	}

	.navbar-brand img {
		width: 237px;
	}

	.navbar-brand.scrolled img {
		width: 141.5px;
	}

	.nav-link {
		position: relative;
	}

	.nav-link::after {
		content: "";
		height: 8px;
		width: 0px;
		position: absolute;
		bottom: 0;
		left: 50%;
		-ms-transform: translateX(-50%);
		transform: translateX(-50%);
		background-color: #e40613;
		transition: width .4s;
	}

	.nav-link.active::after {
		width: 100%;
	}

	.nav-link:hover::after {
		width: 100%;
	}

	/* hero */
	.hero {
		margin-top: 141.5px;
		padding-top: 0;
		height: 32vw;
		background-color: rgba(255, 0, 0, .25);
	}

	.hero-text {
		padding-bottom: 132px;
		max-width: 610px;
	}

	/* content-main */
	.content-main {
		padding-top: 66px;
	}

	#about {
		padding-top: 90px;
		padding-bottom: 140px;
	}

	#parallax {
		height: 580px;
	}
}

@media screen and (min-width: 1340px) {

	/* helper classes */
	.container {
		max-width: 1280px;
	}

	.error-container {
		max-width: 1140px;
	}

	/* main navigation */
	.navbar-brand {
		left: calc((100% - 1250px) / 2);
	}
}