/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

* {
  padding: 0;
  margin: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
}

body {
  background: #f3f8ff;
  width: 100%;
  overflow-x: hidden;
}

::-moz-selection {
  background: #5b8ad4;
  color: white;
}
::selection {
  background: #5b8ad4;
  color: white;
}

/* -----------------------------------------------
    TYPO
----------------------------------------------- */

h1,
h2,
h3,
h4 {
  font-family: "Lobster", cursive;
}

figcaption,
p,
.content-2-3 td {
  font-family: "Lato", sans-serif;
  font-weight: 100;
}

.content-2-3 th {
  font-family: "Arvo", serif;
  text-align: left;
  color: #3b6dbd;
  font-weight: bold;
  font-size: 1.15em;
}

.content-2-3 p span {
  font-weight: bold;
  color: #5b8ad4;
  position: relative;
  margin-right: 5px;
}

dl {
  width: 100%;
  height: 1px;
  background-color: #ccc;
  margin: 20px 0px 30px 0;
}

dl.line-content {
  background-color: rgb(226, 226, 226);
  margin: 10px 0;
}

dl + dl {
  margin-top: -28px;
  background-color: #ccc;
}

.button,
a.button {
  color: #fff;
  text-decoration: none;
  font-family: "Arvo", serif;
  text-align: center;
  background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#6392da),
    to(#4579ca)
  );
  background-image: -o-linear-gradient(#6392da, #4579ca);
  background-image: linear-gradient(#6392da, #4579ca);
  padding: 8px 20px;
  border-radius: 3px;
  font-size: 0.85em;
  margin-top: 20px;
  display: inline-block;
  -webkit-box-shadow: 1px 2px 0px rgba(0, 0, 0, 0.5);
  box-shadow: 1px 2px 0px rgba(0, 0, 0, 0.5);
  -webkit-transition: opacity ease 0.2s;
  -o-transition: opacity ease 0.2s;
  transition: opacity ease 0.2s;
}

a.button:hover {
  opacity: 0.8;
}

.intro-text {
  color: #777;
  font-size: 1em;
  margin-bottom: 10px;
}

/* -----------------------------------------------
    HEADER
----------------------------------------------- */

header {
  background: url(../img/startseite/background.jpg) top center no-repeat;
  background-size: cover;
  min-height: 500px;
  padding: 300px 0 150px;
  border-radius: 0 0 100% 100% / 0 0 25% 25%;
}

header .header-intro {
  color: #fff;
  text-align: center;
  text-shadow: 2px 2px #5b8ad4;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 0 20px;
}

header .header-intro > div {
  display: table-cell;
  vertical-align: middle;
  width: 100%;
}

header .header-intro h1 {
  font-size: 4.125em;
  line-height: 1em;
  font-weight: normal;
  margin-bottom: 20px;
}

header .header-intro p {
  font-size: 1.35em;
  line-height: 1em;
}

@media all and (max-width: 530px) {
  header {
    background-image: url(../img/gallerie/vomGetreidekornzumMehl/full/1c-MÃ¼hle-im-Wind.jpg);
  }
}

/* CONTENTHEADER */

.content-header {
  border-radius: 0 0 100% 100% / 0 0 25% 25%;
  -webkit-box-shadow: 3px 3px 3px 3px rgba(255, 255, 255, 0.5);
  box-shadow: 3px 3px 3px 3px rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
}

.quote-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  margin-top: -100px;
  margin-bottom: 20px;
  width: 100%;
}

.content .quote {
  padding: 20px 40px;
  text-align: center;
  font-size: 1rem;
  line-height: 1.5;
  background: #fffae1;

  -webkit-box-shadow: 3px 2px 8px #0e7bd524;

  box-shadow: 3px 2px 8px #0e7bd524;
  -webkit-transform: rotate(-4deg);
  -ms-transform: rotate(-4deg);
  transform: rotate(-4deg);
}

/* Popup */

.modalDialog {
  position: fixed;
  top: 20px;
  left: 0px;
  z-index: 99999;
  opacity: 0;
  -webkit-transition: opacity 400ms ease-in;
  -o-transition: opacity 400ms ease-in;
  transition: opacity 400ms ease-in;
  pointer-events: none;
}

.modalDialog:target {
  opacity: 1;
  pointer-events: auto;
}

.modalDialog > div {
  width: 70%;
  position: relative;
  margin: 20px auto;
  padding: 30px 20px 10px 20px;
  border-radius: 7px;
  background: #fff;
  -webkit-box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.3);
  box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.3);
}

