/* schriften */
@media screen {
  body, div {
    font-size: 70%;
    line-height: 130%;
  }
}
@media screen {
  div {
    font-size: 100%;
  }
  .sp-email {
    margin: -2px 0 0 0 !important;
    border: 0 !important;
    padding: 0 !important;
    vertical-align: middle;
  }
  .imgEmail {
    margin: 0 !important;
    border: 0 !important;
    padding: 0 !important;
    vertical-align: bottom;
  }
  .imgEmailHover {
    margin: 0 0 -1px 0 !important;
    border-bottom: 1px solid #666666 !important;
    padding: 0 !important;
    vertical-align: bottom;
  }
}
#menu {
  font-size: 100%;
}
#mainmenue {
  font-family: tahoma, verdana, helvetica, sans-serif;
}
#submenu {
  font-size: 90%;
}
@media screen {
  #navigation .infobox h3 {
    font-size: 90%;
    font-weight: bold;
  }
}
a:link.more , a:visited.more  {
  font-size: 90%;
}
.global a:link, .global a:visited, .global a:hover, .global a:active {
  font-size: 90%;
}

@media screen {
  .linkDownload h3 {
    font-size: 120%;
    font-weight: bold;
    font-family: trebuchet ms, verdana, helvetica, sans-serif;
  }
}
.linkDownload a:link, .linkDownload a:visited {
  font-size: 100%;
  font-weight: bold;
}
.linkDownload small {
  font-size: 90%;
}
.infobox h3 {
  font-size: 100%;
}
.rubrikpage h2 {
  font-size: 160%;
  font-family: trebuchet ms, verdana, helvetica, sans-serif;
  font-weight: normal;
}
/* farben */
body {
  color: #333333;
}
h1 {
  color: #333333;
}
h3 {
  color: #FFFFFF;
}
@media screen {
  .global {
    color: #666666;
  }
  .global a:link, .global a:visited {
    color: #666666;
  }
  .global a:hover, .global a:active {
    color: #666666;
  }
  #footer {
    color: #666666;
  }
  #footer a:link, #footer a:visited {
    color: #666666;
  }
  #footer a:hover, #footer a:active {
    color: #666666;
  }
  #content .imgLeft, #content .imgRight {
    background-color: #FFFFFF;
  }
  .missing {
    color: #DD0000;
  }
  .infobox h3 {
    color: #333333;
  }
  #content h3 {
    padding-bottom: 0.2em;
    color: #666666;
    background: url(../img/dotted_line.gif) repeat-x bottom;
  }
  #content .linkDownload h3 {
    color: #333333;
  }
  .wohnen .teaserRubrik {
    background-color: #ECFBAD;
  }
  .mieten .teaserRubrik {
    background-color: #FFE992;
  }
  .kaufen .teaserRubrik {
    background-color: #FAE1BD;
  }
  .unternehmen .teaserRubrik {
    background-color: #CEE6F1;
  }
  .club .teaserRubrik {
    background-color: #CEE7F6;
  }
  .wohnen #rubrikSelectbox {
    background-color: #ECFBAD;
  }
  .mieten #rubrikSelectbox {
    background-color: #FFE992;
  }
  .kaufen #rubrikSelectbox {
    background-color: #FAE1BD;
  }
  .unternehmen #rubrikSelectbox {
    background-color: #CEE6F1;
  }
  .club #rubrikSelectbox {
    background-color: #CEE7F6;
  }
  .wohnen .teaserRubrik h3 {
    background-color: #DFF977;
  }
  .mieten .teaserRubrik h3 {
    background-color: #FFDF66;
  }
  .kaufen .teaserRubrik h3 {
    background-color: #F5C278;
  }
  .unternehmen .teaserRubrik h3 {
    background-color: #A9D9EF;
  }
  .club .teaserRubrik h3 {
    background-color: #A6D7F0;
  }
}

