a           { color: #006ab3; }
a:hover { color: gray; }
a:active { color: #c5006b; }

body {
  background: url(files/Layout/hintergrund.gif?ver=1177057584) no-repeat white;
  margin: 0;
  padding: 0;
  font-family: 'Trebuchet MS', arial, geneva, sans-serif;
  font-size: 82%;
}
@media handheld, print {
  body { background-image: none; }
}

h1 { font-size: 120%; margin-top: 0; margin-bottom: 10px; }
h2, h3 { font-size: 100%; margin: 0; display: inline; }
p   { margin: 1em 0; } /* MSIE Win nimmt sonst einen erheblich größeren Abstand */

.bmagenta { background-color: #c5006b; }
.tmagenta { color: #c5006b; }

@media handheld {
  h1 { margin: 1px 5px 3px 5px; }
}

.inside { margin:0; list-style-position:inside; padding-left: 0; } /* nicht eingerückte Liste */
#bar {
  background: url(files/Layout/kopfstreifen.gif?ver=1177057585) repeat-x;
  height: 108px; 
  margin-bottom: 22px;
  opacity: 0.8;
  filter: alpha(opacity=80);
}
#bar a         { display: none; }

#head         { position: absolute; top: 0; left: 0; height: 108px; width: 98%; /* 98% wg. MSIE Mac*/ }
#head img  { float: left; margin: 20px 0 0 20px; border: 0; }
#head ul     { list-style-type: none; margin: 56px 0 0 245px; padding: 0; line-height: 1.3em; }
#head li      { 
  background: url(files/Layout/bullit.gif?ver=1177057583) no-repeat right;
  display: inline; 
  padding-right: 17px; 
  margin-right: 8px;
}
.msie #head li { padding-right: 10px; }
#head li#last { background: none; padding-right: 0; margin-right: 0; }

#head li a { color: black; text-decoration: none; }
#head li.curdir a { color: #c5006b; }
#head li a:hover { color: #006ab3; text-decoration: underline; }
#head li a:active { color: #c5006b; }

/* Browser-Weichen: siehe Layout "Seitenfuß" */

@media handheld {
  #bar           { background-image: none; background-color: #e8e8e8; height: auto; margin: 0; padding: 1px 0 3px 5px; }
  #bar a        { display: inline; }
  #head        { position: static; background-color: #e0e0e0; padding-bottom: 2px; margin-bottom: 5px; width: auto; height: auto; }
  #head img { margin: 5px 0 0 5px; float: none; max-width: 85%; height: auto; }
  #head ul    { list-style-type: square; margin: 10px 0 5px 16px; line-height: 1.2em; }
  #head li     { display: list-item; background: none; padding-right: 0; margin-right: 0; }
}

@media aural, braille {
  #bar a { display: inline; }
}

@media print, embossed {
  #cms_vorschau_label,
  #bar,
  #head { display: none; }
}

#content { padding: 0 40px 20px 245px; }
.msie #content { position: absolute; left: 0; }

.left {
  width: 178px;
  float: left;
  padding-left: 20px; /* nicht margin, wg. MSIE 6 */
}

@media handheld {
  #content { width: 100%; padding: 0; margin: 0; }
}

@media print {
  #content { margin: 5px 5px 5px 0; padding: 0; }
}

/* Standard-Werte, werden in den einzelnen Seiten noch durch zusätzliche Klassen erweitert */

/* wird auch von den Fahrplänen selbst und ggf. anderen Tabellen gebraucht */
.stdtable,
.stdtable th,
.stdtable tr.header td,
.stdtable td  { border-style: solid; border-color: #e0e0e0; }

.stdtable      { border-width: 1px 0 0 1px; background-color: white; }
.stdtable th,
.stdtable td  { border-width: 0 1px 1px 0; vertical-align: top; }

.stdtable tr.header td,
.stdtable th { background-color: #d0d0d0; }
.stdtable th { text-align: left; font-weight: normal; }

.topspace { margin-top: 1em; } /* siehe "Tips zum Ausdrucken von Fahrplänen" */

@media handheld {
  .stdtable    { border-color: silver; }
  .stdtable th,
  .stdtable tr.header td,
  .stdtable td { border-color: silver; padding: 1px; }
}

@media print {
  .stdtable, 
  .stdtable th,
  .stdtable tr.header td,
  .stdtable td { border-color: black; background-color: transparent; }
  .stdtable a { color: black; text-decoration: none; }
}
#newsticker h1 {
  margin: 35px 0 0 0;
  font-size: 1em;
  padding-bottom: 0.5em;
  border-bottom: 1px solid #c5006b;
}

#newsticker dl {
  margin: 0.5em 0;
  font-size: smaller;
  line-height: 120%;
}

#newsticker dt {
  font-weight: bold;
  padding-bottom: 0.2em;
}

#newsticker dd {
  padding: 0 0 0.5em 0;
  margin: 0 0 0.5em 0;
  border-bottom: 1px solid #c5006b;
}

@media handheld {
  #newsticker {
     float: none; 
     padding: 2px 5px;
     margin: 0;
     width: auto;
     line-height: 1em;;
  }
  #newsticker dt {
    padding-bottom: 0;
  }
  #newsticker h1 { margin-top: 0; }
}
#sidebar {
  text-align: right;
  line-height: 140%;
}

@media handheld {
  #sidebar { text-align: left; padding: 0 5px 0.5em 5px; float: none; width: auto; }
}

@media print, embossed {
  #sidebar { display: none; }
}
#left { text-align: right; }

#left ul { list-style-type: none; margin: 0; padding: 0; line-height: 140%; }
#left li#pdflink,
#left li#togglelink { margin-top: 2.1em; } /* ID wird mit Javascript gesetzt */
#left #togglehelp  { font-size: 0.82em; }

