/*   Swiper - Project-related styles */

.swiper-container {
  width: 100%;
  height: 250px;
}
.header-image {
  height: 250px;
}

@media only screen and (min-width: 768px) {
  .swiper-container {
    height: 400px;
  }
  .header-image {
    height: 400px;
  }
}

@media only screen and (min-width: 1024px) {
  .swiper-container {
    height: 500px;
  }
  .header-image {
    height: 500px;
  }
}

@media only screen and (min-width: 1824px) {
  .swiper-container {
    height: 600px;
  }
  .header-image {
    height: 600px;
  }
}


.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;
}
/* The orange LumaSense box with transparency */

.swiper-box {
  background: rgb(0, 82, 141);  /* The Fallback */
  background: rgba(0, 82, 141, 0.9);
  width: 100%;
  padding: 10px 0 0 0;
  margin-left: 0;
  overflow: hidden;
  position: relative;
  margin-top: 212px;
}

.swiper-slide h2,
.swiper-slide p {
  /*  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); */
  text-transform: none;
  line-height: 1.2;
  margin: 0 10px 14px 10px;
  color: #FFF;
  width: 90%;
  max-width: 400px;
  text-align: left;  
}

.swiper-slide h2 {
  font-family: NotoSans, sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
}

.swiper-slide p {
  font-family: NotoSans, sans-serif;
  font-size: 1.4rem;
  line-height: 1.4;
  text-align: left;
  margin-top: 0px;
}

.swiper-slide .cd-btn {
  font-family: NotoSans, sans-serif;
  display: inline-block;
  padding: 16px 1.5em;
  margin: 10px 0 0 -70px;
  background-color: #FFFFFF;
  font-size: 1.0rem;
  line-height: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #000000;
  /*text-transform: uppercase;*/
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  -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 3px #ffffff, 0 0 1px rgba(0, 0, 0, 0);
}
/* Presentation of buttons with different content and position */

@media only screen and (max-width: 767px) {
  .swiper-box {
    width: 100%;
    padding: 10px 25vw 0 0;
    margin-left: 0;
    overflow: hidden;
    position: absolute;
    left:0;
    bottom:0px;
  }
 
  .swiper-pagination {
    top: 180px;
    height: 16px;
    /* Hidden otherwise the link !! important*/
  }

  .swiper-slide h2,
  .swiper-slide p {
    margin: 5px auto 9px auto;
  }

  .swiper-slide h2 br,
  .swiper-slide p br {
    display:none;
    /* only on line in title and description at small sizes... */
  }

  .swiper-slide .cd-btn {
    position: absolute;
    margin:0;
    right: 10vw;
    padding: 0px;
    width: 24px;
    height: 24px;
    line-height: 24px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background-image: url(../images/icon-arrow.png);
    background-position: center;
    background-repeat: no-repeat;
    top: 40%;
    -webkit-transform: translateY(-40%);
    -ms-transform: translateY(-40%);
    transform: translateY(-40%);
  }

  .swiper-slide .cd-btn span {
    display: none;
  }
}

@media only screen and (min-width: 768px) {
  .swiper-box {
    position: relative;
    width: 340px;
    height: auto;
    padding: 20px;
    margin-top: -40px;
    margin-left: 35vw;
    overflow: visible;
    border-bottom-right-radius:2em;
    /* Important to bend corner display outside the box! */
  }
  /* Knick-corner outside the box ... */

  .swiper-slide h2 {
    font-size: 2.3rem;
    font-weight: 700;
    text-align: left;
  }
  .swiper-slide p {
    font-size: 1.5rem;
    text-align: left;
  }
  .swiper-slide .cd-btn {
    font-size: 1.5rem;
  }

  .swiper-slide .cd-btn:hover, .swiper-slide .cd-btn:focus, .swiper-slide .cd-btn:active {
    background: none;
    color: #fff;
  }
  .swiper-slide .cd-btn:active  {
   box-shadow: inset 0 0 0 4px #ffffff, 0 0 1px rgba(0, 0, 0, 0);
  }
}

@media only screen and (min-width: 1024px) {
  .swiper-box {
    margin-top: -30px;
    margin-left: 35vw;
  }
  .swiper-slide h2,
  .swiper-slide p {
    margin-bottom: 12px;
  }
  .swiper-slide h2 {
    font-size: 2.3rem;
    font-weight: 700;
  }
  .swiper-slide p {
    font-size: 1.5rem;
  }
  .swiper-slide .cd-btn {
    font-size: 1.5rem;
  }
}

@media only screen and (min-width: 1824px) {
  .swiper-box {
    margin-top: -20px;
    margin-left: 35vw;
  }
}

/* Pagination Overrides */

.swiper-pagination-bullet {
  width: 16px;
  height: 16px;
  background: #4979AE;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: #FFF;
}

@media only screen and (max-width: 768px) {
  .swiper-pagination-bullet {
    display: none;
  }
}

/* Eigene Prev/Next Buttons */

.flip-nav-prev,
.flip-nav-next {
  position: absolute;
  top: 85px;
  width: 62px;
  height: 123px;
  z-index: 999;
  cursor: pointer;
}

.flip-nav-prev {
  left: 20px;
  background: none; /*url('../images/left.png') no-repeat 0 0;*/
}

.flip-nav-next {
  right: 20px;
  background: none; /*url('../images/right.png') no-repeat 0 0;*/
}

@media only screen and (min-width: 768px) {
  .flip-nav-prev, .flip-nav-next {
    top: 135px;
  }
  .flip-nav-prev {
    left: 40px;
    background: url('../images/left.png') no-repeat 0 0;
  }
  .flip-nav-next {
    right: 40px;
    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: 1024px) {
  .flip-nav-prev, .flip-nav-next {
    top: 190px;
  }
  .flip-nav-prev {
    left: 80px;
  }
  .flip-nav-next {
    right: 80px;
  }
}

@media only screen and (min-width: 1824px) {
  .flip-nav-prev, .flip-nav-next {
    top: 250px;
  }
  .flip-nav-prev {
    left: 80px;
  }
  .flip-nav-next {
    right: 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;
  }
  
} 

