body {
    min-height:800px;
    min-width:980px;
    font-family:sans-serif;
    margin: 0;
    padding: 0;
    background-color:#eee;
}

img {
	border: none;
}

table {
    border-collapse: collapse;
    padding: 0px;
    margin: 0px;
}

td {
}

.body {
    width: 980px;
    margin: 0px auto;
}
    
#header {
    position: relative;
}

#header .body {
    height: 196px;
}

#messagebox {
    position: absolute;
    top: -70px;
    right: 80px;
    height: 90px;
    width: 301px;
    /* background-image: url(/images/messageboxbg.png); */
    /* opacity:0.8; */
    z-index: 2;
}

#messagebox #head {
    color: #EDEBE4;
    color: #333;
    font-size:17px;
    height: 52px;
    width: 341px;
    margin: 0px;
    text-align: center;
    vertical-align: middle;
    padding: 8px 10px;
    /* background-color: #EABB5E; */
    background-color: #FFD535;
}

#messagebox #head big {
    font-size: 23px;
}

#messagebox #spacer {
    height: 2px;
    background-color: #FFF;
}

#messagebox #body {
    color: #EDEBE4;
    font-size:11px;
    vertical-align: middle;
    text-align: left;
    height: 37px;
    width: 341px;
    padding: 0px 10px;
    background-color: #000;
}

#header {
    background-position: center;
    background-repeat: no-repeat;
}

body#welcome #header {
    background-color: #cdb487;
    background-image: url(/images/bgwelcome.png);
}

body#company #header {
    background-color: #e6e9e1;
    background-image: url(/images/bgcompany.png);
}

body#services #header {
    background-color: #dae2e5;
    background-image: url(/images/bgservices.png);
}

body#contact #header {
    background-color: #af916e;
    background-image: url(/images/bgcontact.png);
}

body#meta #header {
    background-color: #c2d3e1;
    background-image: url(/images/bgmeta.png);
}

#logo {
    padding:0px 80px;
}

/* SUBMENU */

#submenu {
    padding:0px 80px;
    position: absolute;
    bottom: 0px;
}

#submenu ul {
    margin:0;
    padding:0;
}

#submenu li {
    text-align:center;
    display: inline;
    margin: 0px;
    padding:0px;
    font-size:13px;
    color:#445C63;
}

/* MENU */

#menu {
    padding:0px 80px;
    position:absolute;
    bottom: 0px;
    padding-bottom: 8px;
    z-index:3;
}

#menu ul {
    margin: 0px;
    padding: 0px;
}

#menu li {
    text-align:center;
    margin:0px;
    padding:0px;
    display: inline;
    font-size:13px;
    color:#445C63;
}

#menu a {
    padding: 6px 10px;
    text-decoration:none;
    opacity: .55;
    background-color: #AAA;
    color: #000;
}

#menu a:hover {
    opacity: 1;
    background-color: #EDEBE4;
    color: #CC9C48;
}

#menu a.active {
    opacity: 1;
    background-color: #EDEBE4;
    padding-bottom: 12px;
    color: #445C63;
}


#content {
    min-height: 40px;
    background-color: #EDEBE4;
    background-image: url(/images/schattenkante-contentbereich-unten.png);
    background-repeat: repeat-x;
    background-position: bottom;
    position: relative;
    z-index:1;
}

.doublecontent, .singlecontent, .quadcontent, #main {
    margin: 0px 80px;
}

#content a {
    text-decoration: none;
    color: #cc9c48;
}

#content a:hover {
    color:#cc9c48;
    text-decoration: underline;
}

#content .body {
    position: relative;
    margin: 0px auto;
    padding-bottom: 31px;
}

#content h1 {
    font-size: 28px;
    line-height: 32px;
    color: #445C63;
    margin:0px;
    padding-top: 40px;
}

#content h2 {
    font-size: 18px;
    line-height: 22px;
    color: #445C63;
    padding-top: 40px;
}

#content h3 {
    font-size: 16px;
    line-height: 22px;
    color: #778A8C;
}

#content p {
    font-size: 11px;
    color: #778A8C;
    margin: 0px 0px;
    margin-bottom: 18px;
}

#content table table h3, #content table table h3 {
    font-size:12px;
    margin: 0px;
}

#subcontent {
    padding-top: 10px;
    padding-bottom: 84px;
    background-color: #445C63;
    background-image: url(/images/schattenkante-sitemapbereich-oben.png);
    background-repeat: repeat-x;
    background-position: bottom;
    color: #BFBEBE;
    font-size:11px;
}

