/*   Swiper - Project-related styles */

.swiper-container {
  width: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #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;
}

.swiper-box {
  background: rgb(49, 98, 255);  /* The Fallback */
  background: rgba(49, 98, 255, 0.85);
  width: 100%;
  padding: 15px;
  margin-left: 0px;
  overflow: hidden;
  position: relative;
  margin-top: 100px;
}

.swiper-slide h2,
.swiper-slide p {
  text-transform: none;
  line-height: 1.5em;
  margin: 0;
  color: #FFF;
  text-align: right;
}


.swiper-slide h2 {
  font-family: sans, Tahoma;
  /*font-size: 1.6rem;*/
  font-weight: 400;
  margin-bottom: 15px;
}

.swiper-slide p {
  font-size: 1.2rem;
}

.swiper-slide .cd-btn {
  display: inline-block;
  padding: 0px;
  margin-top: 10px;
  margin-bottom: -7px;
  color: transparent;
  background-image: url("../images/icon-slider-btn.svg");
  background-repeat: no-repeat;
  background-size: 100%;
  width: 35px;
  height: 35px;
  -moz-transform: scaleX(-1);
  -o-transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
}

.swiper-slide .cd-btn:hover {
  background-image: url("../images/icon-slider-btn-hover.svg");
}

.swiper-slide .cd-btn span {
  display: none;
}

/* Presentation of buttons with different content and position */

@media only screen and (max-width: 767px) {
  .swiper-box {
    width: 100%;
    margin-right: 0;
    overflow: hidden;
    position: absolute;
    left:0;
    bottom:50px;
  }

  .swiper-pagination {
    display: none;
    top: 180px;
    height: 16px;
  }

  .swiper-slide h2 br,
  .swiper-slide p br {
    display:none;
  }
}

@media only screen and (min-width: 451px) {
  .swiper-box {
    padding: 15px 70px 20px 20px;
  }
  .swiper-slide h2 {
    font-size: 20px;
    margin-bottom: 10px;
  }
  .swiper-slide p {
    font-size: 14px;
    padding-left: 30px;
  }
}

@media only screen and (max-width: 767px) {
  .swiper-slide .cd-btn {
    position: absolute;
    left: 20px;
    bottom: 25px;
    z-index: 1;
  }
}

@media only screen and (min-width: 768px) {
  .swiper-box {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin-top: 70px;
    padding: 15px 20px 20px 20px;
  }
  .swiper-slide h2 {
    margin-bottom: 20px;
  }
}

@media only screen and (min-width: 1025px) {
  .swiper-box {
    max-width: 550px;
    margin-right: 12vw;
    padding: 20px 30px;
  }
  .swiper-slide h2 {
	font-size: 25px;
    font-weight: bold;
    margin-bottom: 15px;
  }
  .swiper-slide p {
    font-size: 15px;
	margin-bottom: 5px;
  }
  .swiper-slide .cd-btn {
    height: 45px;
    width: 45px;
  }
}

/* Pagination Overrides */

.swiper-pagination-bullet {
  width: 16px;
  height: 16px;
  background: #FFF;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: #3162ff;
}
/* Eigene Prev/Next Buttons */

.flip-nav-prev,
.flip-nav-next {
  display: none;
  position: absolute;
  top: 75px;
  width: 62px;
  height: 123px;
  z-index: 999;
  cursor: pointer;
}

.flip-nav-prev {
  right: 20px;
  background: url('../images/right.png') no-repeat 0 0;
}

.flip-nav-next {
  left: 20px;
  background: url('../images/left.png') no-repeat 0 0;
}

@media only screen and (min-width: 768px) {
  .flip-nav-prev, .flip-nav-next {
    top: 220px;
    display: block;
  }
  .flip-nav-prev {
    right: 40px;
  }
  .flip-nav-next {
    left: 40px;
  }
  .flip-nav-prev:hover {
    background: url('../images/right_hover.png') no-repeat 0 0;
  }
  .flip-nav-next:hover {
    background: url('../images/left_hover.png') no-repeat 0 0;
 }
}

@media only screen and (min-width: 1025px) {
  .flip-nav-prev, .flip-nav-next {
    top: 300px;
  }
  .flip-nav-prev {
    right: 80px;
  }
  .flip-nav-next {
    left: 80px;
  }
}

/* Textbox Animations */
 @media only screen and (min-width: 768px) {
  .swiper-slide .swiper-box {
    opacity: 0;
    transform: translateX(40px);
  }
  .swiper-slide-prev .swiper-box  {
    opacity: 0;
    transform: translateX(-40px);
  }
  .swiper-slide-active .swiper-box {
    opacity: 1;
    transform: translateX(0);
  }
  .swiper-slide-active .swiper-box {
    -webkit-transition: opacity 0.3s 0.2s, -webkit-transform 0.5s 0.2s;
    -moz-transition: opacity 0.3s 0.2s, -moz-transform 0.5s 0.2s;
    transition: opacity 0.3s 0.2s, transform 0.5s 0.2s;
  }
}

@media only screen and (max-width: 450px) {
  .swiper-box {
    /*display: none;*/
  }
  .swiper-slide h2 {
    font-size: 16px !important;
    margin-bottom: 10px;
  }
  .swiper-slide p {
    font-size: 13px;
    padding-left: 30px;
  }
}