/* letzte Änderung: 04.05.2019 */

html, body, div, span, applet, object, iframe,
h1, h2, 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 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: top;
  box-sizing: border-box;
  color: #000;
}

textarea {
	max-width: 100%;
	font-size: 1.05em;
}
	
.butt {
	height: 40px;
	margin-left: 10px;
}
	
input {
	max-width: 100%;
}

.trenner {
	background-image: url('../images/trenn.png');
	width: 100%;
	height: 7px;
	clear: both;
}
                
header, menu, nav { 
    display:block;
}

a.footer {
	color: #6e6e6e;
	margin-left: 3.5em;
	padding-bottom: 2em;
	}

a:hover {
    text-decoration: underline
}

b {
	color: red;
}

ul {
    list-style: none
}

.liste {
	list-style-position: outside;
	list-style: disc;
	padding-left: 1em;
}

blockquote, q {
    quotes: none
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    border-radius: 5px;
}

:focus {
    outline: none
}

/* Typographie */
h1 {
    font-family: Verdana, Arial, sans-serif;
    font-size: 2em; /* 40px / 16px */
    line-height: 1.2em; /* 48px / 40px */
    margin-bottom: .4em;/* 16px / 40px */
    margin-top: 1.2em; /* 16px / 40px */
    padding-left: 1em;
}

#datenschutz h1 {
    font-family: Verdana, Arial, sans-serif;
    font-size: 1.2em; /* 40px / 16px */
    line-height: 1.2em; /* 48px / 40px */
    margin-bottom: .4em;/* 16px / 40px */
    margin-top: 1.2em; /* 16px / 40px */
    padding-left: 1.7em;
    font-weight: bold;
}

header h1 {
	margin-bottom: 0;
	margin-top: 0.4em;
}

h1 img {
	max-width: 100%;
}

#home h1 {
	padding-left: 0em;
	margin-top: 0em;
}

h2 {
    border-bottom: 2px solid #dbdbdb;
    font-family: Verdana, Arial, sans-serif;
    font-size: 1.5em; /* 24px/16px */
    line-height: 1em;
    margin-bottom: .666666667em; /* 16px / 24px */
    margin-top: 1em;
}

h4 {
	font-family: Verdana, Arial, sans-serif;
	font-weight: bold;
}

.fett {
	font-weight: bold;
}	

blockquote:before {
    content: "\201C";
    float: left;
    font-size: 2.5em;
    font-style: normal;
    left: -.4em;
    position: relative;
}

aside section {
    overflow: hidden;
}

#kontakt .main section {
	padding-left: 1em;
	padding-right: 1em;
}

.main section {
	padding-left: 2em;
	padding-right: 1em;
}

#home .main section {
	padding: 2.5em 1em 2.5em 1em;
}	
	
#zertifikate .main section p {
	font-weight: bold;
}
	
#danke .danke {
	margin: 3em auto;
	width: 90%;
}
	
#danke .danke p {
	font-weight: bold;
}
	
#home aside img, #referenzen aside img {
	margin-top: 0em;
}
		
#home .main section img {
	width: 125px;
	margin: 0em;
}

a:hover {
    text-decoration: underline
}

cite {
    display: block;
    font-style: normal;
    text-align: right;
}

a {
    color: rgb(157,0,0);
    text-decoration: none;
}

.captcha {
	margin-left: 10px;
}

/*
 * Grundlegende Stilregeln
 * --------------------------------------------------*/
body {
    background: #e6e6e6;
    color: #000;
    font: 100%/1.5em Verdana, Arial, sans-serif;
}

p, ul, ol {
    margin-bottom: 1em;
}

#impressum p {
	margin-bottom: 0.2em;
}

header {
	background: #e6e6e6;
    -moz-box-shadow: 0px 0px 4px 0px rgba(0,0,0,.5); /* FF3.5 - 3.6 */
    -webkit-box-shadow: 0px 0px 4px 0px rgba(0,0,0,.5); /* Saf3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
    box-shadow: 0px 0px 4px 0px rgba(0,0,0,.5); /* Opera 10.5, IE9, FF4+, Chrome 6+, iOS 5 */
}

