@charset "UTF-8";
/* Anti alias */
html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 16px;
  color: #000;
  background-color: #f5f5f0;
}

.container {
  width: 100%;
  margin: 0 auto;
  max-width: 1150px;
  padding: 0 15px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

p {
  margin-top: 0;
}

h2, h3 {
  margin-top: 0;
}

.pdf-link {
  display: block;
  margin-bottom: 15px;
}
.pdf-link__preview {
  max-height: 40px;
  width: auto;
  flex-shrink: 0;
}

h3 {
  margin-bottom: 10px;
}

h2 {
  margin-bottom: 15px;
}

p {
  margin-bottom: 10px;
}

ul {
  list-style: none;
  padding-left: 1.15em;
}
ul li {
  position: relative;
}
ul li::before {
  content: "•";
  position: absolute;
  left: -0.95em;
  color: inherit;
}

.header__desktop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
}
.header__mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
}
.header__mobile .header__top > .container {
  align-items: center;
}
.header__mobile .burger {
  cursor: pointer;
  margin-left: 15px;
}
.header__mobile .burger div {
  width: 55px;
  height: 5px;
  background-color: #4f4b52;
  margin: 10px 0;
  transition: all 0.2s linear;
}
.header__mobile .burger div:first-child {
  margin-top: -2px;
}
.header__mobile .burger div:last-child {
  margin-bottom: 0;
}
.header__mobile .burger.open div:nth-child(1) {
  transform: translateY(14px) rotate(-45deg);
}
.header__mobile .burger.open div:nth-child(2) {
  opacity: 0;
}
.header__mobile .burger.open div:nth-child(3) {
  transform: translateY(-15px) rotate(45deg);
}
.header__top > .container, .header__bottom > .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
.header__top > .container {
  align-items: flex-start;
}
.header__top {
  height: 118px;
  padding-top: 20px;
  background-color: #f5f5f0;
}
.header__bottom {
  height: 50px;
  background-color: #fff;
}
.header__logo {
  width: 290px;
}
.header__links {
  font-size: 22px;
}
.header__links a {
  margin-right: 20px;
}
.header__links a:last-child {
  margin-right: 0;
}
.header__links a:hover,
.header__links a.is-active {
  color: #517eb4;
}
.header__title {
  color: #517eb4;
  font-family: "Cabin", sans-serif;
  font-weight: 600;
  font-size: 24px;
  text-transform: uppercase;
}

.mobile-navigation {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 168px;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: scroll;
  z-index: 1;
}
.mobile-navigation__links {
  font-size: 32px;
  color: #fff;
  padding: 45px;
}
.mobile-navigation__links a {
  display: block;
  margin-bottom: 10px;
}
.mobile-navigation__links a:last-child {
  margin-bottom: 0;
}
.mobile-navigation__links:first-child a.is-active {
  color: #000;
}
.mobile-navigation__links:last-child a.is-active {
  color: #000;
}
.mobile-navigation__links:first-child {
  background-color: #657b3a;
  border-bottom: #fff 8px solid;
}
.mobile-navigation__links:last-child {
  flex-grow: 1;
  background-color: #517eb4;
  min-height: 100%;
}

main {
  min-height: calc(100vh - 302px);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin-top: 168px;
  padding-bottom: 40px;
}
main .green-text {
  color: #657b3a;
}

.homepage h1 {
  font-family: "Merriweather", serif;
  font-size: 40px;
  font-weight: 400;
  max-width: 560px;
  color: #fff;
  margin: 0;
  padding-top: 50px;
}

.title {
  font-family: "Merriweather", serif;
  font-size: 40px;
  font-weight: 400;
  color: #fff;
  padding-top: 50px;
  padding-bottom: 40px;
}
.title h1 {
  font-weight: inherit;
  margin: 0;
}
.title.dark {
  color: #4f4b52;
}

.item-list__item {
  background-color: rgba(245, 245, 245, 0.8);
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
}
.item-list__item.bigger-bottom {
  position: relative;
  padding-bottom: 60px;
}
.item-list__item__image {
  flex-shrink: 0;
  width: 22%;
  margin-right: 40px;
}
.item-list__item__image img {
  margin-bottom: 40px;
}
.item-list__item__image img:last-child {
  margin-bottom: 0;
}
.item-list__item__image img[data-should-open=true] {
  cursor: pointer;
}
.item-list__item__text {
  width: 100%;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 22px;
  line-height: 1.2;
}
.item-list__item__text h2 {
  font-family: "Merriweather", serif;
  font-size: 25px;
  margin-bottom: 5px;
  color: #687d3d;
}
.item-list__item__text h3 {
  color: #687d3d;
}
.item-list__item__text a {
  color: #4f4b52;
  text-decoration: underline;
}
.item-list__item__text a:hover {
  color: #517eb4;
  text-decoration: none;
}
.item-list__item__read-more {
  position: absolute;
  bottom: 25px;
  right: 30px;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 22px;
  text-decoration: underline;
}
.item-list__item__read-more:hover {
  color: #517eb4;
  text-decoration: none;
}
.item-list__item .small-screen-images {
  display: none;
  margin-top: 40px;
}
.item-list__item .small-screen-images img {
  margin-bottom: 40px;
  width: 100%;
}
.item-list__item .small-screen-images img:last-child {
  margin-bottom: 0;
}
.item-list__item:last-child {
  padding-bottom: 40px;
}
.item-list__item:first-child {
  padding-top: 40px;
}

.contact {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 23px;
}
.contact > div:first-child {
  margin-bottom: 40px;
}