/* Formatierung */
a:link, a:visited {
  text-decoration: none;
}
a:active, a:hover {
  text-decoration:underline;
}
@media screen {
  img.email {
    vertical-align: middle;
  }
  .global {
    position: absolute;
    top: 63px;
    right: 10px;
    z-index: 100;
  }
  .homepage .global {
    position: absolute;
    top: 63px;
    right: 150px;
  }
  .global a:link, .global a:visited, .global a:hover, .global a:active {
    padding: 0 0 0 13px;
  }
  #content #frm1, #content #frm2 {
    margin: 0 0 1.75em 0;
    padding: 3px 5px 0 5px;
    width: 446px;
  }
  #frm1 th, #frm1 td, #frm2 th, #frm2 td {
    padding: 3px 0;
    vertical-align: bottom;
  }
  #frm1 .col1 {
    width: 64%;
    text-align: left;
  }
  #frm1 .col2 {
    width: 18%;
    text-align: center;
  }
  #frm1 .col3 {
    width: 18%;
    text-align: right;
  }
  #frm1 .col3 input {
    width: 4.8em;
    height: 1.3em;
    margin: -1px;
    padding: 0 1px 0 0;
    border: 1px inset gray;
    font-family: verdana,helvetica,sans-serif;
    font-size: 100%;
    text-align: right;
  }
  #frm2 .col1 {
    width: 77%;
    text-align: left;
  }
  #frm2 .col2 {
    width: 23%;
    text-align: right;
  }
  #frm2 .col2 input {
    width: 7.2em;
    height: 1.3em;
    margin: -1px;
    padding: 0 1px 0 0;
    border: 1px inset gray;
    font-family: verdana,helvetica,sans-serif;
    font-size: 100%;
    text-align: right;
  }
  .captcha {
    margin: 0 !important;
  }
}
#illu {
  position: relative;
  padding: 0;
  height: 154px;
}
.homepage #illu {
  position: relative;
  padding: 0;
  height: 250px;
}
.wohnen #illu {
  border-bottom: 10px solid #bee100;
}
.mieten #illu {
  border-bottom: 10px solid #FFCC00;
}
.kaufen #illu {
  border-bottom: 10px solid #F09101;
}
.unternehmen #illu {
  border-bottom: 10px solid #00AEFF;
}
.club #illu {
  border-bottom: 10px solid #61CFFF;
}
@media screen {

  /* Hauptmenue live */
  #mainmenue {
    position: absolute;
    top: 0;
    left: 245px;
    width: 737px;
    font-weight: normal;
    overflow: hidden;
  }
  #mainmenue span {
    display: none;
    color: #636363;
    font-size: 90%;
    font-family: verdana;
    font-weight: normal;
  }
  #mainmenue #t0 {
    position: absolute;
    left: 15px;
    top: 30px;
    width: 330px;
    display: none;
  }
  #mainmenue #t1 {
    position: absolute;
    left: 138px;
    top: 30px;
    width: 330px;
    display: none;
  }
  #mainmenue #t2 {
    position: absolute;
    left: 261px;
    top: 30px;
    width: 330px;
    display: none;
  }
  #mainmenue #t3 {
    position: absolute;
    left: 384px;
    top: 30px;
    width: 330px;
    display: none;
  }
  #mainmenue #t4 {
    position: absolute;
    left: 507px;
    top: 30px;
    width: 330px;
    display: none;
  }
  #mainmenue .path, #mainmenue .active {
    font-weight: bold;
  }
  #mainmenue ul {
    margin: 0;
    padding: 0;
  }
  #mainmenue li {
    margin: 0;
    padding: 0;
    float: left;
    list-style: none;
  }
  #mainmenue li a:link, #mainmenue li a:visited {
    width: 109px;
    height: 76px;
    padding: 3px 0 0 14px;
    margin: 0;
    float: left;
    display: block;
    color: #333333;
  }
  #mainmenue li a:active, #mainmenue li a:hover {
    text-decoration: none;
  }
  /* Farbcode Bereich Wohnen */
  #m0:link, #m0:visited {
    border-top: 5px solid #bee100;
    background: url(../img/pfeil_dotted_right.gif) no-repeat 0 0.6em;
  }
  #m0.bgactive {
    background: url(../img/bg_m0_hover.gif) no-repeat !important;
  }
  .active #m0.bgactive, .path #m0.bgactive {
    background: url(../img/bg_m0_hover.gif) no-repeat !important;
  }
  .active #m0, .path #m0 {
    background: url(../img/square_dotted_wohnen.gif) no-repeat 0 0.8em !important;
  }
  /* Farbcode Bereich Mieten */
  #m1:link, #m1:visited {
    border-top: 5px solid #fcd201;
    background: url(../img/pfeil_dotted_right.gif) no-repeat 0 0.6em;
  }
  #m1.bgactive {
    background: url(../img/bg_m1_hover.gif) no-repeat !important;
  }
  .active #m1.bgactive, .path #m1.bgactive {
    background: url(../img/bg_m1_hover.gif) no-repeat !important;
  }
  .active #m1, .path #m1 {
    background: url(../img/square_dotted_mieten.gif) no-repeat 0 0.8em !important;
  }
  /* Farbcode Bereich Kaufen */
  #m2:link, #m2:visited {
    border-top: 5px solid #f19003;
    background: url(../img/pfeil_dotted_right.gif) no-repeat 0 0.6em;
  }
  #m2.bgactive {
    background: url(../img/bg_m2_hover.gif) no-repeat !important;
  }
  .active #m2.bgactive, .path #m2.bgactive {
    background: url(../img/bg_m2_hover.gif) no-repeat !important;
  }
  .active #m2, .path #m2 {
    background: url(../img/square_dotted_kaufen.gif) no-repeat 0 0.8em !important;
  }
  /* Farbcode Bereich Unternehmen */
  #m3:link, #m3:visited {
    border-top: 5px solid #61cfff;
    background: url(../img/pfeil_dotted_right.gif) no-repeat 0 0.6em;
  }
  #m3.bgactive {
    background: url(../img/bg_m3_hover.gif) no-repeat !important;
  }
  .active #m3.bgactive, .path #m3.bgactive {
    background: url(../img/bg_m3_hover.gif) no-repeat !important;
  }
  .active #m3, .path #m3 {
    background: url(../img/square_dotted_unternehmen.gif) no-repeat 0 0.8em !important;
  }
  /* Farbcode Bereich GSW Club */
  #m4:link, #m4:visited {
    border-top: 5px solid #00AEFF;
    background: url(../img/pfeil_dotted_right.gif) no-repeat 0 0.6em;
  }
  #m4.bgactive {
    background: url(../img/bg_m3_hover.gif) no-repeat !important;
  }
  .active #m4.bgactive, .path #m4.bgactive {
    background: url(../img/bg_m3_hover.gif) no-repeat !important;
  }
  .active #m4, .path #m4 {
    background: url(../img/square_dotted_unternehmen.gif) no-repeat 0 0.8em !important;
  }
}

