/* Browserreset!!!! */
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, 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,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


/*Browserreset Ende */
#bodyBackground{
	height: 100%;
	overflow: auto;
	background-color: #eeeeee;
}
		
body{
	margin: 0 auto;
	max-width: 330px;
	background-color:#c8c8c8; /*red;*/
	font-family: "Arial";
	font-size: 100%; /* 15 / 16 *100 = 93.75% */
	}
		
#header{
	max-width: 100%;
	height: 80px;
	padding: 50px 0 0;
	text-align: center;
	color: grey;
	border-bottom: 5px solid #354779;
	background-color: white;
	position: relative;
	font-size: 1em;
	text-decoration: none;
	
		}
#header a{
	text-decoration: none;
	color: grey;
}
		
#header_headlines{
		/*	width: 100%;
			max-width: 960px;*/
	font-size: 0.8666666666666667em; /*13px;*/
		}

#header_headlines h1{
	margin-top: 10px;
	font-size: 1.666666666666667em; /*25px;*/
	font-family: 'New Times Roman';
	}

.left_side_buttons{
	clear: both;
	float: left;
	width: 100%;		/* 150px */
	line-height: 1.5em;
	font-size: larger;
	padding-top: 20px;
	margin: 20px 0;
		}
		
.linkWrapper{
	text-align: left;
	width: 260px;
	padding-left: 40px;
		}

.links{
	border-bottom: 1px solid #384673;
	width: 93%; /* 14.58333333333333%; */
	font-size: 0.9em; 
	text-align: left;
	margin: 0 auto;
	}
.links a{
	text-decoration: none;
	color: grey;
	}

.links a.selected{
	color:#55C1AA
}

.linkAufzaehlung{
	color: #55C1B8;
	width: 15px;
	height: auto;
	/*float: left;*/
	display: inline-block;
	/*margin-left: 26%;*/
}
	
#logo img{
	height: auto;
	width: 25%;
	/*border: 3px solid #55C1AA;*/
	position: absolute;
	bottom: -25px;
	right: 32px;
	}
		
#hidden_welcome{
	visibility: visible;
	width: 100%;
	}
#hidden_welcome p{
	margin: 0;
	width: 93%;
	text-align: left;
	color: grey;
	font-family: 'Arial';
	}
#hidden_welcome h2 {
	margin: 0 0 10px 0;
	width: 93%;
	text-align: left;	
	color: #384673;
	}
#welcome{
	visibility: hidden;
	height: 5px;
	width: 100%;
}

.contentFooterWrapper{
	width: 77%; 
	float: left;
/*	margin-top: 75px;*/
	position: relative;
	margin: 0 14%;
}

.content{
	width: 100%; /* 960px */
	float: left;
/*	margin: 0 auto;*/
	}
.cb{
	clear: both;
	}
.content h2{
	font-size: 1em; /*15px;*/
	margin-bottom: 15px;
	margin-left: 20px;	
}

.content p{
	margin-bottom: 50px;
	margin-left: 20px;
	font-size: 0.7333333333333333em; /*11px;*/
	}
	
#pics_wrapper {
	text-align: center;
	margin: 0 auto;
	font-size: 0.8em; /*12px;*/
}
.nameHeadline{
	color: #384673;
	font-weight: bold;
	/*font-family: 'New Times Roman';*/ 
}
.pics{
	width: 150px;
	height:190px;
	/*border: 1px solid black;*/
	margin: 20px auto;
	background-color: white;
	padding-top: 10px;
	box-shadow: 2px 3px 4px 0 #B8B8B8;
}
.pics.nameHeadline{
	color: #384673;
	text-align: center;
	margin-left: 10px;
	width: 50%;
	font-weight: bold;
}

.pics.active .nameHeadline {
	margin-left: 10px;
	width: 50%;
	text-align: left;
	color: #384673;
	font-weight: bold;
}

.pics.active {
	width: 100%;
	height:auto;
	text-align: left;
	float:left;
	padding-bottom: 10px;
	padding-top: 10px;

}

.pics img{
	width: 128px;
	padding-top: 4px;
	margin: 0 auto;
	display: block;
}

.pics.active img{
	display: none;
}

.pics .closeDetails{
	display: none;
}

