body.rubrikpage {
  font-family: verdana, helvetica, sans-serif !important;  
}

.rubrikpage h1,
.rubrikpage h2.rubrikHeadline {
  position: relative;
  margin: 0 0 0.5em 20px;
  clear: both;
  color: #666666;
  font-size: 155%;
  text-transform: uppercase;
}
a.more:link, a.more:visited,
.more a:link, .more a:visited {
  position: relative;
  font-size: 100%;
  color: #666666;
  font-weight: bold;
  padding: 0 0 0 15px !important;
  margin: 0 !important;
  background-image: url(../img/pfeil_search.gif);
  background-repeat: no-repeat;
  background-position: 0 0.3em;
}
.infobox a.more:link, .infobox a.more:visited {
  display: block;
  background-position: 0 0.4em;
}
#logo {
  top: -154px !important;
}
.contact {
  top: 166px !important;
}
#fontSizeBox {
  top: 176px !important;
}
@media screen {
  #mainmenue {
    position: relative;
    width: 984px;
    left: 0;
    margin-top: 7px;
    font-weight: bold;
    font-size: 110%;
    overflow: hidden;
    background-image: url(../img/bg_rubrikmenu.gif);
    background-repeat: no-repeat;
    background-position: 0 0;
    font-family: verdana, helvetica, sans-serif;
  }
  #mainmenue li {
    margin-right: 2px;
  }
  #mainmenue li a:link, #mainmenue li a:visited {
    color: #333333;
    display: block;
    float: left;
    margin: 0;
    padding: 11px 0 9px 0;
    height: auto;
    text-align: center;
    line-height: 13px;
    font-size: 11px;
  }
  .en_GB #mainmenue li a:link#m0, .en_GB #mainmenue li a:visited#m0 {
    width: 108px;
    padding: 4px 0 3px;
  }
  #mainmenue li a:link#m0, #mainmenue li a:visited#m0 {
    width: 108px;
  }
  #mainmenue li a:link#m1, #mainmenue li a:visited#m1 {
    width: 106px;
  }
  #mainmenue li a:link#m2, #mainmenue li a:visited#m2 {
    width: 106px;
  }
  #mainmenue li a:link#m3, #mainmenue li a:visited#m3 {
    width: 106px;
  }
  #mainmenue li a:link#m4, #mainmenue li a:visited#m4 {
    width: 106px;
    padding: 4px 0 3px;
  }
  #mainmenue li a:link#m5, #mainmenue li a:visited#m5 {
    width: 106px;
  }
  #m0:link, #m0:visited {
    background: none;
    border-bottom: 5px solid #bee100;
    border-top: none;
  }
  #m0:active, #m0:hover {
    background: url(../img/bg_m0_over.gif) repeat-x 0 0 !important;
  }
  .active #m0, .path #m0 {
    background: url(../img/bg_m0_over.gif) repeat-x 0 0 !important;
  }
  #m1:link, #m1:visited {
    background: none;
    border-bottom: 5px solid #fcd201;
    border-top: none;
  }
  #m1:active, #m1:hover {
    background: url(../img/bg_m1_over.gif) repeat-x 0 0 !important;
  }
  .active #m1, .path #m1 {
    background: url(../img/bg_m1_over.gif) repeat-x 0 0 !important;
  }
  #m2:link, #m2:visited {
    background: none;
    border-bottom: 5px solid #f19003;
    border-top: none;
  }
  #m2:active, #m2:hover {
    background: url(../img/bg_m2_over.gif) repeat-x 0 0 !important;
  }
  .active #m2, .path #m2 {
    background: url(../img/bg_m2_over.gif) repeat-x 0 0 !important;
  }
  #m3:link, #m3:visited {
    background: none;
    border-bottom: 5px solid #61cfff;
    border-top: none;
  }
  #m3:active, #m3:hover {
    background: url(../img/bg_m3_over.gif) repeat-x 0 0 !important;
  }
  .active #m3, .path #m3 {
    background: url(../img/bg_m3_over.gif) repeat-x 0 0 !important;
  }
  #m4:link, #m4:visited {
    background: none;
    border-bottom: 5px solid #61cfff;
    border-top: none;
  }
  #m4:active, #m4:hover {
    background: url(../img/bg_m4_over.gif) repeat-x 0 0 !important;
  }
  .active #m4, .path #m4 {
    background: url(../img/bg_m4_over.gif) repeat-x 0 0 !important;
  }
  #m5:link, #m5:visited {
    background: none;
    border-bottom: 5px solid #00aeff;
    border-top: none;
  }
  #m5:active, #m5:hover {
    background: url(../img/bg_m5_over.gif) repeat-x 0 0 !important;
  }
  .active #m5, .path #m5 {
    background: url(../img/bg_m5_over.gif) repeat-x 0 0 !important;
  }
}

