/* Style sheet Main */
body {
background-color:#e2e2e2;
font-family: 'Scada',Verdana,Geneva,Helvetica,sans-serif;
font-weight: 400;
font-size: 15px;
letter-spacing: 1px;
color:#5b5b5b;
}

body, div, header, footer {
margin: 0;
}

body.startseite {
background:url("../img/fond_01.jpg") center center no-repeat;
background-size: cover;
background-attachment: fixed;
}

body.leistungen {
background:url("../img/fond_02.jpg") center center no-repeat;
background-size: cover;
background-attachment: fixed;
}

body.uebermich {
background:url("../img/fond_03.jpg") center center no-repeat;
background-size: cover;
background-attachment: fixed;
}

body.fachgremien {
background:url("../img/fond_04.jpg") center center no-repeat;
background-size: cover;
background-attachment: fixed;
}

body.kontakt {
background:url("../img/fond_05.jpg") center center no-repeat;
background-size: cover;
background-attachment: fixed;
}

#wrapper {
width:100%;
position:relative;
margin:0;
}

#container {

}

#header {
width:100%;
background-color:#fff;
}

#header > div.inside, #container > div#main {
width:960px;
margin-right:auto;
margin-left:auto;
position: relative;
}

#header > div.inside {
height: 100px;
}

#main > div.inside {
font-size: 1em;
line-height: 1.3em;
display: block;
width: 521px;
margin-left: 248px;
padding: 20px;
background-color: rgba(255,255,255,1.0);
overflow: visible;
}

div.company {
position:absolute;
bottom: 0;
left: 0;	
margin-left: 10px;
margin-bottom: 10px;
font-size: 1.7em;
line-height: 1.3em;
letter-spacing: 0.1em;
color:#808080;
}

nav#headernav {
font-size: 0.8em;
position: absolute;
bottom: 4px;
right: 0;
margin-right: 63px;
margin-bottom: 10px;
}

nav#footernav li a {
padding: 1em 0 1em 0;
display: block;
}

nav a {
text-decoration: none;
color:#808080;
}

nav a.active, .red {
color:#c80000;
}

nav a:hover {
color:black;
}

a.email, a.link {
color:#c80000;
text-decoration: none;
}

strong, b {
	font-weight: 700;
}

h1 {
margin-top:0;
margin-bottom:0.7em;
font-size: 1.7em;
}

h2 {
margin-top:0.7em;
margin-bottom:0.7em;
font-size:1.4em;
}

p {
margin-top: 0.5em;
margin-bottom: 1em;
}

p.impressum {
font-size: 0.8em;
line-height: 1.4em;
color:#808080;
margin-bottom: 2em;
}

p.ul {
margin-bottom:0.2em;
}

.willkommen p {
font-size: 1.2em;
line-height: 1.4em;
}

.upper {
text-transform: uppercase;
}

.clear {
clear: both;
}

#main ul {
padding: 0 0 0 1.3em;
margin: 0 0 1.3em 0;
}

#main li {
margin-bottom: 0.2em;
}

#main li.space, #main ul.space li {
margin-bottom: 0.8em;
}

figure.portrait {
display: inline-block;
margin: 20px 20px 0 0;
float:left;
}

figure.portrait img {
width:auto;
height: 133px;
}

#footer {
display: none;
}

<!-- Tablet-Modus AUSGESCHALTET
@media (max-width: 979px) and (min-width: 768px){
/* Style sheet Tablet */

#header > div.inside, #container > div#main {
width:744px;
}

#main > div.inside {
width: 500px;
margin-left: 128px;
}

div.company {
width:270px;
}

}
-->

@media (max-width: 767px){
/* Style sheet Mobile */

#container > div#main {
width:100%;
margin: 50px 0 50px 0;
}

#main > div.inside {
background-color: rgba(255,255,255,0.7);
}

#header > div.inside {
height: 60px;
}

#header > div.inside, #main > div.inside, #footer > div.inside {
width: auto;
margin: 0 0 0 0;
padding: 10px;
}

#footer > div.inside {
background-color: #fff;
}

nav#headernav {
display: none;
}

#footer {
display: block;
}

nav#footernav ul {
font-size: 1.4em;
margin: 0;
padding: 0;
list-style: none;
}

figure.portrait {
margin: 10px 10px 0 0;
}

figure.portrait img {
height: 100px;
}


}