@media screen {
  #body {
    position: relative;
    margin: 10px 0 0 16px;
    width: 984px;
    background-color: #FFFFFF;
  }
  .rubrikpage.wohnen #body {
    background-color: #FCFDF4;
  }
  .rubrikpage.mieten #body {
    background-color: #FFFDF4;
  }
  .rubrikpage.kaufen #body {
    background-color: #FFFBF5;
  }
  .rubrikpage.unternehmen #body {
    background-color: #F7FAFB;
  }
  .rubrikpage.club #body {
    background-color: #F7FAFB;
  }
  .contentpage #body {
    background-color: #FFFFFF;
  }
  /*
  .wohnen #body {
    background-image: url(../img/bgWohnen.gif);
    background-repeat: repeat-y;
  }
  .mieten #body {
    background-image: url(../img/bgMieten.gif);
    background-repeat: repeat-y;
  }
  .kaufen #body {
    background-image: url(../img/bgKaufen.gif);
    background-repeat: repeat-y;
  }
  .unternehmen #body {
    background-image: url(../img/bgUnternehmen.gif);
    background-repeat: repeat-y;
  }
  .club #body {
    background-image: url(../img/bgUnternehmen.gif);
    background-repeat: repeat-y;
  }
  */
  #head {
    position: relative;
    width: 984px;
    height: 81px;
    padding: 0;
    background-color: #FFFFFF;
  }
  #main {
    position: relative;
    width: 984px;
    padding: 2px 0 0 0;
    margin: 0;
  }
  #navipath {
    font-size: 100%;
    width: 719px;
    margin: 0 0 0 18px;
    padding: 10px 0 3px 0;
    float: left;
    border-bottom: 1px solid #CCCCCC;
  }

  /* ### Berlin Karte CSS ### */
  ul#berlin_karte {
    position: relative;
    width: 445px;
    height: 270px;
    border: 1px solid #CCCCCC;
    margin: 10px 0 0 0;
    padding: 0;
  }
  .eigennutzung {
    background-image: url(../img/berlin_karte_eigennutzung_bg.gif);
    background-position: top left;
    background-repeat: no-repeat;
  }
  .kapitalanlage {
    background-image: url(../img/berlin_karte_kapitalanlage_bg.gif);
    background-position: top left;
    background-repeat: no-repeat;
  }
  ul#berlin_karte li {
    position: absolute;
    list-style: none;
    display: block;
  }
  ul#berlin_karte li a {
    display: block;
    text-indent: -9999px;
    text-decoration: none;
    margin: 0;
    padding: 0;
  }
  #bezirk_01 {
    z-index: 149;
    top: 100px;
    left: 69px;
    width: 188px;
    height: 115px;
    margin: 0;
    padding: 0;
  }
  #bezirk_01 a {
    height: 115px;
  }
  #bezirk_01 a:hover {
    background-image: url(../img/bezirk_01.gif);
    background-position: top left;
    background-repeat: no-repeat;
  }

  #bezirk_02 {
    z-index: 141;
    top: 0;
    left: 82px;
    width: 127px;
    height: 97px;
    margin: 0;
    padding: 0;
  }
  #bezirk_02 a {
    height: 97px;
  }
  #bezirk_02 a:hover {
    background-image: url(../img/bezirk_02.gif);
    background-position: top left;
    background-repeat: no-repeat;
  }

  #bezirk_03 {
    z-index: 142;
    top: 44px;
    left: 16px;
    width: 116px;
    height: 180px;
    margin: 0;
    padding: 0;
  }
  #bezirk_03 a {
    height: 180px;
  }
  #bezirk_03 a:hover {
    background-image: url(../img/bezirk_03.gif);
    background-position: top left;
    background-repeat: no-repeat;
  }

  #bezirk_04 {
    z-index: 150;
    top: 78px;
    left: 153px;
    width: 88px;
    height: 44px;
    margin: 0;
    padding: 0;
  }
  #bezirk_04 a {
    height: 44px;
  }
  #bezirk_04 a:hover {
    background-image: url(../img/bezirk_04.gif);
    background-position: top left;
    background-repeat: no-repeat;
  }

  #bezirk_05 {
    z-index: 143;
    top: 191px;
    left: 0;
    width: 211px;
    height: 79px;
    margin: 0;
    padding: 0;
  }
  #bezirk_05 a {
    height: 79px;
  }
  #bezirk_05 a:hover {
    background-image: url(../img/bezirk_05.gif);
    background-position: top left;
    background-repeat: no-repeat;
  }
  #bezirk_06 {
    z-index: 144;
    top: 162px;
    left: 221px;
    width: 226px;
    height: 108px;
    margin: 0;
    padding: 0;
  }
  #bezirk_06 a {
    height: 108px;
  }
  #bezirk_06 a:hover {
    background-image: url(../img/bezirk_06.gif);
    background-position: top left;
    background-repeat: no-repeat;
  }
  #bezirk_07 {
    z-index: 145;
    top: 0;
    left: 186px;
    width: 115px;
    height: 125px;
    margin: 0;
    padding: 0;
  }
  #bezirk_07 a {
    height: 125px;
  }
  #bezirk_07 a:hover {
    background-image: url(../img/bezirk_07.gif);
    background-position: top left;
    background-repeat: no-repeat;
  }
  .homepage #content {
    float: left;
    width: 371px;
    position: relative;
    padding: 12px 20px 20px 20px;
  }
  .homepage #navigation {
    float: left;
    width: 206px;
    position: relative;
    margin: 0;
    padding: 12px 0 0 0;
  }
  .teaserHome h2 a:link, .teaserHome h2 a:visited {
    display: block;
    width: 225px;
  }
  .contentpage #content, .rubrikpage #content {
    float: left;
    width: 476px;
    position: relative;
    padding: 20px 0 20px 16px;
  }
  .contentpage #navigation, .rubrikpage #navigation {
    float: left;
    width: 246px;
    position: relative;
    margin: 0 0 175px 0;
    padding: 0;
  }
  .wohnen #navigation {
    background-color: #F1F6C7;
  }
  .mieten #navigation {
    background-color: #FFF8D9;
  }
  .kaufen #navigation {
    background-color: #FDECD2;
  }
  .unternehmen #navigation {
    background-color: #D9E9F0;
  }
  .club #navigation {
    background-color: #CEE7F6;
  }
  #footer {
    position: relative;
    padding: 0.6em 0 1em 0;
    margin: 0 0 0 262px;
    width: 722px;
    border-top: 1px solid #CCCCCC;
  }
}
@media screen {
  .up {
    margin: 0 0 0 0;
    padding: 0 15px 0  13px;
    background: url(../img/symbol_up.gif) no-repeat 0 0.2em;
  }
  .print {
    margin: 0;
    padding: 0 15px 0 15px;
    background: url(../img/symbol_print.gif) no-repeat 0 0.2em;
  }
  .contact {
    margin: 0;
    padding: 0 15px 0 15px;
    background: url(../img/symbol_contact.gif) no-repeat 0 0.4em;
  }
}
@media screen {
  #margin {
    float: right;
    position: relative;
    padding: 25px 0 0 0;
  }
  .homepage #margin {
    width: 162px;
  }
  .contentpage #margin {
    width: 238px;
  }
}

