html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}:focus{outline:0}ins{text-decoration:none}del{text-decoration:line-through}table{border-collapse:collapse;border-spacing:0}

@font-face {font-family: 'Legacy Sans';
	src: url('webfonts/2FF827_0_0.eot');
	src: url('webfonts/2FF827_0_0.eot?#iefix') format('embedded-opentype'),
		 url('webfonts/2FF827_0_0.woff2') format('woff2'),
		 url('webfonts/2FF827_0_0.woff') format('woff'),
		 url('webfonts/2FF827_0_0.ttf') format('truetype');
		 
	font-weight: normal;
	font-style: normal;	 
}

body{
	font-family: 'Legacy Sans', "helvetica neue", helvetica, arial, sans-serif;
	font-size: 16px;
	line-height: 1.5em;
	color: #A01414;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	}
		
.footer{
	position: relative;
	float: left;
	display: block;
	padding: 100px 0px 100px 0px;
	width: 100%;
	float: left;
	text-align: center;
	}		

/* Preloader */

#preloader {
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background-color:#fff; /* change if the mask should have another color then white */
    z-index:99; /* makes sure it stays on top */
}
		
.wrap{
	position: relative;
	margin: 0% auto;
	width: 90%;
	padding: 20% 0px 100px 0px;
	clear: both;
	height: auto;
	display: block;
	}
	
a{
	text-decoration: none;
	color: inherit;
	}

::-moz-selection {
	background: #b70e0c;
	color: white;
	}
	
::selection {
	background: #b70e0c;
	color: white;
	}		
	
h1{
	margin: 40px 0px 40px 0px;
	font-weight: inherit;
	font-size: 25px;
	color: inherit;
	line-height: inherit;
	}
	
h2{
	margin: 40px 0px 40px 0px;
	font-weight: inherit;
	color: inherit;
	line-height: inherit;
	font-size: 20px;
	}
	
h3{
	margin: 20px 0px 20px 0px;
	font-weight: inherit;
	color: inherit;
	line-height: inherit;
	font-size: inherit;
	}				

.logo{
	position: fixed;
	left: 50%;
	-webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	-o-transform: translateX(-50%);
	transform: translateX(-50%);
	text-align: center;
	margin-bottom: 5px;
	width: 100%;
	z-index: 100;
	}

.logo span{
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: inherit;
	color: inherit;
	}	
	
.logo img{
	position: relative;
	margin: 3% auto 5px auto;
	display: block;
	width: 60px;
	}
	
.nav{
	position: relative;
    list-style:none;
    margin: 5px auto 100px auto;
    padding:0;
    text-align:center;
	}

.nav li{
    display:inline;
	}

.nav a{
    display:inline-block;
    margin: 0px 10px 0px 10px;
    font-size: 16px;
    line-height: 1.3em;
    color: inherit;
    text-decoration: none;
	}
	
.nav .active{
	border-bottom: 1px solid #A01414;
	}		
	
.gallery li a{
	position: relative;
	float: left;
	width: 18%;
	margin: 3% 1%;
	display: block;
	}
	
.gallery li a img{
	position: relative;
	width: 100%;
	height: auto;
	display: block;
	}
	
.leistungen{
	text-align: center;
	}
	
.profil{
	max-width: 1000px;
	}	
	
.kontakt{
	position: absolute;
	top: 50%;
	left: 50%;
	top: 50%;
	width: 90%;
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	text-align: center;
	}		
	
.left{
	position: relative;
	float: left;
	display: block;
	width: 47%;
	margin-right: 3%;
	}
	
.left img{
	position: relative;
	width: 60%;
	display: block;
	}	
	
.right{
	position: relative;
	float: left;
	width: 47%;
	margin-left: 3%;
	}
	
	
/* Slideshow */

.slideshow {
 	position: relative;
 	list-style: none;
 	margin: 0px auto;
 	width: 300px;
 	height: 600px;
 	display: block;
	}
	
.slideshow li {
 	position: absolute;
	}

.slideshow li img{
	position: relative;
	width: 100%;
	height: auto;
	display: block;
	}	

.slideshow  li:nth-child(5) {
	-webkit-animation: xfade 20s 0s infinite;
	-moz-animation: xfade 20s 0s infinite;
	-o-animation: xfade 20s 0s infinite;
  	animation: xfade 20s 0s infinite;
	}

.slideshow  li:nth-child(4) {
  	-webkit-animation: xfade 20s 4s infinite;
	-moz-animation: xfade 20s 4s infinite;
	-o-animation: xfade 20s 4s infinite;
  	animation: xfade 20s 4s infinite;
	}
	
.slideshow  li:nth-child(3) {
  	-webkit-animation: xfade 20s 8s infinite;
	-moz-animation: xfade 20s 8s infinite;
	-o-animation: xfade 20s 8s infinite;
  	animation: xfade 20s 8s infinite;
	}
	
.slideshow  li:nth-child(2) {
	-webkit-animation: xfade 20s 12s infinite;
	-moz-animation: xfade 20s 12s infinite;
	-o-animation: xfade 20s 12s infinite;
  	animation: xfade 20s 12s infinite;
	}
	
.slideshow li:nth-child(1) {
  	-webkit-animation: xfade 20s 16s infinite;
	-moz-animation: xfade 20s 16s infinite;
	-o-animation: xfade 20s 16s infinite;
  	animation: xfade 20s 16s infinite;
	}

@-webkit-keyframes xfade{
	17% {opacity:1;}
	30% {opacity:0;}
	92% {opacity:0;}
}

@-moz-keyframes xfade{
	17% {opacity:1;}
	30% {opacity:0;}
	92% {opacity:0;}
}

@-o-keyframes xfade{
	17% {opacity:1;}
	30% {opacity:0;}
	92% {opacity:0;}
}

@keyframes xfade{
	17% {opacity:1;}
	30% {opacity:0;}
	92% {opacity:0;}
}	
	

@media screen and (max-width:1000px) {
	
	.gallery li a{
		float: left;
		width: 23%;
		margin: 3% 1%;
		}
		
	.index{
		width: 300px;
		}
	}
	
@media screen and (max-width:750px) {
	
	.gallery li a{
		float: left;
		width: 31.333%;
		margin: 3% 1%;
		}
		
	.index{
		width: 300px;
		}
		
	.left img{
		width: 100%;
		}		
		
	.left, .right{
		width: 100%;
		margin: 5% 0% 0% 0%;
		}	
	}
	
	
@media screen and (max-width:500px) {
	
	.gallery li a{
		float: left;
		width: 48%;
		margin: 3% 1%;
		}
		
	.wrap{
		position: relative;
		margin: 0% 5% 0% 5%;
		width: 90%;
		float: left;
		padding: 200px 0px 100px 0px;
		display: block;
		clear: both;
		}
	}			
		
					