/* Hauskonzepte Krauss // Hauptstyles */

body {text-align: center; margin: 0 auto; padding: 0; background-image: url(../media/img/standards/bg.gif); background-repeat: repeat-y; background-position:center; background-attachment:fixed;}

#wrap {text-align: left; width: 1000px; margin: 0 auto;}

#header {padding: 0; margin: 0;}
#header img {margin: 0; display: block;}

#content {text-align: left;}

#headline {text-align: left; background-color: #FFF; padding: 0 0 20px 300px;}

#topnav {float: left; width: 210px; background-color: #999;}
ul.topnav {
	margin: 0; 
	padding: 15px 0 15px 15px; 
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box; 
	box-sizing: border-box; 
}
ul.topnav li {list-style: none; margin: 20px 0; padding: 0; font-family: Arial, Helvetica, sans-serif; font-size: 1.2em;}
ul.topnav li a {
	padding: 8px 0 0 40px; 
	text-decoration: none; 
	color: #FFF; 
	background: url(../media/img/standards/icon_haus.png) 0px -0px no-repeat; 
	height: 30px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box; 
	box-sizing: border-box; 
}
ul.topnav li a:hover {
	color: #F00; 
	background: url(../media/img/standards/icon_haus.png) 0px -30px no-repeat;
}
ul.topnav li a.active {
	color: #F00; 
	background: url(../media/img/standards/icon_haus.png) 0px -30px no-repeat;
}


ul.topnav li ul {display:none; margin: 0 0 0 100px; padding: 10px; font-family: Arial, Helvetica, sans-serif; font-size: 0.875em; height: auto; position:absolute; z-index:200; background-color: #999; border-left: #FFF solid 1px; border-right: #FFF solid 1px; border-bottom: #FFF solid 1px;}
ul.topnav > li:hover a[href*=musterhaus] + ul { display: block;}
ul.topnav li:hover a {color: #F00;}
ul.topnav li li {list-style: none; margin: 0; padding: 5px 10px 5px 5px;; font-family: Arial, Helvetica, sans-serif; font-size: 0.875em; display: block;}

ul.topnav li li a.subnavlink {
	text-decoration: none; 
	color: #FFF; 
	background: none; 
	padding: 0;
}
ul.topnav li li a.subnavlink:hover {
	text-decoration: none; 
	color: #F00; 
	background: none; 
	padding: 0;
}
ul.topnav li li a.subnavlink.active {
	color: #F00; 
}

ul.topnav li#navBildwerk {
	background: none;
}
ul.topnav li#navBildwerk a {
	position: relative;
	background-image: url();
	
}
ul.topnav li#navBildwerk a:after {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 3px;
	width: 24px;
	height: 24px;
	background-color: rgb(255,192,0);
}
ul.topnav li#navBildwerk:hover a:after {
	background-color: #f00;
}

ul.topnav li#navImpressum {
	margin-top: 257px;
}

#home #right table {
	height: 260px;
}

/*IE7*/
*:first-child+html ul.topnav li ul {margin: 0 0 0 60px; position: relative; border-right: none;}


#right {width: 700px; float: right; font-family: Arial, Helvetica, sans-serif; color: #333;}
#right p {line-height: 1.4em;}

.baustellen p {margin: 0; padding: 0; font-family: Arial, Helvetica, sans-serif; font-size: 1.2em; color: #333; font-weight: normal; margin: 0; padding: 0 0 10px 0; line-height: 1.4em}

/*h3 {font-family: Arial, Helvetica, sans-serif; font-size: 1.4em; color: #F00; font-weight: normal; margin: 0; padding: 10px 0;}*/

h3, h4 {
	font-family: Arial, Helvetica, sans-serif;
	margin: 0; 
	line-height: 1.25;
	font-weight: normal; 
}
h3 {
	padding: 0 0 10px 0;
	font-size: 1.4em; 
	color: #f00; 
}
h4 {
	padding: 20px 0 15px 0; 
	font-size: 1.2em;  
}
#right > h4:nth-child(1), p + h4, a + h4 {
	padding-top: 0;
}

