/* Tag styles, TYPO3 contet and bootstrap adjustements */
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400&display=swap');

html,
body {
	width: 100%;
	height: 100%;
	background: #fff;
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
}

.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
	padding-left: 20px;
	padding-right: 20px;
}

b, strong {
	font-weight: 400;
}

#logo {
	margin-top:30px;
}

#main-wrapper {
	margin: 0 auto;
}

.container {
	width: 1440px;
}

.btn-link {
	color: #333;
}

.btn-link:hover {
	color: #333;
	text-decoration: none;
}

h1 {
	margin-top: 0;
}

h1, h2, h3 ,h4 ,h5 {
	color: #ff232e;
	font-weight:300;
}

a {
	color: #e63035;
}

table {
	width: 100%;
}

.btn-primary {
	background-color: #ff232e;
	border-color: #ff232e;
}

.btn-primary:hover {
	background-color: #ca141d;
	border-color: #ca141d;
}

#c117 .actions .btn-primary {
	margin:30px 0px;
}

.form-check #anmeldeformular-63-checkbox-3,
.form-check #anmeldeformular-63-checkbox-4,
.form-check #anmeldeformular-63-checkbox-5,
.form-check #bestellformular-117-checkbox-3,
.form-check #bestellformular-117-checkbox-5,
.form-check #anmeldeformularen-128-checkbox-5,
.form-check #anmeldeformularen-128-checkbox-3{
	z-index: inherit;
	opacity: 1;
	margin-left: -43px;
	position: relative;
}

.form-check .custom-control-input {
	z-index: inherit;
	opacity: 1;
}

.form-check span {
	margin-left: 8px;
}

span.help-block {
	top: 20px;
	position: absolute;
	font-size: 12px;
}

.frame {
	margin-top: 1.75rem;
	margin-bottom: 1.75rem;
}

.image img {
	max-width: 100%;
	height: auto;
}

/* Background Overlay for the navigation */

#mobile-overlay {
	width: 100%;
	height: 100%;
	position: fixed;
	z-index: -1;
	transition: background 300ms ease-in-out;
}

/* Mobile Button */

#mobile-btn {
	cursor: pointer;
	display: none;
	position: absolute;
	right: 2%;
	top: 25px;
	width: 54px;
	height: 54px;
	padding: 10px 0 10px 20px;
	z-index: 1000;
}

.inner {
	width: 100%;
	height: 100%;
	position: relative;
}

#mobile-btn .icon-bar {
	width: 34px;
	height: 2px;
	background: #212529;
	position: absolute;
	left: 0;
	transition: all 400ms ease;
}

.icon-bar1 {
	top: 4px;
	transform-origin: left top;
}

#mobile-btn.open .icon-bar1 {
	transform: rotate(45deg);
	left: 5px;
}

.icon-bar2 {
	top: 16px;
	opacity: 1;
}

.open .icon-bar2 {
	opacity: 0;
}

.icon-bar3 {
	bottom: 4px;
	transform-origin: left bottom;
}

#mobile-btn.open .icon-bar3 {
	transform: rotate(-45deg);
	left: 5px;
}

/* Navigation */

#topnav {
	position: absolute;
	top: 25px;
	right: 30px;
	width: 400px;
}

#topnav ul {
	padding: 0;
}

.navtop {
	list-style: none;
	float: right;
}

.navtop li {
	float: left;
	padding: 0 10px;
}

.navtop li a {
	color: #333;
}

#navigation {

}

.navbar {
	padding: 0;
}

.navbar-nav {
	float: right;
	margin: 0;
	position: relative;
	z-index: 1000;
}

.navbar-nav li {
	padding: 39px 20px;
	margin: 0;
	min-height: 110px;
}

.navbar-nav li a {
	color: #333;
	font-size: 18px;
	position: relative;
	z-index: 1001;
	text-transform: uppercase;
	border-bottom: 5px solid transparent;
}

.navbar-nav li:hover a {
	color: #fff;
}

.navbar-nav li:hover {
	background:#ff232e;
	position: relative;
}

.nav-arrow {
	float: right;
	margin-top: -27px;
}

.fa-angle-down {
	font-size: 24px;
	color: #fff;
}

.navbar-nav li a span {
	position: absolute;
	margin-top: -3px;
	text-transform: none;
	font-size: 12px;
	min-width: 110px;
}

.navbar-nav li:hover ul {
	display: block;
}

.nav > li > a:hover,
.nav > li > a:focus,
.nav > li.active > a,
.nav > li.current-active > a {
	text-decoration: none;
}

li.current-active span.borderline {
	display: block;
}

.borderline {
	width: 35px;
	position: absolute;
	height: 5px;
	background-color: #f1afa7;
	margin: 58px 0 0 15px;
}

.navbar-nav li ul.dropdown-menu li {
	margin: 0;
	min-height: 20px;
	border-bottom: 1px solid #fff;
}

.navbar-nav li .dropdown-menu {
	float: left;
	margin-top: 0px;
	min-width: 340px;
	border: 0px;
	padding: 0;
	margin: 0;
	background: none !important;
}

.navbar-nav li .dropdown-menu > li {
	background: #ff232e;
	height: 50px;
	margin-top: 1px;
	padding: 14px 8px 8px 8px;
}

