@charset "UTF-8";

/**
* Description
* @authors Andreas Bauerfeind
* @date    2021-11-29 13:39:00
* @version 1.0.0
*/

/*  Bilder Galerien  */
@import "bildergalerie.css";
/*  Bilder Galerien  */




/* Schriftarten */

/* Open Sans, Open Sans italic, Open Sans bold, Open Sans bold italic */

@import url("../fonts/googlefonts/OpenSans/OpenSans.css");

/* Bitter, Bitter italic, Bitter bold, Bitter bold italic */

@import url("../fonts/googlefonts/Bitter/Bitter.css");

/* Material Symbols */

@import url("../fonts/googlefonts/Material_Icons/Material_Icons.css");

/* ###### */

/* Farben */

/* Farben der Themen: */

:root {
  /* farbe 1 = Rat und Stadt */
  --farbe1: #b71e3f;
  /* farbe 2 = Leben in Bronneim */
  --farbe2: #ff931e;
  /* farbe 3 = Freizeit und Tourismus */
  --farbe3: #00a75d;
  /* farbe 4 = Geschichte der Stadt */
  --farbe4: #63b9e9;
  --farbe4-hell: #c8e7f7;
  /* farbe 5 = Interaktiv */
  --farbe5: #9b3d76;
  /* Bronneim-Grau */
  --Bronneim-Grau: #848e8a;
  --Bronneim-Grau-hell: #c2c7c5;

  /* dunkler Hintergrund */
  --bg-dunkel: #333333;
}

/* Farben der Schrift: */

:root {
  /* Copytext auf weißem Grund: #646363 */
  --textfarbe: #646363;
  --textauszeichnung1: #4085cb;
  --headlinefarbe2: #4085cb;
  --terminfarbe1: #e5761a;
  --terminfarbe2: #4085cb;
  --hyperlinks: #4085cb;
}

/* Farben Ende */

/* ################ */

/* Hyperlinks */

a:link,
a:visited {
  color: var(--hyperlinks);
  text-decoration: none;
  white-space: nowrap;
}

a:hover {
  text-decoration: underline;
}

a {
  cursor: url("../cursors/link.cur"), default;
}

/* externe Links */

a[target^="_blank"] {
  cursor: url("../cursors/link_extern.cur"), default;
}

a[target^="_blank"]::after {
  font-family: "Material Icons";
  content: " open_in_new";
  font-size: 0.75em;
  vertical-align: top;
  white-space: nowrap;
}

a.no-after::after {
  /* kein ::after{content} z.B. bei Bildern */
  content: "";
}

/* Email-Links */

a[href^="mailto"] {
  cursor: url("../cursors/link_mail.cur"), default;
}

/* inaktive Links */

a[href^="#/"] {
  cursor: url("../cursors/link_unavail.cur"), default;
}

body {
  font-family: "Open Sans", sans-serif;
  font-size: 1.25em;
  color: var(--textfarbe);
  height: 100%;
  padding: 0px;
  /* oberer Sitenrand */
  padding-top: 13vh;
  /* 13vh = Oberkante Navigation */
  margin: 0px;
  background-color: white;
}

header {
  position: fixed;
  top: 0px;
  left: 0px;
  text-align: left;
  width: 100vw;
  height: 10vh;
  background-color: white;
  opacity: 1;
  z-index: 99999;
}

.header__logo {
  max-height: 6vh;
  max-width: 40vw;
  margin-top: 2vh;
  margin-left: calc(6vw + 5vh);
}

header.schatten {
  /* für Animation im JavaScript */
  box-shadow: 0px 2px 5px var(--bg-dunkel);
}

/* Header Ende */

h1,
h2,
h3 {
  font-family: "Bitter", serif;
  color: var(--farbe1);
}

h4,
h5,
h6 {
  font-family: "Open Sans", sans-serif;
  color: var(--headlinefarbe2);
  font-size: 1.5rem;
}

main {
  display: flex;
  flex-direction: column;
  min-height: 80vh;
  /* == Höhe der Navigation
       damit Navigation unabhängig vom Seiteninhalt 
       vollständig sichtbar ist */
}

article {
  position: relative;
  left: 25vw;
  width: 50vw;
}
article img {
  width: 100%;
}

article ol li {
  margin-bottom: 1em;
}