#container {
    margin: auto 0;
    overflow: hidden;
    width: 95%;
    padding: .625em 1.0548523% 1.5em; /* 10px/16px, 10px/948, 24px/16px */
}

article {
	background: #e6e6e6;
}

#zertifikate article, #referenzen article {
	width: 100%;
}/*Breite Auflistung Zertifikate*/

.main img {
		width: 100%;
		max-width: 100%;
}

aside img {
		max-width: 100%;
		margin: 2.4em auto;
		display: block;
}
	
ul.tags li {
    float: left;
    font-size: 14px;
    margin: 0 5px 5px 0;
}

ul.tags li a {
    -moz-border-radius: 0px 3px 3px 0px;
    -moz-transition: background-color .2s ease-in-out;
    -webkit-border-radius: 0px 3px 3px 0px;
    -webkit-transition: background-color .2s ease-in-out;
    border-radius: 0px 3px 3px 0px;
    color: #fff;
    float: left;
    font-weight: normal;
    padding: 5px 10px 6px 25px;
    transition: background-color .2s ease-in-out;
}

ul.tags li a:active {
    background-color: #ccc;
}

ul.tags li a:hover, ul.tags li a:focus {
    background-color: #333
}

.related li {
    list-style-type: none
}

.related h3 {
    line-height: 1em;
    margin-bottom: 0em;
}

.related a {
	display:block;
	border-bottom: 1px dotted #999;
	padding: .3125em 0; /* 5px / 16px */
}

.touchscreen .related a {
	display:block;
	padding: .625em 0;
}

.related time {
    display: block;
    font-family: Verdana, Arial, sans-serif;
    font-size: .625em;
    line-height: 1em;
    margin-bottom: 1.5em;
}

.more-stories {
    padding-top: 1.5em;
	clear: both;
}

.touchscreen .more-stories a {
	display:block;
	padding: .625em 0;
	border-bottom: 1px dotted #999;
}

.inner {
    margin: auto;
    overflow: hidden;
    width: 100%;
	padding: 0 1.0548523%;
}

header[role="banner"] {
    margin: auto;
    overflow: hidden;
    width: 100%;
	padding: 0 1.0548523%;
	background-color: #e2000f;/* Hintergrundfarbe Banner */ 
  	background-size:100% 100%;
}

.inner h1 {
	text-align: left;
}

/*
 * Nav
 ** --------------------------------------------------*/
#nav-collapse {
	display: none;
	color: #000;
	text-align: center;
	width: 100%;
	padding: .625em 0 .625em 0;
}

#home #nav-collapse, #impressum #nav-collapse, #zertifikate #nav-collapse, #kontakt #nav-collapse, #leistungen #nav-collapse {
	color: #000;
	border: 1px solid #fff;
    border-radius: 0;
    margin: 5px 5px 5px 0px;
    padding: .25em 0.5em .25em 0.5em;
}

#nav-collapse.active {
	display: block;
	width: 75px;
}

#nav-collapse:after {
 	content: " \2630 ";
} 

#home #navHome a, #zertifikate #navZertifikate a, #impressum #navImpressum a, #kontakt #navKontakt a, #leistungen #navLeistungen a, #referenzen #navReferenzen a {
	color: #000;
	background-color: #ffffff;
} /* Hervorhebung im menue*/
 
nav[role="navigation"] {
    background-color: #660066;
    font-family: Verdana, Arial, sans-serif;
    overflow: hidden;
    width: 100%;/*alt:150px*/
    padding: 10px 0 10px 20px;
    background: url('../images/mh-2.png');
	background-repeat: no-repeat;
	background-position: 60% 10px;
	background-size: 100px auto;
}

nav[role="navigation"] ul {
	margin-bottom: 0;
}

nav[role="navigation"] ul.hide {
	display:none;
}

nav[role="navigation"] li.active a {
    color: #000;
    font-weight: bold;
}

nav[role="navigation"] li a:active {
	color: #000;
}

nav[role="navigation"] li a:hover, nav[role="navigation"] li a:focus {
	color: #000;
}

nav[role="navigation"] ul {
	margin: 0;
}