.transparent-background {
  background-color: transparent;
  color: #fff;
}

.gallery > .title:not(:first-child) {
  padding-top: 0;
}

.images-list {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.images-list > * {
  width: 20%;
}
.images-list > *:not(:nth-child(4n+4)) {
  margin-right: calc((100% - 4 * 20%) / (4 - 1));
}
.images-list__image {
  margin-bottom: 5%;
  cursor: pointer;
}

section.popup-gallery {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -999;
  display: none;
  background-color: rgba(255, 255, 255, 0.7);
  justify-content: center;
  align-items: center;
}
section.popup-gallery.show {
  z-index: 999;
  display: flex;
}
section.popup-gallery .popup-wrapper {
  max-height: 80vh;
  max-width: 80vw;
  position: relative;
  display: flex;
  justify-content: space-between;
}
section.popup-gallery .popup-wrapper .previous, section.popup-gallery .popup-wrapper .next {
  width: 60px;
  flex-shrink: 0;
  cursor: pointer;
}
section.popup-gallery .popup-wrapper .previous svg, section.popup-gallery .popup-wrapper .next svg {
  width: 50px;
  height: 100%;
}
section.popup-gallery .popup-wrapper .previous svg path, section.popup-gallery .popup-wrapper .next svg path {
  stroke: #4f4b52;
}
section.popup-gallery .popup-wrapper .next svg {
  margin-left: auto;
  display: block;
}
section.popup-gallery .popup-wrapper__image-holder {
  font-size: 22px;
  color: #4f4b52;
  display: none;
}
section.popup-gallery .popup-wrapper__image-holder.show {
  display: block;
}
section.popup-gallery .popup-wrapper__image-holder__title {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 20px;
}
section.popup-gallery .popup-wrapper__image-holder__main {
  margin-bottom: 20px;
}
section.popup-gallery .popup-wrapper__image-holder__main img {
  display: block;
}
section.popup-gallery .popup-wrapper__image-holder__legend {
  text-align: end;
}
section.popup-gallery .popup-wrapper .close-popup {
  cursor: pointer;
  width: 35px;
  height: 35px;
  margin-left: 15px;
}
section.popup-gallery .popup-wrapper .close-popup svg {
  width: 100%;
  height: 100%;
}
section.popup-gallery .popup-wrapper .close-popup svg path {
  stroke: #4f4b52;
}

.item-list-popup {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -999;
  display: none;
  background-color: rgba(255, 255, 255, 0.7);
  justify-content: center;
  align-items: center;
}
.item-list-popup.show {
  z-index: 999;
  display: flex;
}
.item-list-popup__wrapper {
  max-height: 80vh;
  max-width: 80vw;
}
.item-list-popup__close {
  cursor: pointer;
  width: 35px;
  height: 35px;
  margin-left: auto;
  margin-bottom: 20px;
}
.item-list-popup__close svg {
  width: 100%;
  height: 100%;
}
.item-list-popup__close svg path {
  stroke: #4f4b52;
}
.item-list-popup__image img {
  display: block;
}

.footer {
  height: 134px;
  background-color: #657b3a;
  border-top: #fff 8px solid;
  border-bottom: #fff 8px solid;
  padding-bottom: 30px;
}
.footer .container {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  height: 100%;
}
.footer .container > * {
  color: #fff;
  line-height: 22px;
  margin-right: 50px;
}
.footer .container > *:last-child {
  margin-right: 0;
}
.footer__one > div:first-child {
  font-weight: 700;
}

.hide {
  display: none;
}

@media screen and (max-width: 820px) {
  .header__desktop {
    display: none;
  }
  .header__mobile {
    display: block;
  }
  .mobile-navigation.open {
    display: flex;
  }
}
@media screen and (max-width: 750px) {
  p, li, h1, h2, h3, h4 {
    -webkit-hyphens: auto;
    hyphens: auto;
    -webkit-hyphenate-limit-before: 3;
    -webkit-hyphenate-limit-after: 3;
    hyphenate-limit-chars: 6 3 3;
    -webkit-hyphenate-limit-lines: 2;
    hyphenate-limit-lines: 2;
    hyphenate-limit-last: always;
    overflow-wrap: break-word; /* Fallback für sehr lange URLs etc. */
  }
  h1 {
    font-size: 0.9em;
  }
  .images-list {
    display: block;
  }
  .images-list > * {
    width: 100%;
    margin-right: 0 !important;
  }
  .images-list__image {
    cursor: auto;
  }
  .item-list__item {
    display: block;
    padding: 12px;
  }
  .item-list__item__text {
    font-size: 20px;
    line-height: 1.4;
  }
  .item-list__item__read-more {
    bottom: 10px;
    font-size: 20px;
    position: static;
    display: block;
    text-align: right;
  }
  .item-list__item__image {
    width: 100%;
    margin-bottom: 20px;
    margin-right: 0;
  }
  .item-list__item__image img {
    width: 100%;
  }
  .item-list__item__image > *:first-child {
    margin-bottom: 0;
  }
  .item-list__item__image > *:not(:first-child) {
    display: none;
  }
  .item-list__item .small-screen-images {
    margin-top: 40px;
    display: block;
  }
  .item-list__item__image img[data-should-open=true] {
    cursor: auto;
  }
}
@media screen and (max-width: 650px) {
  .footer {
    height: auto;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .footer .container {
    display: block;
  }
  .footer .container > * {
    margin-bottom: 20px;
  }
  .footer .container > *:last-child {
    margin-bottom: 0;
  }
}

/*# sourceMappingURL=dorfverein.css.map */
