:root 
{
	--theme: #e40514;
	--darktheme: #8c0009;
	--light: #f2f2f2;
	--dark: #1e1e1b;
}

* 
{
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

body 
{
	font-size: 1.15em;
	color: var(--dark);
	font-family: 'Maven Pro';
	font-weight: 300;
	line-height: 1.7;
	overflow-x: hidden;
}

::selection 
{
	background-color: var(--theme);
 	color: #fff;
}

::-moz-selection 
{
  	background-color: var(--theme);
 	color: #fff;
}

h1, h2, h3, h4
{
	font-family: 'Dax';
	font-weight: 500;
	line-height: 1.2;
	font-size: 3.3em;
	color: var(--theme);
	text-transform: uppercase;
}

h2
{
	font-size: 2.6em;
	line-height: 1.15;
}

h2 a
{
	color: var(--theme);
	transition: all 0.2s;
}

h2 a:hover
{
	color: var(--darktheme);
}

h3
{
	font-size: 1.6em;
}

h4
{
	font-size: 1.15em;
	text-transform: none;
	line-height: 1.3;
}

h2 + p, h2 + ul, p + p, ul + p
{
	margin-top: 1em;
}

p + h4
{
	margin-top: 1.5em;
}

h3 + p, h3 + ul, h4 + p, h4 + ul
{
	margin-top: 0.35em;
}

.wrap
{
	max-width: 1200px;
	display: block;
	margin: auto;
	padding: 0px 40px;
	position: relative;
}

#header
{
	position: fixed;
	width: 100%;
	left: 0;
	top: 0;
	z-index: 1000;
	transition: all 0.2s;
	box-shadow: 0px 0px 60px rgba(0,0,0,0);
}

#header.scrolled
{
	background-color: #fff;
	box-shadow: 0px 0px 60px rgba(0,0,0,0.05);
}

#header .wrap
{
	max-width: 1400px;
}

#navigation ul
{
	font-family: 'Dax';
	text-align: right;
}

#navigation ul li
{
	display: inline-block;
	margin-left: 5px;
	padding: 65px 0px;
	transition: all 0.2s;
	position: relative;
	white-space: nowrap;
	z-index: 100;
}

#navigation ul li ul
{
	position: absolute;
	left: 0px;
	top: 99px;
	background-color: var(--theme);
	padding: 6px 15px 5px 15px;
	min-width: 100%;
	display: none;
}

#navigation ul li:hover ul
{
	display: block;
}

#header.scrolled #navigation ul li ul
{
	top: 69px;
}

#navigation ul li ul li, #header.scrolled #navigation ul li ul li
{
	display: block;
	margin-left: 0;
	padding: 0;
	text-align: left;
}

#navigation ul li ul li a
{
	color: #fff;
	padding: 0;
	background-color: transparent!important;
	opacity: 0.7;
}

#navigation ul li.active ul li a
{
	text-transform: none;
	letter-spacing: 0;
	font-weight: 300;
}

#navigation ul li ul li a:hover
{
	opacity: 1;
}

#navigation ul li.active ul li.active a
{
	opacity: 1;
	font-weight: 500;
}

#header.scrolled #navigation ul li
{
	padding: 35px 0px;
}

#navigation ul li a
{
	color: var(--dark);
	text-decoration: none;
	padding: 0.28em 0.8em 0.2em;
	padding: 9px 15px 8px;
	background-color: #fff;
	transition: all 0.2s;
}

#navigation ul li a:hover, #navigation ul li:hover a
{
	background-color: var(--theme);
	color: #fff;
}

#navigation ul li.active a
{
	background-color: var(--theme);
	color: #fff;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

#logo
{
	position: absolute;
	height: 100%;
	padding: 22px 0px;
	transition: all 0.2s;
}

#header.scrolled #logo
{
	padding: 15px 0px;
}

#opener
{
	width: 100%;
	height: 90vh;
	position: relative;
	max-height: 900px;
}

.openerImg
{
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background-size: cover;
	background-position: center;
}

.openerBox
{
	max-width: 800px;
}


#openerVideo
{
	object-fit: cover;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

/*.openerContent
{
	position: absolute;
	width: 100%;
	left: 0;
	top: 58%;
	transform: translateY(-50%);
	z-index: 50;
	color: #fff;
}*/

.openerContent h2, .openerContent h3
{
	color: #fff;
}

.openerImg:after
{
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: 10;
	background-color: rgba(0,0,0,0.25);
}

.text
{
	margin: 100px 0px;
}

#openerContent
{
	position: absolute;
	width: 100%;
	left: 0;
	bottom: 100px;
	color: #fff;
	z-index: 500;
}

#openerContent h1
{
	color: #fff;
}

.text.withButton p a, .text .buttonArea p a, .buttonArea p a, #accepted
{
	font-family: "Dax";
	display: inline-block;
	line-height: 1.3;
	padding: 0.61em 1.2em 0.55em;
	background-color: var(--theme);
	color: #fff!important;
	border-bottom: none!important;
	letter-spacing: 0.04em;
	font-weight: 300;
	text-decoration: none;
	text-transform: uppercase;
	transition: all 0.2s;
	text-align: center;
	font-weight: 300;
}

.text.withButton p a:hover, .text .buttonArea p a:hover, .buttonArea p a:hover, #accepted:hover
{
	background-color: var(--darktheme);
}

.withButton
{
	margin-top: -75px;
}

.buttonArea
{
	margin-top: 25px;
}

.textFlex
{
	display: flex;
	flex-wrap: wrap;
	width: calc(100% + 40px);
	margin-left: -40px;
	margin-bottom: -40px;
}

.textFlexItem
{
	width: calc(33.3% - 40px);
	margin-left: 40px;
	margin-bottom: 40px;
}

.colored
{
	padding: 100px 0px;
	background-color: var(--light);
}

.itemFlex
{
	display: flex;
	width: calc(100% + 40px);
	margin-left: -40px;
	margin-bottom: -40px;
	flex-wrap: wrap;
	justify-content: center;
}

.flexItem
{
	width: calc(50% - 40px);
	margin-left: 40px;
	margin-bottom: 40px;
	background-color: #fff;
	padding: 55px 60px;
	box-shadow: 0px 0px 40px rgba(0,0,0,0.06);
}

.flexItem .buttonArea, .textBox .buttonArea, .newsItem .buttonArea
{
	margin-bottom: 5px;
}

.inline
{
	width: 100%;
	margin-bottom: -10px;
}

.newsItem
{
	padding: 55px 60px;
	box-shadow: 0px 0px 40px rgba(0,0,0,0.06);
	page-break-inside: avoid;
	break-inside: avoid;
	display: inline-block;
	margin-top: 40px;
}

#news
{
	columns: 2;
	column-gap: 40px;
	margin-top: -40px;
}

#intro + .text.withNews, .withNews
{
	margin-top: -100px;
}

.newsContent
{
	margin-top: 55px;
}

.date
{
	font-size: 0.85em;
	font-weight: 500;
	opacity: 0.3;
	margin: 0.5em 0em 1em 0em;
}

.textBox .date
{
	font-size: 1em;
	margin: 0.5em 0em;
}

.divider
{
	width: 100%;
	height: 2px;
	background-color: rgba(0,0,0,0.05);
}

strong
{
	font-weight: 500;
}

.imgFlex
{
	display: flex;
}

.imgFlex .imgFlexItem:nth-child(1)
{
	width: 45%;
	padding-top: 60px;
}

.imgFlex .imgFlexItem:nth-child(2)
{
	width: 55%;
}

.textBox
{
	padding: 55px 60px;
	position: relative;
}

.textBox:before
{
	content: "";
	position: absolute;
	width: 120%;
	height: 100%;
	right: 0;
	top: 0;
	z-index: -10;
	box-shadow: 0px 0px 40px rgba(0,0,0,0.06);
}

.imgFlex.right
{
	flex-direction: row-reverse;
}

.right .textBox:before
{
	left: 0;
	right: auto;
}

.buttonFlex
{
	display: flex;
	flex-wrap: wrap;
	width: calc(100% + 40px);
	margin-left: -40px;
	margin-bottom: -40px;
}

.flexButton
{
	padding: 50px 60px;
	background-color: var(--theme);
	color: #fff;
	text-decoration: none;
	font-size: 1.3em;
	width: calc(50% - 40px);
	margin-left: 40px;
	margin-bottom: 40px;
	font-family: 'Dax';
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-weight: 500;
	position: relative;
	transition: all 0.2s;
	line-height: 1.4;
	display: flex;
	align-items: center;
}

.flexButton:hover
{
	background-color: var(--darktheme);
}

.flexButtonContent
{
	position: relative;
	z-index: 100;
	padding-left: 35px;
}

.flexButtonIcon
{
	position: absolute;
	width: 150px;
	height: 150px;
	left: 10px;
	top: 50%;
	transform: translateY(-50%);
	background-size: 80%;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0.6;
}

#footer
{
	padding: 100px 0px;
	background-color: var(--dark);
	color: #fff;
	font-size: 0.85em;
	font-family: 'Dax';
}

#footerFlex
{
	display: flex;
	justify-content: center;
	align-items: center;
}

#footerFlex .footerFlexItem:nth-child(2)
{
	padding-left: 40px;
	margin-left: 40px;
	border-left: 1px solid rgba(255,255,255,0.3);
}

#footerLogo
{
	width: 150px;
	margin-bottom: -10px!important;
}

#copy
{
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-weight: 500;
	margin-bottom: 3px;
	display: block;
}

#footerList li
{
	display: block;
	list-style: none;
}

#footerList li a
{
	color: #fff;
	text-decoration: none;
	transition: all 0.2s;
	border-bottom: 1px solid transparent;
}

#footerList li a:hover
{
	border-bottom: 1px solid #fff;
}

.dividerImage
{
	height: 60vh;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	max-height: 600px;
}

.text p a, .text ul a, form a, #cookieNotice a
{
	color: var(--theme);
	text-decoration: none;
	border-bottom: 1px solid var(--theme);
	transition: all 0.2s;
}

.text p a:hover, .text ul a:hover, form a:hover, #cookieNotice a:hover
{
	color: var(--darktheme);
	border-bottom: 1px solid var(--darktheme);
}

#cookieNotice
{
	position: fixed;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	font-size: 0.85em;
	background-color: rgba(0,0,0,0.5);
	z-index: 500000;
	display: none;
	align-items: center;
	justify-content: center;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

#cookieBox
{
	padding: 34px 40px 40px 40px;
	max-height: calc(100vh - 80px);
	max-width: 430px;
	overflow: auto;
	display: block;
	margin: auto;
	position: relative;
	background-color: #fff;
}

#cookieBoxInner
{
	position: relative;
	z-index: 100;
}

#acceptWrap
{
	text-align: center;
}

#cookieCheckboxes
{
	margin-top: 1em;
	margin-bottom: 1em;
}

#cookieCheckboxes label
{
	position: relative;
	margin-right: 1.6em;
	padding-left: 1.8em;
	cursor: pointer;
	display: block;
	margin-top: 0.2em;
}

#cookieCheckboxes input
{
	position: absolute;
	left: 0;
	top: 53%;
	transform: translateY(-50%);
}

#accepted
{
	margin-top: 0.6em;
	cursor: pointer;
}

#socialMedia
{
	position: fixed;
	right: 0px;
	top: 55%;
	transform: translateY(-50%);
	z-index: 500;
	border-top: 1px solid #fff;
}

.social
{
	display: block;
	position: relative;
	text-decoration: none;
	color: #fff;
}

.socialImg
{
	display: block;
	width: 45px;
	height: 45px;
	background-size: 45%;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
	z-index: 10;
	background-color: var(--theme);
	border-left: 1px solid #fff;
	border-bottom: 1px solid #fff;
	transition: all 0.2s;
}

.social:hover .socialImg
{
	background-color: var(--darktheme);
}

.socialDescription
{
	position: absolute;
	height: calc(100% - 1px);
	white-space: nowrap;
	background-color: var(--theme);
	top: 0;
	right: 100%;
	display: flex;
	align-items: center;
	padding: 0.55em 1.2em 0.5em 1.2em;
	font-size: 0.85em;
	font-family: 'Dax';
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-weight: 300;
	right: -200px;
	transition: all 0.2s;
	opacity: 0;
}

.social:hover .socialDescription
{
	right: 45px;
	opacity: 1;
	background-color: var(--darktheme);
}

#callback
{
	background-image: url(callback.svg);
	background-size: 88%;
}

#termin
{
	background-image: url(termin.svg);
	background-size: 88%;
}

#instagram
{
	background-image: url(instagram.svg);
}

#facebook
{
	background-image: url(facebook.svg);
	background-size: 50%;
}

#houzz
{
	background-image: url(houzz.svg);
	background-size: 35%;
}

.dividerImg
{
	padding: 100px 0px;
	background-size: cover;
	background-position: center;
	position: relative;
}

.dividerImg .wrap
{
	z-index: 50;
}

.dividerImg:after
{
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background-color: rgba(0,0,0,0.2);
	color: #fff;
}

#headerSpace
{
	height: 120px;
}

#intro + .text
{
	margin-top: -70px;
}

.colored + .colored
{
	padding-top: 0;
	margin-top: -160px;
}

.persons
{
	display: flex;
	flex-wrap: wrap;
	width: calc(100% + 40px);
	margin-left: -40px;
	margin-bottom: -40px;
	margin-top: -60px;
}

.person
{
	width: calc(25% - 40px);
	margin-left: 40px;
	margin-bottom: 40px;
	text-align: center;
}

.withPersons + .text + .withPersons .person
{
	width: calc(25% - 40px);
	margin-left: 40px;
	margin-bottom: 40px;
	text-align: center;
}

.persons .person:nth-child(1), .persons .person:nth-child(2), .persons .person:nth-child(3)
{
	width: calc(33.3% - 40px);
}

.personImg
{
	padding-bottom: 100%;
	background-size: cover;
	background-position: top center;
	margin-bottom: 25px;
}

.person strong
{
	font-size: 0.8em;
	line-height: 1.4;
	display: inline-block;
	margin-bottom: 0;
}

.person h4 + p
{
	margin-top: 0;
}

.personEmail
{
	display: block;
	width: 40px;
	height: 40px;
	border-radius: 100px;
	background-color: var(--theme);
	background-image: url(mail.svg);
	background-size: 45%;
	background-position: center;
	background-repeat: no-repeat;
	display: block;
	margin: auto;
	margin-top: 12px;
	transition: all 0.2s;
}

.personEmail:hover
{
	background-color: var(--darktheme);
}

.text ul li
{
	position: relative;
	list-style: none;
	padding-left: 1.2em;
}

.text ul li:before
{
	content: "";
	position: absolute;
	width: 0.4em;
	height: 0.4em;
	left: 0;
	top: 0.69em;
	background-color: var(--theme);
}

.text ul li + li
{
	margin-top: 0.5em;
}

.categories
{
	display: flex;
	flex-wrap: wrap;
	width: calc(100% + 40px);
	margin-left: -40px;
	margin-bottom: -40px;
	margin-top: -60px;
}

.category
{
	width: calc(33.3% - 40px);
	margin-left: 40px;
	margin-bottom: 40px;
	text-align: center;
	text-decoration: none;
	color: #fff;
}

.categoryImg
{
	padding-bottom: 100%;
	background-size: cover;
	background-position: center;
	position: relative;
	margin-bottom: 25px;
}

.categoryDescription
{
	position: absolute;
	width: 100%;
	left: 0;
	top: 50%;
	transform: translateY(-50%) scale(0.6);
	z-index: 20;
	transition: all 0.5s;
	padding: 25px;
	font-weight: 300;
	opacity: 0;
	line-height: 1.6;
}

.categoryImg:after
{
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: 10;
	background-color: rgba(0,0,0,0.6);
	opacity: 0;
	transition: all 0.3s;
}

.category:hover .categoryImg:after
{
	opacity: 1;
}

.category:hover .categoryDescription
{
	opacity: 1;
	transform: translateY(-50%) scale(1);
}

.gallery
{
	display: flex;
	flex-wrap: wrap;
	width: calc(100% + 20px);
	margin-left: -20px;
	margin-bottom: -20px;
}

.galleryItem
{
	width: calc(50% - 20px);
	margin-left: 20px;
	margin-bottom: 20px;   
	cursor: zoom-in;
}

.galleryImg
{
	padding-bottom: 75%;
	background-size: cover;
	background-position: center;
}

.historyItem
{
	padding: 250px 0px;
	background-size: cover;
	background-position: center;
	position: relative;
	background-attachment: fixed;
}

.historyBox
{
	padding: 55px 60px;
	background-color: rgba(255,255,255,0.95);
	width: 100%;
	max-width: 680px;
	position: relative;
}

.historyItem .wrap
{
	z-index: 100;
}

.historyContent
{
	display: flex;
}

.history .historyItem:nth-child(2n) .historyContent
{
	flex-direction: row-reverse;
}

.withHistory
{
	margin: 0!important;
}

.historyImgMobile
{
	display: none;
}

.historyYear
{
	position: absolute;
	width: 180px;
	height: 155px;
	background-image: url(bubble.svg);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	top: calc(100% - 40px);
	right: 60px;
}

.historyYear h2
{
	position: absolute;
	left: 50%;
	top: 47.5%;
	transform: translate(-50%, -50%);
	color: #fff;
}

.colored + .dividerImage
{
	margin-top: -100px;
}

#form
{
	padding-top: 160px;
	margin-top: -210px;
}

form
{
	display: flex;
	flex-wrap: wrap;
	margin-left: -40px;
}

form div
{
	width: 50%;
	padding-left: 40px;
}

form label
{
	font-family: 'Dax';
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	display: block;
	color: var(--theme);
	margin-bottom: 0.1em;
}

input[type = "text"], input[type = "email"], textarea, button
{
	-webkit-appearance: none;
   	-moz-appearance: none;
   	appearance: none;
   	border-radius: 0px;
   	font-size: 1em;
   	width: 100%;
   	border: none;
   	font-family: 'Maven Pro';
   	line-height: 1.6;
   	color: var(--dark);
   	font-weight: 300;
   	background-color: transparent;
}

input, textarea
{
	color: var(--dark);
	margin-bottom: 1.2em;
	transition: border-color 0.2s;
}

input[type = "text"], input[type = "email"], textarea
{
	border: 1px solid rgba(0,0,0,0.15);
	padding: 0.5em 1.2em;
	background-color: #fff;
}

input:focus, textarea:focus
{
	border-color: rgba(0,0,0,0.4);
	outline: 1px solid rgba(0,0,0,0.4);
}

textarea
{
	height: 12em;
	resize: none;
	margin-bottom: 0.9em;
}

.alert.alert-danger ul:before
{
	content: "Folgende Fehler sind aufgetreten. Bitte überprüfen Sie Ihre Eingaben.";
	font-family: 'Dax';
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--theme);
	display: block;
}

.alert.alert-danger
{
	margin-bottom: 1.5em;
}

.alert.alert-danger ul li
{
	color: var(--theme);
}

.alert.alert-danger ul li + li
{
	margin-top: 0;
}

.alert.alert-danger ul li:before
{
	background-color: var(--theme);
}

.checkbox
{
	position: relative;
	padding-left: 1.5em;
	margin-left: 40px;
}

.checkbox label
{
	font-family: 'Maven pro';
	text-transform: none;
	letter-spacing: 0;
	color: var(--dark);
	font-weight: 300;
	cursor: pointer;
	text-transform: none;
	line-height: 1.6;
}

.checkbox input
{
	position: absolute;
	left: 0px;
	top: 0.61em;
	cursor: pointer;
}

#yform-formular-nachricht, #yform-formular-accept, #yform-formular-datum, .alert
{
	width: 100%;
}

button
{
	font-family: 'Dax';
	display: inline-block;
	line-height: 1.3;
	padding: 0.61em 1.2em 0.57em;
	background-color: var(--theme);
	color: #fff!important;
	border-bottom: none!important;
	letter-spacing: 0.04em;
	font-weight: 300;
	text-decoration: none;
	text-transform: uppercase;
	transition: all 0.2s;
	text-align: center;
	width: auto;
	cursor: pointer;
	margin-left: 40px;
	margin-top: 1.1em;
}

button:hover
{
	background-color: var(--darktheme);
}

#map
{
	position: relative;
	width: 100%;
	padding-bottom: 40%;
}

#drdsgvo_map_1
{
	position: absolute;
	height: 100%;
	width: 100%;
	left: 0;
	top: 0;
}

.text #map p a, .text #map ul a
{
	border-bottom: none!important;
}

.text #map ul li:before
{
	display: none;
}

.ol-control button
{
	background-color: var(--theme)!important;
}

.ol-control button:hover
{
	background-color: var(--darktheme)!important;
}

#map canvas
{
	filter: grayscale(1);
}

#opener + .dividerImage
{
	display: none;
}

.buttonArea p a
{
	margin-right: 1em;
	margin-bottom: 0.5em;
}

.buttonArea p
{
	margin-right: -1em;
	margin-bottom: -0.5em;
}

#opener.small
{
	margin-top: -120px;
}

.contentFlex
{
	display: flex;
	width: 100%;
}

.contentFlexItem
{
	width: 50%;
	position: relative;
	z-index: 5;
}

.contentFlex form div
{
	width: 100%;
}

.contentFlex #form
{
	padding-top: 160px;
	margin-top: -160px;
}

#opener + .colored
{
	margin: 0!important;
}

.contentFlex .contentFlexItem:nth-child(1):before
{
	content: "";
	position: absolute;
	width: 50vw;
	height: calc(100% + 200px);
	right: 0px;
	top: -100px;
	z-index: -1;
	background-color: #fff;
}

.contentFlex .contentFlexItem:nth-child(1)
{
	padding-right: 60px;
}

.contentFlex .contentFlexItem:nth-child(2)
{
	padding-left: 60px;
}

#opener + .colored + .dividerImage
{
	margin: 0!important;
}

.partners
{
	display: flex;
	flex-wrap: wrap;
}

.partner
{
	width: 20%;
	border: 1px solid var(--light);
}

.partnerImg
{
	padding-bottom: 100%;
	background-size: 65%;
	background-position: center;
	background-repeat: no-repeat;
	transition: all 0.3s;
	overflow: hidden;
}

.partner:hover .partnerImg
{
	transform: scale(1.1);
}

@media all and (max-width: 450px){
	#cookieBox
	{
		padding: 19px 25px 25px 25px;
	}
}

@media all and (max-width: 450px){
	.partner
	{
		width: 50%!important;
	}
}

@media all and (max-width: 600px){
	.person, .persons .person:nth-child(1), .persons .person:nth-child(2), .persons .person:nth-child(3), .withPersons + .text + .withPersons .person
	{
		width: calc(100% - 40px)!important;
	}
}

@media all and (max-width: 750px){
	h1
	{
		font-size: 2em!important;
	}

	h2
	{
		font-size: 1.6em!important;
	}

	h3
	{
		font-size: 1.25em!important;
	}

	h4
	{
		font-size: 1.05em!important;
	}

	#opener
	{
		height: 65vh!important;
	}

	.textFlexItem, .flexItem
	{
		width: calc(100% + 40px);
	}

	#news
	{
		columns: 1;
	}

	.dividerImage
	{
		height: 40vh!important;
		min-height: 200px;
	}

	.imgFlex
	{
		display: block;
	}

	.imgFlexItem
	{
		width: 100%!important;
		padding-top: 0!important;
	}

	.textBox
	{
		margin-top: 40px;
	}

	.textBox:before
	{
		width: 100%;
	}

	.flexButton
	{
		width: calc(100% - 40px);
		font-size: 1.05em!important;
	}

	#footerFlex
	{
		display: block;
	}

	#footerFlex .footerFlexItem:nth-child(2)
	{
		padding-left: 0;
		margin-left: 0;
		border-left: none;
	}

	#footerLogo
	{
		width: 100px;
		margin-bottom: 15px!important;
	}

	.category
	{
		width: calc(100% - 40px);
	}

	.categoryImg
	{
		padding-bottom: 50%;
	}

	.gallery
	{
		width: calc(100% + 10px);
		margin-left: -10px;
		margin-bottom: -10px;
	}

	.galleryItem
	{
		width: calc(50% - 10px);
		margin-left: 10px;
		margin-bottom: 10px;
	}

	.historyItem
	{
		background-image: none!important;
		padding: 0px!important;
	}

	.historyBox
	{
		max-width: 100%;
		padding: 40px 0px!important;
	}

	.historyImgMobile
	{
		display: block;
		width: 100%;
		margin-bottom: 0px;
	}

	.historyYear
	{
		width: 120px!important;
		height: 110px!important;
		top: auto!important;
		bottom: calc(100% - 30px);
		right: 40px;
	}

	form div
	{
		width: 100%;
	}

	textarea
	{
		height: 10em;
	}

	#map
	{
		padding-bottom: 65%!important;
	}

	.contentFlex
	{
		display: block;
	}

	.contentFlexItem
	{
		width: 100%!important;
	}

	.contentFlex .contentFlexItem:nth-child(1):before
	{
		height: calc(100% + 120px);
		width: 100vw;
		top: -60px;
		right: -40px;
	}

	.contentFlex .contentFlexItem:nth-child(1)
	{
		padding-right: 0px!important;
	}

	.contentFlex .contentFlexItem:nth-child(2)
	{
		padding-left: 0px!important;
	}

	.contentFlex #form
	{
		margin-top: 0!important;
		padding-top: 120px!important;
	}

	.partner
	{
		width: 33.3%;
	}
}

@media all and (max-width: 1000px){
	.person, .persons .person:nth-child(1), .persons .person:nth-child(2), .persons .person:nth-child(3), .withPersons + .text + .withPersons .person
	{
		width: calc(50% - 40px);
	}

	.personEmail
	{
		width: 35px;
		height: 35px;
	}

	.categoryDescription
	{
		font-size: 0.85em;
	}
}

@media all and (max-width: 1250px){
	#navigation
	{
		display: none;
		position: fixed;
		left: 0;
		top: 0;
		background-color: #fff;
		box-shadow: 0px 0px 40px rgba(0,0,0,0.05);
		width: 100%;
		max-height: 100vh;
		overflow: auto;
	}

	#navigation ul li ul, #header.scrolled #navigation ul li ul
	{
		position: relative;
		display: block;
		padding: 0;
		left: 0;
		top: auto;
		text-align: right!important;
		background-color: transparent;
		font-size: 0.85em;
		margin-top: 10px;
	}

	#navigation ul li ul li, #header.scrolled #navigation ul li ul li
	{
		margin-bottom: 0;
		text-align: right;
		right: 15px;
		margin-bottom: 3px;
	}

	#navigation ul li ul li a, #header.scrolled #navigation ul li ul li a
	{
		color: var(--dark)!important;
		padding: 0!important;
		opacity: 1;
	}

	#navigation ul li ul li a:hover, #header.scrolled #navigation ul li ul li a:hover, #navigation ul li.active ul li.active a
	{
		color: var(--theme)!important;
	}

	#navigation ul li ul li a:after
	{
		content: "-";
		margin-left: 8px;
	}

	#navigation ul
	{
		padding: 105px 40px 10px;
	}

	#navigation ul li, #header.scrolled #navigation ul li
	{
		display: block;
		margin-left: 0;
		padding: 0;
		margin-bottom: 15px;
	}

	#logo, #navOpener
	{
		z-index: 1500;
	}

	#navOpener
	{
		position: absolute;
		width: 28px;
		height: 20px;
		cursor: pointer;
		top: 50%;
		transform: translateY(-50%);
		right: 40px;
	}

	.line
	{
		position: absolute;
		width: 100%;
		height: 2.5px;
		background-color: #fff;
		transition: all 0.2s;
	}

	#navOpener.active .line, #header.scrolled #navOpener .line, #navOpener.subPage .line
	{
		background-color: var(--dark);
	}

	#navOpener .line:nth-child(1)
	{
		top: 0;
		left: 50%;
		transform: translateX(-50%);
	}

	#navOpener .line:nth-child(2)
	{
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
	}

	#navOpener .line:nth-child(3)
	{
		bottom: 0;
		width: 50%;
		right: 0;
	}

	#navOpener.active .line:nth-child(1)
	{
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%) rotate(45deg);
	}

	#navOpener.active .line:nth-child(2)
	{
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%) rotate(-45deg);
	}

	#navOpener.active .line:nth-child(3)
	{
		width: 0;
	}

	#header .wrap
	{
		height: 100px;
	}

	#opener.small
	{
		margin-top: -100px;
	}

	#logo, #header.scrolled #logo
	{
		padding: 10px 0px;
	}

	#socialMedia
	{
		top: 50%;
	}

	h1
	{
		font-size: 2.6em;
	}

	h2
	{
		font-size: 2em;
	}

	h3
	{
		font-size: 1.4em;
	}

	h4
	{
		font-size: 1.1em;
	}

	.text
	{
		margin: 60px 0px;
	}

	#openerContent
	{
		bottom: 60px;
	}

	.colored
	{
		padding: 60px 0px;
	}

	.dividerImg
	{
		padding: 60px 0px;
	}

	.withButton
	{
		margin-top: -40px;
	}

	.buttonArea
	{
		margin-top: 20px;
	}

	.textBox, .flexItem, .newsItem, .historyBox
	{
		padding: 35px 40px;
	}

	.newsContent
	{
		margin-top: 35px;
	}

	.imgFlex .imgFlexItem:nth-child(1)
	{
		padding-top: 40px;
	}

	#footer
	{
		padding: 60px 0px;
	}

	#footerLogo
	{
		width: 120px;
	}

	.flexButton
	{
		padding: 35px 40px;
		font-size: 1.2em;
	}

	.flexButtonContent
	{
		position: relative;
		z-index: 100;
		padding-left: 25px;
	}

	.flexButtonIcon
	{
		width: 110px;
		height: 110px;
		left: 8px;
	}

	#opener
	{
		height: 80vh;
		min-height: 350px;
	}

	.openerContent
	{
		top: 55%;
	}

	.dividerImage
	{
		height: 50vh;
		min-height: 200px;
	}

	.socialImg
	{
		width: 40px;
		height: 40px;
	}

	.social:hover .socialDescription
	{
		right: 40px;
	}

	#headerSpace
	{
		height: 75px;
	}

	#intro + .text
	{
		margin-top: -40px;
	}

	.colored + .colored
	{
		margin-top: -90px;
	}

	.persons, .categories
	{
		margin-top: -30px;
	}

	.historyItem
	{
		padding: 180px 0px;
	}

	.historyYear
	{
		width: 140px;
		height: 135px;
		top: calc(100% - 30px);
		right: 40px;
	}

	.colored + .dividerImage
	{
		margin-top: -60px;
	}

	#intro + .text.withNews, .withNews
	{
		margin-top: -70px;
	}

	#form
	{
		padding-top: 135px;
		margin-top: -165px;
	}

	#map
	{
		padding-bottom: 45%;
	}

	.contentFlex #form
	{
		padding-top: 135px;
		margin-top: -135px;
	}

	.contentFlex .contentFlexItem:nth-child(1):before
	{
		height: calc(100% + 120px);
		top: -60px;
	}

	.contentFlex .contentFlexItem:nth-child(1)
	{
		padding-right: 40px;
	}

	.contentFlex .contentFlexItem:nth-child(2)
	{
		padding-left: 40px;
	}
}

@media all and (min-width: 1251px){
	#navigation
	{
		display: block!important;
	}
}