@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: #ffffff;
    --headerBackgroundColor: #fff;
    --headerColor: #000;
    --aColor:#FFFFFF;
    --h1Color: #FFFFFF;
    --h2Color: #FFFFFF;
    --backToTop: rgba(0,0,0,0.8);
    --footerColor: #fff;
    --footerBackgroundColor: #7b7b7b;
    --LightBoxBackgroundColor: #053E6D;
    --LightBoxTextColor: #fff;
    --SeconNavBackgroundColor:rgba(255, 255, 255, 0.9);
    --SeconNavColor:#fff;
    --inputTextColor: #000;
    --inputBackgroundColor: #fff;
    --inputBorderColor: #053E6D;
}


/* --- 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: var(--fontFamily);
	font-size: var(--fontSize);
	background-color: #353535;
	color: var(--BodyColor);
    background-image: url("background.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

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: 1000px !important;
}

#main {
	min-height: 100%;
	position: relative;
}

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

#content h1 {
    font-size: clamp(20px, 4.20vw, 36px);
    color: var(--h1Color);
}

#content h2 {
    font-size: clamp(18px, 3vw, 26px);
    color: var(--h2Color);
}

#content h3 {
    font-size: clamp(16px, 2.77vw, 24px);
}

#content {
	font-size: 110%;
}

#content div.ext_FormBuilder textarea,
#content div.ext_FormBuilder input,
#content input[type=text] {
    border: 0px;
    background-color: #fff;
    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;
}

#header {
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
	hieght:100px;
    z-index: 3;
    background-color:  transparent;
    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:-250px;
}

#header.second.down {
	top: -200px;
}

#HeaderExtnsion {
	padding-top: 100px;
	position: relative;
	z-index: 1;
}

#Logo {
    position: absolute;
    display: block;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
}

#Logo img {
    height: 145px;
}

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


#header div#menu a{
    font-size: 16pt;
    color: #FFF;
}

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 {
    width: 100%;
    display: inline-block;
    margin: 180px 0 0 0;
    padding: 0;
    top: 0;
}

#menu ul.menu li a {
    color: var(--aColor);
}

#content {
    padding: 154px 0 329px 0;
    z-index: 1;
    position: relative;
    /*height: auto;*/
}

#content .profilCard {
    transition: .5s /* Die Drehung soll 0,5 Sekunden dauern */;
    transform-style: preserve-3d; /* Kind-Elemente  (.front + .back) sollen ihre 3D-Eigenschaften behalten*/
    position: relative;
    perspective: 1500px;
    text-align: center;
    cursor: pointer;
}

#content .profilCard.backside {
    transform: rotateY(180deg);
}


#content .profilCard .CMSimage,
#content .profilCard .CMStext,
#content .profilCard .text,
#content .profilCard .image{
    backface-visibility: hidden; /* Die Rückseite von Elementen soll unsichtbar sein */;
}


#content .profilCard .CMStext,
#content .profilCard .text{
    position: absolute;
    top: 111px;
    left: 50%;
    transform: translatex(-50%) rotateY(180deg);
    padding: 10px;
    text-align: center;
    display: block;
    background-color: rgba(0, 0, 0, 0.50);
    border-radius: 20px;
    z-index: 1;
}

#content .profilCard .CMSimage,
#content .profilCard .image{
    z-index: 2;
}

/*#content .profilCard .text::before{*/
/*    content: '';*/
/*    position: absolute;*/
/*    left: 0;*/
/*    top: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    background-color: rgba(0, 0, 0, 0.68);*/
/*    z-index: -1;*/
/*}*/

#content .profilCard .CMStext table,
#content .profilCard .text table{
    text-align: left;
    margin: 0 auto;
    display: block;
    width: 98% !important;
}

#content .profilCard .CMStext table tr th,
#content .profilCard .CMStext table tr td,
#content .profilCard .text table tr th,
#content .profilCard .text table tr td{
    padding: 5px;
}

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

#FooterWrapper::after{
    content: 'Copyright by Sachverständige 2022';
    color: #FFF;
    position: absolute;
    bottom: -48px;
    left: 50%;
    transform: translateX(-50%);
}

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

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

#footer a {
	color: #fff;
}

#footer b {
	font-weight: bold;
}

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

#footer > div.Adress {
}

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

.Referenzen2grid .container .grid-item{
    z-index: 1;
}

.Referenzen2grid .container .grid-item:nth-child(4n + 1) {
    border-radius: 40px 0 0 0;
}

.Referenzen2grid .container .grid-item:nth-child(4n + 2) {
    border-radius: 0 40px 0 0;
}

.Referenzen2grid .container .grid-item:nth-child(4n + 3) {
    border-radius: 0 0 0 40px;
}

.Referenzen2grid .container .grid-item:nth-child(4n) {
    border-radius: 0 0 40px 0;
}

.Referenzen2grid .container .grid-item:nth-child(2n + 1) {
    margin-right: 20px;
}

.weisserHintergrund:before {
    content: '';
    position: absolute;
    background-image: url("lg.png");
    background-repeat: no-repeat;
    background-size: contain;
    width: 30%;
    top: -40%;
    aspect-ratio: 1/1;
}

.wasserzeichen {
    min-height: 370px;
    background-color: white;
    margin-bottom: 300px;
    margin-top: 5%;
}

.wasserzeichen:before {
    content: '';
    position: absolute;
    background-image: url("lg.png");
    background-repeat: no-repeat;
    background-size: contain;
    width: 30%;
    top: -40%;
    aspect-ratio: 1/1;
}


input[type="text"], input[type="password"], input[type="email"], textarea, select, legend {
    width: 100%;
    display: block;
}



#content .ext_Referenzen_Mansonry .grid-item:hover h2{
    justify-content: center;
    align-items: center;
    font-size: 30px;
    text-transform: uppercase;
    font-weight: bold;
    color: #FFF;
}


#footerLg {
    float: right;
    display: flex !important;
}

#footerLg img {
    height: 80%;
    margin-right: 0px;
}

.menu-icon{
    right: 20px;
    left: unset;
}

main {
    height: unset;
}

.RefSingle{
    background-color: transparent;
}

/* ****************
 * 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: 100%;
    }
    
    #footer > div:last-child {
        width: 100%;
    }
    
    #footer img {
        height: 60px;
    }

    #Logo {
        top: 20px;
        left: 0px;
        transform: unset;
    }

    #Logo img {
        height: 60px;
    }

    nav.main {
        margin: 0 0 0 0;
        position: fixed;
        left: 0;
        top: 7px;
    }

    #header ul.menu.display{
        background-color: rgba(0, 0, 0, 0.8);
    }

    #header ul.menu.display li a{
        border-top: 1px solid rgba(249, 249, 249, 0.5);
    }

    #footer ul.menu li a {
        padding: 0px 0px !important;
    }

    #FooterWrapper {
        height: 210px;
    }

    #content{
        padding: 0;
    }

    #content .profilCard .CMStext, #content .profilCard .text{
        width: 100%;
    }

    div.ext_News div.nwMain{
        column-count: 1;
    }

    #content .ext_Referenzen_Mansonry .grid-item:hover h2{
        font-size: 12px;
        word-break: break-all;
    }

    #content .weisserHintergrund::before,
    #content .wasserzeichen::before{
        width: 75%;
    }

}

@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: 90%; }
	.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;
	}

    #footer > div {
        display: block;
        text-align: center;
        width: 75%;
        margin: 10px auto;
    }
}
