@charset "utf-8";
@font-face {
    font-family: 'open_sansregular';
    src: url('opensans-regular-webfont.woff2') format('woff2'),
         url('opensans-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

:root {
    --fontFamily:"open_sansregular", "Open Sans", sans-serif;
    --fontSize:15px;
    --BodyBackgroundColor: #fff;
    --BodyColor: #494949;
    --headerBackgroundColor: #486173;
    --headerColor: #858585;
	--mainColor: #486173;
    --aColor:#afa679;
    --h1Color: #afa679;
    --h1ColorB: #494949;
    --h2Color: #afa679;
    --h2ColorB: #494949;
    --backToTop: rgba(72, 97, 115, 0.9);
    --footerColor: #fff;
    --footerBackgroundColor: #486173;
    --LightBoxBackgroundColor: #486173;
    --LightBoxTextColor: #fff;
    --SeconNavBackgroundColor:rgba(72, 97, 115, 0.9);
    --SeconNavColor:#fff;
    --inputTextColor: #494949;
    --inputBackgroundColor: #fff;
    --inputBorderColor: #486173;
}


/* --- Allgemeine Definitionen -- */
html, body::before {
	min-height:100%;
	height: 100%;
}

html {
	height: 100%;
}

body {
	margin: 0px;
	padding: 0px;
	min-height:100%;
	line-height: 1.5;
	font-family: var(--fontFamily);
	font-size: var(--fontSize);
	background-color: var(--BodyBackgroundColor);
	color: var(--BodyColor);
}

a {
	color:var(--aColor);
}

a.underline {
    position: relative;
    display: inline-block;
    -webkit-transition-property:   color;
	-moz-transition-property:  color;
	 -ms-transition-property:  color;
	  -o-transition-property:  color;
	     transition-property:  color;
	-webkit-transition-duration: 0.25s;
	-moz-transition-duration: 0.25s;
	 -ms-transition-duration: 0.25s;
	  -o-transition-duration: 0.25s;
	     transition-duration: 0.25s
}

a.underline:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--aColor);
    left: 0;
    bottom: 0;
    z-index: -1;
    
    -webkit-transition-property: height;
	-moz-transition-property: height;
	 -ms-transition-property: height;
	  -o-transition-property: height;
	     transition-property: height;
	-webkit-transition-duration: 0.25s;
	-moz-transition-duration: 0.25s;
	 -ms-transition-duration: 0.25s;
	  -o-transition-duration: 0.25s;
	     transition-duration: 0.25s
}

a:hover {
	/* text-decoration: underline; */
	cursor: pointer;
}

a.underline:hover {
    height: 100%;
    color:#fff;
}

.underline:hover::after {
    height: 100%;
}

.blur {
    filter: blur(0px);
}

video {
	max-width:100%;
}

.sl-overlay {
    background: var(--LightBoxBackgroundColor);
    opacity: 0.9;
}
.sl-wrapper .sl-close,
.sl-wrapper .sl-navigation button,
.sl-wrapper .sl-navigation button.sl-prev,
.sl-wrapper .sl-next,
.sl-wrapper .sl-prev {
    color: var(--LightBoxTextColor);
    font-size: 40px;
}

 /* e3e4e6 */

.backToTop {
	background-color: var(--backToTop) !important;
}

.col_4_4 {
    max-width: 1200px !important;
}

#main {
	min-height: 100%;
	min-height: 100vh;
	position: relative;
}

#HeaderExtnsion .ext_SlickMultiSlider{
	margin-top: 99px;
}

main#content {
	box-shadow: 0 0 0 transparent;
}

#content h1 {
	font-size: 250%;
    color: var(--h1Color);
	font-style: italic;
}

#content h1 u,
#content h1 b {
	text-decoration: none;
    color: var(--h1ColorB);
}

#content h2 {
	font-style: italic;
	font-size: 200%;
    color: var(--h2Color);
}

#content h2 u,
#content h2 b {
	text-decoration: none;
	color: var(--h2ColorB);
}

#content h3 {
	font-size: 150%;
}

#content {
	font-size: 110%;
}

#content div.ext_FormBuilder textarea,
#content div.ext_FormBuilder input,
#content input[type=text] {
	border: 3px solid var(--inputBorderColor);
    background-color: var(--inputBackgroundColor);
    color: var(--inputTextColor);
    font-size: 95%;
    font-weight: normal;
}