.wohnen #submenu {
  background-color: #ecfbad;
  border-bottom: 5px solid #bee100;
}
.mieten #submenu {
  background-color: #fef4bf;
  border-bottom: 5px solid #fcd201;
}
.kaufen #submenu {
  background-color: #fdecd2;
  border-bottom: 5px solid #f19003;
}
.club #submenu {
  background-color: #cff1ff;
  border-bottom: 5px solid #61cfff;
}
.unternehmen #submenu {
  background-color: #bae9ff;
  border-bottom: 5px solid #00aeff;
}
.relations #submenu {
  background-color: #bae9ff;
  border-bottom: 5px solid #00aeff;
}
.rubrikpage #navigation {
  float: left;
  margin: 0;
  padding: 0;
  position: relative;
  width: 655px;
  background: url(../img/bg_navigation.gif) repeat-y right 0;
}

#naviShadowBottom {
  width: 655px;
  height: 5px;
  margin: 0 0 2.4em 0 !important;
  padding: 0 !important;
  float: left;
  overflow: hidden;
  background: url(../img/naviShadowBottom.gif) no-repeat 0 0;
}

@media screen {
  #submenu ul li a:link, #submenu ul li a:visited, #submenu ul li a:active, #submenu ul li a:hover {
    color: #333333;
    text-decoration: none;
  }
  #submenu {
    margin: 0;
    width: 650px;
    float: left;
    font-size: 110%;
  }
  #submenu ul {
    width: 630px;
    float: left;
    padding: 0.5em 0 0.5em 20px;
    margin: 0;
    list-style: none;
    font-weight: normal;
  }
  #submenu ul li {
    float: left;
  }
  #submenu li a:link, #submenu li a:visited {
    display: block;
    padding: 0.4em 0 0.4em 12px;
    border-bottom: none;
  }
  .wohnen #submenu li a:link, .wohnen #submenu li a:visited {
    width: 145px;
  }
  .mieten #submenu li a:link, .mieten #submenu li a:visited {
    width: 150px;
  }
  .kaufen #submenu li a:link, .kaufen #submenu li a:visited {
    width: 160px;
  }
  .club #submenu li a:link, .club #submenu li a:visited {
    width: 145px;
  }
  .unternehmen #submenu li a:link, .unternehmen #submenu li a:visited {
    width: 145px;
  }
  .relations #submenu li a:link, .relations #submenu li a:visited {
    width: 145px;
  }
  #submenu li.path {
    background-image: url(../img/pfeil_submenu.gif);
    background-position: 0 0.7em;
    background-repeat: no-repeat;
    font-weight: bold;
  }
  #submenu li.node {
    background-image: url(../img/pfeil_submenu.gif);
    background-position: 0 0.7em;
    background-repeat: no-repeat;
  }
  #submenu li.leaf {
    background-image: url(../img/pfeil_submenu.gif);
    background-position: 0 0.7em;
    background-repeat: no-repeat;
  }
  #submenu li.active {
    background-image: url(../img/pfeil_submenu.gif);
    background-repeat: no-repeat;
  }
  #submenu li.active a strong {
    color: black !important;
  }
}

.wohnen #illu {
  height: 154px;
  border-bottom: 0;
}
.mieten #illu {
  height: 154px;
  border-bottom: 0;
}
.kaufen #illu {
  height: 154px;
  border-bottom: 0;
}
.club #illu {
  height: 154px;
  border-bottom: 0;
}
.unternehmen #illu {
  height: 154px;
  border-bottom: 0;
}
.relations #illu {
  height: 154px;
  border-bottom: 0;
}

#search {
  position: absolute;
  top: 162px;
}

#content {
  width: 665px !important;
  padding: 0 !important;
}

#margin {
  margin-top: -2px;
  padding: 0;
  width: 319px !important;
}

#footer {
  margin-left: 20px;
  width: 964px;
}

