/* ===================================
1. General
==================================== */
@import url("font.css");
@import url("font-awesome.css");
@import url("jquery.fancybox.css");

body {
  font-family: "Avenir LT Std", sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: #181716;
  background: #fff;
  line-height: 20px;
}

a:hover,
a:active,
a:focus {
  text-decoration: none;
  cursor: pointer;
  outline: 0;
  border: 0;
}

img {
  max-width: 100%;
  height: auto;
}

.row {
  margin: 0;
}

.content {
  max-width: 1024px;
  margin: 0 auto;
}

ul {
  list-style: none;
  text-align: left;
  margin: 0;
  padding: 0;
}

p {
  margin: 0;
}

p + p {
  margin-top: 16px;
}

p + h1,
p + h2,
p + h3,
p + h4,
p + h5,
p + h6,
ul + h2,
ul + h3 {
  margin-top: 30px;
}

#wrapper {
  max-width: 100%;
  margin: 0 auto;
  padding-top: 80px;
}

header {
  width: 100%;
  margin: 0;
  background: #000;
  position: fixed;
  z-index: 7;
  font-family: "Avenir LT Std";
  left: 0;
  top: 0;
}
header #logo {
  margin: 0;
  padding: 0;
}
header #logo p {
  color: #fff;
  font-weight: 500;
  font-size: 18px;
}
header #logo p strong {
  color: #4f856d;
}

header #logo p img {
  margin-right: 10px;
  max-width: 90px;
}

header #logo * {
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}
.fixed header {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}
.fixed header #logo p {
  font-size: 10px;
}
.fixed header #logo img {
  max-width: 50px;
  margin-top: 5px;
}

header .open-nav {
  position: absolute;
  top: 30px;
  left: 15px;
  display: none;
}
header .open-nav .fa {
  color: #bebdbd;
  font-size: 35px;
}

.btn-menu {
  position: absolute;
  left: 15px;
  top: 22px;
  display: none;
  z-index: 9;
}
.bars,
.bars:before,
.bars:after {
  position: relative;
  width: 28px;
  height: 3px;
  margin: 0 auto;
  background: #ecf0f1;
  border-radius: 2px;
  transition: top 0.2s 0.2s, transform 0.2s;
  transform: rotate(0deg);
  display: inline-block;
  top: -5px;
}
.bars:before,
.bars:after {
  content: "";
  display: block;
  position: absolute;
}
.bars:before {
  top: -10px;
}
.bars:after {
  top: 10px;
}

.active .bars:before,
.active .bars:after {
  transition: top 0.2s, transform 0.2s 0.2s;
  top: 0;
}
.active .bars {
  background: transparent;
}
.active .bars:before {
  transform: rotate(45deg);
}
.active .bars:after {
  transform: rotate(-45deg);
}

#overlay {
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  position: absolute;
  z-index: 6;
  display: none;
}
.active #overlay {
  display: block;
}

/* modal-header  */
header .social-media {
  position: absolute;
  top: 0;
  right: 0;
}

/* Slider */
#wrapper #slider {
  margin: 0;
  text-align: center;
  padding: 0;
  position: relative;
  max-height: 680px;
  overflow: hidden;
}

/* Navigation */
#wrapper #navigation {
  background: #4f856d;
  padding: 0;
  margin: 0;
  letter-spacing: 1px;
  opacity: 1;
  width: 100%;
}
#wrapper #navigation ul {
  padding: 0;
  margin: 0;
  text-align: center;
}
#wrapper #navigation li {
  display: inline-block;
  padding: 0 15px 0 23px;
  margin: 0;
  position: relative;
  background: url(../images/bg-menu.png) no-repeat 0 17px;
}
#wrapper #navigation li:first-child {
  padding: 0 15px 0 15px;
  background: none;
}
#wrapper #navigation li span,
#wrapper #navigation li a {
  font-size: 15px;
  padding: 15px;
  color: #fff;
  text-transform: uppercase;
  display: inline-block;
  background: none;
  cursor: pointer;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}
#wrapper #navigation li:hover span,
#wrapper #navigation li.active span,
#wrapper #navigation li.active a,
#wrapper #navigation li:hover a {
  color: #181716;
  text-decoration: none;
}

#wrapper #navigation li ul.nav-child {
  position: absolute;
  left: 4px;
  top: 100%;
  width: 100%;
  min-width: 150px;
  margin: 0;
  padding: 0;
  background: #4f856d;
  z-index: 9;
}
#wrapper #navigation li ul.nav-child {
  display: none;
}
#wrapper #navigation li:hover ul.nav-child {
  display: block;
}
#wrapper #navigation li ul.nav-child li {
  display: block;
  padding: 0;
  margin: 0;
  background: none;
  border-top: 1px solid #ddd;
}
#wrapper #navigation li ul.nav-child li a {
  font-size: 13px;
  text-transform: none;
  padding: 10px 18px;
  text-align: center;
  display: block;
  font-weight: normal;
  background-image: none;
  color: #fff;
}
#wrapper #navigation li ul.nav-child li.active a,
#wrapper #navigation li ul.nav-child li a:hover {
  background: rgba(255, 255, 255, 0.49);
  color: #000;
}