#subcontent a {
    text-decoration: none;
    color:#EABB5E;
}

#subcontent a:hover {
    color: #EABB5E;
    text-decoration: underline;
}

#subcontent p {
    text-align: left;
    font-size: 11px;
    line-height: 15px;
    margin: 0px;
    margin-bottom: .8em;
}

#subcontent h1 {
    font-size: 28px;
    line-height: 32px;
    color: #EDEBE4;
}

#subcontent h2, #subcontent h2 a, #subcontent h2 a:hover {
    text-decoration: none;
    font-size: 18px;
    line-height: 22px;
    color: #EDEBE4;
}

#subcontent h3, #subcontent h3 a, #subcontent h3 a:hover {
    text-decoration: none;
    font-size: 16px;
    line-height: 20px;
    color: #EDEBE4;
}

#subcontent table table h3, #subcontent table table h3 {
    font-size:11px;
    margin: 0px;
}

#subcontent h4, #content h4 {
    font-size: 13px;
    margin: 0px;
    font-weight: bold;
}

#content h4 {
    color: #778A8C;
}

#subcontent h4, #subcontent h4 a {
    color: #EDEBE4;
}

#subcontent h4 a {
    text-decoration: none;
}

#subcontent h5, #content h5 {
    margin: 0px;
    font-size: 11px;
    color: #BFBEBE;
}

#subcontent h6 {
    padding-top: 20px;
}

table tr {
    vertical-align: top;
}

table {
    border-collapse: collapse;
}

/* Spaltenmassacker */

/* damit die newsspalte kleiner wird */
#welcome table.doublecontent td #content1{
}

#welcome table.doublecontent td #content2{
    width: 205px;
}

#services #subcontent .doublecontent #subcontent2 {
    width: 205px;
}

/* spalte company */
#company #subcontent .doublecontent #subcontent2 {
    width: 300px;
}

.doublecontent #content1, .doublecontent #content1 {
    margin-right: 20px;
}

#subcontent1, #subcontent2, #subcontent3, #subcontent4 {
    margin-right: 20px;
}

.quadcontent #subcontent4 {
    width: 205px;
    margin-right: 0px;
}

#links {
    background-color: #1F3133;
    padding-top: 9px;
    padding-bottom: 90px;
    background-image: url(/images/schattenkante-sitemapbereich-unten.png);
    background-repeat: repeat-x;
    background-position: bottom;
}

#links .body {
    width: 980px;
}

#links .body .content {
    padding:0px 80px;
}

#links #unternehmer, #links #leistungen, #links #kontakt, #links #meta {
    float: left;
    margin-right: 20px;
}

#links h6 {
    color: #445C63;
    font-size: 11px;
    margin:0;
}

#links a {
    color: #445C63;
    font-size:11px;
    text-decoration: none;
}

#links a:hover {
    color: #BFBEBE;
}

#links ul {
    padding:0px;
    margin:0px;
}

#links li {
    padding: 0px;
    margin: 0px;
    list-style: none;
}


#links #max21logo {
    text-align: right;
    padding-right: 13px;
}

#footer {
    height: 44px;
    background-color: #000;
}

#footer #copyright {
    font-weight: bold;
    color: #1F3133;
    font-size:11px;
    vertical-align:middle;
    line-height:44px;
    margin-left: 80px;
}

#container { 
}

.body ul {
	padding: 0;
    margin: 0;
    margin-top: 10px;
	list-style-position: outside;
}

.warn {
	background-color:#b00;
	color:#ff0;
}

#submenu a {
    text-decoration: none;
    padding: 4px 10px;
    color:#445C63;
    opacity: 0.55;
    background-color: #FFF;
}

#submenu a:hover {
    opacity: 1;
    background-color: #445C63;
    color: #EABB5E;
    text-decoration: none;
}

#submenu a.active {
    opacity: 1;
    color: #FFF;
    padding-bottom: 11px;
    background-color: #445C63;
}


li {
    font-size: 11px;
}

.contactform fieldset {
    border: 1px solid;
    border-color: #1F3133;
}

.contactform input, .contactform textarea{
    color: #FFF;
    background-color: #5D7176;
    border: 0px;
}

.contactform input[type=submit] {
    color: #1F3133;
    background-color: #EABB5E;
    margin-top: 11px;
}