@media handheld {
  #left { text-align: left; padding: 0 5px 0.5em 5px; float: none; width: auto; }
  #left ul { line-height: 1.2em; }
  #left li#togglelink { margin-top: 0.3em; }
  #left li#printlink   { display: none; }
  #left #togglehelp  { font-size: 1em; margin-bottom: 0; margin-top: 0; }
  #tage { margin: -2px 5px 1px 5px; }
}

@media print, embossed {
  #left { display: none; }
}
#fp_table td  { text-align: center; }

#fp_head .vkhinweise td { font-size: 80%; }
#fp_head .footnotes  td  { font-size: 80%; vertical-align: middle; }
#fp_head .vkhinweise td.firstcell,
#fp_head .footnotes  td.firstcell { font-size: 100%; }

#fp_head .firstcell,
#fp_body .ort, 
#fp_body .subort { text-align: left; white-space: nowrap; }

#fp_body .ort    { background-color: #f0f0f0; }
#fp_body .highlight { font-weight: bold; }
#fp_body .subort { background-color: #f8f8f8; }

#fp_foot     { margin-top: 20px; }
#fp_foot td { vertical-align: top; }

#richtung   { margin-bottom: 10px; }

@media handheld {
  #fp_body .ort, 
  #fp_body .subort { white-space: normal; }
  #fp_foot     { margin-top: 0; margin-left: 1px; }
  #fp_foot td { padding: 1px; }
  #richtung { margin: 0 5px 3px 5px; }
}

@media print, embossed {
  #richtung    { display: none; }
}
@media print {
  #fp_table    { max-width: 100%; }
  #fp_body .ort, 
  #fp_body .subort { background-color: transparent; }
  #fp_body .highlight { font-weight: normal; }
}
@media handheld {
  #footer { margin: 0.5em 0; }
}

@media print, embossed {
  #footer { display: none; }
}

#startseite img {
  margin-top: 32px;
  margin-left: 90px;
}

#startseite div {
  margin-top: 32px;
  line-height: 165%;
}

#startseite b { font-size: 1.4em; }

#startseite span {
  display: block;
  float: left;
  width: 15px;
  height: 15px;
  font-size: 2px;
  line-height: 2px;
  margin-top: 3px;
  margin-right: 15px;
}

#startseite br { clear: both; }

@media handheld, aural, braille, embossed { 
  #startseite img,
  #startseite br,
  #startseite span { display: none; }
}

@media handheld { 
  #startseite div { margin: 0 5px; line-height: 1em; }
  #startseite b    { font-size: 1em; }
}
/* wird auch von der Suchmaschine verwendet: */

#dir dd { margin: 0 80px 1em 0; line-height: 120%; }

#dir .downtip { color: gray; }

@media handheld {
  #dir      { margin: 0 5px; }
  #dir dd { margin: 0 0 0.5em 0; line-height: 1em; }
  #dir .downtip { display: none; }
}

@media print, embossed {
  #dir .downtip { display: none; }
}
#normtext {
  margin-right: 80px;
  line-height: 140%;
  max-width: 640px;
}

#normtext ul, ol { margin-bottom: 0; }
#normtext h2 { border-bottom: 1px solid #c5006b; }
#normtext h3 { border-bottom: 1px dotted #c5006b; }
#normtext table { border-left: 1px solid #e0e0e0;; border-top: 1px solid #e0e0e0;; } 
#normtext table td { border-right: 1px solid #e0e0e0; border-bottom: 1px solid #e0e0e0;; padding: 3px 6px; }

#normtext img {
  border: 1px solid black;
  float: left;
  margin: 3px 20px 10px 0;
}

@media handheld {
  #normtext { 
    margin: 0 5px; 
    line-height: 1em;
  }
  #normtext img { 
    max-width: 100%;
    height: auto;
    float: none;
    display: block;
    margin: 4px 0;
    border: 0;
  }
}

@media print {
  #normtext { margin-right: 0; }
}

#normtext a#copyright {
  color: gray;
  text-decoration: none;
  font-style: italic;
}
#normtext a#copyright:hover { text-decoration: underline; }

#fpform {
  margin-top:0; 
  margin-bottom: 1em;
}

#fpform #tipplink {
  font-size: 0.85em;
}

#fpform #tipps {
  line-height: 1.2em;
  padding-left: 0;
  margin-left: 15px;
  margin-top: 0.5em;
  font-size: 0.85em;
}

@media handheld {
  #fpform #tipps {
    margin-left: 11px;
  }
}
.searchengine_form #suchwort { width: 200px; }

.suchwort,
.trenner { color: #c5006b; }

#rootlink { display: block; margin-top: 1em; }

ul.sitemap_1 { 
  font-weight: bold;
  margin-left: 0;
  margin-top: 2px;
  padding-left: 0;
}

ul.sitemap_1  li { 
  padding-bottom: 2px;
}

ul.sitemap_1, ul.sitemap_1 ul {
  list-style-type: none; 
  margin-bottom: 0.7em;
}

ul.sitemap_2 { 
  font-weight: normal;
}

@media handheld {
  #rootlink,
  #smfooter,
   ul.sitemap_1,
  .searchengine_form { margin-left: 5px; }
  .searchengine_form input { font-size: 0.5em; }
  .searchengine_form input#suchwort { width: 50%; max-width: 200px; }
  ul.sitemap_1 ul { margin-bottom: 0; padding-left: 1.5em; }
}

@media print, embossed {
  .searchengine_form { display: none; }
}

@media print {
  #rootlink,
  ul.sitemap_1 { font-weight: normal; }
  .suchwort { color: black; }
}