.pics.active .closeDetails{
	display: block;
	cursor: pointer;
	width: 11px;
	height: 11px;
	position: absolute;
	right: 9px;
	top: 2px;
	margin: 0;
}

.pics.active #insideImageLink{
	display: none;
}

.pics.active .listSign{
	color: #54c0a9;
	font-weight: bold;
	font-size: 1em; /*15px;*/
	display: inline-block;
}

.picstext{
	
	display: none;
}

.pics.active .picstext{
	display: block;
	float: left;
	margin-left: 10px;
	width: 89%;
}

#oneLineHeadImage{
	position: relative;
}


.curriculum{
	/*list-style-image: url('images/arrowRight.png');*/
	width: 96%;
	font-size: 0.8em; /*12px;*/
	line-height: 20px;
	color: grey;
	margin:2px 0 10px 10px;
}
.curriculumHeadlines{
	text-decoration: underline;
	font-weight: bold;
}
#insideImageLink{
	height: 20px;
	width: 20px;
	background-color: white;
	/*margin: -30px 0 0 15px;*/
	bottom: 24px;
	clear: both;
	left: 15px;
	position: relative;
	background: url('images/imageLinkInside.png');
	background-repeat: no-repeat;
	cursor: pointer;
}
.footer{
	border-top: 2px solid grey;
	float: left;
	text-align: right;
	width: 100% ; /*540px ;*/
	margin-top: 50px;
	margin-bottom: 70px;
	font-size: 0.5em; /*8px;*/
	padding-top: 0.7291666666666667%; /*7px;*/
	position: relative;
}
.footer a{
	margin-top: 5px;
	padding-right: 5px;	 
	text-decoration: none;
	color: grey;
        display: block;
}
#footerInner{
	border-top: 2px solid black;
	margin: 0 20px 5px 20px;
}

#workImg{

	width: 100%;
	height: auto;
}
.contentImage{
	background: white;
	padding: 20px;
	float: left;
	box-shadow: 2px 3px 4px 0 #B8B8B8;
}	


/* LEISTUNGEN */

#obligationHeadline h2,
#obligationHeadline p{
	margin-left: 0;
	margin-bottom: 20px;
	
}

#obligationHeadline h2{
	/*font-family: 'New Times Roman';*/
	color: #354779;

	
}

#obligationHeadline p{
	font-family: 'Arial';
	color: grey;
}

.kacheln {
	background-color: white;
	float: left;
	font-size: 0.6666666666666667em; /*10px;*/
	width: 159px;
	margin: 0 16px 16px 29px;
	height: 136px;
	word-wrap: break-word;
	box-shadow: 2px 3px 4px 0 #B8B8B8;
	position: relative;
	z-index: 0;
	padding: 10px;
	
}

.kacheln.active {
	background: none;
	box-shadow: none;
	z-index: 1;
}

.detailWrapper.active{
	position: absolute;
	width: 164px;
	height: auto;
	/*padding-top: 5px;*/
	padding-left: 5px;
	background: white;
	box-shadow: 2px 3px 4px 0 #B8B8B8;
	z-index: 1;
	margin-left: -5px;
	margin-top: -5px;
	padding-bottom: 5px;
	padding-top: 5px;
}

.kacheln ul{
	list-style-image: url('images/smallArrowRight.png');
	padding-right: 5px;
}

.kacheln ul li{
	margin-left: 15px;
	margin-bottom: 3px;
	color: grey;
}

.kacheln ul img{
	margin-top:20px;
	margin-left: 17px;
}

.kacheln ul h3{
	margin-bottom: 10px;
	font-weight: bold;
	font-size: 1em; 
	color: #354779;
	
}

.more{
	cursor: pointer;
	color: #54c0a9;
	font-size: 0.9333333333333333em; /*14px;*/
/*	text-align: right;*/
	bottom: 10px;
	left: 110px;
	position: absolute;
	height: 15px;
	width: 45px;
/*	font-size: 12px;*/
	z-index: 3;
}


.obligationDetail{
	visibility: hidden;
}

.obligationDetail.active {
	
	visibility: visible;
}


@media screen and (orientation: landscape){
	
	.kacheln{
		
		margin: 0 0 16px 16px;
	}
	
	.footer{
		margin-top: 85px;
	}
}


/* KONTAKT */