.navbar-nav li .dropdown-menu > li > a {
	height: 30px;
	line-height: 30px;
	padding: 0 0 0 10px;
	background: none;
	border-bottom: none;
	color: #fff;
}

.navbar-nav li .dropdown-menu > li > a:hover,
.navbar-nav li .dropdown-menu > li > a:focus {
	background-color: #ff232e;
	color: #fff;
	text-decoration: none;
}

/*footer nav*/
.footernav {
	float: left;
}

.footernav li {
	float: left;
	width: 100%;
}

footer h3,
footer p,
footer div,
footer a {
	color: #333;
}

.container.footerend {
	margin-top: -30px;
	margin-bottom: 30px;
	background: none;
	font-size: 12px;
}

.container.footerend a,
.container.footerend div {
	color: #333;
}

/* Content Wrapper */

.content-wrapper {
	min-height: 300px;
	padding-bottom: 1.75rem;
	background: #fff;
}

/* Header Slider */

#headerSlider .frame {
	margin: 0;
}

#header-wrapper {
	position: relative;
	z-index: 101;
	background: #fff;
	height: 110px;
}

/* Custom content elements */

.history-item .year,
.history-item .history-text {
	padding-top: 1em;
	padding-bottom: 1em;
}

.history .year .line {
	height: 100%;
	width: 2px;
	background: #aaa;
	position: absolute;
	z-index: 9;
	top: 0;
	left: 50%;
	margin-left: -1px;
}

.history > .history-item:first-child .line {
	height: 50%;
	top: 50%;
}

.history > .history-item:last-child .line {
	height: 50%;
}

.history .year {
	text-align: center;
}

.history .year .number {
	top: calc((100% - 24px) / 2);
	background: #fff;
	position: relative;
	z-index: 10;
}

.history-text p:last-child {
	margin-bottom: 0;
}

.carousel {
	margin-top: -204px;
	width: 100%;
}

.carouselBg {
	min-height: 600px;
	background-size: cover !important;
}

.accordion .frame {
	margin: 0;
}

/* Team */

.departement {
	width: 100%;
}

/* Grid gallery */
/*
.grid-gallery {
  float: left;
  width: 100%;
}

.grid-gallery .row {
  margin-left: -2px;
  margin-right: -2px;
}

.grid-gallery .row > div {
  padding: 0 2px;
  transition: opacity 200ms ease-in;
}

.grid-gallery .image {
  margin-bottom: 0;
}

.grid-gallery .image .caption {
  padding: 2px;
}

@keyframes rotate {
  0%   {transform: rotate(0deg);}
  100% {transform: rotate(360deg);}
}

.grid-gallery .glyphicon-repeat {
  animation-name: rotate;
  animation-duration: 0.8s;
  animation-iteration-count: infinite;
  font-size: 2em;
  left: 50%;
  position: relative;
  margin-left: -0.5em;
}
*/

#footer-wrapper {
	padding-bottom: 2.5rem;
}

#footer-wrapper {
	background: #e7e7e7;
	border-top: 2px solid #ff232e;
}

@media (min-width: 1440px) {
	.container {
		max-width: 1440px;
	}
}

@media (max-width: 1440px) {
	#topnav {
		right: 170px;
	}
}

/*iPad Pro*/

@media (max-width: 1366px) {
	#topnav {
		right: 140px;
	}
}

@media (max-width: 1024px) {
	#topnav {
		right: 50px;
	}

	.navbar-nav li {
		min-width: 90px;
	}
}

@media (min-width: 992px) {
	.navbar-expand-lg .navbar-nav .dropdown-menu {
		margin-top: 0px;
	}
}

@media screen AND (max-width: 992px) {
	#header-wrapper {
		background: none;
	}
	
	.form-navigation {
		margin-top:60px;
	}

	#navigation {
		margin-top: 50px;
	}

	#logo img {
		height: auto;
		margin-top: -10px;
	}

	.carousel {
		margin-top: 0;
	}

	#mobile-btn {
		display: block;
	}

	.navbar-nav {
		float: none;
		margin: 0;
	}

	.dropdown-menu {
		margin-top: 17px;
	}

	.navbar-nav li a {
		color: #fff;
	}

}

@media (min-width: 768px) {

	#logo img {
		height: auto;
		margin-top: -10px;
	}

}

@media (max-width: 576px) {

	.navbar-nav li {
		padding: 18px 20px;
		min-height: 60px;
	}

	.dropdown-menu {
		min-width: inherit;
	}

	.navbar-nav li:hover {
		border-bottom: 0;
	}

	.dropdown-menu > li {
		width: 100%;
		background: #ff232e;
		height: 50px;
		margin-top: 1px;
		padding: 14px 8px 8px 8px;
	}

	.dropdown-menu > li > a {
		font-size: 12px;
	}

	.navbar-brand {
		padding-top: 1.6125rem;
	}

	#logo {
		margin-top: 0;
	}

	#logo img {
		width: 200px;
		height: auto;
		margin-top: 2px;
	}

	.container {
		max-width: 100%;
	}

	.carousel {
		margin-top: 0;
	}
}

.form-check {
    position: relative;
    display: block;
    padding-left: 1.25rem;
    height: 90px;
}
