@font-face {
	font-family: 'Exo';
	src: url('fonts/Exo-Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Exo';
	src: url('fonts/exo.demi-bold.otf') format('opentype');
	font-weight: bold;
	font-style: normal;
}


@media (min-width: 1000px) {
	.desktop-nowrap {
		white-space: nowrap;
	}
}


img {
border: 0;
display: block;
}

form {
margin: 0;
padding: 0;
}

table, td, input, textarea, select {
font-family: inherit;
font-size: 1em;
}

p {
line-height: 150%;
margin:0;
padding: 8px 0 8px 0;
text-align: justify;
}
html {
	background-color: #24353a;
}
body {
margin: 0;
padding: 0;
font-family: 'Exo', sans-serif;
font-size: 14px;
	background-color: #24353a;
color: #000;
text-align: center;
-webkit-text-size-adjust:none;
}

#content a,
#listcontent a {
	color: inherit;
}
#content a:hover,
#listcontent a:hover {
	color: #f07d00;
}



#head-text {
	position: absolute;
	right: 0px;
	bottom: 44px;
	font-size: 1.4em;
	text-align: right;
	user-select: none;
	pointer-events: none;
	font-weight: bold;
}
#head-text span {
	background-color: #f07d00;
	color: white;
	padding: 0 0.5em;
	display: inline-block;
	margin-top: 0.3em;
}

iframe {
	width: calc(100% - 20px);
}


#footer-fotos {
	display: none;
	
}



#base {
text-align: left;
margin: 30px auto 0px auto;

	max-width: 970px;
	
background-color: white;
-webkit-box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.5);
-ms-box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.5);
-moz-box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.5);
box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.5);
}
#base-in {
padding: 10px;
}


#head {
position: relative;
background: white url(img/hauskreation-head.jpg) 0 0 no-repeat;
background-size: contain;
}
#head::before {
	content: "";
	padding-top: 34.9%;
	display: block;
}

#headlink {
display: block;
position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 20px;
}


#navi {
width: 229px;
float: left;
margin-left: 10px;
min-height: 400px;
}

#content {
float: left;
width: 460px;
margin-left: 30px;
padding-bottom: 10px;
/*  
border-right: 1px black dotted;*/
padding-top: 8px;
height: auto !important;
}

#fullcontent {
float: left;
width: 670px;
margin-left: 30px;
padding-bottom: 10px;
padding-top: 8px;
}

#listcontent {
float: left;
width: 650px;
margin-left: 50px;
padding-bottom: 10px;
padding-top: 8px;
}


#sidebar {
width: 191px;
float: right;
margin-top: -7px;
margin-right: 10px;
}

#sidebar h3 {
margin: 0 0 8px 0;
padding: 8px 0 8px 26px;
background: transparent url(img/orange.png) 0px 7px no-repeat;
text-transform: uppercase;
border-bottom: 1px black dotted;
}
.teaser {
margin-bottom: 12px;
}
.teaser-title {
background: transparent url(img/headline-bg.png) bottom left repeat-x;
}

#content h3 {
font-weight: bold;
}


.orange-link {
background-color: #f07d00;
padding: 2px 12px 2px 12px;
color: white;
text-decoration: none;
float: right;
}

#midclear {
clear: both;
height: 10px;
}


#navi ul, #navi li {
list-style-type: none;
margin: 0;
padding: 0;
}
#navi ul li {
border-top: 1px black dotted;
}
#navi ul li li, #navi li.first {
border-top: none;
}

#navi a {
text-decoration: none;
padding: 10px 0px 10px 28px;
display: block;
/*font-weight: bold;*/
font-size: 1.166em;
color: black;
}
#navi > ul > li > a {
background: transparent url(img/blue.png?v2) left center no-repeat;
}

#navi li li a {
padding-left: 40px;
padding-top: 5px;
padding-bottom: 5px;
font-size: 1em;
}
#navi li li li a {
padding-left: 54px;
color: #7e7e7e;
font-weight: normal;
}

#navi li ul {
margin-top: -5px;
padding-bottom: 5px;
}
#navi li li ul {
margin-top: 0px;
padding-bottom: 0px;
}

#navi .active > a,
#navi a:hover {
color: #f07d00;
}

#navi > ul > li.active > a,
#navi > ul > li > a:hover {
background-image: url(img/orange.png);
}


.no-style a {
	background-image: none !important;
}

#navi > ul > .no-style {
	border-top: 0;
}

#navi > ul > .pdf > a {
	background-image: url(img/pdf.png);
}
#navi > ul > .pdf > a:hover {
	background-image: url(img/pdf-hover.png);
}


h1, h2, h3 {
margin: 0;
padding: 0 0 10px 0;
font-size: 1.7em;
color: #f07d00;
font-weight: bold;
}

h2 {
color: #7e7e7e;
}

h3 {
color: #333;
font-size: 1.16em;
padding-top: 8px;
padding-bottom: 0px;
}


#content ul, #content ol {
padding: 8px 0 8px 40px;
margin: 0;
line-height: 150%;
}


#content p,
#content h1,
#content h2,
#content h3 {
padding-left: 20px;
padding-right: 20px;
}

#content a,
#sidebar a {
color: #000;
text-decoration: none;
font-weight: bold;
}
#content a:hover,
#sidebar a:hover {
color: #f07d00;
}

#foot {
position: relative;
margin-top: 20px;
background-color: #f07d00;
}

#foottext {
padding: 0.75em 1em;
z-index: 5;
color: white;
font-size: 12px;
}

#foot-outside a,
#foottext a {
text-decoration: none;
color: white;
}

#foot-outside {
	max-width: 970px;
	margin: 0.75em auto;
	text-align: right;
}