.contact{
	background: white;
	padding: 10px 0;
	box-shadow:2px 3px 4px 0 #B8B8B8;
	height: auto;	
	width: 100%;
/*	float: bottom;*/
	/*clear: both;*/
	position: relative;
	
	
	
}
.adress{
	font-size: 0.8em; /*12px;*/
	font-family: 'Arial';
	margin: 20px 0 40px 20px;
	
}
.adress li h2{
	font-size: 1.333333333333333em; /*20px;*/

	margin-left: 0;
	color: #354779;
}
.adress li{
	font-family: 'Arial';
	color: grey;
}

#phone{
	margin: 10px 0;
}

.map{
	margin: 20px;
	
}

.image{
	width: 100%;
	height: 307px;/*
	margin-left: 20px;
	background: url('../images/Anfahrt_beschnitten.png') no-repeat;
	background: white;*/
	background-image:url(images/Anfahrt_beschnitten.png); 
    background-repeat:no-repeat;
/*	background-size: contain;*/
    background-position:center center;


}

.map h2{
	font-size: 1.333333333333333em; /*20px;*/
	
	margin-left: 0;
	color: #354779;
}

#anfahrtBeschreibung{
	margin: 20px 0 20px 20px;
}
#anfahrtBeschreibung p{
	margin: 20px 0 20px 0;
	color: grey;
	font-family: 'Arial';
}
#routenplaner{
	margin: 0 0 0 20px;
	float: left;
	
}

#routenplaner h2{
	font-size: 1.333333333333333em; /*20px;*/
	
	margin-left: 0;
	color: #354779;
}

#infoText{
/*	float:left;*/
	font-size: 0.8666666666666667em; /*13px;*/
	width: 76%;
	font-family: 'Arial';
	margin-bottom: 20px;
	color: grey;
}

#input{
	/*float: right;*/
	width: 200px;
}

#street{
	float: bottom;
	width: 194px;
	/*margin-right: 20px;*/
	
}
#zip{
/*	float:left;*/
	width: 37px;
	margin: 5px 0;
}


#location{
	margin: 5px 0 5px 9px;
	width: 138px;
	float: right;
}


#inputContact{
	width: 200px;
}

.footerContact{
/*	position: absolute;*/
}

#country{
	width: 200px;
}
#submit{
	color: white;
	background: #39568E;
	margin: 10px 0 10px 37px; 
	border: 2px solid #39568E;
	border-radius: 3px;
	cursor: pointer;
}
.imgBuilding{
	width: 90%;
	height: auto;
	margin: 10px 5%;
	
}

	/* IMPRESSUM */
	
	
.impressDistanceHeadlines{
	
	margin-bottom: 30px;
}

.contentImp{
	background: white;
    box-shadow: 2px 3px 4px 0 #B8B8B8;
    padding: 20px;
	
}

.contentImp img{
	width: 100%;
	height: auto;
	
}
.contentImp h2{
	font-size: 15px;
	margin-bottom: 15px;
	margin-top: 20px;
	color: #384673;
	font-weight: bold;
	word-wrap: break-word;
	
}
.contentImp p{
	margin-bottom: 15px;
	font-size: 13px;
	color: grey;
	line-height: 1.3;
}
.contentImp h3 {
	font-size: 14px;
	margin-bottom: 10px;
        color: grey;
	font-weight: bold;
}
.contentImp h4 {
	font-size: 13px;
	margin-bottom: 5px;
	color: grey;
	font-weight: bold;
}
.contentImp p a {
	font-size: 13px;
	margin-bottom: 15px;
	font-weight: bold;
        display: block;
}
.contentImp ul {
	margin-bottom: 15px;
}
.contentImp ul li {
	margin-bottom: 5px;
	font-size: 13px;
	color: grey;
	line-height: 1.3;
	
}

/* WIR ÜBER UNS */
.contentAbout{
	background: white;
    box-shadow: 2px 3px 4px 0 #B8B8B8;
    padding: 20px;
	
}
.contentAbout h2{
	font-size: 1.333333333333333em;/*20px;*/
	margin-bottom: 15px;
	/*margin-top: 10px;*/
/*	margin-top: 20px;*/
	color: #384673;
	/*font-weight: bold;*/
	
}

.contentAbout p{
	margin-bottom: 15px;
	font-size: 13px;
	color: grey;
	font-family: 'Arial';
	line-height: 1.3;
}