#content input[type=submit] {
	color:#004f91;
}

#content input[type=submit]:hover {
	background-color: var(--inputTextColor) !important;
	color:#fff;
	cursor: pointer;
}

#content .feeld {
    margin-left: 0;
    padding-left: 0;
}

#content .CMS.image {
	text-align: center;
}

#content #FormBuilder0,
#content #FormBuilder1,
#content #FormBuilder2,
#content #FormBuilder3 {
	width: 50%;
    float: left;
}

#content #FormBuilder4 {
    clear: both;
}

#content .SlickSlide.Slider .Slide {
	max-height: 100vh;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	justify-items: center;
	align-content: center;
	align-items: center;
}


.SlickSlide.Slider .slick-slide {
	animation: animatedBackground 40s linear infinite alternate;
}

.SlickSlide.Slider .slick-slide .info {
	animation: animatedAntiBackground 40s linear infinite alternate;
}

@keyframes animatedBackground {
	0% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.05);
	}
	100% {
		transform: scale(1);
	}
}
@keyframes animatedAntiBackground {
	0% {
		transform: scale(1);
	}
	20% {
		transform: scale(0.95);
	}
	100% {
		transform: scale(1);
	}
}

#content .CMSimage {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-content: initial;
}

#header {
	background-color: white;
	border-top: 34px solid #486173;
    text-align: right;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
	min-height:150px;
    z-index: 3;
    color:  var(--headerColor);
	
	-webkit-transition-property: top;
	-moz-transition-property: top;
	 -ms-transition-property: top;
	  -o-transition-property: top;
	     transition-property: top;
	-webkit-transition-duration: 0.25s;
	-moz-transition-duration: 0.25s;
	 -ms-transition-duration: 0.25s;
	  -o-transition-duration: 0.25s;
	     transition-duration: 0.25s
	     
}


#header .help {
	font-style: italic;
}

#header .help a {
	font-style: normal;
	font-weight: bold;
	color: var(--headerColor);
}

#header.up {
	top: -120px;
}

#HeaderExtnsion {
	padding-top: 172px;
	position: relative;
	z-index: 1;
}

#Logo {
    /*position: absolute;*/
    /*display: block;*/
	/*top: 10px;*/
}

#Logo img {
    height: 60px;
}

/* **************
 * Menü Animation
 * START
 * **************/
#MenuButton {
    position: relative;
	position: absolute;
    display: inline-block;
    height: 50px;
    width: 50px;
    margin: 0;
    padding: 0;
    background-color: transparent;
    cursor: pointer;
    top: 3px;
	right: 25px
}

#MenuButton {
	z-index:20;
}

#MenuButton .line {
	position: relative;
	height: 4px;
	width: 80%;
	right: -10%;
	border-radius: 2px;
	background-color: var(--aColor);
	-webkit-transition-property: all;
	-moz-transition-property: all;
	 -ms-transition-property: all;
	  -o-transition-property: all;
	     transition-property: all;
	-webkit-transition-duration: 0.25s;
	-moz-transition-duration: 0.25s;
	 -ms-transition-duration: 0.25s;
	  -o-transition-duration: 0.25s;
	     transition-duration: 0.25s
}

#MenuButton .line.top {
	top:12px;
}
#MenuButton .line.middle {
	top:19px;
}
#MenuButton .line.bottom {
	top:26px;
}


#MenuButton:hover .line.top {
	width: 78%;
	right: -12%;
}
#MenuButton:hover .line.middle {
	width:65%;
	right: -25%;
}
#MenuButton:hover .line.bottom {
	width:70%;
	right: -20%;
}

#MenuButton.close .line.bottom,
#MenuButton.close .line.middle,
#MenuButton.close .line.top {
	transform: rotate(45deg);
	top: 22px;
	width: 90%;
	left: 3px;
}
#MenuButton.close .line.middle {
	top: 18px;
}
#MenuButton.close .line.bottom {
	transform: rotate(-45deg);
	top: 15px;
}