@media screen {
  /* aktionsboxen rechts fuer Contentpage */
  .infobox {
    width: 238px;
    padding: 0;
    margin: 0 0 15px 0;
    border-bottom: 1px solid #CCCCCC;
  }
  .infobox h3 {
    padding: 0.4em 10px 0.4em 10px;
    margin: 0 0 0 0;
    line-height: 130%;
  }
  .infobox div {
    font-size: 100%;
    padding: 0;
    color: #333333;
  }
  .infobox div div {
    padding: 0 10px 10px 10px;
  }
  .infobox div.boxcolor {
    padding: 0;
    margin-top: 0.5em;
  }
  .infobox div.boxcolor div {
    padding: 0 10px 20px 10px;
  }
  .infobox a:link, .infobox a:visited {
    text-decoration: underline;
  }
  .infobox div.boxcolor div div {
    padding: 0 0 1em 0;
  }
  .wohnen .boxcolor {
    background-color: #ECFBAD;
    border-bottom: none;
  }
  .wohnen .boxcolor h3 {
    background-color: #DFF977;
  }
  .mieten .boxcolor {
    background-color: #FFE992;
  }
  .mieten .boxcolor h3 {
    background-color: #FFDF66;
  }
  .kaufen .boxcolor {
    background-color: #FAE1BD;
    border-bottom: none;
  }
  .kaufen .boxcolor h3 {
    background-color: #F5C278;
  }
  .unternehmen .boxcolor {
    background-color: #CEE6F1;
    border-bottom: none;
  }
  .unternehmen .boxcolor h3 {
    background-color: #A9D9EF;
  }
  .club .boxcolor {
    background-color: #CEE7F6;
    border-bottom: none;
  }
  .club .boxcolor h3 {
    background-color: #A6D7F0;
  }
  .infobox img {
    padding-right: 0.5em;
    margin: 0.4em 0 0.2em 0;
  }
  .infobox .boxcolor img {
    margin: 0.4em 0 0.2em 10px;
  }
  .infobox .boxcolor .imgFull {
    margin: 0;
    padding: 0;
  }
  .infobox .boxcolor .imgFull img {
    margin: 0;
    padding: 0;
  }
  .infobox ul {
    margin: 0;
    padding: 0;
  }
  .infobox li {
    font-size: 90%;
    margin: 0;
    padding: 0 0 2px 10px;
    list-style: none;
    background: url(../img/menupfeil.gif) no-repeat 1px 0.6em;
  }
  .infobox .btn-select {
    position: relative;
    width: 100px;
    height: 26px;
    top: 16px;
    margin: 0 0 1em 112px;
    padding: 0;
    border: 0;
    cursor: pointer;
    font-size: 90%;
    font-family: verdana, helvetica, sans-serif
  }
  .infobox small {
    vertical-align: bottom !important;
    margin-bottom: 0 !important;
  }
  .infobox .sp-mailto {
    margin-bottom: 0.1em !important;
  }
  .infobox .sp-email,
  .infobox .sp-mailtoimg {
    margin: 0 0 -1px 0 !important;
    margin-bottom: 0em !important;
    border-bottom: 1px solid #ffffff !important;
  }
  .infobox .sp-email:hover,
  .infobox .sp-mailtoimg:hover {
    margin: 0 0 0px 0 !important;
    border-bottom: 1px solid #666666 !important;
    padding: 0 !important;
    vertical-align: bottom;
  }
}
@media screen {
  #search {
    clear: both;
    position: relative;
    width: 213px;
    padding: 6px 0 18px 33px;
    margin: 0;
  }
  .homepage #search {
    position: absolute;
    top: 59px;
    right: 0;
    width: 138px;
    padding: 0;
    margin: 0;
    font-size: 90%;
    z-index: 99;
  }
  #search input {
    width: 100px;
    height: 17px;
    margin: 0;
    padding: 0 0 0 2px;
    border-top: 1px solid #666666;
    border-left: 1px solid #666666;
    border-bottom: 1px solid #EEEEEE;
    border-right: 1px solid #EEEEEE;
    color: #333333;
  }
  .homepage #search input {
    margin: 0 0 0 4px;
    padding: 0 0 0 2px;
  }
  #search .btn-search {
    position: relative;
    width: 15px;
    height: 15px;
    top: 1px;
    margin: 0 0 0 5px;
    padding: 0;
    border: 0;
    background: url(../img/pfeil_search.gif) no-repeat;
    cursor: pointer;
    color: #333333;
  }
}
@media screen {
  #submenu ul li a:link, #submenu ul li a:visited, #submenu ul li a:active, #submenu ul li a:hover {
    color: #666666;
    text-decoration: none;
  }
  #submenu {
    margin: 0;
    width: 246px;
  }
  #submenu ul {
    width: 246px;
    padding: 0;
    margin: 0;
    list-style: none;
    font-weight: normal;
  }
  #submenu ul ul {
    margin: 0;
    padding: 0;
    font-weight: normal;
    border: none;
  }
  #submenu ul li {
    float: left;
  }
  #submenu li a:link, #submenu li a:visited {
    width: 212px;
    display: block;
    padding: 0.5em 0 0.5em 34px;
    border-bottom: 1px solid #D4D6D5;
  }
  #submenu li li a:link, #submenu li li a:visited {
    width: 200px;
    display: block;
    padding: 0.5em 0 0.5em 46px;
  }
  #submenu li li li a:link, #submenu li li li a:visited {
    width: 171px;
    display: block;
    padding: 0.5em 0 0.5em 70px;
  }
  #submenu li.path {
    background-image: url(../img/pfeil_dotted_down.gif);
    background-position: 20px 0.9em;
    background-repeat: no-repeat;
    font-weight: bold;
  }
  #submenu li li.path {
    background-position: 35px 0.9em;
  }
  #submenu li.node {
    background-image: url(../img/pfeil_dotted_down.gif);
    background-position: 20px 0.9em;
    background-repeat: no-repeat;
  }
  #submenu li li.node {
    background-position: 35px 0.9em;
  }
  #submenu li li li.node {
    background-position: 55px 0.9em;
  }
  #submenu li.leaf {
    background-image: url(../img/pfeil_dotted_right.gif);
    background-position: 20px 0.8em;
    background-repeat: no-repeat;
  }
  #submenu li li.leaf {
    background-position: 35px 0.8em;
  }
  #submenu li li li.leaf {
    background-position: 55px 0.8em;
  }
  #submenu li.active {
    background-image: url(../img/pfeil_dotted_red.gif);
    background-repeat: no-repeat;
  }
  #submenu li.active a strong {
    color: black !important;
  }
}