@media only screen and (max-width: 480px), screen and (max-height: 480px) {
  .modalDialog {
    position: absolute;
    left: 50%;
    margin-left: -160px;
  }
  .modalDialog > div {
    width: 310px;
  }
}

.modalDialog > div h2 {
  margin-bottom: 10px;
}

.close {
  font-family: "Lato", serif;
  background: #396cbb;
  color: #fff !important;
  line-height: 28.5px;
  position: absolute;
  right: 10px;
  text-align: center;
  top: 10px;
  width: 30px;
  height: 30px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 50%;
}

.close:hover {
  background: #4b7bc5;
}

/*
    Intropics
*/

main {
  position: relative;
}

main .container-pic {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 10px 1fr 10px 1fr 10px 1fr;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 10px;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding: 10px;
}

@media only screen and (min-width: 1400px) {
  main .container-pic {
    width: 130%;
    margin-left: -15%;
    margin-right: -15%;
  }
}

main .container-pic figure {
  border: 3px solid #fff;
  position: relative;
}

main .container-pic figure img {
  width: 100%;
  height: auto;
  margin-bottom: -4px;
}

main .container-pic figure figcaption {
  display: block;
  position: absolute;
  bottom: 0;
  background: rgb(77, 125, 200);
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(rgba(77, 125, 200, 0)),
    color-stop(80%, rgba(77, 125, 200, 1))
  );
  background: -o-linear-gradient(
    top,
    rgba(77, 125, 200, 0) 0%,
    rgba(77, 125, 200, 1) 80%
  );
  background: linear-gradient(
    180deg,
    rgba(77, 125, 200, 0) 0%,
    rgba(77, 125, 200, 1) 80%
  );
  width: 100%;
}

main .container-pic figure figcaption a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  padding: 20px 0;
  color: #fff;
  text-align: center;
  font-size: 1.25rem;
  font-family: "Lobster", cursive;
  display: block;
  height: 100%;
  text-decoration: none;
}

/* -----------------------------------------------
    MAIN
----------------------------------------------- */

/* Blöcke */

.content-2-3 {
  width: 66.664%;
  float: left;
  padding: 20px 30px 30px 10px;
}

.content-1-3 {
  width: 33.332%;
  float: left;
}

/* content */

main section h2 {
  color: #4d7dc8;
  font-size: 2.5em;
  line-height: 1em;
  margin-bottom: 20px;
  font-weight: normal;
}

main section h4 {
  color: #7c7c7c;
  font-size: 2.25em;
  line-height: 1em;
  margin-bottom: 10px;
  font-weight: normal;
  margin-top: 30px;
}

main section p {
  font-size: 1.15em;
  line-height: 1.5em;
  color: #333;
  margin-bottom: 10px;
}

main section article p + h2 {
  margin-top: 40px;
}

main section p:last-child {
  margin-bottom: 40px;
}

/* IMG */

.content-2-3 figure {
  widht: 100%;
  margin-bottom: 10px;
}

.content-2-3 figure.left {
  float: left;
  width: 50%;
  margin: 0px 20px 10px 0;
}

.content-2-3 figure.right {
  float: right;
  width: 50%;
  margin: 10px 0 10px 20px;
}

.content-2-3 figure.right-small {
  float: right;
  width: 33.332%;
  margin: 10px 0 10px 20px;
}

.content-2-3 figure.middle {
  width: 100%;
  margin: 20px 0 20px 0px;
}

.content-2-3 figure.fig-1-3 {
  width: 32.332%;
  float: left;
  margin-right: 1%;
  margin-bottom: 20px;
}