.grau {
	font-family: Arial, Helvetica, sans-serif; 
	font-size: 1.2em; 
	color: #333; 
	font-weight: normal; 
	margin: 0; 
	padding: 0 0 10px 0; 
	line-height: 1.4em
}
.rot {font-family: Arial, Helvetica, sans-serif; font-size: 1.2em; color: #F00; font-weight: normal; margin: 0; padding: 0 0 10px 0; line-height: 1.4em}
.red {color: #F00}

img {border:none; margin: 0 10px 10px 0;}

hr {border-top: none; border-left: none; border-right: none; border-bottom: #333 solid 1px;}

table {margin: 20px 0;}
td {padding: 5px; vertical-align: top; line-height: 1.4em;}

.em {color: #F00; font-size: 1.5em; padding: 2px;}

.clear {clear:both;}

a {color: #333}
a:hover {color: #666}


.seek {display: none;}


body#bemusterung #right, body#beratung #right, body#bewertungen #right, body#kontakt #right, body#ueberuns #right, body#musterhausRechtmehring #right {
	float: left;
	width: 620px;
	margin-left: 90px;
	padding-bottom: 80px;
}
body#musterhausRechtmehring #right, body#bildwerk #right {
	float: left;
	width: 620px;
	margin-left: 90px;
	padding-bottom: 80px;
}

hr {
	clear: both;
	border-bottom: #F00 solid 3px; 
	margin-right: 4px;
}
hr + h3 {
	margin-top: 20px;
}

/* Alt */
ul.bilder {
	margin: 0 0 25px 0;
	padding: 0;
}
ul.bilder li {
	display: inline;
	list-style: none;
}
body#musterhausRechtmehring ul.bilder li, body#bildwerk ul.bilder li {
	display: inline-block;
}
ul.bilder li:nth-child(3n) img {
	margin-right: 0px;
}
body#musterhausRechtmehring ul.bilder li:nth-child(3n) img, body#bildwerk ul.bilder li:nth-child(3n) img {
	margin-right: 10px;
}
body#ueberuns ul#top.bilder {
	margin-bottom: 5px;
}
body#ueberuns ul#top.bilder li:nth-child(1) {
	float: left;
}
body#beratung ul.bilder li:nth-child(2) img, body#ueberuns ul#top.bilder li:nth-child(2) img, body#ueberuns ul#top.bilder li:nth-child(4) img, body#ueberuns ul#top.bilder li:nth-child(5) img {
	margin-right: 0;
}

/* Neu */
body#ueberuns ul.bilderNeu {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: 0;
	padding: 0;
}
body#ueberuns ul.bilderNeu li {
	position: relative;
	margin-bottom: 15px;
	width: 31.33%;
	list-style: none;
	font-size: 0;
	overflow: hidden;
}
body#ueberuns ul.bilderNeu li a {
	display: block;
}
body#ueberuns ul.bilderNeu li img {
	display: block;
	margin: 0;
	max-width: 100%;
	max-height: 100%;
}
body#ueberuns ul.bilderNeu li a + a {
	margin-top: 15px;
}
body#ueberuns ul.bilderNeu li:nth-child(2) a + a {
	margin-top: 12px;
}
body#ueberuns ul.bilderNeu li:nth-child(1) {
	flex-basis: 65.66%;
}
body#ueberuns ul.bilderNeu li:nth-child(4) a {
	height: 273px;
	background: url(../../media/img/content/ueberuns/ueber-uns.005.jpg) center 0px;
	background-size: auto 100%;
}


#right > h3:nth-child(1) {
	margin-top: -15px;
}

ul.list {
	margin: 10px 0 10px 30px;
	padding: 0;
	line-height: 1.4em;
}
ul.list li {
	position: relative;
	padding: 0 0 20px 0;
	list-style: none;
}
ul.list li:before {
	content: '+';
	position: absolute;
	top: -1px;
	left: -30px;
	color: #F00;
	font-size: 1.5em;
	line-height: 1;
}
ul.list + hr {
	margin-top: 30px;
}

.kontakt {
	float:left;
	position: relative;
	width: 100%;
	margin-bottom: 20px;
}
.kontakt img {
	float: right; 
	margin: 0 3px 0 0;
}
.kontakt .gf {
	position: absolute;
	bottom: -3px;
	left: 0;
}
.kontakt + hr {
	clear: both;
}

.col50 {
	float: left; 
	width: 50%; 
	text-align:center;
}
.col50 img {
	display: inline;
	margin-right: 0;
	text-align: center;
}

