@charset "UTF-8";

/* ==========================================================
   KULTURLICHTER – Bewerbungsformular
   Gemeinsames Stylesheet für index.php, bestaetigung.php,
   bestaetigung2.php, dank.php, fehler.php
   ========================================================== */

:root {
  --serif: adobe-garamond-pro, "Garamond", "Baskerville",
           "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif;
  --kl-gruen: rgb(70, 111, 115);
  --kl-linie: #999;
  --lila-pflicht: #9466a8; /* Neue Farbe: Lila */
}

@font-face {
  font-family: "kulturlichter";
  src: url(Kulturlichter-VF.ttf);   /* relativ zu /css/ ! */
}

body { background-color: #FDFDFD; }

/* ---------- Kopf ---------- */
#headerkl {
  position: sticky;
  top: 0;
  display: flex;
  flex-flow: row wrap;
  width: 100%;
  margin-top: 0;
  background-color: var(--kl-gruen);
  box-shadow: 2px 2px 3px 0 rgba(100,100,100,.5);
  z-index: 900;
}
#logo {
  width: 7%;
  position: relative;
  padding: 1em 1em 1em 2em;
}
#titel {
  min-width: 300px;
  display: flex;
  flex: 2 1 0%;
  flex-direction: row;
  font-family: var(--serif);
  font-size: 1.4em;
  color: #000;
  font-weight: bolder;
  text-transform: uppercase;
  padding: 1em 0 1em 2em;
}
#titelbild { width: 100%; margin-top: .5em; position: relative; }
.offset { visibility: hidden; }

/* ---------- Hauptnavigation ---------- */
#nav-gruppe {
  width: 100%;
  display: flex;
  justify-content: center;
  border-top: 1px solid #CCC;
  z-index: 300;
  height: auto;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  background-color: rgba(255,255,255,.8);
}
#nav-container {
  width: 900px;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
}
.nav-item {
  justify-content: space-around;
  flex-direction: row;
  font-family: var(--serif);
  padding: 14px 20px 6px 20px;
  font-size: 1.2em;
  text-transform: uppercase;
  font-weight: normal;
  font-variant: normal;
  color: #666;
  text-align: center;
  vertical-align: bottom;
  display: inline-block;
  border-bottom: 2px solid #CCC;
  margin-right: 10px;
  z-index: 1001;
}
.nav-item a {
  color: #666;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: normal;
  font-variant: normal;
}

#hauptnavigation_kgm1 nav,
#hauptnavigation_kgm2 nav { display: none; }

#hauptnavigation_kgm1:hover nav,
#hauptnavigation_kgm2:hover nav {
  display: block;
  margin-top: 6px;
  margin-left: -24px;
  z-index: 1002;
  position: absolute;
  background-color: rgba(242,242,242,.84);
  box-shadow: 1px 1px 5px #CCC;
}
.navitem {
  padding: 10px 24px;
  border-bottom: 1px solid #CCC;
  text-align: left;
}
a.navigation_popup:hover { color: #000; }

/* ---------- Inhaltsbereich ---------- */
#main-gruppe {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  width: 100%;
  margin-top: 20px;
}
#main-text {
  max-width: 780px;
  min-width: 220px;
  flex: 3 1 0%;
  padding: 2em 6% 5em 6%;
}