.content-2-3 figure.fig-1-2:last-child {
  margin-right: 0%;
}

.content-2-3 figure figcaption {
  padding: 5px 10px;
  margin: -4px 0 0 0;
  background-color: #fff;
}

.content-2-3 figure figcaption p {
  color: #6e6e6e;
  font-size: 0.85em;
  line-height: 1.5em;
}

.content-2-3 figure img {
  width: 100%;
  height: auto;
  border: 3px solid #fff;
}

.content-2-3 figure.middle a {
  width: 49%;
  float: left;
  display: block;
}

.content-2-3 figure.middle a:nth-child(2) {
  margin-left: 2%;
}

/* Map */

.responsiveContainer {
  position: relative;
  padding-bottom: 56%;
  height: 0;
  overflow: hidden;
}

.responsiveContainer iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Video */

main section p + iframe {
  margin-top: 40px;
}

/* CONTENT */

.content-2-3 h3 {
  font-family: "Lato", serif;
  color: #000;
  font-size: 1.35em;
  margin-top: 20px;
  margin-bottom: 10px;
}

.content a:not(.button),
.content-2-3 a:not(.button),
.content-1-3 a:not(.button) {
  color: #4d7dc8;
  text-decoration: none;
  border-bottom: 1px solid #fff;
}

.content-2-3 a.button {
  color: #fff;
  border: none;
}

.content-2-3 li p {
  margin-bottom: 5px !important;
}

.content-2-3 ul {
  padding-left: 20px;
  margin-top: 10px;

  list-style: none;
}

.content-2-3 ul li {
  position: relative;
}

.content-2-3 ul li p::before {
  content: "\2022";
  color: #2960b5;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.content-2-3 li {
  position: relative;
}

.content-2-3 > ul li:before {
  content: "•";
  color: #4d7dc8;
  position: absolute;
  left: -15px;
  top: 5px;
}

.content-2-3 ol {
  list-style: none;
}

.content-2-3 ol b {
  color: #4d7dc8;
}

/* Table */

.content-2-3 table {
  width: 100%;
  margin-bottom: 20px;
}

.content-2-3 table th {
  background: rgba(97, 142, 214, 1);
  color: #fff;
  padding: 5px 10px;
  font-weight: normal;
}

.content-2-3 table td {
  padding: 10px 4px;
  border-bottom: 1px solid #fff;
}

.content-2-3 table td:last-child {
  width: 70px;
  text-align: right;
}

.content-2-3 table td:nth-last-child(2) {
  width: 70px;
}

/* video */

.responsive-video {
  position: relative;
  padding-bottom: 56.25%; /* Default for 1600x900 videos 16:9 ratio*/
  padding-top: 0px;
  height: 0;
  overflow: hidden;
}

.responsive-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Sidebar */

aside {
  padding: 0 10px;
  margin-bottom: 50px;
}

aside article {
  padding: 20px;
  border: 2px solid #fff;
  margin-bottom: 10px;
  margin-top: 20px;
}

aside h4 {
  font-size: 1.5em;
  line-height: 1em;
  color: #4d7dc8;
  margin-bottom: 10px;
}

aside p {
  color: #333;
  font-size: 1em;
  line-height: 1.55em;
}

aside small {
  font-family: "Lato", sans-serif;
  color: #333;
  font-size: 0.85em;
  line-height: 1.5em;
  margin: 0;
  padding-top: 16px;
  display: block;
}

aside article table {
  margin-bottom: 10px;
}

aside article table tr td:not(aside article table tr:last-child td) {
  border-bottom: 1px solid rgba(77, 125, 200, 0.3);
  padding-bottom: 16px;
  padding-top: 16px;
}

aside article.date p {
  border-bottom: 1px solid rgba(77, 125, 200, 0.3);
  margin-bottom: 8px;
  padding-bottom: 8px;
}

aside article.date p:last-child {
  border-bottom: none;
  padding-bottom: 0px;
  margin-bottom: 0px;
}

/* warning */

