html, body {

    height: 100%;
    width: 100%;
    text-align: center;
    margin: 0px;
    padding: 0px;
    
}


body {
    background-color: #e5e5e5;
    background-position: center;
    background-repeat: repeat-y;
}

td {
    font-family: Tahoma, Verdana, Arial, Helvetica, sans;
    font-size: 11px;
    color: #535353;
}

p {
    font-family: Tahoma, Verdana, Arial, Helvetica, sans;
    font-size: 11px;
    color: #535353;
    margin-top: 0px;
    margin-bottom: 10px;
    text-align: justify;
}

h1, h2, h3, h4, h5 {
    font-family: Tahoma, Verdana, Arial, Helvetica, sans;
    color: #535353;
    font-weight: normal;
    margin-top: 0px;

}

h1 {
    font-size: 20px;
    margin-bottom: 14px;
}

h2 {
    font-size: 14px;
    margin-bottom: 12px;
}

h5 {
    font-size: 14px;
    margin-bottom: 12px;
}

.block {
    
}

#page {
    position: absolute;
    width: 800px;
    text-align: left;
    height: 630px;
    left: 50%;
    top: 50%;
    margin-left: -400px;
    margin-top: -315px;
    background-color: white;
}

#pageContainer {
    height: 600px;
}

* html #pageContainer {
    height: 100%;
}

#header {
    height: 400px;
    position: relative;
}

#headerimg {
    position: absolute;
    z-index: 1;
}


#headerimg img{
	position: absolute;
	left: 0px;
	top: 0px;
}


#subheader {
    height: 10px;
    border-bottom: 1px solid #a0a0a0;
    margin-left: 10px;
    margin-right: 10px;
}

#contentContainer {
    margin-top: 20px;
    margin-left: 30px;
    margin-right: 30px;
    margin-bottom: 50px;
}

#contentNavigation {
    float: left;
    width: 230px;
    background-color: #c0252b;
    min-height: 150px;
    background-image: url(../drifte/images/sitenav_back.png);
    position:relative;
    margin-bottom: 20px;
}

#contentNavHeader {
    background-image: url(../drifte/images/sitenav/00_neutral_Wohnform.jpg);
    height: 90px;
    background-position: top;
    background-repeat: no-repeat;
}


#contentNavFooter {
    background-image: url(../drifte/images/sitenav_bottom.png);
    background-position: bottom;
    background-repeat:no-repeat;
    position:absolute;
    width: 230px;
    height: 30px;
    bottom:0px;
    left: 0px;
}

#content {
    float: left;
    margin-left: 25px;
    width: 485px;
}

#footer {
    clear: both;
    height: 30px;
    position: relative;
    margin-top: -30px;
    border-top: 1px solid #a0a0a0;
    margin-left: 10px;
    margin-right: 10px;
}

#footer p {
    font-family: Tahoma, Verdana, Arial, Helvetiva, Sans;
    color: #a0a0a0;
    font-size: 11px;
    margin: 8px 0 0 0;
    padding: 0;
}

#navigation {
    background-image: url(../drifte/images/nav_back.png);
    height: 400px;
    width: 200px;
    left: 60px; /* debug */
    text-align: center;
    position: relative;
    z-index: 999;
}

#logo {
    margin-top: 25px;
}

#navigationContainer {
    margin-top: 70px;
    background-image: url(../drifte/images/container_back.png);
    background-repeat: repeat-y;
    padding-bottom: 10px;
}

ul.nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.navhovered_rechts {
    background-image: url(../drifte/images/nav_hover_rechts.png) !important;
    color: white !important;
}

.navhovered_links {
    background-image: url(../drifte/images/nav_hover_links.png) !important;
    color: white !important;
}

.navhovered {
    background-image: url(../drifte/images/nav_hover.png) !important;
    color: white !important;
}

ul.nav li a {
    display: block;
    height: 30px;
    line-height: 30px;
    text-decoration: none;
    background-image: url(../drifte/images/nav_norm.png);
    padding-left: 20px;
    font-family: Tahoma, Verdana, Arial, Helvetica, Sans;
    font-size: 13px;
    font-weight: normal;
    color: #535353;
    text-align: left;
}


#navhandle {

    position: absolute;
    bottom: 10px;
    left: 10px;
    cursor: move;
    height: 18px;
    width: 180px;
    background-image:url(../drifte/images/nav_handler.png);
    border-bottom: 1px solid #c0252b;

}


ul.sitenav {
    list-style: none;
    padding: 0;
    margin: 0;
 }

ul.sitenav li a {
    display: block;
    height: 19px;
    text-decoration: none;
    background-image: url(../drifte/images/sitenav_menupunkt.png);
    background-position: 0 -19px;
    padding-left: 20px;
    line-height:19px;
    font-family: Tahoma, Verdana, Arial, Helvetica, Sans;
    font-size: 11px;
    font-weight: normal;
    color: white;
}

ul.sitenav a:hover {
    background-position: 0 0;
}
ul.nav li div {
    position: absolute;
    list-style: none;
    height: 400px;
    z-index: 99;
    background-image: url(../drifte/images/submenu_back.png);
}

ul.nav li div.links {
    background-image: url(../drifte/images/submenu_back_links.png) !important;
}

ul.subnav, div.subnav {
    display: block;
    list-style: none;
    padding: 10px;
    z-index: 99;
}

div.subnav {
    padding: 20px 10px 10px 10px !important;
    position: static !important;
    background: none !important;
    height: auto !important;
}

div.newsletter {
    display: block;
    width: 460px;
    height: 370px !important;
    background-image: none !important;
    background-color: white !important;
    position: static !important;
}

div.newslettercontent {
    display: block;
    padding: 10px 20px 10px 10px !important;
    position: static !important;
    background: none !important;
    text-align: left;
    height: auto !important;
}

div.newslettercontent input[type=text] {
    border: 1px solid #ddd;
    margin-right: 4px;
    font-size: 12px;
}

ul.subnav li {
    width: 180px;
}

ul.subnav li a {
    display: block;
    height: 30px;
    line-height: 30px;
    text-decoration: none;
    background-image: url(../drifte/images/submenu_norm.png);
    padding-left: 10px;
    font-family: Tahoma, Verdana, Arial, Helvetica, Sans;
    font-size: 13px;
    font-weight: normal;
    color: #535353;
}

ul.subnav li a:hover {
    background-image: url(../drifte/images/submenu_hover.png) !important;
    color: white;
}


.clear {
    clear: both;
}

.left {
    float: left;
}

.right {
    float: right;
}

.rightalign {
    text-align: right;
}

img {
    border: 0;
}

a {
    text-decoration:none;
    color: #535353;
    font-weight: bold;
}

a.footerlink {
    text-decoration: none;
    color: #a0a0a0;
    font-weight: normal;
}

a:hover {
    text-decoration: underline;
}


div#headerloading {
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: white;
    background-image: url(../drifte/images/ajax-loader.gif);
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
}

div#contentNavigation p {
    padding: 0px 20px;
    color: white;
}

div#contentNavigation em {
    font-weight: bold;
    font-style: normal;
}

div#contentNavigation a {
    color: white;
}

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

.partner {
    display: block;
    float: left;
    height: 110px;
    width: 110px;
    margin-left: 2px;
    margin-right: 9px;
    margin-bottom: 9px;
    margin-top: 2px;
    border: 1px solid #a0a0a0;
}

.partner:hover {
    border: 3px solid #c0252c;
    margin-left: 0px;
    margin-right: 7px;
    margin-top: 0px;
    margin-bottom: 6px;
}

.omega {
    margin-right: 0px !important;
}
