/* Html & Body */
html {
    height: 100%;
    min-height: 100%;
}
body {
    margin: 0;
    padding: 0;
    position: relative;
    height: 100%;
    min-height: 100%;
    font-family: Arial, Helvetica, Tahoma, sans-serif;
    font-size: 12px;
    color: #6c6c6c;
}


/* Png Fix */
* html #teaser_immoangebote {
    behavior: url("css/iepngfix.htc");
}


/* Header */
#header_black {
    height: 75px;
    background: #000000;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}
#header_grey {
    height: 69px;
    background: url("../images/header_grey_bg.jpg") repeat-x;
    position: absolute;
    top: 75px;
    left: 0;
    width: 100%;
}


/* Overall */
#overall {
    position: relative;
    height: 100%;
    min-height: 100%;
    /*
    width: 900px;
    */
    background: url("../images/body_bg.jpg") repeat-x bottom #f0efef;
    width: 100%;
    margin: 0;
    
}
body>#overall {
    height: auto;
    min-height: 100%;
}


/* Inner */
#inner {
    position: relative;
    width: 900px;
    padding: 0;
    margin: 0 auto;
    min-height: 600px;
}

#header {
    height: 140px;
}

#logo {
    width: 216px;
    height: 132px;
    position: absolute;
    top: 0;
    left: 0;
}

ul#headnav {
    padding: 0 1px 0 0;
    margin: 0;
    list-style-type: none;
    height: 80px;
    background: url("../images/headnav_right.jpg") no-repeat top right;
    float: right;
}

ul#headnav li {
    display: inline;
}

ul#headnav li a {
    display: block;
    float: left;
    height: 25px;
    padding: 55px 10px 0 10px;
    color: #ffffff;
    font-size: 11px;
    text-decoration: none;
    background: url("../images/headnav_bg.jpg") no-repeat;
    width: 50px;
    text-align: center;
}

ul#headnav li a:hover, ul#headnav li a.active {
    color: #a4a4a5;
}

ul#headnav li a span.bullet {
    width: 9px;
    height: 5px;
    background: url("../images/headnav_bullet.gif") no-repeat;
    display: block;
    font-size: 0px;
    margin: 6px auto 0 auto;
}

/* Sidebar */
#sidebar {
    width: 225px;
    float: left;
}


/* Content */
#content {
    width: 610px;
    float: right;
    padding: 0 0 50px 0;
    line-height: 17px;
}


#flashAni {
    float: left;
    background: url("../images/flash_preview.jpg") top left no-repeat;
    width: 179px;
    height: 283px;
    padding: 0;
    margin: 31px 0 0 0;
}

div.teaser {
    width: 148px;
    height: 314px;
    background: url("../images/teaser_bg.gif") no-repeat;
    padding: 50px 15px 0px 15px;
    color: #ffffff;
    font-weight: bold;
    float: left;
    margin: 0 20px 0 0;
}

div.teaser p {
    margin: 10px 0;
    line-height: 14px;
}

div.teaser h4 {
    color: #ffffff;
    font-size: 12px;

    text-align: right;
    margin: 0 0 30px 0;
}

div.teaser span.city {
    color: #7792b8;
}

div.teaser .bild {
    border: 5px solid #092750;
}

div.teaser a.readmore {
    height: 16px;
    padding: 3px 0 0 25px;
    background: url("../images/teaser_bullet.gif") no-repeat;
    color: #ffffff !important;
    text-decoration: none;
    font-weight: bold;
    display: block;
    margin: -3px 0 0 0;
}

ul#navigation {
    padding: 0;
    margin: 30px 0 0 0;
    list-style-type: none;
    width: 225px;
}

ul#navigation li {
    margin: 0 0 10px 0;
    width: 225px;
}

ul#navigation li a {
    color: #747474;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold; 
    padding: 0 0 0 30px;
    height: 19px;
    background: url("../images/navigation_bg.gif") no-repeat;
    display: block;
}

ul#navigation li a:hover {
    background: url("../images/navigation_bg_h.gif") no-repeat;
    color: #154fa1;
}

ul#navigation li a.active {
    background: url("../images/navigation_bg_a.gif") no-repeat;
    color: #848383;
}