.warning {
  background-color: #fff3c4;
  border: 1px solid #ffcc00;
  padding: 20px;
  border-radius: 5px;
}

.warning p:last-child {
  padding-bottom: 0px;
  margin-bottom: 0px;
}

/* highlight */

.highlight {
  background-color: white;
  border: 2px solid #b8d4ff;
}

.highlight-box {
  padding: 20px;
}

.highlight p:last-child {
  padding-bottom: 0px;
  margin-bottom: 0px;
}

.highlight h2,
.highlight p a:not(.button) {
  /* color: #e91e63 !important; */
  line-height: 1.125;
}
.highlight h2 {
  font-size: 1.75rem;
}

.highlight-box .text:last-child {
  border-top: 1px solid #b8d4ff;
  margin-top: 40px;
  padding-top: 40px;
}

@media only screen and (min-width: 768px) {
  .highlight {
    text-align: left;
  }

  .highlight-box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 40px;
  }

  .highlight-box .text {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    margin-bottom: 0px;
  }

  .highlight-box .text:last-child {
    border-top: none;
    margin-top: 0px;
    padding-top: 0px;
    border-left: 1px solid #b8d4ff;
    margin-left: 40px;
    padding-left: 40px;
  }
}

/* -----------------------------------------------
    FORMULAR
----------------------------------------------- */

#winterpause,
#ok,
#fehler {
  display: none;
}

#winterpause,
#ok,
#fehler {
  background-color: #4d7dc8;
  border-radius: 10px;
  padding: 20px;
  -webkit-box-shadow: 0px 1px 3px #ececec;
  box-shadow: 0px 1px 3px #ececec;
  width: 100%;
  display: none;
  margin-bottom: 30px;
  text-align: center;
  margin: 30px auto;
}
#winterpause p,
#ok p,
#fehler p {
  margin: 0px;
  color: #fff;
}

form fieldset {
  border: none;
  background: #fff;
  border-radius: 10px;
  padding: 20px 20px 10px 20px;
  -webkit-box-shadow: 0px 1px 3px #ececec;
  box-shadow: 0px 1px 3px #ececec;
}

form legend {
  font-family: "Lato", serif;
  color: #000;
  font-size: 1.25em;
  font-weight: bold;
}

form label {
  width: 48%;
  float: left;
  font-size: 1.15em;
  line-height: 1.5em;
  color: #333;
  margin-bottom: 10px;
  font-family: "Lato", serif;
}

form fieldset label:nth-child(4) {
  margin-left: 4%;
}

form label input,
form textarea {
  text-decoration: none;
  color: #000;
  font-family: "Arvo", serif;
  border: none;
  background: #fff;
  padding: 8px 10px;
  border-radius: 3px;
  font-size: 0.85em;
  display: inline-block;
  width: 100%;
  background: white;
  border: 1px solid #bbb;
}

form textarea {
  resize: vertical;
}