#wrapper #navigation .close-nav {
  position: absolute;
  top: 10px;
  right: 15px;
  display: none;
  z-index: 11;
}
#wrapper #navigation .close-nav .fa {
  color: #fefefe;
  font-size: 30px;
}

/* Content */
#wrapper #main-cotent {
  margin: 0 auto;
  padding: 0;
}
#wrapper #main-cotent .inhalt {
  text-align: left;
  margin: 80px 0;
  z-index: 1;
}
#wrapper #main-cotent .inhalt h2 {
  color: #4f856d;
  margin: 0 0 25px;
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 30px 0 0;
}
#wrapper #main-cotent .inhalt h3 {
  color: #000;
  font-size: 22px;
  font-weight: 400;
  margin: 30px 0 15px;
}
#wrapper #main-cotent .inhalt h4 {
  color: #181716;
  font-size: 18px;
  font-weight: 600;
  margin: 30px 0 15px;
}
#wrapper #main-cotent .inhalt p {
  font-size: 15px;
}
#wrapper #main-cotent .inhalt .p-hide {
  display: none;
}

#wrapper #main-cotent .inhalt .mehr .fa {
  display: inline-block;
  margin-right: 5px;
  font-size: 20px;
  vertical-align: bottom;
}

#wrapper #main-cotent .inhalt .pferde .uk-grid {
  background: #ecf0f1;
}
#wrapper #main-cotent .inhalt .pferde h3 {
  margin: 0 0 15px;
}

/* Aktuelles */
#wrapper #main-cotent .inhalt .aktuelles h3 {
  margin: 0 0 25px;
}
#wrapper #main-cotent .inhalt .aktuelles h4 {
  margin: 0 0 10px;
}

#wrapper #main-cotent .inhalt .aktuelles > div {
  margin: 50px 0 0;
  padding: 50px 0 0;
  border-top: 1px solid #ddd;
}
#wrapper #main-cotent .inhalt .aktuelles > div:not(.uk-grid-margin) {
  margin-top: 0;
  padding-top: 0;
  border: none;
}

/* Animation Button Hover */
#wrapper #main-cotent .inhalt .aktuelles .uk-button {
  display: inline-block;
  margin: 15px 10px 0 0;
  padding: 0 25px;
  background: transparent;
  color: #fff;
  border: none;
  border-radius: 0;
  font-size: 14px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}
#wrapper #main-cotent .inhalt .aktuelles .uk-button:before,
#wrapper #main-cotent .inhalt .aktuelles .uk-button:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  background: #181716;
  z-index: -1;
  transform: translate3D(0, -100%, 0);
  transition: all 0.5s;
}
#wrapper #main-cotent .inhalt .aktuelles .uk-button:before {
  background: #4f856d;
  z-index: -2;
  transform: translate3D(0, 0, 0);
}
#wrapper #main-cotent .inhalt .aktuelles .uk-button:hover {
  color: #fff;
}
#wrapper #main-cotent .inhalt .aktuelles .uk-button:hover:after {
  transform: translate3D(0, 0, 0);
  transition: all 0.5s;
}

/* Erfolge Seite */
#wrapper #main-cotent .inhalt .erfolge {
  margin: 0;
}
#wrapper #main-cotent .inhalt .erfolge h3 {
  font-size: 24px;
  margin: 0 0 15px;
  padding: 0 0 0 32px;
  position: relative;
}
#wrapper #main-cotent .inhalt .erfolge h3::before {
  content: "";
  width: 28px;
  height: 28px;
  background: url("../images/bg_h3_erfolg.png") no-repeat 0 50%;
  background-size: contain;
  left: 0;
  top: 0;
  position: absolute;
}
#wrapper #main-cotent .inhalt .erfolge ul + h3 {
  margin-top: 30px;
}
#wrapper #main-cotent .inhalt .erfolge ul li {
  margin: 10px 0 0;
  position: relative;
  padding: 0 0 0 32px;
}
#wrapper #main-cotent .inhalt .erfolge ul li::before {
  content: "";
  width: 24px;
  height: 2px;
  background: #4f856d;
  position: absolute;
  left: 0;
  top: 9px;
}