nav[role="navigation"] li {
	padding: .2em 0.6em .2em 0;
	border-top: 1px solid #333;
	color: #000;
}

nav[role="navigation"] a {
	border: 1px solid #fff;
    border-radius: 0;
    padding: 0px;
    background-color: #e6e6e6; /* Hintergrundfarbe Menuetexte */
    color: #000; /* Schriftfarbe fuer Menue */
	display: block;
	width: 100%;/*alt 130px*/
    text-decoration: none;
    text-align: center;
    font-size: 0.8em;
}

@media (max-width: 37.5em) {
	h1{
	margin-top: 0.5em;
	}
}

/* 600px (600/16)*/
@media (min-width: 37.5em) {
	.slats li {
	    float: left;
		margin-right: 2.5316456%; /* 24px / 948px */
		width: 31.6455696%; /* 300/948 */
	}
	
	.slats li:last-child {
	    margin-right: 0;
	}	
	
	.touchscreen .more-stories a {
		border-bottom: 0;
	}
	
	#kontakt article {
		margin-left: 20%;
	}

	aside {
		width: 90%;
	}
	
	nav[role="navigation"] {
    	width: 150px;
    	background-image: none;
	}
	
	nav[role="navigation"] li {
	    float: left;
		border-top: 0;
	}
	
	nav[role="navigation"] a {
		float: left;
		width: 130px;
	}
	
	header[role=banner] .inner {
		background: url('../images/logo-adr.png');
		background-repeat: no-repeat;
		background-position: 60% center;
		background-size: auto 90.6%;
	}
}

/* 760px */
@media (min-width: 47.5em) {
	header[role=banner] .inner {
		background: url('../images/banner-pic.png'), url('../images/logo-adr.png');
		background-repeat: no-repeat;
		background-position: 45% center, 90% center;
		background-size: auto 90.6%, auto 90.6%;
	}
	nav[role="navigation"] li {
	    float: left;
		border-top: 0;
	}
	nav[role="navigation"] a {
		float: left;
	}

}
/* 980px alt:1000px */
@media (min-width: 61.25em) {
	.main {
		display: table-cell;
	}
	
	.main article {
		width: 50%;
		display: table-cell;
		}
		
	header[role=banner] .inner {
		background: url('../images/banner-pic.png'), url('../images/logo-adr.png');
		background-repeat: no-repeat;
		background-position: 45% center, 90% center;
		background-size: auto 90.6%, auto 90.6%;
	}

	aside {
	    display: table-cell;
		width: 35%;
		margin-left: 65%;
	}
	
	aside section {		
		float: none;
		width: 100%;
	}
	
	#home article {
		padding: 1.5em 1em 1.5em 5em;;
		width: 70%;
	}
	
	#referenzen article, #leistungen article {
		width: 65%;
		float: left;
	}
	
	#zertifikate article {
		width: 65%;
	}
	
	#kontakt aside img {
		margin-top: 4.4em;
		padding-right: 2em;
	}
	
	#home .main section img {
		width: 125px;
		padding: 0;
		margin: 0em auto;
	}

	#kontakt article {
		padding-left: 4em;
		width: 40%;
	}
	
	#referenzen aside img, aside img {
		margin-top: 2.4em;
		margin-left: 0;
	}
	
	#zertifikate aside img, #home aside img {
		margin-top: 4.4em;
		padding-right: 2em;
	}
}
/* 1300px */
@media (min-width: 81.25em) {
	.main section {
		-moz-column-count: 2; /* Firefox */
		-webkit-column-count: 2; /* Safari, Chrome */
		column-count: 2;
		-moz-column-gap: 1.5em; /* Firefox */
		-webkit-column-gap: 1.5em; /* Safari, Chrome */
		column-gap: 1.5em;
	}
	#home .main section {
		-moz-column-count: 1; /* Firefox */
		-webkit-column-count: 1; /* Safari, Chrome */
		column-count: 1;
		-moz-column-gap: 1.5em; /* Firefox */
		-webkit-column-gap: 1.5em; /* Safari, Chrome */
		column-gap: 1.5em;
	}
	li {
    	margin-left: 0.3em;
	}
}