@media all { 
  .wohnen .teaserRubrik {
    background: none !important;
  }
  .mieten .teaserRubrik {
    background: none !important;
  }
  .kaufen .teaserRubrik {
    background: none !important;
  }
  .club .teaserRubrik {
    background: none !important;
  }
  .unternehmen .teaserRubrik {
    background: none !important;
  }
  .relations .teaserRubrik {
    background: none !important;
  }
  table.teaserRubrik {
    position: relative;
    display: block;
    float: left;
    padding: 0;
    margin: 0 0 2em 0;
    left: 20px;
    width: 630px;
    color: #333333;
    border-collapse: collapse;
    font-size: 110%;
  }
  .teaserRubrik td {
    padding: 0 5px 10px 0;
    margin: 0;
    width: 205px;
    vertical-align: top;
    font-size: 90%;
  }
  .teaserRubrik div {
    padding: 0 !important;
    margin: 0 !important;
  }
  .teaserRubrik img {
    float: none;
    width: 200px;
    margin: 0;
    border: 0;
  }
  .teaserRubrik h3 {
    margin: 0.4em 0 0 0 !important;
    padding: 0;
    color: #333333;
    font-size: 110%;
  }
  .Image .teaserRubrikText {
    float: left;
    color: #666666;
    width: auto;
    padding: 0 20px 5px 0 !important;
  }
  .noImage .teaserRubrikText {
    float: left;
    padding: 0 8px 5px 0 !important;
  }
  .more {
    position: relative;
    bottom: 0;
  }
  .teaserRubrik .more a {
    padding: 0 0 0 15px;
    font-weight: bold;
    display: block;
    font-size: 100%;
    background: url(../img/pfeil_search.gif) no-repeat 0 0.4em;
  }
  .wohnen .btn-select {
    background: url(../img/btn_select_service_rubrik.gif) no-repeat center right;
  }
  .mieten .btn-select {
    background: url(../img/btn_select_mieten_rubrik.gif) no-repeat center right;
  }
  .kaufen .btn-select {
    background: url(../img/btn_select_kaufen.gif) no-repeat center right;
  }
  .club .btn-select {
    background: url(../img/btn_select_club_rubrik.gif) no-repeat center right;
  }
  .unternehmen .btn-select {
    background: url(../img/btn_select_untern_rubrik.gif) no-repeat center right;
  }
  #content .filter,
  #content .webform,
  #content .teaserimg {
    margin: 0 0 2.6em 20px;
    padding: 0;
  }
  #content .teaserimg div {
    margin: 0;
    padding: 0;
    color: #666666;
    line-height: 130%;
  }
  #content .teaserimg h2 {
    margin: 0 0 1.2em 0;
  }
  #content .teaserimg img {
    clear: both;
    float: left;
    margin: 0 0 1em 0;
  }
}

/* Wohnungsfinder */

@media screen {
  .wohnen .functionbox {
    background-color: #dff977;
  }
  .mieten .functionbox {
    background-color: #fcd201;
  }
  .kaufen .functionbox {
    background-color: #fec86a;
  }
  .club .functionbox {
    background-color: #cff1ff;
  }
  .unternehmen .functionbox {
    background-color: #bae9ff;
  }
  .functionbox {
    padding: 1em 15px 1em 15px;
    height: 10em;
  }
  .functionbox h2 {
    font-size: 155%;
    color: #666666;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
  }
  .functionbox .legend {
    font-size: 1em;
    color: #666666;
    margin: 0.2em 0;
    padding: 0;
  }
  .functionbox img {
    position: absolute;
    top: 5px;
    right: 5px;
    margin: 0;
    padding: 0;
  }
  .functionbox table {
    border-collapse: collapse;
    margin: 8px 0 13px 0 !important;
  }
  .functionbox table td {
    vertical-align: top;
  }
  .functionbox input {
    border: 1px solid #7f9db9;
    margin-bottom: 2px;
  }
  .functionbox input.btn-select {
    position: absolute;
    right: 30px;
    margin-top: 6px;
    border: 0;
    width: 25px;
    height: 25px;
    cursor: pointer;
  }
  .functionbox label {
    position: relative;
    top: 3px;
  }
}

@media screen {
  /* aktionsboxen rechts fuer Rubrikpage */
  .infobox {
    width: auto;
    padding: 0 15px;
    margin: 2.6em 0 15px 0;
    color: #666666;
    border: none;
  }
  .infobox div.border {
    padding: 0;
    margin-bottom: 1em;
  }
  .infobox h2 {
    padding: 0;
    margin: 0.5em 0;
    color: #666666;
    font-size: 155%;
    text-transform: uppercase;
  }
  .infobox h3 {
    padding: 0;
    margin: 0;
    color: #666666;
    line-height: 110%;
  }
  .infobox div {
    font-size: 100%;
    padding: 0;
    color: #666666;
  }
  .infobox div.date {
    padding: 0;
    margin: 0 0 0.2em 0;
    font-weight: bold;
    color: #00aeff;
  }
  .infobox div div {
    padding: 0;
  }
  .infobox a:link, .infobox a:visited {
    text-decoration: none;
  }
  .infobox img {
    padding-right: 0.5em;
    margin: 0.4em 0 0.2em 0;
  }
  .infobox ul {
    margin: 0;
    padding: 0;
  }
  .infobox li {
    font-size: 90%;
    margin: 0;
    padding: 0 0 2px 10px;
    list-style: none;
  }
}

.rubrikpage.wohnen #body,
.rubrikpage.mieten #body,
.rubrikpage.kaufen #body,
.rubrikpage.unternehmen #body,
.rubrikpage.club #body {
  background-color: white !important;
}

#onpageBanner {
  position: absolute;
  z-index: 200;
  left: 100px;
  top: 50px;
}