/* Main Boxes */
#main-boxes {
  padding: 80px 0;
  background: #efefef;
}
#main-boxes .box {
  padding: 0 20px;
}
#main-boxes .box > div {
  min-height: 300px;
  background-size: cover;
  position: relative;
  overflow: hidden;
  overflow: hidden;
}
#main-boxes .box > div * {
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}
#main-boxes .box > div h3 {
  position: absolute;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  padding: 10px;
  color: #4f856d;
  font-weight: 400;
  margin: 0;
  top: 200px;
  width: 100%;
}
#main-boxes .box > div p {
  background: rgba(255, 255, 255, 0.9);
  padding: 10px;
  top: 360px;
  position: absolute;
  width: 100%;
}
#main-boxes .box > div:hover h3 {
  top: 150px;
}
#main-boxes .box > div:hover p {
  top: 200px;
}
#main-boxes .box > div a {
  color: inherit;
}

/* Kontakt */
.mainkontakt {
  padding: 40px 0;
}
.kontaktform section.bfPageIntro {
  margin-bottom: 50px;
  display: block;
}
.kontaktform section {
  margin: 20px 0 0;
  display: flex;
}
.kontaktform section label {
  width: 34%;
  vertical-align: top;
  font-weight: 100;
}
.kontaktform section input[type="text"],
.kontaktform section textarea {
  float: none;
  width: 65%;
  background-color: #f6f6f6;
  border: 1px solid #ccc;
  padding: 6px 5px 5px;
  font-size: 14px;
  font-weight: normal;
  color: #666;
}
.kontaktform section img {
  margin-bottom: 10px;
}
.kontaktform .bfSubmitButton {
  background: #4f856d;
  border: none;
  float: right;
  margin: 15px 0;
  padding: 9px 20px 8px;
  color: #000;
  border-radius: 0px;
}
.kontaktform .bfSubmitButton:hover {
  background: #181716;
  color: #fff;
}
.kontaktform .bfRequired {
  color: red;
}
.kontaktform .bfErrorMessage {
  color: red;
  line-height: 25px;
  display: inherit;
  padding: 15px;
  background: rgba(250, 0, 0, 0.2);
  width: 100%;
}

/* Footer */
footer {
  width: 100%;
  padding: 15px;
  background: #000;
  color: #fff;
  font-size: 14px;
}
footer h3 {
  font-size: 25px;
  color: #4f856d;
  margin: 30px 0 20px;
  padding: 0 0 10px;
}
footer h3::after {
  content: "";
  display: block;
  width: 200px;
  height: 1px;
  background: rgba(225, 255, 255, 0.25);
  margin: 15px 0 0;
}
footer p {
  margin: 0;
}
footer a {
  color: #fff;
}
footer a:hover,
footer a:focus {
  color: #4f856d;
  text-decoration: none;
}
footer .copyright {
  text-align: right;
  padding: 0 15px;
}
footer .links {
  text-align: left;
  padding: 0 15px;
}
footer .links li {
  margin: 0 0 4px;
}
footer .links li::before {
  content: "> ";
  display: inline-block;
  margin-right: 8px;
}

footer .adresse p {
  width: 50%;
  float: left;
  padding: 0 75px 0 50px;
  border-right: 1px solid #4f856d;
}
footer .adresse p strong {
  display: block;
  font-size: 18px;
  margin: 0 0 10px;
}
footer .adresse p:nth-of-type(1) {
  padding-left: 0;
}

footer .copyright {
  text-align: center;
  margin: 40px 15px 0;
  padding: 10px;
  border-top: 1px solid rgba(225, 255, 255, 0.25);
  font-size: 13px;
}

.scrollup {
  width: 50px;
  height: 50px;
  font-size: 24px;
  line-height: 46px;
  color: #fff;
  background: #c5c6c6;
  border-radius: 50%;
  -webkit-box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.4);
  box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.4);
  position: fixed;
  right: 40px;
  bottom: 40px;
  display: none;
  overflow: hidden;
  text-align: center;
  text-decoration: none;
  z-index: 20;
}

.scrollup:hover,
.scrollup:focus {
  color: #fff;
  background: #777;
}

.scrollup::before {
  font-weight: 400;
  font-family: "FontAwesome";
  content: "\f106";
}

#rssocial-99 .rssocial-icons-bg .rssocial-link{
  color: #fff !important;
}

.btn-video{
  display: inline-block;
  margin: 15px 0 0 0;
  padding: 8px 20px;
  background: #4f856d;
  color: #fff;
}

.btn-video:hover,
.btn-video:focus{
  background: #000;
  color: #fff;
}

.btn-video::before{
  font-family: 'FontAwesome';
  content: "\f144";
  display: inline-block;
  margin-right: 12px;
  font-size: 20px;
vertical-align: bottom;
}