/* ---------- Schriften ---------- */
h1 {
  font-family: kulturlichter;
  font-size: 2.8em;
  font-weight: bolder;
  line-height: 1.2em;
  color: var(--kl-gruen);
  letter-spacing: -.05em;
  margin-top: 80px;
  padding-bottom: 1em;
  text-transform: uppercase;
}
h2 {
  font-family: kulturlichter;
  font-size: 1.5em;
  line-height: 1.5em;
  color: #000;
  margin-top: 10px;
  margin-bottom: 60px;
  text-transform: uppercase;
}
h3 {
  font-family: kulturlichter;
  font-size: 2em;
  line-height: 1.5em;
  color: #000;
  margin-top: 60px;
  margin-bottom: 50px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--kl-linie);
  padding-bottom: 8px;
}
p {
  font-family: var(--serif);
  font-size: 1.4em;
  line-height: 1.7em;
  color: #333;
}
ul {
  font-family: var(--serif);
  font-size: 1.1em;
  line-height: 1.4em;
}
li { margin-bottom: 1em; }
.textlink { color: #4181B6; text-decoration: none; }

/* ---------- Formular ---------- */
label {
  font-family: var(--serif);
  vertical-align: top;
  font-size: 1.2em;
  font-weight: bold;
}
.labeltext {
  font-family: var(--serif);
  font-size: 1.2em;
  font-weight: normal;
}

input:required,
select:required,
textarea:required {
  border: 2px solid #9466a8;
  background-color: #F9F9F9;
}
input:required:valid,
select:required:valid,
textarea:required:valid {
  border: 1px solid #87AF90;
}

input[type=checkbox]:required {
  cursor: pointer;
  width: 18px;
  height: 18px;
  border-radius: 3px;
  border: 1px solid #000;
  outline: 2px solid #9466a8;
}
input[type=checkbox]:checked {
  border: 1px solid #000;
  outline: 1px solid #87AF90;
}
.form-control { font-size: 1.1em; }

.flex-outer li,
.flex-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.flex-outer > li > label,
.flex-outer li p { flex: 1 0 120px; max-width: 320px; }
.flex-outer > li > label + *,
.flex-inner { flex: 1 0 260px; }

/* ---------- Tabellen ---------- */
.tabellenzelle,
.tabellenzelle1,
.tabellenzelle2 {
  font-family: var(--serif);
  font-size: 1.4em;
  padding: 6px;
  vertical-align: top;
  border-bottom: 1px solid var(--kl-linie);
  border-left: 1px solid var(--kl-linie);
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;

}

/* NEU: war bisher undefiniert, wird in bestaetigung.php verwendet.
   Bei Nichtgefallen diese drei Zeilen entfernen. */
.zelle {
  font-family: var(--serif);
  font-size: 1em;
  padding: 6px;
}

.subul {
  font-family: var(--serif);
  font-size: 1em;
  line-height: .98em;
  margin-top: 8px;
}
.subul li {
  margin-bottom: 8px;
  list-style: square outside;
}

/* ---------- Tooltip ---------- */
.zusatzinfo {
  font-family: var(--serif);
  position: relative;
  display: inline-block;
  color: #4181B6;
  text-decoration: underline;
}
.zusatzinfo .zusatzinfotext {
  font-family: var(--serif);
  visibility: hidden;
  width: 300px;
  background-color: #000;
  color: #fff;
  text-align: left;
  padding: 8px;
  border-radius: 6px;
  position: absolute;
  z-index: 1;
  bottom: 100%;
  left: 50%;
  margin-left: -150px;
}
.zusatzinfo:hover .zusatzinfotext { visibility: visible; }

/* ---------- Sonstiges ---------- */
#captchatext {
  font-family: biolinum;
  padding: 4px 3px;
  font-size: 1.3em;
  line-height: 1.4em;
  color: #F00;
}
.logo_box { 
    padding: 1px; 
    width: 100%;  /*<-- Entfernen, wenn Logos nebeneinander bleiben sollen */
    display: inline-block; 
    text-align: center; 
}

/* ---------- Footer ---------- */
#footer {
  margin-top: 60px;
  border-top: 1px solid #CCC;
  justify-content: center;
  padding: 30px 0;
  width: 100%;
  display: flex;
  background-color: #2f3638;
}
#footer-container {
  width: 1090px;
  display: flex;
  flex-flow: row wrap;
}
.footer-item {
  justify-content: space-around;
  flex: 1 1 0%;
  flex-direction: row;
  min-width: 220px;
  width: 220px;
  padding: 30px;
  font-family: var(--serif);
  font-size: 1em;
  font-weight: normal;
  color: #E6E6E6;
  border-left: 1px solid #808080;
}
.footer-item li {
  text-decoration: none;
  margin-top: 10px;
  margin-left: -20px;
  list-style-position: outside;
  text-align: left;
  color: #E6E6E6;
}
.footer-item a { text-decoration: none; color: #E6E6E6; }
