/* Stylesheet für die Lukasgemeinde Bubenreuth, www.bubenreuth-evangelisch.de

/* Definitionen */
/*Bubenreuth-Lila*/
/* Texte etc. */
/* dark blue links */
/* Fonts*/
@font-face {
  font-family: "Manuale";
  src: url("../fonts/Manuale/Manuale-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manuale";
  src: url("../fonts/Manuale/Manuale-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Manuale";
  src: url("../fonts/Manuale/Manuale-Light.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manuale";
  src: url("../fonts/Manuale/Manuale-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fira";
  src: url("../fonts/Fira/FiraSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fira";
  src: url("../fonts/Fira/FiraSans-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Fira";
  src: url("../fonts/Fira/FiraSans-Light.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fira";
  src: url("../fonts/Fira/FiraSans-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  text-decoration: none;
}
body:not(#tinymce) {
  color: #333;
  font-family: "Manuale";
  background-color: #ddd;
}
#page {
  margin: 0 auto;
  max-width: 1200px;
  min-width: 380px;
  background-color: #f2f5f7;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
/*Typographie*/
#page,
#tinymce {
  color: #333;
  font-family: "Manuale";
}
#page h1,
#tinymce h1,
#page h2,
#tinymce h2,
#page h3,
#tinymce h3,
#page h4,
#tinymce h4,
#page h5,
#tinymce h5 {
  font-family: Fira;
  margin-top: 30px;
}
#page h1:first-child,
#tinymce h1:first-child,
#page h2:first-child,
#tinymce h2:first-child,
#page h3:first-child,
#tinymce h3:first-child,
#page h4:first-child,
#tinymce h4:first-child,
#page h5:first-child,
#tinymce h5:first-child {
  margin-top: 0;
}
#page h1,
#tinymce h1 {
  font-size: 2rem;
  margin-bottom: 20px;
}
#page h2,
#tinymce h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 400;
}
#page h3,
#tinymce h3 {
  font-weight: 400;
  font-size: 1.5em;
  margin-bottom: 12px;
}
#page h4,
#tinymce h4 {
  font-weight: 400;
  font-size: 1.2em;
  margin-bottom: 12px;
}
#page h5,
#tinymce h5 {
  font-weight: 400;
  font-size: 1.1em;
  margin-bottom: 12px;
}
#page p,
#tinymce p {
  font-family: "Manuale";
  font-size: 1rem;
  line-height: 140%;
  margin-bottom: 12px;
}
#page .contentelement ul,
#tinymce .contentelement ul,
#page .mce-visualblocks ul,
#tinymce .mce-visualblocks ul {
  list-style-type: none;
}
#page .contentelement ul li,
#tinymce .contentelement ul li,
#page .mce-visualblocks ul li,
#tinymce .mce-visualblocks ul li {
  padding-left: 20px;
  font-family: "Manuale", serif;
  font-size: 1rem;
  line-height: 140%;
  margin-bottom: 8px;
}
#page .contentelement ul li::before,
#tinymce .contentelement ul li::before,
#page .mce-visualblocks ul li::before,
#tinymce .mce-visualblocks ul li::before {
  position: absolute;
  content: "•";
  color: #813ec3;
  width: 20px;
  margin-left: -20px;
  font-size: 24px;
}
#page a,
#tinymce a {
  color: #4E2576;
}
#page a.button,
#tinymce a.button {
  font-family: "Fira";
  background-color: #9b65cf;
  display: inline-block;
  color: white;
  padding: 6px 12px;
  border-radius: 10px;
  text-decoration: none;
}
#page a.button:hover,
#tinymce a.button:hover {
  background-color: #4E2576;
}
#page .contentbild img,
#tinymce .contentbild img {
  margin-bottom: 12px;
}
#page .contentbild .bu,
#tinymce .contentbild .bu {
  margin-bottom: 12px;
  text-align: right;
  font-style: italic;
}
#page .contentelement,
#tinymce .contentelement {
  width: 100%;
}
#page .contentelement img,
#tinymce .contentelement img {
  max-width: 100%;
  height: auto;
}
#page .contentelement a:not(.button),
#tinymce .contentelement a:not(.button) {
  color: #4E2576;
  text-decoration: underline;
}
#page .contentelement a:not(.button)::before,
#tinymce .contentelement a:not(.button)::before {
  content: url(/static/img/link.svg);
  width: 14px;
  padding: 0 4px 0 2px;
  display: inline-block;
}
#page .contentelement.team,
#tinymce .contentelement.team {
  background-color: white;
  border-radius: 20px;
  margin-bottom: 50px;
  padding: 2vh;
  border: 1px solid #813ec3;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  width: 30%;
  margin-right: 3%;
  max-width: 350px;
}
#page .contentelement.team img,
#tinymce .contentelement.team img {
  border-radius: 20px;
  width: 100%;
  height: auto;
}
#page .contentelement.team .bu,
#tinymce .contentelement.team .bu {
  margin-top: 20px;
}
#page .XXXantwort::before,
#tinymce .XXXantwort::before {
  width: 100%;
  height: 120px;
  position: absolute;
  left: 0;
  bottom: 0;
  pointer-events: none;
  opacity: 1;
  transition: 0.6s;
  z-index: 7;
  background: -moz-linear-gradient(top, rgba(244, 237, 235, 0) 0%, #f4edeb 80%, #f4edeb 100%);
  background: -webkit-linear-gradient(top, rgba(244, 237, 235, 0) 0%, #f4edeb 80%, #f4edeb 100%);
  background: linear-gradient(to bottom, rgba(244, 237, 235, 0) 0%, #f4edeb 80%, #f4edeb 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00f4edeb', endColorstr='#f4edeb', GradientType=0);
}
#page .frage,
#tinymce .frage {
  display: inline-block;
}
#page .frage:hover,
#tinymce .frage:hover {
  cursor: pointer;
  color: #4E2576;
}
#page .frage::before,
#tinymce .frage::before {
  content: url(/static/img/right.svg);
  width: 18px;
  padding: 0 10px 0 0;
  display: inline-block;
}
#page .frage.aktiv::before,
#tinymce .frage.aktiv::before {
  content: url(/static/img/down.svg);
}
#page .box > h3.frage,
#tinymce .box > h3.frage {
  margin-bottom: 0;
  display: block;
}
#page .box > h3.frage:hover,
#tinymce .box > h3.frage:hover {
  cursor: pointer;
  color: white;
}
#page .box > h3.frage::before,
#tinymce .box > h3.frage::before {
  content: url(/static/img/right_white.svg);
}
#page .box > h3.frage.aktiv::before,
#tinymce .box > h3.frage.aktiv::before {
  content: url(/static/img/down_white.svg);
}
#page .box .frage h3,
#tinymce .box .frage h3 {
  display: inline-block;
}
#page .box .frage h3:hover,
#tinymce .box .frage h3:hover {
  cursor: pointer;
  color: white;
}
#page .box .antwort,
#tinymce .box .antwort {
  margin-top: 20px;
}
#page .box.contentbild .bu,
#tinymce .box.contentbild .bu,
#page .team.contentbild .bu,
#tinymce .team.contentbild .bu {
  font-style: normal;
  text-align: left;
}
#tinymce h3.frage:hover {
  color: black;
}
#tinymce ul {
  list-style-type: none;
}
#tinymce ul li {
  padding-left: 20px;
  font-family: "Manuale", serif;
  font-size: 1rem;
  line-height: 140%;
  margin-bottom: 8px;
}
#tinymce ul li::before {
  position: absolute;
  content: "•";
  color: #813ec3;
  width: 20px;
  margin-left: -20px;
}
header {
  margin-top: 0px;
  background-color: white;
  width: 100%;
  position: relative;
  /* Menü */
}
header #mood {
  width: 100%;
  min-height: 100px;
  margin: 0;
  position: relative;
}
header #mood img {
  width: 100%;
  height: auto;
  display: block;
}
header #mood p {
  font-style: italic;
  font-size: 1.3rem;
  display: block;
  position: absolute;
  right: 0;
  bottom: 0px;
  margin: 0;
  padding: 0.5vh 1vh;
  border-radius: 10px 0 0 0;
  background-color: rgba(255, 255, 255, 0.8);
}
header #logo {
  position: absolute;
  z-index: 10;
  right: 0;
  top: 30px;
  border-radius: 0 0 0 20px;
  background-color: white;
  padding: 0 2vh 2vh 2vh;
}
header #logo img {
  height: 100px;
}
header nav {
  padding: 0 5vh;
  width: 100%;
  flex-grow: 1;
  display: flex;
  justify-content: flex-start;
  margin-bottom: 40px;
}
header nav .menu__link--order-200 {
  border-top: 16px solid #023059;
}
header nav .menu__link--order-200:hover {
  background-color: #c2e2fe;
}
header nav .menu__item--order-200 li:hover {
  background-color: #c2e2fe;
}
header nav .menu__link--order-300 {
  border-top: 16px solid #590202;
}
header nav .menu__link--order-300:hover {
  background-color: #fec2c2;
}
header nav .menu__item--order-300 li:hover {
  background-color: #fec2c2;
}
header nav .menu__link--order-400 {
  border-top: 16px solid #03658C;
}
header nav .menu__link--order-400:hover {
  background-color: #c3edfe;
}
header nav .menu__item--order-400 li:hover {
  background-color: #c3edfe;
}
header nav .menu__link--order-500 {
  border-top: 16px solid #D9043D;
}
header nav .menu__link--order-500:hover {
  background-color: #fedee6;
}
header nav .menu__item--order-500 li:hover {
  background-color: #fedee6;
}
header nav .menu__link--order-600 {
  border-top: 16px solid #f6b91c;
}
header nav .menu__link--order-600:hover {
  background-color: #fad77e;
}
header nav .menu__item--order-600 li:hover {
  background-color: #fad77e;
}
section {
  display: flex;
  margin: 5vh 0;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  padding: 0 5vh;
}
#spalteGesamt {
  position: relative;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}
