/*   Swiper - Project-related styles
-----------------------------------------------------------------------*/
.swiper-slide {
  /*text-align: center;*/
  font-size: 18px;
  background-color: #fff;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  /*-webkit-justify-content: center;
  justify-content: center;*/
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.slide-zoom:hover {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in;
}

/* Bildbreitenbeschraenkung
-----------------------------------------------------------------------*/
/*@media (min-width: 1601px) {
  .swiper-slide {
    background-size: 1600px auto;
  }
}*/

/* Text box (mit Transperanz)
-----------------------------------------------------------------------*/
.swiper-box-container {
  width: 100%;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.swiper-box {
  position: absolute;
  top: 220px;
  left: 100px;
  width: 400px;
  background-color: rgb(255, 255, 255);  /* The Fallback */
  background-color: rgba(255, 255, 255, 0.9);
  padding: 10px;
  margin: 0;
  overflow: hidden;
}

.swiper-slide h2,
.swiper-slide p {
  text-transform: none;
  line-height: 1.2;
  margin: 0 10px 14px 10px;
  color: #000;
  text-align: left;
}

.swiper-slide h2 {
  font-family: 'Nunito', sans-serif;
  font-style: italic;
  font-size: 1.6rem;
  font-weight: normal;
}

.swiper-slide p {
  font-family: 'Nunito', sans-serif;
  font-size: 1.4rem;
  line-height: 1.4;
  text-align: left;
  margin-top: 0px;
}

.swiper-slide .cd-btn {
  font-family: 'Nunito', sans-serif;
  display: inline-block;
  padding: 12px 22px;
 /* margin: 10px 0 0 -590px;*/
  background-color: transparent;
  font-size: .6rem;
  line-height: 9px;
  font-weight: normal;
  letter-spacing: 1px;
  color: #000;
  /*text-transform: uppercase;*/
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: background;
  transition-property: background;
  box-shadow: inset 0 0 0 1px #007a3b, 0 0 1px rgba(0, 0, 0, 0);
}

.swiper-slide .cd-btn:hover {
  background-color: #007a3b;
  color: #fff;
  box-shadow: inset 0 0 0 1px #007a3b, 0 0 1px rgba(0, 0, 0, 0);
}

/* Presentation of buttons with different content and position
-----------------------------------------------------------------------*/
@media only screen and (max-width: 768px) {
  .swiper-box-container {
    position: static;
  }

  .swiper-box {
    width: 100%;
    max-width: 100%;
    padding: 2px 15px 2px 15px;
    margin-left: 0;
    overflow: hidden;
    position: absolute;
    left:0;
    right: 0;
    top: auto;
    bottom: 0px;
  }

  .swiper-pagination {
    top: 180px;
    height: 22px;
  }

  .swiper-slide h2,
  .swiper-slide p {
    margin: 5px 15vw 9px 10px;
    max-width: 80vw;
  }

  .swiper-slide h2 br,
  .swiper-slide p br {
    display:none;
  }

  .swiper-slide .cd-btn {
    position: absolute;
    margin:0;
    right: 10vw;
    padding: 0px;
    width: 24px;
    height: 24px;
    line-height: 24px;
    background-image: url(/images/icon-arrow-white.png);
    background-position: center;
    background-repeat: no-repeat;
    top: 50%;
    -webkit-transform: translateY(-40%);
    -ms-transform: translateY(-40%);
    transform: translateY(-40%);
  }

  .swiper-slide .cd-btn:hover {
    background-image: url(/images/icon-arrow.png);
  }

  .swiper-slide .cd-btn span {
    display: none;
  }
  .swiper-slide .cd-btn::after {
    /*content: '\279c';*/
  }
}



@media only screen and (min-width: 769px) {
  .swiper-box {
    width: 280px;
    height: auto;
    padding: 20px;
    top: 160px;
    left: 60px;
    overflow: visible;
    padding: 10px 10px 15px 10px;
    background: linear-gradient(315deg, transparent 30px, rgba(255, 255, 255, 0.9) 0) bottom right;
  }
  .swiper-slide h2,
  .swiper-slide p {
    margin-bottom: 12px;
  }
  .swiper-slide h2 {
    font-size: 1.8rem;
    font-weight: normal;
  }
  .swiper-slide p {
    font-size: 1.2rem;
  }
  .swiper-slide .cd-btn {
    font-size: 1.1rem;
    margin-left: 10px;
  }
}

@media only screen and (min-width: 1024px) {
  .swiper-box {
    /*position: relative;*/
    width: 280px;
    height: auto;
    padding: 20px;
    top: 160px;
    left: 60px;
    overflow: visible;
    padding: 10px 10px 15px 10px;
  }
  .swiper-slide h2,
  .swiper-slide p {
    margin-bottom: 12px;
  }
  .swiper-slide h2 {
    font-size: 2.0rem;
    font-weight: normal;
  }
  .swiper-slide p {
    font-size: 1.3rem;
  }
  .swiper-slide .cd-btn {
    font-size: 1.1rem;
    margin-left: 10px;
  }
}

@media only screen and (min-width: 1200px) {
  .swiper-box {
    width: 350px;
    top: 220px;
    left: 60px;
    padding: 15px 15px 25px 15px;
    background: linear-gradient(315deg, transparent 40px, rgba(255, 255, 255, 0.9) 0) bottom right;
  }
  .swiper-slide h2,
  .swiper-slide p {
    margin-bottom: 12px;
  }
  .swiper-slide h2 {
    font-size: 2.5rem;
    font-weight: normal;
  }
  .swiper-slide p {
    font-size: 1.5rem;
  }
  .swiper-slide .cd-btn {
    font-size: 1.2rem;
    margin-left: 10px;
  }
}

/* Pagination Overrides
-----------------------------------------------------------------------*/
.swiper-pagination {
  /*text-align: left;*/
  margin: 60px 0 10px 0;
}

.swiper-pagination-bullet {
  width: 15px;
  height: 15px;
  background: #fff;
  opacity: 1;
  border-radius: 10px;
  border: 3px solid #007a3b;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: #007a3b;
}

@media only screen and (max-width: 768px) {
  .swiper-pagination {
    display: none;
  }
}

/* Eigene Prev/Next Buttons
-----------------------------------------------------------------------*/
.flip-nav-prev,
.flip-nav-next {
  position: absolute;
  top: 47%;
  width: 62px;
  height: 120px;
  z-index: 999;
  cursor: pointer;
  display: none;
}

.flip-nav-prev {
  left: 20px;
  background: url('../images/left.png') no-repeat 0 0;
}

.flip-nav-next {
  right: 20px;
  background: url('../images/right.png') no-repeat 0 0;
}

.flip-nav-prev:hover {
  background: url('../images/left_hover.png') no-repeat 0 0;
}

.flip-nav-next:hover {
  background: url('../images/right_hover.png') no-repeat 0 0;
}


@media only screen and (min-width: 769px) {
  .flip-nav-prev, .flip-nav-next {
    display: block;
  }
  .flip-nav-prev {
    left: 25px;
  }
  .flip-nav-next {
    right: 25px;
  }
}

@media only screen and (min-width: 1024px) {
  .flip-nav-prev {
    left: 35px;
  }
  .flip-nav-next {
    right: 35px;
  }
}