aside {
  position: absolute;
  right: 5vw;
  width: 15vw;
}

summary {
  cursor: url("../cursors/link.cur"), default;
}

summary::marker {
  content: "";
  /* verhindert Dreieck */
}

.aktuell details h2::after,
.galeriestart__text summary::after,
.faq details h4::after {
  content: url("../../assets/images/site/icons/icon_article_open.png");
  position: relative;
  float: right;
}

.aktuell details[open] h2::after,
.galeriestart__text details[open] summary::after,
.faq details[open] h4::after {
  content: url("../../assets/images/site/icons/icon_article_close.png");
}

.logo-spalte {
  position: relative;
  z-index: 10000;
  width: 25vw;
  float: right;
  clear: both;
}

.logo-spalte__logo {
  position: relative;
  display: block;
  width: 15vw;
  margin-top: 10vh;
  margin-bottom: 10vh;
}

.logo-zeile {
  position: relative;
  left: 25vw;
  width: 50vw;
  margin-top: 5vh;
}

.logo-zeile__logo {
  position: relative;
  max-height: 15vh;
  max-width: 30vw;
  margin-right: 5vw;
}

/* kleine Viewports */

@media all and (max-width: 500px) {
  body {
    font-size: 0.8em;
    padding-top: 25vh;
  }

  .header {
    height: 8vh;
  }

  header.schatten {
    box-shadow: none;
  }

  .header__logo {
    margin-right: 40vw;
    max-width: 50vw;
  }

  .logo-spalte {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: 100vw;
    left: 0vw;
  }

  .logo-spalte__logo {
    width: auto;
    max-width: 20vw;
    height: auto;
    margin: 0vw;
    margin-top: 3rem;
    margin-bottom: 1rem;
  }

  .logo-zeile {
    position: relative;
    left: 10vw;
    width: 80vw;
  }

  article {
    left: 10vw;
    width: 80vw;
  }
}

/* ########################################### */
/* ################# Footer ################## */

.sitemap {
  font-size: small;
  position: relative;
  z-index: 11000;
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding-top: 20vh;
  padding-bottom: 3vh;
  background-image: url("../images/site/bg_footer.svg");
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: top;
  margin-top: 20vh;
}

.sitemap__list {
  color: white;
  list-style: square;
  flex: auto;
  max-width: 10vw;
}

.sitemap__list a {
  color: white;
  white-space: normal;
}

.sitemap__list--link__inaktiv a,
.sitemap__list--link__inaktiv::marker {
  color: var(--Bronneim-Grau-hell);
}

.sitemap__list--headline {
  font-weight: bold;
  list-style: none;
  margin-left: -15px;
}

.sitemap__list--submenue {
  /* spricht Listen für Unternavigation an */
  list-style-type: none;
  text-indent: -2em;
}

footer address {
  font-size: smaller;
  color: white;
  text-align: center;
  font-style: normal;
  position: relative;
  z-index: 99999;
  padding-top: 10px;
  padding-bottom: 15px;
  background-color: var(--bg-dunkel);
}

footer address span {
  white-space: nowrap;
}

footer address a:link,
footer address a:visited {
  color: white;
}

/* /////////////////////// */
/* Footer kleine Viewports */

