/* FAZ St. Raphael – Gestaltung. Feste Breite 962 px, keine mobile Ansicht.
   Seit 11/2026 eine Datei statt Rails-Paket plus vier Bereichsdateien; die Bereichsfarbe
   kommt über die Klasse am <body>: bereich-aktuelles, -angebote, -kita, -downloads, -standard. */

/* ---------- Grundlagen ---------- */

html, body, div, ul, ol, li, dl, dt, dd, h1, h2, h3, h4, h5, h6, pre, p, blockquote,
article, aside, footer, header, main, nav, section, figure, figcaption { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6, pre, code, address, caption, cite, em, strong, th, figcaption {
  font-size: 1em; font-style: normal; font-weight: normal;
}
caption, th { text-align: left; }
table { border-collapse: collapse; border-spacing: 0; }
article, aside, footer, header, main, nav, section, figure, figcaption { display: block; }
img { border: 0; }

html { background-color: #F4AD00; height: 100%; margin-bottom: 1px; }
body {
  background-color: transparent; color: #7a7a7a;
  font: 13px/18px "Lucida Grande", "Lucida Sans Unicode", Helvetica, Arial, Verdana, sans-serif;
}
a { color: #7a7a7a; }
a:link, a:visited, a:active { text-decoration: none; }
a:hover { text-decoration: underline; }
strong, b { font-weight: bold; }
em, i, cite { font-style: italic; }
h1, h2, h3, h4, h5, h6, strong { color: #000; }
h1, h2, h3, h4 { font-weight: bold; }
h2, h3, h4 { line-height: 18px; }
h1, h2 { margin-bottom: 18px; }
h1 { font-size: 24px; line-height: 36px; }
h2 { font-size: 16px; }
h3 { font-size: 1em; }
h4 { font-size: 10px; }
p { margin-bottom: 18px; }
ul { list-style: none; }
ol { list-style: decimal; margin-bottom: 18px; margin-left: 2.2em; }
.clear_all { clear: both; font-size: 1px; line-height: 0; }

/* ---------- Seitenrahmen und Kopf ---------- */

#page_wrapper { margin: 0 auto; width: 962px; }
#page { background: #fff; overflow: hidden; }
#page cite { font-style: italic; font-weight: bold; margin-bottom: 18px; display: block; }

#header { position: relative; background: #fff; height: 493px; }
#header img.head { margin: 3px 1px 0 1px; }
#topnav { position: absolute; left: 30px; top: 0; text-align: center; background: #fff; z-index: 10; font-size: 11px; }
#topnav_content { padding: 2px 12px; }
#topnav_content a { color: #F4AD00; text-transform: uppercase; }

/* Logo: beim Überfahren schiebt sich oben ein weißer Streifen hinein. */
#logo { position: absolute; right: 30px; top: 0; width: 160px; height: 180px; z-index: 20; color: #fff; }
#logo_expander { background: url("../img/layout/logo-hintergrund.png") top left repeat-y; width: 160px; height: 0; }
#logo:hover #logo_expander, #logo:focus-within #logo_expander { height: 30px; }
#logo a { display: block; }

#button { position: absolute; left: 30px; bottom: 20px; width: 210px; height: 122px; z-index: 100; }
#button a { display: block; }

/* Hauptnavigation: Reiter fahren beim Überfahren hoch und zeigen die Unterzeile. */
#navigation { position: absolute; bottom: 0; left: 0; width: 100%; height: 85px; margin-bottom: -50px; }
#nav_elements { clear: both; position: absolute; z-index: 100; height: 44px; margin-left: 300px; margin-top: -9px; background: #fff; padding-left: 1px; }
.nav_element { position: relative; float: left; width: 154px; height: 44px; margin-top: 0; margin-right: 1px; overflow: hidden; color: #fff; }
.nav_element:hover, .nav_element:focus-within { margin-top: -41px; height: 85px; }
.nav_element a { display: block; width: 100%; height: 100%; }
.nav_element a:hover { text-decoration: none; }
#nav_glass_bar { position: relative; width: 100%; height: 35px; background: url("../img/layout/navigation-glanz.png") top left repeat-x; }
#nav_color_bar { position: relative; width: 100%; height: 22px; background: url("../img/layout/farbleiste-grau.png") top center no-repeat; }

/* Dauer und Kurve wie die früheren jQuery-Animationen (400 ms, „swing“). */
@media (prefers-reduced-motion: no-preference) {
  #logo_expander, .nav_element { transition: height .4s cubic-bezier(0.37, 0, 0.63, 1), margin-top .4s cubic-bezier(0.37, 0, 0.63, 1); }
}

/* Sichtbar nur bei Tastaturfokus */
.sprunglink { position: absolute; left: -9999px; top: 0; z-index: 1000; padding: 4px 12px; background: #fff; color: #000; }
.sprunglink:focus { left: 30px; }

/* ---------- Inhaltsbereich ---------- */

#body { position: relative; overflow: hidden; padding: 50px 0; }

/* Bereichsseiten: Unternavigation links, Inhalt rechts */
#col2 { float: left; width: 200px; }
#col1 { margin-left: 200px; width: 762px; }
#col1_content { padding: 0 80px 0 40px; }

/* Startseite: Inhalt links, Termine rechts, dazwischen eine Linie */
.bereich-aktuelles #col1 { margin-left: 0; margin-right: 350px; width: 612px; overflow: hidden; }
.bereich-aktuelles #col1_content { margin-right: 40px; padding: 0 0 0 30px; }
.bereich-aktuelles #col2 { float: right; width: 350px; }
.bereich-aktuelles #col2_content { padding: 0 30px 0 0; }
#col1_border { float: right; width: 40px; height: 300px; margin: 40px 0; background: url("../img/layout/trennlinie.gif") center center repeat-y; }

/* Einfache Seiten (Kontakt, Impressum …): eine Spalte */
#content { padding: 0 80px 0 40px; }
#content a { color: #000; }

#subnav { border: solid #e4e4e4; border-width: 1px 0; margin-left: 1px; padding: 10px 0; }
#subnav a { color: #cacaca; }
#subnav a:hover { color: #000; text-decoration: none; }
#subnav li { margin-left: 30px; padding: 5px 0; }
#subnav_head { margin-left: 20px; width: 164px; height: 30px; background: no-repeat top left; }

div.article h1 { font-size: 30px; color: #c5c5c5; }
div.article h2 { font-size: 20px; color: #c5c5c5; line-height: 24px; }
div.article p { line-height: 22px; }
div.article table { margin-bottom: 1em; }
div.article td { padding-right: 10px; }
div.article ul { margin-left: 2em; margin-bottom: 1em; list-style: disc; }
div.article li { line-height: 22px; }
div.article ul li ul { list-style: circle; }
div.article dl { margin: 1em 0; font-size: 14px; }
div.article dl dt { line-height: 24px; font-weight: bold; color: #a9a9a9; }
div.article dl dd { color: #3d3d3d; margin-bottom: 1em; }

/* Startseite: Rubriken („Aktuell“, „Regelmäßige Termine“) und Titel einer Meldung */
.article .rubrik { margin: 0; font-size: 13px; line-height: 18px; color: #000; text-transform: uppercase; }
.article .rubrik::first-letter { font-size: 14px; }
.article .rubrik + dl { margin-top: 32px; }
.article dl + .rubrik { margin-top: 50px; }
.bereich-aktuelles .article dl:last-child { margin-bottom: 50px; }
.article .meldung { margin: 5px 0 18px; font-size: 20px; line-height: 24px; color: #FFCA01; }
.hinweis { color: red; }

.bild-rechts { float: right; margin: 10px 0 10px 20px; box-shadow: 0 0 4px #999; }
.rechts { float: right; }
.titel-klein { font-size: 16px; line-height: 18px; }
.w100 { width: 100%; }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Fotoalbum (Kita) */
div.photo_album { position: relative; z-index: 10; overflow: hidden; margin: 0; padding: 0 0 1em 0; }
div.photo_album div.thumbnail { float: left; margin: 10px 20px 20px 10px; }
div.photo_album div.thumbnail a { display: block; margin: 0; padding: 0; width: 120px; height: 120px; }
div.photo_album div.thumb_frame { border: 5px solid #fff; box-shadow: 2px 2px 5px rgba(0, 0, 0, .3); }
div.photo_album div.thumb_frame:hover { box-shadow: 2px 2px 10px rgba(0, 0, 0, .7); }

/* Downloads */
div.folder h1 { font-size: 30px; color: #c5c5c5; margin-bottom: 24px; }
div.folder h3 { font-size: 14px; color: #333; line-height: 28px; }
div.folder table { width: 90%; }
div.folder table th { border-bottom: 1px solid #e4e4e4; padding: 8px 4px; font-weight: bold; text-transform: uppercase; font-size: 11px; white-space: nowrap; }
div.folder table td { border-bottom: 1px solid #e4e4e4; padding: 8px 4px; white-space: nowrap; }

/* Sitemap */
ul.sitemap { margin: 0 0 0 1em; line-height: 1.5em; }
ul.sitemap, ul.sitemap ul { list-style: disc; }
ul.sitemap li { margin-left: 1.5em; }
ul.sitemap li li { margin-left: 1em; }

/* ---------- Partner und Fuß ---------- */

#partners { height: 100px; background: #f4f4f4; }
#partners_shadow { height: 5px; background: url("../img/layout/schatten.png") top left repeat-x; }
#partners_content { padding: 10px 20px; color: #bbb; text-transform: uppercase; font-weight: bold; font-size: 11px; }
#partners .partner_box { float: left; height: 70px; margin-right: 30px; }
#footer { background-color: #F4AD00; padding-bottom: 2em; }
#footer_content { color: #fff; font-size: smaller; font-weight: bold; padding: 10px; text-align: center; }
#footer_content a { color: #fff; text-transform: uppercase; }

/* ---------- Bereichsfarben ---------- */

.bereich-angebote #nav_color_bar { background-image: url("../img/layout/farbleiste-rot.png"); }
.bereich-kita #nav_color_bar { background-image: url("../img/layout/farbleiste-gruen.png"); }
.bereich-downloads #nav_color_bar { background-image: url("../img/layout/farbleiste-blau.png"); }
.bereich-angebote #subnav_head { background-image: url("../img/layout/titel-angebote.png"); }
.bereich-kita #subnav_head { background-image: url("../img/layout/titel-kita.png"); }
.bereich-downloads #subnav_head { background-image: url("../img/layout/titel-downloads.png"); }
.bereich-aktuelles #col1 a { color: #F6C800; }
.bereich-angebote #col1 a, .bereich-angebote #subnav a:hover { color: #CD4C2D; }
.bereich-kita #col1 a, .bereich-kita #subnav a:hover { color: #83AE10; }
.bereich-downloads #col1 a, .bereich-downloads #subnav a:hover { color: #52B2E7; }

/* ---------- Bildergalerie (Element-IDs aus Slimbox 2, siehe js/site.js) ---------- */

#lbOverlay { position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; background-color: #000; cursor: pointer; }
#lbCenter, #lbBottomContainer { position: absolute; z-index: 9999; overflow: hidden; background-color: #fff; }
#lbCenter:focus { outline: none; }
.lbLoading { background: #fff url("../img/layout/galerie-laden.gif") no-repeat center; }
#lbImage { position: absolute; left: 0; top: 0; border: 10px solid #fff; background-repeat: no-repeat; }
#lbPrevLink, #lbNextLink { display: block; position: absolute; top: 0; width: 50%; }
#lbPrevLink { left: 0; }
#lbPrevLink:hover, #lbPrevLink:focus-visible { background: url("../img/layout/galerie-zurueck.gif") no-repeat 0 15%; }
#lbNextLink { right: 0; }
#lbNextLink:hover, #lbNextLink:focus-visible { background: url("../img/layout/galerie-weiter.gif") no-repeat 100% 15%; }
#lbBottom { font-family: Verdana, Arial, Geneva, Helvetica, sans-serif; font-size: 10px; color: #666; line-height: 1.4em; text-align: left; border: 10px solid #fff; border-top-style: none; }
#lbCloseLink { display: block; float: right; width: 66px; height: 22px; margin: 5px 0; background: url("../img/layout/galerie-schliessen.gif") no-repeat center; }
#lbCaption, #lbNumber { margin-right: 71px; }
#lbCaption { font-weight: bold; }