nav.second {
	opacity:0.2;
	overflow:hidden;
	
    height: 100vh;
    display: table;
    position: fixed;
    top: 0;
    right: 0;
    width: 0vw;
    
    overflow: hidden;
    z-index: 10;
    background-color: var(--SeconNavBackgroundColor);
	
	-webkit-transition-property: all;
	-moz-transition-property: all;
	 -ms-transition-property: all;
	  -o-transition-property: all;
	     transition-property: all;
	-webkit-transition-duration: 0.25s;
	-moz-transition-duration: 0.25s;
	 -ms-transition-duration: 0.25s;
	  -o-transition-duration: 0.25s;
	     transition-duration: 0.4s
}

nav.second .TableCell {
    display: none;
}

nav.second.open {
	backdrop-filter: blur(20px);
	width: 100vw;
	opacity: 1;
	background-image: url(logo.png);
	background-position: center calc(100vh - 50px);
	background-repeat: no-repeat;
	background-size: 40%;
}

nav.second.open .TableCell {
    display: table-cell;
}

footer ul.menu li a,
nav ul.menu li a  {
    letter-spacing: normal;
}

footer ul.menu li.active a,
nav ul.menu li.active a  {
    letter-spacing: normal;
}

/* nav.second ul.menu { */
nav.second .TableCell {
    vertical-align: middle;
    text-align: center;
}

nav.second .TableCell > div:first-child {
	display: none;
}

nav.second ul.menu li {
    display: block;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 5px;
    margin-bottom: 0;
}

nav.second ul.menu li a {
    font-size: 23px;
    max-width: 600px;
    margin: 0 auto;
	padding: 8px;
}

#menu nav.second ul.menu li a:hover,
#menu nav.second ul.menu li.active a {
	background-color:var(--aColor);
	color:var(--SeconNavColor);
}

/* **************
 * Menü Animation
 * ENDE
 * **************/
nav.main {
    display: inline-block;
    margin: 0;
    padding: 0;
    top: 0;
}

#menu ul.menu li a {
    color: var(--aColor);
}

#content {
    padding-bottom: 166px;
    z-index: 1;
    position: relative;
    height: auto;
}


#FooterWrapper {
	background-color: var(--footerBackgroundColor);
	color:var(--footerColor);
	position: absolute;
	width: 100%;
	bottom: 0;
	height: 166px;
	z-index: 2;
	font-weight: normal;
}

#footer {
	text-align: left;
	padding-top: 25px;
	padding-bottom: 25px;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	align-content: baseline;
	justify-content: space-between;
}

#footer h3 {
	color: var(--h2Color);
	font-size: 22px;
	font-style: italic;
}

#footer > div{
	display: inline-block;
	width: 49%;
}

#footer a {
	color: #fff;
}

#footer b {
	font-weight: normal;
}

#footer img {
	height: 80px;
	margin-right: 50px;
}

#footer > div.Adress {
}

#footer .Footer {
	text-align: right;
}

#footer .Footer a {
	font-weight: bold;
	display: inline-block;
	margin-top: 5px;
}

#footer ul.menu li {
	margin: 0px;
	padding: 0px 10px;
	border-right: 1px solid var(--footerColor);
}

#footer ul.menu li:last-child {
	padding-right: 0;
	border: none;
}

#footer ul.menu li:last-child a {
	margin-right: 0;
}

#footer ul.menu li a {
	padding: 0;
	margin: 0;
}

.ext_SlideJS .info {
    max-width: 33%;
}


#header .headnav{
	text-align: left;
}

#header .headnav.col_4_4 {
	min-height: 50px;
}

#header .headnav ul.menu{
	margin-left: -20px;
}

#header .headnav ul.menu li{
	padding: 0;
}


#header .headnav ul.menu li a{
	font-size: 16px;
}

#header .headnav ul.menu li:hover::before,
#header .headnav ul.menu li.active::before{
	content: '';
	margin: -10px auto -5px auto;
	width: calc(100% - 20px);
	height: 5px;
	background-color: #afa679;
	display: block;
}

#header .logoline.col_4_4 {
	margin-top: 10px;
	min-height: 63px;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

#header .mainNavLine {
	background-color: #afa679;
	height: 2px;
	margin-top: 10px;
}

.ext_SlickMultiSlider{
	margin-bottom: -5px;
}

/* ****************
 * Browser Theme
 * ****************/