@media all and (max-width: 500px) {
  .sitemap {
    flex-direction: column;
    padding-bottom: 1vh;
    padding-top: 2vh;
    width: 100vw;
    margin: 0px;
  }

  .sitemap__list {
    display: none;
    flex-direction: row;
    max-width: 80vw;
  }

  .sitemap__list--headline {
    margin-left: 0%;
  }

  footer address {
    font-size: smaller;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}
/* Footer kleine Viewports */
/* /////////////////////// */

/* ############## Footer Ende ################ */
/* ########################################### */

/* ########################################### */
/* ############ Navigationsmenüs ############# */

.navigation {
  position: fixed;
  left: 6vw;
  /* padding-left: calc(25vw - 12vh); */
  top: 10vh;
  height: 85vh;
  /* width: 0vw; */
  z-index: 9999;
  /* background-color: rebeccapurple; */
}

.navigation__button--close {
  width: 4vw;
  height: 4vw;
  min-width: 5vh;
  min-height: 5vh;
  position: absolute;
  left: 80vw;
  top: 0px;
  opacity: 0;
  border: none;
  border-radius: 50%;
  z-index: 9999999;
  background-color: var(--Bronneim-Grau-hell);
  background-image: url("../images/site/icons/symbol_x.svg");
  cursor: url("../cursors/link.cur"), default;
}

.navigation__button--close:hover {
  background-color: var(--Bronneim-Grau);
}

.navigation__list {
  font-size: 3vh;
  line-height: 6vh;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  position: relative;
  height: 12vh;
  /* == .navigation__list--headline{height}, damit Abstände unverändert bleiben */
  width: 0vw;
  visibility: hidden;
}

.navigation__list--link__inaktiv a {
  color: var(--textfarbe);
}

.navi--on {
  visibility: visible;
  width: 85vw;
  transition: 0.5s;
}

.navi--off {
  visibility: hidden;
  width: 0vw;
  transition: 0.25s;
}

.fadeout {
  opacity: 0;
  transition: 0.5s;
}

.fadein {
  opacity: 1;
  transition: 1s;
}

.navigation__list li {
  margin-left: 10vh;
  list-style-type: none;
  list-style-position: inside;
}

.navigation__list--headline {
  font-size: 1.5vh;
  line-height: 1.5vh;
  position: absolute;
  color: white;
  float: left;
  clear: both;
  width: 12vh;
  height: 11.5vh;
  /* width - padding-top */
  left: -11vh; /* - li margin-left */
  text-align: center;
  z-index: 10000; /* muss größer als z-index der übrigen Liste sein */
  padding-top: 0.5vh;
  visibility: visible;
  background-size: contain;
  background-repeat: no-repeat;
  cursor: url("../cursors/link.cur"), default;
}

.navigation__list--submenue {
  font-size: 2vh;
  line-height: normal;
  text-indent: -5em;
  width: 20%;
  margin: 0vw;
  margin-top: -1.5vh;
  padding: 0vw;
}

.navigation__list--submenue a {
  color: var(--textfarbe);
}

.navigation__list__flex--column li {
  padding-bottom: 4vh;
}

.navigation__list.list1 .navigation__list--headline {
  background-image: url("../images/site/icons/symbol_rat_stadt.svg");
  background-color: var(--Bronneim-Grau-hell);
}

.navigation__list.list1 .navigation__list--headline:hover {
  background-color: var(--farbe1);
}

.navigation__list.list2 .navigation__list--headline {
  background-image: url("../images/site/icons/symbol_leben_bronneim.svg");
  background-color: var(--Bronneim-Grau-hell);
}

.navigation__list.list2 .navigation__list--headline:hover {
  background-color: var(--farbe2);
}

.navigation__list.list3 .navigation__list--headline {
  background-image: url("../images/site/icons/symbol_freizeit_tourismus.svg");

  background-color: var(--Bronneim-Grau-hell);
}

.navigation__list.list3 .navigation__list--headline:hover {
  background-color: var(--farbe3);
}

.navigation__list.list4 .navigation__list--headline {
  background-image: url("../images/site/icons/symbol_geschichte.svg");
  background-color: var(--Bronneim-Grau-hell);
}

.navigation__list.list4 .navigation__list--headline:hover {
  background-color: var(--farbe4);
}

.navigation__list.list5 .navigation__list--headline {
  background-image: url("../images/site/icons/symbol_interaktiv.svg");
  background-color: var(--Bronneim-Grau-hell);
}

.navigation__list.list5 .navigation__list--headline:hover {
  background-color: var(--farbe5);
}

/* Die letzten beiden Menüs werden angehoben */

.navigation__list.list4 {
  top: -10vh;
  height: 32vh;
}

.navigation__list.list4 .navigation__list--headline {
  top: 10vh;
}

.navigation__list.list5 {
  top: -65vh;
  height: 55vh;
}

.navigation__list.list5 .navigation__list--headline {
  top: 45vh;
}

/* /////////////////////////// */
/* Navigation kleine Viewports */

@media all and (max-width: 500px) {
  .navigation {
    position: fixed;
    left: 0px;
    top: 8vh;
    width: 100vw;
    height: 20vw;
    display: flex;
    flex-direction: row;
    filter: none;
    opacity: 1;
    z-index: 100000;
  }

  .navigation__button--close {
    top: 15vh;
    right: 0vw;
    left: auto;
  }

  .navigation__list.list1,
  .navigation__list.list2,
  .navigation__list.list3,
  .navigation__list.list4,
  .navigation__list.list5 {
    position: absolute;
    font-size: 1.25rem;
    line-height: 2rem;
    left: 0vw;
    top: 10vh;
    height: inherit;
    width: 80vw;
    /* 100 - Padding */
    text-indent: 0vw;
    padding-right: 10vw;
    padding-left: 10vw;
    background-color: white;
  }

  .navigation__list li {
    margin-left: 0rem;
    padding-right: 0.5em;
  }

  .navigation__list--headline {
    position: absolute;
    font-size: 0.65rem;
    text-indent: 0vw;
    line-height: 0.65rem;
    width: 20vw;
    height: calc(20vw - 0.5vh);
  }

  .navigation__list.list1 .navigation__list--headline {
    left: 0vw;
    top: -13.15vh;
  }

  .navigation__list.list2 .navigation__list--headline {
    left: 20vw;
    top: -13.15vh;
  }

  .navigation__list.list3 .navigation__list--headline {
    left: 40vw;
    top: -13.15vh;
  }

  .navigation__list.list4 .navigation__list--headline {
    left: 60vw;
    top: -13.15vh;
  }

  .navigation__list.list5 .navigation__list--headline {
    left: 80vw;
    top: -13.15vh;
  }

  .navigation__list--submenue {
    font-size: 1.1rem;
    line-height: normal;
    text-indent: unset;
    padding: 5vw;
  }

  .navigation__list__flex--column li {
    padding-bottom: 0vh;
  }
}
/* Navigation kleine Viewports */
/* /////////////////////////// */

/* ######### Navigationsmenüs Ende ########### */
/* ########################################### */


/* ####################################################### */
/* ##################### FAQ / Tipps ##################### */

.faq H1 {
  margin-bottom: 0vh;
}

.faq H4 {
  margin-bottom: 0.25em;
  margin-top: 1.5em;
}

.faq p {
  margin-top: 0em;
  margin-bottom: 2em;
}

.faq details {
  margin-bottom: -1vh;
}

.faq details[open] {
  margin-bottom: 2em;
}

.faq__bildbox {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: auto;
  overflow: hidden;
}

.kennzeichen aside,
.faq aside {
  font-size: small;
  position: absolute;
  left: 50vw;
  padding-left: 2vw;
}

.faq aside img,
.faq figure {
  position: relative;
  width: 20vw;
  margin: 0vw;
  text-indent: none;
  margin-top: 5vh;
  padding: 0vw;
  z-index: 1;
}

.faq figcaption {
  font-size: small;
  color: var(--textauszeichnung1);
}

/* /////////////// */
/* Kleine Vieports */

@media all and (max-width: 500px) {
  .faq H4 {
    margin-top: 3em;
  }

  .kennzeichen aside,
  .faq aside {
    position: relative;
    left: 0vw;
    margin-right: 0vw;
    padding-left: 0vw;
  }

  .faq aside img,
  .faq figure {
    float: left;
    clear: both;
    width: 40vw;
    margin-top: 1vh;
    margin-right: 2vw;
    margin-left: 0vw;
    z-index: 1;
  }

  .faq figcaption {
    font-size: smaller;
  }
}
/* Kleine Vieports */
/* /////////////// */

/* ##################### FAQ / Tipps ##################### */
/* ####################################################### */

/* #####################################################  */
/* ##################### Formulare #####################  */

button {
  color: var(--textfarbe);
  border: var(--Bronneim-Grau-hell) solid 0.05em;
  cursor: url("../cursors/link.cur"), default;
  background-color: white;
}

button:hover {
  color: white;
  background-color: var(--Bronneim-Grau-hell);
}

/* ##################### Formulare #####################  */
/* #####################################################  */

.infobox {
  position: relative;
  display: block;
  padding: 0.5em;
  background-color: var(--farbe4-hell);
  border-color: var(--farbe4);
  border-style: solid;
  border-width: 0px;
}

.infobox H3 {
  color: var(--textauszeichnung1);
  margin: 0%;
  margin-bottom: 0.25em;
}

.nowrap {
  white-space: nowrap;
}