.mb0, ul.bilder.mb0 {
	margin-bottom: 0;
}
.mt15 {
	margin-top: 15px;
}



/* Tooltipps Bilder */
a[data-text] {
	position: relative;
	display: inline-block;
	text-decoration: none;
}

a[data-text]:hover:after {
	content: attr(data-location);
	position: absolute;
	top: -55px;
	left: -5px;
	width: 207px;
	height: 237px;
	padding: 7px;
	font-size: 75%;
	color: #7f7f7f;
	white-space: nowrap;
	text-overflow: ellipsis;
	background: rgba(255,255,255,0.9);
	-moz-box-shadow: 0 0 10px rgba(0,0,0,0.75);
	-webkit-box-shadow: 0 0 10px rgba(0,0,0,0.75);
	box-shadow: 0 0 10px rgba(0,0,0,0.75);
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box; 
	box-sizing: border-box; 
	overflow: hidden;
	z-index: 1;
}
a[data-text]:hover:before {
	content: attr(data-text);
	position: absolute;
	left: 2px;
	top: -48px;
	width: 196px;
	height: 43px;
	padding-top: 15px;
	font-size: 75%;
	color: #333;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box; 
	box-sizing: border-box; 
	overflow: hidden;
	z-index: 2;
}

a[data-text]:hover img {
	position: relative;
	z-index: 2;
}

/* Keine Vorschaubilder */
a[data-text]:hover span {
	content: '';
	position: absolute;
	bottom: -31px;
	left: 1px;
	width: 62px;
	height: 41px;
	background-size: 100%;
	background-position: center;
	z-index: 2;
}
a[data-text]:hover span:nth-child(2) {
	left: 67px;
}
a[data-text]:hover span:nth-child(3) {
	left: 134px;
}

a[data-id] > img {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
a[data-text] > img {
	border: solid 1px transparent;
}
a[data-text] > img.active, a[data-id] > img.active {
	-moz-box-shadow: 0 0 0 1px red;
	-webkit-box-shadow: 0 0 0 1px red;
	box-shadow: 0 0 0 1px red;
}
a[data-text]:hover > img.active {
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
}

/* Layer */
#mask {
	display: none;
	position: fixed;
	top: -100px;
	right: -100px;
	bottom: -100px;
	left: -100px;
	background: rgba(0,0,0,0.5);	
	z-index: 3;
}
.window {
	display: none;
	position: fixed;
	top: 20px;
	left: 20px;
	width: 100%;
	max-width: 900px;
	height: 100%;	
	max-height: 598px; 
	background: #fff;
	-moz-box-shadow: 0 0 30px rgba(0,0,0,0.85);
	-webkit-box-shadow: 0 0 30px rgba(0,0,0,0.85);
	box-shadow: 0 0 30px rgba(0,0,0,0.75);
	z-index: 4;
}
.window > .close {
	display: block;
	position: absolute;
	right: 0;
	top: 0px;
	width: 36px;
	height: 36px;
	text-decoration: none;
	background: rgba(255,255,255,0.75);
	z-index: 5;
}
.window > .close:before {
	content: '\d7';
	position: absolute;
	top: -0px;
	right: 7px;
	font-size: 200%;
}
.window > .close:hover, .window > .close.active {
	background: rgba(255,0,0,0.85);
}
.window > .close:hover:before, .window > .close.active:before {
	color: #fff;
}

.window p {
	position: absolute;
	top: 36px;
	width: 38.2%;
	margin: 0;
	padding: 1.5% 2.5% 1.5% 2.5%;
	background: rgba(255,255,255,0.75);
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-moz-box-shadow: 0 0 20px rgba(0,0,0,0.35);
	-webkit-box-shadow: 0 0 20px rgba(0,0,0,0.35);
	box-shadow: 0 0 20px rgba(0,0,0,0.35);
	z-index: 2;
}
body#musterhausRechtmehring .window p {
	display: none;
}
.window p span {
	display: block;
	padding-bottom: 3px;
	font-size: 85%;
	color: rgba(0,0,0,0.5);
	line-height: 1.2;
}