/*@media (prefers-color-scheme: dark) {*/
/*    :root {*/
/*        --BodyBackgroundColor: #333;*/
/*        --BodyColor: #fff;*/
/*        --headerBackgroundColor: #404040;*/
/*        --headerColor: #fff;*/
/*        --aColor:#fff;*/
/*        --h1Color: #fff;*/
/*        --h2Color: #fff;*/
/*        --backToTop: #004f91;*/
/*        --footerColor: #fff;*/
/*        --footerBackgroundColor: #404040;*/
/*        --LightBoxBackgroundColor: #404040;*/
/*        --LightBoxTextColor: #fff;*/
/*        --SeconNavBackgroundColor:rgba(50, 50, 50, 0.9);*/
/*        --SeconNavColor:#053E6D;*/
/*    }*/
/*	*/
/*}*/

@media (prefers-color-scheme: light) {
}

@media only screen and (max-width: 1024px) {
    .ext_SlideJS .info {
        top: 20%;
        max-width: 33%;
    }
}

@media only screen and (min-width: 900px) {
	#MenuButton {
		display: none;
	}
}

@media only screen and (max-width: 900px) {
	#header .menu-icon {
		display: none;
	}

	#header .headnav ul.menu li:hover::before,
	#header .headnav ul.menu li.active::before {
		display: none;
	}


	nav.second .TableCell > div:first-child {
		display: block;
		position: relative;
		height: auto;
		overflow: visible;
		width: 100%;
	}

	#content h1,
	#content h2 {
		font-size: 120%;
	}

	#header .TableCell ul.menu {
		display: block !important;
		position: relative;
		height: auto;
		width: 100%;
		top: auto;
		overflow: visible;
		opacity: 1;
	}
    
    
    #header.second #Logo img {
        height: 37px;
    }
    
    #header.second #MenuButton {
        top: 3px;
    }
    
    footer ul.menu li {
        padding: 0;
    }


    #footer > div{
		width: calc(100% - 50px);
		width: calc(50% - 50px);
    }

	#footer .Footer {
		text-align: center;
	}

	#footer ul.menu {
		margin: 0;
		padding: 0;
	}

	#footer ul.menu li {
		padding: 0;
		border-right: 0px solid var(--footerColor);
	}

	#footer ul.menu li a {
		padding: 5px !important;
	}

	#footer .Footer a {
		margin-top: 21px;
	}
    
    #footer img {
        height: 60px;
    }
}

@media only screen and (max-width: 700px) {
	.img { max-width: 100%; }
	.col_4 {  margin: 1% 0 1% 0%; }
	.col_1_4, .col_2_4, .col_3_4, .col_4_4 { width: 100%; }
	.backgroundImage { background-size:cover; background-position:center; background-attachment: inherit;}
	.width50 { width:95%; float:none; margin-right:1.8%;}
	.width25 { width:95%; margin-left:1.8%; float:none; text-align: center}
	.width33 { width:95%; margin-left:1.8%; float:none;}
	.width75 { width:95%; margin-left:1.8%; float:none;}

	#header .logoline.col_4_4 {
		justify-content: center;
	}

	#header .logoline.col_4_4 > * {
		min-width: 80%;
		text-align: center;
	}

	#header .logoline #Logo img {
		max-width: 80%;
		height: auto;
	}

	#menuWrapper ul.menu {
		display: none;
	}
    
    .ext_SlideJS .info {
        top: 10%;
        max-width: 80%;
    }

	#header.up {
		top: -166px;
	}

    #Logo {

    }
    
    #header.second #MenuButton {
        right: 25px;
    }
    
	#menuWrapper ul.menu {
		display: none;
	}
    
    #content {
		padding-bottom: 277px;
    }

	#content img.CMSimage,
	#content img.image {
		width: auto;
	}

	#content .text {
		max-width: calc(100% - 50px);
	}

	#content .CMSimage {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: center;
		text-align: center;
	}

	#content .ImageWrapper {
		min-width: auto;
	}

	.SlickSlide .info span {
		font-size: 22px;
		text-align: center;
	}

	.ButtonStyle {
		text-align: center;
	}

	.BildOverlay .ImageWrapper img {
		margin-bottom: 0px !important;
	}

	.SlickSlide .zusatzText {
		font-size: 15px;
		text-align: center;
	}

	#FooterWrapper {
		height: 280px;
	}
    
    #footer > div {
        display: block;
        text-align: center;
		width: calc(100% - 50px);
        margin: 10px auto;
    }

	@keyframes animatedBackground {
		0% {
			background-size: cover;
		}
		100% {
			background-size: cover;
		}
	}
}