#spalteLinks {
  position: relative;
  width: 62%;
  padding: 0;
}
#spalteLinks .zweispaltig {
  columns: 2;
  column-gap: 2vh;
}
#spalteRechts {
  position: relative;
  width: 33%;
  padding: 0;
}
#page footer {
  border-top: 1px solid #ccc;
  padding: 20px 0;
  width: 100%;
  background: url("/static/img/Lukas_Gemeinde_Bubenreuth_Bildmarke.svg") no-repeat;
  background-size: 60px;
  background-position: 15px 25px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
}
#page footer div#anschrift {
  padding: 0 0 0 90px;
  display: flex;
  flex-wrap: wrap;
}
#page footer div#anschrift p {
  margin-right: 30px;
  font-family: "Fira";
  font-size: 1rem;
}
#page footer nav#menuFooter {
  padding: 3vh 5vh 0 0;
  margin-top: 0px;
}
#page footer nav#menuFooter ul {
  justify-content: flex-end;
  padding-bottom: 0px;
}
#page .box {
  background-color: white;
  border-radius: 20px;
  margin-top: 40px;
  margin-bottom: 50px;
  padding: 2vh;
  border: 1px solid #813ec3;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
#page .box .titel h1,
#page .box .titel h2,
#page .box .titel h3,
#page .box > h1,
#page .box > h2,
#page .box > h3 {
  background-color: #4E2576;
  margin-top: -40px;
  padding: 6px 12px;
  color: white;
  margin-bottom: 20px;
  border-radius: 5px;
}
#page .box .bu {
  text-align: right;
  margin-bottom: 10px;
  margin-top: -10px;
  font-style: italic;
  font-size: 0.8rem;
}
.multifeldelement .bild img {
  margin: 20px 0;
  border-radius: 5px;
}
#page .menu a {
  font-family: "Fira";
  color: #203844;
  font-weight: normal;
}
#page .menu .menu__list {
  display: flex;
  list-style-type: none;
  padding-bottom: 10px;
}
#page .menu .menu__list--level-2 {
  position: absolute;
  flex-direction: column;
  display: none;
  background-color: white;
  z-index: 100;
  border-radius: 0 0 5px 5px;
}
@media (max-width: 1024px) {
  #page .menu .menu__list--level-2 {
    display: flex;
    position: relative;
  }
}
#page .menu .menu__item:hover,
#page .menu .menu__item:focus-within {
  color: #203844;
}
#page .menu .menu__item:hover .menu__list,
#page .menu .menu__item:focus-within .menu__list {
  display: flex;
}
#page .menu .menu__item--level-1 + li {
  margin-left: 10px;
}
#page .menu .menu__link {
  display: block;
  margin: 0px 10px 10px 10px;
  padding-top: 5px;
  font-size: 1.1rem;
  position: relative;
}
#page .menu .menu__link:hover,
#page .menu .menu__link:focus {
  color: #4E2576;
}
#menuIcon {
  display: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 110;
}
#menuIcon span {
  position: absolute;
  display: block;
  width: 100%;
  height: 2px;
  top: 6px;
  left: 0;
  background-color: black;
  transition: all 0.5s;
}
#menuIcon span:nth-of-type(2) {
  top: 24px;
  transition: all 0.4s;
}
#menuIcon span:nth-of-type(3) {
  top: 42px;
}
#menuIcon:hover span {
  background-color: #4E2576;
}
#menuIcon.open span {
  background-color: #4E2576;
}
#menuIcon.open span:nth-of-type(1) {
  transform: rotate(45deg);
  top: 24px;
}
#menuIcon.open span:nth-of-type(2) {
  left: 20px;
  opacity: 0;
  width: 0;
}
#menuIcon.open span:nth-of-type(3) {
  transform: rotate(-45deg);
  top: 25px;
}
.skip-navigation {
  background-color: black;
  padding: 0.5em 0.75em;
  color: white;
  transition: 500ms;
  transform: translateY(-120%);
  text-decoration: none;
  font-size: 1.2rem;
  border-radius: 0 0 15px 15px;
  position: absolute;
  width: max-content;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 1000;
}
.skip-navigation:focus {
  transform: translateY(0);
  background-color: red;
  outline: none;
}
/* Importierte Termine */
.termine a {
  font-family: "Fira", sans-serif;
  color: #4E2576;
  font-size: 1.4rem;
  margin-bottom: 3px;
}
.termine span.et_tag {
  display: block;
}
.termine span.et_litname {
  display: block;
  margin-bottom: 3px;
  font-size: 1rem;
}
.termine span.et_placename {
  display: block;
  margin-bottom: 30px;
}
#page .contentdownload {
  margin: 0px 0 20px;
  display: flex;
}
#page .contentdownload a::before {
  content: none;
}
#page .contentdownload .bu a {
  text-decoration: none;
}
#page .contentdownload .bu a::before {
  content: none;
}
#page .contentdownload a.downloadicon {
  background-image: url("/static/img/pdf_icon.svg");
  background-repeat: no-repeat;
  background-position: 0 8px;
  width: 37px;
  height: 50px;
  display: block;
  margin-right: 10px;
  flex-shrink: 0;
  background-size: 35px;
}
#page .contentdownload a.downloadicon::before {
  content: none !important;
}
@media (max-width: 1024px) {
  header #logo {
    top: 0;
    padding: 1vh 75px 2vh 2vh;
  }
  header #logo img {
    height: 70px;
  }
  #menuIcon {
    display: block;
  }
  #page h1,
  #page h2 {
    font-size: 2rem;
  }
  #spalteLinks,
  #spalteRechts {
    width: 100%;
  }
  #page header nav {
    margin-top: 114px;
    display: flex;
    position: absolute;
    height: auto;
    left: -100%;
    top: 0;
    width: 100%;
    background-color: #eee;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.4s, left 0.4s;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }
  #page header nav #menuMain {
    margin-left: 0;
    order: 1;
    padding: 30px 0;
  }
  #page header nav.visible {
    left: 0;
    opacity: 0.9;
    overflow: scroll;
  }
  #page header nav .menu__list {
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
  }
  #page header nav .menu__list--level-2 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    background-color: unset;
    position: relative;
  }
  #page header nav .menu {
    max-width: 600px;
  }
  #page header nav .menu__item--level-1 + li {
    margin-left: unset;
  }
  #page header nav .menu__link {
    text-align: center;
  }
  #page header nav .menu__link--level-1 {
    margin-top: 0.7em;
  }
}
@media (max-width: 1080px) {
  header #logo img {
    height: 80px;
  }
  footer #anschrift,
  footer nav {
    width: 100%;
  }
  footer nav {
    display: flex;
    justify-content: flex-end;
  }
}
@media (max-width: 1000px) {
  #page .contentelement.team {
    width: 40%;
  }
}
@media (max-width: 500px) {
  header #mood {
    height: 200px;
  }
  header #logo img {
    weight: 50px;
  }
  #page .contentelement.team {
    width: 100%;
  }
}
@media (max-width: 700px) {
  #page .contentelement.team {
    width: 100%;
  }
}
@media (max-width: 450px) {
  header #mood p {
    background-color: white;
    border-radius: 0;
  }
}
/* Editor Hack */
#cmsPage ul.cmsMenuButtons.cmsButtonsSpaltenEnde {
  position: absolute;
  bottom: 0;
}