/* ---------------------- */
/* Popup im Fenster ----- */
/* Nane Charrad 16.2.2009 */

@media screen {

  #overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 1001;
  }

  #overlay .background {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #000000 none repeat scroll 0 0;
    filter: Alpha(opacity=20);
    opacity: 0.2;
  }

  #overlay #imgZoom, #overlay #summary, #overlay #detail {
    position: relative;
    top: 0;
    left: 0;
    width: 1px;
    margin: auto;
    border: 1px solid #868686;
    background: white;
    z-index: 1000;
  }

  #overlay div .navi {
    position: relative;
    height: 28px;
    border-bottom: 1px solid #868686;
    text-align: left;
    overflow: hidden;
  }

  #overlay div span.prev, #overlay div span.next,
  #overlay div a.prev:link, #overlay div a.prev:visited,
  #overlay div a.next:link, #overlay div a.next:visited {
    width: 21px;
    height: 13px;
    display: block;
    text-decoration: none;
    line-height: 1000px;
    text-indent: 25px;
    overflow: hidden;
    float: left;
  }

  #overlay div .prev {
    margin: 10px 0 0 7px;
  }

  #overlay div .next {
    margin: 10px 0 0 3px;
  }

  #overlay div span.prev {
    background: url(../img/arw_left_inaktiv.gif);
  }

  #overlay div a.prev:link, #overlay div a.prev:visited {
    background: url(../img/arw_left_normal.gif);
  }

  #overlay div a.prev:focus, #overlay div a.prev:hover {
    background: url(../img/arw_left_hover.gif);
  }

  #overlay div a.prev:active {
    background: url(../img/arw_left_down.gif);
  }

  #overlay div span.next {
    background: url(../img/arw_right_inaktiv.gif);
  }

  #overlay div a.next:link, #overlay div a.next:visited {
    background: url(../img/arw_right_normal.gif);
  }

  #overlay div a.next:focus, #overlay div a.next:hover {
    background: url(../img/arw_right_hover.gif);
  }

  #overlay div a.next:active {
    background: url(../img/arw_right_down.gif);
  }

  #overlay div a.close:link, #overlay div a.close:visited {
    position: absolute;
    right: 2px;
    padding: 0 5px;
    color: #999999;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    line-height: 28px;
    display: block;
  }

  #overlay .content {
    position: relative;
    padding: 7px;
  }

  #overlay iframe {
    background: transparent none repeat scroll 0 0;
    height: 644px;
    left: 0;
    position: absolute;
    top: 0;
    width: 779px;
    overflow: hidden;
  }

  body.popuppage {
    background-color: transparent;
    border: none;
  } 

  body.popuppage #popup {
    width: 289px;
    height: 360px;
    position: absolute;
    background: #FFFFFF url(/de/img/bg_verlauf_bottom.gif) repeat-x scroll center bottom;
    border: 5px solid #CCCCCC;
  }

  body.popuppage #popup .popupHeader {
    background-color: #CCCCCC;
    text-align: right;
    font-size: 0.9em;
  }

  body.popuppage #popup .popupHeader a img {
    margin: 0 0 0 3px;
  }

  body.popuppage #popup .popupContent {
    height: 346px;
    overflow-y: auto;
  }

  body.popuppage #popup .popupContent div,
  body.popuppage #popup .popupContent h1 {
    margin: 0 10px 10px 10px;
    font-size: 1.1em;
  }

  body.popuppage #popup .popupContent h1 {
    margin-top: 20px;
    font-weight: bold;
  }

  body.popuppage #popup .popupContent div.logo {
    width: 289px;  
    margin: 0 0 0 0;
  }
}

