* {
    margin: 0;
    padding: 0;
}

html {
    padding: 5px 2%;
}

body {
	width: 950px;
	margin: 0 auto;
	background-image: url(../img/cork-wallet.png);
	font-family: Arial, sans-serif;
	font-size: 0.9em;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	color: #FFF;
}

a {
	color: #18585B;
	font-weight: bold;
	width: 100%;
	top: 5px;
}
a:hover, a:focus {
	color: #ff9933;
}

a.more {
    float: right;
}
a.more:after {
    content: " >"; 
    display: inline-block; 
    height: 1em; 
    padding: 0 .5em 0.5em 0.5em;
    border-radius: 1em;
    background: #ffa323;
    margin-left: 10px;
}
footer a {
    color: #989898;
}

a.more:hover, footer a:hover {
	color: #ffffff;
	text-decoration: none;
}

p {
	line-height: 1.6em;
	margin: 20px 0;
	color: #FFF;
}

h1 {
	color:#18585B;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 1.875em;
	font-weight: bold;
}
h2 {
	font-size: 1.875em;
	font-weight: normal;
	color: #18585B;
	padding: 15px 0px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #18585B;
}
h2.img {
    padding-left: 40px;
    background: left center no-repeat scroll;
}
span {
	color: #006664;
	font-weight: bold;	
}
.img.planung {
    background-image: url('../img/icon-planung.png')
}
.img.bauleitung {
    background-image: url('../img/icon-bauleitung.png')
}
.img.rohbau {
    background-image: url('../img/icon-rohbau.png')
}
.img.putz {
    background-image: url('../img/icon-putz.png')
}
.img.sanieren {
    background-image: url('../img/icon-sanieren.png')
}
.img.schluessel {
    background-image: url('../img/icon-schluessel.png')
}
h3 {
	color: #fff;
	margin: 20px 0;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 1.3em;
	font-style: normal;
	font-weight: bold;
	font-variant: normal;
}

img, a img {
    border: 0 none;
}

ul.bullets  {
    margin: 30px 0 0 13px;
    color: #FFA128;
}
ul.bullets li {
    width: 100%; 
    font-size: 1.10em; 
    font-weight: bold; 
    padding-left: 5px;
    line-height: 2.0em;
    color: #FFA128;
}
ul.bullets li span	{
    color: #474747;
}


dl {
	margin-bottom: 50px;
	clear: left;
	color: #FFF;
}
 
dt {	
    float: left;
    font-weight: bold;
    margin-right: 5px;
    padding: 5px; 
    width: 90px;
}
 
dd {
    margin: 2px 0;
    padding: 5px 0;
}

/* ====================================================  HEADER   ==================================================== */

/*header2 {
	width: 100%;
	height: 240px;
	background-size: contain;
	border: 1px solid #E5E7EB;
	background-color: #e7e8ee;
	background-image: url(img/headerbild.jpg);
	background-repeat: no-repeat;
	background-position: center bottom;
}	*/
header {
	width: 100%;
	background-size: contain;
	color:white;
	display: block;
	margin: 0 auto;
	background-color: #333;
}
#logo	{
	float: left;
	margin: 30px 0 0 30px;
	padding: 10px 0 25px 70px;
	text-decoration: none;
	background-repeat: no-repeat;
	background-position: left;
}

#navlink {
    display:none;
    float: right;
    text-decoration: none;
    font-size: 1.875em;
    font-weight: bold;
    padding: 10px; 
    margin: 30px 30px 0 0;
}


/* ====================================================   CONTENT   ==================================================== */

main	{
    display: block;
    position: relative;
    width: 100%
}

article {
	float: left;
	border: 1px #E5E7EB solid;
	margin-top: 50px;
	width: 96%;
	padding-top: 20px;
	padding-right: 2%;
	padding-bottom: 20px;
	padding-left: 2%;
	background-color: #999999;
}
section {
	float: right;
	width: 50%;
}
section.spalte {
	float: left;
	width:46%;
	min-height: 220px;
	padding-top: 20px;
	padding-right: 2%;
	padding-bottom: 20px;
	padding-left: 2%;
}
section.spalte h2	{
    border-bottom: 0 none;
}
main .news-1 {
	background-color: #333333;
	float: right;
	bottom: 10px;
	margin-top: 5%;
} 
main .news-2	{
	background-color: #EEEEEE;
	float: right;
}

aside {
	float: left;
	width: 45%;
	margin-right: 2%;
	margin-bottom: 2%;
}
aside ul {
    line-height: 1.6em;
    list-style: none outside none;
    padding: 1em 0 1em 5px;
    clear: left;
}
aside p {
    margin-bottom: 50px;
}
aside p:last-child {
    margin-bottom: 20px;
}