ul#navigation li ul {
    margin: 10px 0 0 0;
    padding: 0;
    list-style-type: none;

}

ul#navigation li ul li {

}

ul#navigation li ul li a {
    color: #747474;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold; 
    padding: 0 0 0 60px;
    height: 19px;
    background: url("../images/navigation_dotted.gif") repeat-x left bottom;
    display: block;
    width: 165px;
    font-weight: normal;
}

ul#navigation li ul li a:hover, ul#navigation li ul li a.active {
    background: url("../images/navigation_dotted.gif") repeat-x left bottom;
    color: #154fa1;
}

/* Footer */
#footclear {
    clear: both;
    height: 159px;
}

#footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 156px;
    background: url("../images/footer_dotted_top.gif") repeat-x #000000;
    padding: 3px 0 0 0;
}

#footer_inner {
    position: relative;
    width: 900px;
    margin: 0 auto;
    background: url("../images/footer_bg.jpg") no-repeat right;
}

#footer_inner div.box_text {
    height: 144px;
    background: url("../images/footer_dotted_left.gif") repeat-y;
    padding: 12px 0 0 15px;
    width: 185px;
    float: left;
}

#footer_inner div.box_ref {
    width: 200px;
}

#footer_inner div.box_text h4 {
    margin: 0 0 10px 0;
    text-transform: uppercase;
    font-size: 12px;
    color: #6c6c6c;
}

#footer_inner div.box_text a {
    color: #d9d9d9;
}

#footer_inner div.box_text img.ref_thumb {
    border: 1px solid #686868;
    padding: 2px;
}


/* Diatom - Logo */
#diatom_logo {
    position: absolute;
    top: 10px;
    left: -90px;
    padding: 0;
    margin: 0;
}


/* Custom & Default */

h1 {
    margin: 30px 0 20px 0;
    background: url("../images/headline_bg.gif") no-repeat;
    font-size: 12px;
    text-transform: uppercase;
    color: #c90000;
    padding: 0 0 0 25px;
    font-size: 14px;
    height: 18px;
}

h2, h3, h4, h5, h6 {
    color: #154FA1;
}

.clear {
    clear: both;
}

.bild {
    border: 5px solid #DBDBDB;
}

a {
    color: #154FA1;
}

a.toplink {
    background: url("../images/toplink_bullet.gif") no-repeat 0% 50%;
    padding: 0 0 0 15px;
    text-decoration: none;
}

a.toplink:hover {
    background: url("../images/toplink_bullet_h.gif") no-repeat 0% 50%;
}

a.pdf {
    background: url("../images/pdf.gif") no-repeat;
    padding: 1px 0 1px 21px;
}

hr {
    background-color: #BFBFBF; /* Farbe für Opera und Firefox */
    color: #BFBFBF; /* Farbe für Internet Explorer (IE) */
    border: 0;
    height: 1px;
    margin: 25px 0;
}

table.downloads {
    border-collapse: collapse;
    width: 100%;
}

table.downloads th {
    font-weight: bold;
    background: #AFAEAE;
    color: #ffffff;
    text-align: left;
}

table.downloads th, table.downloads td {
    border: 1px solid #AFAEAE;
    padding: 5px;
}

table.downloads tr.row2 {
    background: #D3D3D3;
}

.team_foto {
    width: 130px;
    height: 160px;
    float: left;
}
.team_name {
    width: 420px;
    float: left;
    height: 160px;
}

.team_name h3 {
    margin-top: 0;
}

#teaser_immoangebote {
    width: 500px;
    height: 261px;
    background: url("../images/schluessel.png") no-repeat;
    position: relative;
    margin: 20px 0 0 0;
}

#teaser_immoangebote a.vermietung, 
#teaser_immoangebote a.verkauf {
    font-size: 22px;
    text-decoration: none;
    position: absolute;
}

#teaser_immoangebote a.vermietung {
    top: 10px;
    right: 10px;
}

#teaser_immoangebote a.verkauf {
    top: 140px;
    left: 50px;
}

#teaser_immoangebote a.vermietung span.big, 
#teaser_immoangebote a.verkauf span.big {
    font-weight: bold;
    font-size: 28px;
}