#foottext a:hover,
#foot-outside a:hover {
text-decoration: underline;
}


#bigpic {
margin-top: -8px;
background-color: #DDD;
height: 460px;
width:100%;
position: relative;
}

.pic-box {
display: block;
position: relative;
}
.pic-border {
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
border: 1px #DDD solid;
z-index: 1;
-moz-box-sizing: border-box; -webkit-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box;
}


#pic-shadow {
background: white url(img/pic-shadow.jpg) 0 0 no-repeat;
height: 20px;
}

#thumbnails {
height: 64px;
margin-bottom: 40px;
}
#thumbnails img {
display: block;
}
#thumbnails a {
position: relative;
float: left;
margin-left: 37px;
}
#thumbnails a.first {
margin-left: 0px;
}


.listteaser-box {
padding-bottom: 20px;
}
.listteaser {
text-decoration: none;
color: #000;
}
.listteaser:hover {
color: #f07d00;
}
.teasertitle {
display: block;
padding-top: 8px;
}

@media (min-width: 1000px) {
	#listcontent,
	#content {
		font-size: 1.15em;
	}
	.mobile-only {
		display: none;
	}
}


@media (max-width: 999px) {
	#base {
		margin-top: 0;
	}
	#foot-outside {
		box-sizing: border-box;
		padding-right: 10px;
	}
	
	#head-text {
		font-size: 1.2em;
	}
	
	#head {
		background-image: url(img/hauskreation-head-mobil2.jpg);
		margin-bottom: 1em;
	}
	#navi {
		display: none;
	}
	
	#content {
		float: none !important;
		height: auto !important;
		width: auto !important;
		margin: 0 !important;
	}
	#sidebar {
		float: none !important;
		margin-top: 3em !important;
		margin-left: auto;
		margin-right: auto;
	}
	
	#foottext span {
		display: block;
		padding: 0.2em;
		text-align: center;
	}
	.sep {
		display:none !important;
	}
	
	#fullcontent,
	#listcontent {
		width: auto;
		float: none;
		margin-left: 20px;
		margin-right: 20px;
	}
	
	.listteaser-box {
		float: none !important;
		display: block;
		width: 310px;
		max-width: 100%;
		overflow:hidden;
		margin: 0 auto;
	}
	
	#pic-shadow { opacity: 0; }
	
	#bigpic {
		margin-left: -20px;
		margin-right: -20px;
		background: transparent;
		height: auto;
	}
	
	#bigpic img {
		width: calc(100% + 40px);
		height: auto;
	}
	.pic-border {
		display: none;
	}
	
	#thumbnails {
		height: auto;
		margin-left: -20px;
		margin-right: -20px;
	}
	#thumbnails a {
		float: none;
		margin-left: 1px;
	}
	#thumbnails img {
		display: inline;
		width: 48px;
		height: 48px;
	}
	
	#vorher,
	#nachher {
		right: -20px !important;
		font-size: 12px !important;
	}
	
	#footer-fotos {
	bottom: 79%;
	width: 280px;
	height: auto;
	max-width: 80%;
	}
	#foottext {
		padding-top: 2.5em;
	}
}

@media (max-width: 719px) {
	#head-text {
		display: none;
	}
}







#mobilenavi #navi {
	float: none;
	margin: 2em auto;
	display: block !important;
	min-height: 0;
	text-align: left;
}


#menu-button {
display: none;
z-index: 1010;
position: absolute;
	right: 22px;
	top: 20px;
width: 44px;
height: 44px;
-webkit-filter: drop-shadow(0 0 3px white);
filter: drop-shadow(0 0 3px white);
}
@media (max-width:999px) {
 #menu-button {
  display: block;
 }
 .mobile-hidden {
 display: none;
 }
}

#menu-button span {
height: 4px;
border-radius: 2px;
width: 34px;
margin-left: -17px;
margin-top: -1.5px;
left: 22px;
top: 50%;
position: absolute;
background-color: #f07d00;
}
#menu-button #menu-line1 {
transform: translateY(-13px);
-webkit-transform: translateY(-13px);
-ms-transform: translateY(-13px);
transition: transform ease 0.5s, width ease 0.5s, margin-left ease 0.5s;
}
#menu-button #menu-line2 {
transition: opacity ease 0.5s;
transition-delay: 0.25s;
}
#menu-button #menu-line3 {
transform: translateY(13px);
-webkit-transform: translateY(13px);
-ms-transform: translateY(13px);
transition: transform ease 0.5s, width ease 0.5s, margin-left ease 0.5s;
}

#menu-button.menu-button-x #menu-line1 {
transform: translateY(0px) rotate(45deg);
-webkit-transform: translateY(0px) rotate(45deg);
width: 44px;
margin-left: -22px;
transition: transform ease 0.5s, width ease 0.5s, margin-left ease 0.5s;
}

#menu-button.menu-button-x #menu-line2 {
opacity: 0;
transition: opacity ease 0.5s;
}

#menu-button.menu-button-x #menu-line3 {
transform: translateY(0px) rotate(-45deg);
-webkit-transform: translateY(0px) rotate(-45deg);
width: 44px;
margin-left: -22px;
transition: transform ease 0.5s, width ease 0.5s, margin-left ease 0.5s;
}


#mobile-menu-bg {
display: none;
z-index: 950;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: white;
}
#mobile-menu {
display: none;
z-index: 951;
position: absolute;
top: 36px;
left: 10px;
right: 10px;
}




#navi a[href="Hausentwuerfe_Einfamilienhaeuser-mit-Gauben.php"] {
	white-space: nowrap;
	letter-spacing: -0.015em;
}