#hausbild {
	height: auto;
	width: 100%;
	margin-top: 2%;
}
#bildfirma {
	height: auto;
	width: 100%;
}
#themenbild {
	width: 100%;
	height: auto;
	border: 1px solid #FFF;
	margin-bottom: 20px;
}
#referenzbild {
	width: 50%;
	height: auto;
	border: 1px solid #FFF;
	margin-bottom: 20px;

}
#aktuellbild {
	width: 75%;
	height: auto;
	margin-bottom: 20px;
	border: 1px solid #FFF;
	background-color: #fff;
	margin-right: auto;
	margin-left: auto;
	margin-top: 20px;
}
#datum {
	float: right;
	clear: right;
	position: relative;
	display: block;
	margin-top: 5px;
	margin-right: 0px;
	margin-bottom: 10px;
	margin-left: 10px;
}
description {
	font-size: 0.8em;
	float: right;
}

/* ====================================================  NAV   ==================================================== */

nav	{
	float: left;
	width: 100%;
	list-style-type: none;
	box-shadow: 0 10px 5px 0 rgba(0,0,0,0.75);
	position: absolute;
	left:0%;
	display: block;
	text-align: center;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
}
nav ul {
	float: left;
	width: 100%;
	list-style-type: none;
	/*Farbverlauf Menue*/
	background: #009999;
	background: -webkit-linear-gradient(top, #009999 0%,#2c2d33 100%);
	background: -moz-linear-gradient(top, #009999 0%,#2c2d33 100%);
	background: -o-linear-gradient(top, #009999 0%,#2c2d33 100%);
	background: -ms-linear-gradient(top, #009999 0%,#2c2d33 100%);
	background: linear-gradient(top, #009999 0%,#2c2d33 100%);
}
nav ul li {
    float: left; 
}
nav ul li:first-child {
	margin-left: 2%;	
}
sitemap ul{
	margin-left: 5%;
	list-style-type: none;
}
nav ul li a 	{
    float: left;
    padding: 16px 0 16px 16px;
    color: #FFFFFF;
    text-decoration: none;
}
nav ul li a:after {
    content:" | ";
    color: #ffa323;
    margin-left: 20px;
} 
nav li a:hover, nav li a:focus {
	background: #ff9933;
	/*background: -webkit-linear-gradient(top, #ffcc33 0%,#2c2d33 100%);
	background: -moz-linear-gradient(top, #ffcc33 0%,#2c2d33 100%);
	background: -o-linear-gradient(top, #ffcc33 0%,#2c2d33 100%);
	background: -ms-linear-gradient(top, #ffcc33 0%,#2c2d33 100%);
	background: linear-gradient(top, #ffcc33 0%,#2c2d33 100%);*/
	margin-left: auto;
	margin-right: auto;
	color: #FF0;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

/*
footer ul {
    float: left;
    margin-left: 22px;
    list-style-type: none;
}
footer ul li	 {
    display: inline-block;
    border-left: 1px solid #989898;
}
footer ul li:first-child	 {
    border: 0 none;
}
footer ul li a {
    padding: 0 8px;
}
footer p {
    float: right;
    margin-right: 30px;
    margin-top: 0;
    padding-top: 0;
    text-align: right;
}*/

/* ====================================================   FOOTER   ==================================================== */

footer {
    float: left;
    width: 100%;
    margin: 10px 0 40px 0;
    color: #989898
}
footer ul {
    float: left;
    margin-left: 22px;
    list-style-type: none;
}
footer ul li	 {
    display: inline-block;
    border-left: 1px solid #989898;
}
footer ul li:first-child	 {
    border: 0 none;
}
sitemap {
	list-style-type: none;
	left: 5%;
}
footer ul li a {
    padding: 0 8px;
}
footer p {
    float: right;
    margin-right: 30px;
    margin-top: 0;
    padding-top: 0;
    text-align: right;
}
#footerbild {
	height: auto;
	width: 40%;
	float: right;
}

/* 2-Spaltenlayout mit breiterem aside */
@media screen and (max-width: 950px) {
    body {width:100%}
    section {width:58%;}
    section.spalte, 
    aside {width:29%;}
}

/* 1-Spaltenlayout mit Navigation unten*/
@media screen and (max-width: 620px) {
    section, 
    section.spalte, 
    aside {
        float: none;
        width: 96%;
    }

    header {
        height: auto; 
    }
    #navlink {
        display:block;
    }

    article {
        margin-top: 16px; 
    }
    nav {
	position: relative;
	bottom: 0px;
    }
    nav ul {
        display: block; 
        background: transparent;
        margin: 3em 0 2em;
    }
    nav ul li{
        width: 90%;
        margin: 5px 2%;
    }
    nav ul li a{
        width: 90%;
        background: #006666;
        margin: 5px 5%; 
        border-radius: 10px;
    }
    nav ul li a:after {
        display:none;
    } 
	
	#footerbild {
	height: auto;
	width: 80%;
	float: right;
	}
