@charset "utf-8";
@font-face {
    font-family: 'Oswald-Light';
    src: url('Oswald-Light.woff2') format('woff2'),
        url('Oswald-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Oswald';
    src: url('Oswald-Regular.woff2') format('woff2'),
        url('Oswald-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


:root {
    --BodyBackgroundColor: #fff;
    --BodyColor: #000;
    --headerBackgroundColor: #fff;
    --headerColor: #000;
    --aColor:#000;
    --h1Color: #000;
    --h2Color: #000;
    --h3Color: #6a6a6a;
    --backToTop: rgba(0,0,0,0.8);
    --footerColor: #fff;
    --footerBackgroundColor: #000;
    --LightBoxBackgroundColor: #6a6a6a;
    --LightBoxTextColor: #fff;
    --SeconNavBackgroundColor:rgba(255, 255, 255, 0.9);
    --SeconNavColor:#fff;
    --inputTextColor: #000;
    --inputBackgroundColor: #fff;
    --inputBorderColor: #6a6a6a;
    --AdminBackgroundColor: rgba(232, 232, 232, 0.9);
}


/* --- Allgemeine Definitionen -- */
html, body {
	min-height:100%;
	height: 100%;
}

html {
	height: 100%;
}

body {
	margin: 0px;
	padding: 0px;
	min-height:100%;
	line-height: 1.5;
	font-family: "Oswald-Light", "Open Sans", sans-serif;
	font-size: 15px;
	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(15px);
}

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%;
	position: relative;
}

header.sticky {
    position: fixed;
}


#HeaderBlack {
    background-color: #000;
        height: 100px;
    padding-top: 31px;
}

#HeaderBlack .col_4_4 {
    display: flex;
}

#HeaderBlack .col_4_4 {
    display: flex;
    text-align: right;
    flex-direction: row-reverse;
}

#HeaderBlack .col_4_4 a {
    margin: auto 15px;
}

#HeaderBlack.marginTop {
    margin-top: 100px;
}

main#content {
	box-shadow: 0 0 0 transparent;
}

#content h1 {
	font-size: 300%;
    font-weight: normal;
    color: var(--h1Color);
    margin-top: 50px;
    margin-bottom: 5px;
}

#content h2 {
	font-size: 250%;
    font-weight: normal;
    color: var(--h2Color);
    margin-top: 35px;
    margin-bottom: 5px;
}

#content h3 {
	font-size: 200%;
    font-weight: normal;
    color: var(--h3Color);
}

.backgroundImage h1,
.backgroundImage h2,
.backgroundImage h3,
.backgroundImage h4 {
    background-color: #fff;
    display: table;
    padding: 3px 40px 3px 10px;
}

.backgroundImage p {
    background-color: #fff;
    color: #000;
    padding: 3px 10px;
    margin-top: 5px;
}

#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 #FormBuilder0,
#content #FormBuilder1,
#content #FormBuilder2,
#content #FormBuilder3 {
	width: 50%;
    float: left;
}

#content #FormBuilder4 {
    clear: both;
}

#content .minHight90vh {
    display: flex;
}

#content .minHight90vh .CMS {
    margin: auto;
}

#content .minHight90vh .AdminWrapper {
    display: block;
    position: relative;
    flex: content;
}

#content ul {
    margin-left: 0px;
    padding-left: 20px;
    margin-bottom: 10px;
}

#header {
    text-align: right;
    /* position: fixed; */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    background-color:  var(--headerBackgroundColor);
    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.up {
	top:-100px;
}

#HeaderExtnsion {
	position: relative;
	z-index: 1;
}

#HeaderExtnsion img {
    margin-bottom: -6px;
}

#Logo {
    position: absolute;
    display: block;
	top: 10px;
}

#Logo img {
    height: 60px;
}

/* **************
 * Menü Animation
 * START
 * **************/
#MenuButton {
    position: relative;
    display: inline-block;
    height: 50px;
    width: 50px;
    margin: 0;
    padding: 0;
    background-color: transparent;
    cursor: pointer;
    top: 19px;
}

#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.main > div {
    top: 25px;
}

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 {
	
	width: 100vw;
	opacity: 1;
}

nav.second.open .TableCell {
    display: table-cell;
}

ul.menu li a {
    font-size: 20px;
    cursor: pointer;
}

footer ul.menu li a,
nav ul.menu li a  {
    letter-spacing: normal;
}

nav ul.menu li.expand a,
nav ul.menu li a:hover,
footer ul.menu li.active a,
nav ul.menu li.active a  {
    letter-spacing: normal;
    border-bottom: 5px solid #000;
    padding-bottom: 11px;
}

ul.menu li ul {
    left: 0;
    top: 200px;
    background-color: #fff;
}

ul.menu li ul li a {
    color:#fff;
}

nav ul.menu li ul:before {
    content: "";
    position: absolute;
    height: 20px;
    width: 20px;
    top: -10px;
    left: 25px;
    background-color: #fff;
    opacity: 0;
    transform: rotate(45grad);
    
    -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 ul.menu li:hover ul:before {
    opacity: 1;
}

nav ul.menu li:hover ul {
    top: 61px;
    bottom: auto;
    background-color: #fff;
    left: 0;
    width: 200px;
    borber: none !important;
    box-shadow: 0px 0 25px rgba(0,0,0,0.5);
    text-align: left;
}

nav ul.menu li ul li {
    border: none;
    padding: 0;
    margin: 0;
}

nav ul.menu li:hover ul li a {
    border: none;
    padding: 0;
    margin: 0;
    padding: 8px 23px;
    margin-bottom: 5px;
}

nav ul.menu li:hover ul li.expand a,
nav ul.menu li:hover ul li.active a,
nav ul.menu li:hover ul li a:hover {
    border-left: 5px solid #000;
}

/* 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: 200px;
    z-index: 1;
    position: relative;
    height: auto;
}


#FooterWrapper {
	background-color: var(--footerBackgroundColor);
	color:var(--footerColor);
	position: absolute;
	width: 100%;
	bottom: 0;
	height: 100px;
	z-index: 2;
	font-weight: normal;
}

#footer {
	text-align: left;
	padding-top: 25px;
	padding-bottom: 25px;
    height: 100px
}

#footer > div,
#footer > img {
	display: inline-block;
	width: 49%;
}

#footer a {
	color: #fff;
}

#footer b {
	font-weight: bold;
}

#footer img {
	margin-right: 50px;
}

#footer .image {
    text-align: right;
}

#footer > div.Adress {
}

.ext_SlideJS .info {
    max-width: 33%;
}

.ContentAdmin {
    background-color: var(--AdminBackgroundColor);
}

/* ****************
 * 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;
	}
	
	nav.second .TableCell > div:first-child {
		display: block;
		position: relative;
		height: auto;
		overflow: visible;
		width: 100%;
	}
	
	#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: 5px;
    }
    
    footer ul.menu li {
        padding: 0;
    }
    
    #footer > div:first-child {
        width: 25%;
    }
    
    #footer > div:last-child {
        width: 40%;
    }
    
    #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;}
	
	#menuWrapper ul.menu {
		display: none;
	}
    
    .ext_SlideJS .info {
        top: 10%;
        max-width: 80%;
    }
    
    #Logo {
        left:25px;
    }
    
    #header.second #MenuButton {
        right: 25px;
    }
    
	#menuWrapper ul.menu {
		display: none;
	}
    
    #content {
        padding-bottom: 450px;
    }
    
    #FooterWrapper {
        height: 422px;
    }
    
    #footer > div {
        display: block;
        text-align: center;
        width: 75%;
        margin: 10px auto;
    }
}
