@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: #252525;
    --BodyColor: #FFF;
    --headerBackgroundColor: #252525;
    --headerColor: #000;
    --aColor:#fff44a;
    --h1Color: #fff44a;
    --h2Color: #fff44a;
    --backToTop: rgba(0,0,0,0.8);
    --footerColor: #000;
    --footerBackgroundColor: #dedede;
    --LightBoxBackgroundColor: #fff44a;
    --LightBoxTextColor: #fff;
    --SeconNavBackgroundColor:rgba(85, 82, 82, 0.9);
    --SeconNavColor:#000;
    --inputTextColor: #000;
    --inputBackgroundColor: #fff;
    --inputBorderColor: #fff44a;
}


#content .ext_Referenzen_Mansonry .RefSingle .ext_SlideJS a.slidesjs-navigation,
#content .ext_Referenzen_Mansonry .grid-item .ext_SlideJS a.slidesjs-navigation{
    height: 30px !important;
    width: 30px !important;
}




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

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(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;
}

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

#content h1 {
	font-size: 250%;
    color: var(--h1Color);
}

#content h2 {
    font-size: 150%;
    color: var(--h2Color);
}

#content h3 {
	font-size: 130%;
}

#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:#E8DB1B;
}

#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;
}

#header {
    text-align: right;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
	hieght:100px;
    z-index: 3;
    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 {
	padding-top: 100px;
	position: relative;
	z-index: 1;
}

#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.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;
}

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  {
    font-weight: bold;
    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: 200px;
    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: center;
	padding-top: 15px;
	padding-bottom: 15px;
}

#footer > div,
#footer > img {
	display: block;
	width: 100%;
}


#footer a {
	color: #000;
}

#footer b {
	font-weight: bold;
}

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

#footer > div.Adress {
}

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

#content .ext_Referenzen_Mansonry .grid-item{
    margin-bottom: 20px;
}

#content .ext_Referenzen_Mansonry .grid-item.light{
    background-color: #dedede;
}

#content .ext_Referenzen_Mansonry .grid-item.light h2 span,
#content .ext_Referenzen_Mansonry .grid-item.light h2{
    color: #0e0e0e;
}

#content .ext_Referenzen_Mansonry .grid-item:nth-child(2n+1){
    background-color: #252525;
}

#content .ext_Referenzen_Mansonry .grid-item:nth-child(2n+1) h2,
#content .ext_Referenzen_Mansonry .grid-item:nth-child(2n+1) h2 span{
    color: #fff44a;
}


/* ****************
 * 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 (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;
    }
}
