@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Open+Sans&display=swap");
@import url("https://fonts.googleapis.com/css?family=Istok+Web&display=swap");
* {
  padding: 0;
  margin: 0;
  list-style: none;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: #70341d;
}

body {
  background: #ffffff;
  color: #000000;
  font-family: "Istok Web", sans-serif;
  font-size: 14px;
}

#wrap {
  max-width: 1200px;
  margin: -2em auto 0;
  box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.5);
}

#contact {
  background: #ffffff;
  left: 0;
  right: 0;
  top: 0;
  padding: 1em;
  position: fixed;
  border-bottom: 2px solid #7b9750;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}
#contact ul {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}
#contact ul li {
  float: right;
  margin: 0 1em;
}
@media all and (max-width: 508px) {
  #contact ul li:first-child {
    margin-right: 0;
  }
}
#contact ul li a {
  font-size: 16px;
  color: #70341d;
}
#contact ul li a:hover {
  color: #7b9750;
  transition: color 0.2s;
}
@media all and (max-width: 550px) {
  #contact ul li a span {
    display: none;
  }
}

#head {
  left: 0;
  right: 0;
  top: 1em;
  background-image: url(../img/header.jpg);
  background-repeat: no-repeat;
  background-position: 0 -330px;
  background-size: cover;
  min-height: 380px;
}
@media all and (max-width: 1300px) {
  #head {
    background-position: bottom center;
  }
}
#head .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 9em 2em;
}
@media all and (max-width: 600px) {
  #head .container {
    padding: 9em 0;
  }
}
#head .container #logo {
  background-image: url(../img/logo.png);
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: contain;
  width: 300px;
  height: 120px;
  cursor: pointer;
}
@media all and (max-width: 600px) {
  #head .container #logo {
    width: 180px;
    height: 100px;
    margin: 0 auto;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

nav ul {
  display: flex;
  background: #dedede;
}
nav ul li {
  list-style: none;
  padding: 1em;
  color: #ffffff;
  border-right: 1px solid #dedede;
  color: #000000;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 75px;
}
nav ul li:hover {
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s;
}
nav ul li.active {
  background: #ffffff;
  border: 1px solid #7b9750;
  border-top: none;
  border-bottom: none;
}
nav ul li:first-child.active {
  border-left: none;
}
nav ul li:nth-child(2) {
  min-width: 140px;
}

#content > div {
  display: none;
  padding: 1em;
}
#content > div #zeichnung {
  width: 300px;
  height: 400px;
  background-image: url(../img/zeichnung.jpg);
  background-repeat: no-repeat;
  margin: 2em auto;
}
#content > div > h1 {
  display: none;
}
#content > div:first-child {
  display: block;
  padding: 0;
}
#content > div[data-chart=Pferdeschule] ul li, #content > div[data-chart=Veröffentlichungen] ul li {
  display: flex;
}
#content > div[data-chart=Pferdeschule] ul li div:not(.img), #content > div[data-chart=Veröffentlichungen] ul li div:not(.img) {
  margin: 0 1em;
  flex: 1;
}
#content > div[data-chart=Pferdeschule] ul li .img, #content > div[data-chart=Veröffentlichungen] ul li .img {
  margin: auto;
  flex: 1;
  text-align: center;
}
#content > div[data-chart=Pferdeschule] ul li h6, #content > div[data-chart=Veröffentlichungen] ul li h6 {
  font-weight: bold;
  font-size: 14px;
  margin-top: 0.4em;
}
#content > div[data-chart=Pferdeschule] ul li li, #content > div[data-chart=Veröffentlichungen] ul li li {
  list-style: circle;
  margin-left: 1.4em;
  display: list-item;
}
#content > div[data-chart=Pferdeschule] ul li img, #content > div[data-chart=Veröffentlichungen] ul li img {
  margin: 1.4em auto;
  border: 4px solid white;
  box-shadow: 0 0 1px #000;
}
@media all and (max-width: 600px) {
  #content > div[data-chart=Pferdeschule] ul li, #content > div[data-chart=Veröffentlichungen] ul li {
    display: initial;
  }
}
#content > div[data-chart=Impressum] div {
  min-height: 750px;
  text-align: justify;
}
#content > div[data-chart=Datenschutz] p {
  text-align: justify;
}
#content p {
  margin: 1em 0;
}
#content h4 + p {
  margin-top: 0;
}
#content h4 {
  border-bottom: 2px solid #7b9750;
  text-transform: uppercase;
  margin-bottom: 1em;
}
#content h4 span {
  font-weight: normal;
}
#content h6 {
  font-size: 14px;
}

ul#c-start {
  display: flex;
  justify-content: center;
}
@media all and (max-width: 600px) {
  ul#c-start {
    display: initial;
  }
}
ul#c-start li {
  margin: 1em;
}
ul#c-start li:first-child {
  flex-basis: 66%;
}
@media all and (max-width: 600px) {
  ul#c-start li:first-child {
    flex-basis: 100%;
  }
}
ul#c-start li:last-child {
  flex-basis: 33%;
}
ul#c-start li:last-child div#michael {
  background-image: url(../img/michael.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  display: block;
  width: 100%;
  min-height: 360px;
  margin: 1em 0;
  border: 4px solid #ffffff;
  box-shadow: 0 0 1px #000000;
}
ul#c-start li:last-child i.fas {
  width: 20px;
  text-align: center;
  color: #70341d;
}
ul#c-start li:last-child iframe {
  width: 100%;
}
@media all and (max-width: 600px) {
  ul#c-start li:last-child {
    flex-basis: 100%;
  }
}

#foot {
  background: #7b9750;
  margin-bottom: 1em;
}
#foot ul {
  display: flex;
  flex-wrap: wrap;
}
@media all and (max-width: 600px) {
  #foot ul {
    justify-content: space-evenly;
  }
}
#foot ul li {
  list-style: none;
  padding: 0.6em;
  font-size: 12px;
  color: #ffffff;
}
#foot ul li:hover {
  background: rgba(255, 255, 255, 0.5);
  color: #70341d;
  cursor: pointer;
}
#foot ul li.active {
  background: rgba(255, 255, 255, 0.5);
  color: #70341d;
}

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