form button {
  text-decoration: none;
  color: #fff;
  font-family: "Arvo", serif;
  border: none;
  background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#6392da),
    to(#4579ca)
  );
  background-image: -o-linear-gradient(#6392da, #4579ca);
  background-image: linear-gradient(#6392da, #4579ca);
  padding: 8px 20px;
  border-radius: 3px;
  font-size: 0.85em;
  display: inline-block;
  -webkit-box-shadow: 1px 2px 0px rgba(0, 0, 0, 0.5);
  box-shadow: 1px 2px 0px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

form button.button--big {
  padding: 20px 20px;
  font-size: 1.25em;
}

form button:hover {
  opacity: 0.8;
}

form button[disabled] {
  background: gray;
  cursor: not-allowed;
  opacity: 0.5;
}

.form-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 0 -10px;
}

.form-group > * {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  margin: 0 10px 20px 10px;
}

.form-group-number {
  display: block;
  border-bottom: 1px solid lightgray;
  padding: 20px 0;
}

.form-group-number:first-child {
  padding-top: 0px;
}

.form-group-number label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  margin: 0 -10px 0px -10px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  float: none;
}

.form-group-number label > * {
  margin: 0 10px;
}

.form-group-number label input {
  width: 70px;
  background: white;
}

.order-form-inputs {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.checkbox {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  line-height: 20px;
  cursor: pointer;
  padding: 0.625em 0 0.625em 4px;
  margin-left: -4px;
  overflow: hidden;
  min-width: 6em;
  opacity: 1;
  -webkit-transition: opacity 0.2s ease-out;
  -o-transition: opacity 0.2s ease-out;
  transition: opacity 0.2s ease-out;
}

.checkbox svg {
  width: 20px;
  height: 20px;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: top;
  margin-right: 0;
  overflow: visible;
}

.checkbox svg .tick {
  stroke-dasharray: 20px;
  stroke-dashoffset: 20px;
  -webkit-transition: stroke-dashoffset 0.2s ease-out;
  -o-transition: stroke-dashoffset 0.2s ease-out;
  transition: stroke-dashoffset 0.2s ease-out;
}

.checkbox svg rect {
  fill: white;
  -webkit-transition: fill 0.2s ease-out;
  -o-transition: fill 0.2s ease-out;
  transition: fill 0.2s ease-out;
}

.checkbox input {
  position: absolute;
  width: 20px;
  height: 20px;
  opacity: 0;
  cursor: pointer;
}

.checkbox input[readonly],
.checkbox input[disabled] {
  pointer-events: none;
}

.checkbox input:checked + svg rect {
  fill: #4d7dc8;
}

.checkbox input:checked + svg .tick {
  stroke-dashoffset: 0;
}

.checkbox input:focus + svg {
  outline: 1px dashed #4d7dc8;
  outline-offset: 2px;
}

.checkbox__text {
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
}

/* -----------------------------------------------
    GALLARY
----------------------------------------------- */

.gallery {
  height: 400px;
}

.slick-list,
.slick-track {
  height: 100%;
}

.slick-slide {
  margin: 0 4px;
}
/* the parent */
.slick-list {
  margin: 0 -4px;
}

.gallery {
  margin-bottom: 20px;
}

.gallery-nav {
  margin-bottom: 40px;
}

.gallery figure {
  position: relative;
}

.gallery figure img,
.gallery img {
  -o-object-fit: contain;
  object-fit: contain;
  height: 100%;
  border: none;
  width: 100%;
  margin: 0 auto;
}

.gallery .slick-dots {
  margin: 0;
  padding: 0;
}

.gallery figure figcaption {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  margin: 0;
  background-color: rgb(246 247 250 / 90%);
}

.gallery-nav img {
  border: 2px solid white;
  cursor: pointer;
}

.gallery figure {
  margin: 0;
  width: 100%;
  height: 100%;
}

.slick-prev:before,
.slick-next:before {
  color: #4d7dc8;
}

.slick-prev {
  left: 0;
  z-index: 300;
}

.slick-next {
  right: 0;
  z-index: 300;
}

/* -----------------------------------------------
    FOOTER
----------------------------------------------- */

.footer {
  margin-top: auto;
  background-color: #3b6dbd;
  padding: 20px;
}
.footer nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: baseline;
  -ms-flex-align: baseline;
  align-items: baseline;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer ul li a {
  text-decoration: none;
  color: #fff;
  font-family: "Lato", serif;
  font-weight: normal;
  background-color: #3b6dbd;
  -o-transition: background linear 0.5s;
  transition: background linear 0.5s;
  -moz-transition: background linear 0.5s;
  -webkit-transition: background linear 0.5s;
  text-shadow: 1px 1px 0px #2960b5;
  white-space: nowrap;
  font-size: 0.75em;
  padding: 10px 0;
}

.footer ul li a:hover {
  text-decoration: underline;
}

.footer p {
  color: #fff;
  font-size: 0.75em;
  padding: 10px 0;
}

.image {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}

/* -----------------------------------------------
    HILFSKLASSEN
----------------------------------------------- */

.block {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 70em;
}

#wrap {
  height: auto;
  min-height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.clearfix:after {
  content: ".";
  clear: both;
  display: block;
  visibility: hidden;
  height: 0px;
}