.img-big {
	display: block;
	position: relative;
	float: left;
	height: 0;
	padding-bottom: 66.40%;
	width: 100%;
	background: rgba(0,0,0,0.25);
	overflow: hidden;
}
.img-big > img {
	display: block;
	position: absolute;
	max-width: 100%; 
	max-height: 100%;
	top: 0;
	left: 0;
	right: 0;
	margin: 0 auto;
	padding: 0;
}
.img-big > img:hover {
	cursor: pointer;
}
.img-big > img.small {
	position: absolute;
	bottom: 0px;
	right: 5px;
	-moz-box-shadow: 0 0 20px rgba(0,0,0,0.85);
	-webkit-box-shadow: 0 0 20px rgba(0,0,0,0.85);
	box-shadow: 0 0 20px rgba(0,0,0,0.85);
}
/* Vorschau-Bild */
.img-big div {
	position: absolute;
	bottom: 0px;
	right: 5px;
	max-width: 35%;
}
.img-big div img {
	max-width: 100%;
}

.img-big .prev, .img-big .next {
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	width: 25%;
	z-index: 1;
	text-decoration: none;
}
.img-big .prev {
	left: 0;
}
.img-big .next {
	right: 0;
}
.img-big .prev:hover {
	background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.25) 100%);
	background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.25) 100%);
	background: linear-gradient(to left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.25) 100%);
}
.img-big .next:hover {
	background: -webkit-linear-gradient(right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.25) 100%);
	background: -moz-linear-gradient(right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.25) 100%);
	background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.25) 100%);
}

.img-big .prev:before, .img-big .next:before {
	position: absolute;
	top: 45%;
	font-size: 300%;
	color: #fff;
	text-shadow: 0 0 5px rgba(0,0,0,0.85);
	text-decoration: none;
}
.img-big .prev:before {
	content: '\2039';	
	left: 25%;
}
.img-big .next:before {
	content: '\203A';
	right: 25%;
}
.img-big .prev:hover:before, .img-big .next:hover:before {
	color: red;
}

.img-big div img {
	-moz-box-shadow: 0 0 20px rgba(0,0,0,0.85);
	-webkit-box-shadow: 0 0 20px rgba(0,0,0,0.85);
	box-shadow: 0 0 20px rgba(0,0,0,0.85);
}
.img-big span {
	position: absolute;
	left: 0;
	bottom: 10px;
	width: 100%;
	text-align: center;
	z-index: 1;
}
.img-big span b {
	padding: 3px 7px;
	font-weight: normal;
	background: rgba(255,255,255,0.75);
}

.imgs {
	float: left;
	width: 100%;
	background: #fff;
	padding: 1px 0px 5px 0px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	overflow-y: hidden;
	overflow-x: scroll;
}
ul.img-small {
	float: left;
	margin: 0;
	padding: 0;
	width: 100%;
	height: auto;
	list-style-type: none;	
	font-size: 0;
	white-space: nowrap;
} 
.img-small li {
	display: inline-block;
	height: 53px;
	padding: 0;
	margin: 0;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.img-small li a {
  display: block;
  height: 53px;
  width: auto;
} 
.img-small img {
  display: block;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: solid 1px transparent;
}
.img-small li.active img {
	-moz-box-shadow: 0 0 0 1px red;
	-webkit-box-shadow: 0 0 0 1px red;
	box-shadow: 0 0 0 1px red;
}
.img-small li a.no-big {
  cursor: default;
} 

.schausonntag img {
	width: 159px;
}

#bilder {
	display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;      /* TWEENER - IE 10 */
	display: -webkit-flex;     /* NEW - Chrome */
	display: flex;
	flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	justify-content: space-between;
}

.tblStart {
	width: 615px;
	margin: 20px 0 40px 0;
	padding: 0;
	border: 0;
}
.tblStart tr td {
	padding-left: 0;
	padding-right: 0;
}
.tblStart tr td.em {
	padding: 0px;
}

video {
	margin-bottom: 40px;
}

#bewertungen #right p:first-child {
	margin-top: -5px;
}
#impressum #right p:first-child {
	margin-top: -5px;
}
#musterhausRechtmehring #right p:first-child, #musterhaus_neukeferloh #right p:first-child, #musterhaus_assling #right p:first-child {
	margin-top: -7px;
}


@media (max-width: 850px) {
	.window p {
		font-size: 84%;
	}
}