@media (max-width: 1024px) {
  #inhalt-slide {
    width: 45%;
    top: 10px;
    right: 10px;
    padding: 20px;
  }
  #inhalt-slide h2 {
    margin: 0 0 20px;
    padding-bottom: 15px;
  }
  #inhalt-slide img {
    display: none;
  }
  #wrapper a.btn {
    margin-top: 5px;
  }
}

@media (max-width: 968px) {
  #wrapper #navigation li {
    background: url(../images/bg-menu.png) no-repeat 0 17px;
  }
  #wrapper #navigation li a {
    font-size: 13px;
    padding: 15px 0;
  }
}

@media (max-width: 900px) {
  #inhalt-slide.noscroll img {
    display: inline-block;
    max-width: 30%;
  }
  #inhalt-slide .isMobile {
    padding: 0 !important;
  }
  #inhalt-slide .isMobile .absolute p {
    font-size: 12px !important;
    line-height: 15px !important;
  }
  #inhalt-slide.static {
    position: static;
    width: 100%;
  }
  #inhalt-slide.static h2 {
    font-size: 19px;
  }
  .mainkontakt {
    padding: 0;
  }
}

@media (max-width: 768px) {
  #wrapper #main-cotent .inhalt {
    margin: 50px 0;
  }
  #wrapper #main-cotent .inhalt .aktuelles {
    margin: 0;
  }
  #wrapper #main-cotent .inhalt h4 {
    margin-top: 0;
  }
  footer {
    font-size: 13px;
  }
  footer .adresse p {
    padding: 0 5px 0 50px;
  }
  footer .links {
    padding: 0;
  }
}

@media (max-width: 767px) {
  #wrapper {
    padding-top: 55px;
  }
  body.active {
    position: fixed;
    overflow: hidden;
  }
  .btn-menu {
    display: block;
  }
  header {
    padding-left: 60px;
  }
  header #logo p {
    font-size: 10px;
  }
  header #logo p img {
    max-width: 50px;
    margin-top: 5px;
  }

  #wrapper #navigation {
    display: block;
    left: -70%;
    top: 60px;
    height: 100vh;
    z-index: 9;
    position: fixed;
    width: 70%;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    padding-top: 20px;
    margin: 0;
  }
  #wrapper #navigation ul {
    margin: 0 15px;
  }
  #wrapper #navigation li {
    display: block;
    padding: 0 15px 0 23px;
    background: none;
    text-align: left;
    border-top: 1px solid rgba(225, 255, 255, 0.25);
  }
  #wrapper #navigation li:first-child {
    padding: 0 15px 0 23px;
    border-top: 0;
  }
  #wrapper #navigation li span,
  #wrapper #navigation li a {
    font-size: 15px;
    padding: 16px 0 15px;
    color: #fff;
    text-transform: uppercase;
    display: inline-block;
    background: none;
    text-align: left;
  }
  #wrapper #navigation li.active a {
    color: #181716;
    text-decoration: none;
    padding-left: 15px;
  }
  #wrapper #navigation li:hover a {
    color: #181716;
    text-decoration: none;
  }

  #wrapper #navigation li ul.nav-child {
    display: block;
    position: relative;
    margin: -10px 0 5px;
  }
  #wrapper #navigation li ul.nav-child li {
    border-top: none;
  }
  #wrapper #navigation li ul.nav-child li a {
    padding: 8px 0 8px 30px;
    text-align: left;
    position: relative;
  }
  #wrapper #navigation li ul.nav-child li a::before {
    content: "";
    background: #000;
    width: 20px;
    height: 1px;
    position: absolute;
    left: 0;
    top: calc(50% - 1px);
  }
  #wrapper #navigation li ul.nav-child li.active a,
  #wrapper #navigation li ul.nav-child li a:hover {
    background: none;
    color: #000;
  }

  .active #wrapper #navigation {
    left: 0;
  }
  .scrollup {
    width: 40px;
    height: 40px;
    font-size: 24px;
    line-height: 35px;
    right: 15px;
    bottom: 20px;
  }
  #rssocial-99 .rssocial-icons li {
    font-size: 14px !important;
  }


  #main-boxes .box {
    padding: 0 20px;
    margin: 0 auto 30px;
    max-width: 420px;
    float: none;
  }

  #wrapper #main-cotent .inhalt .pferde .uk-panel-space {
    padding: 0 15px 35px;
    border-bottom: 2px solid #333;
  }
}

@media (max-width: 529px) {
  footer .adresse {
    padding: 0;
  }
  footer .adresse p {
    padding: 0 0 15px;
    border: none;
    width: 100%;
    float: none;
  }
  footer .adresse p strong {
    margin: 0;
    display: inline;
  }

  .kontaktform section {
    flex-direction: column;
  }
  .kontaktform section input[type="text"],
  .kontaktform section textarea {
    width: 99%;
  }
}
