/* SLIDER CSS */


.carousel-caption h1,
.carousel-caption h2 {
  font-size: 2.2rem;
  line-height: 1rem;
}


.sliderheadline {
  display: block;
  width: auto;
  height: auto;
  margin-bottom: 20px;
}

.sliderheadline h1,
.sliderheadline h2,
.sliderheadline h3,
.sliderheadline h4,
.sliderheadline h5,
.sliderheadline p,
.sliderheadline span,
.sliderheadline em {
  line-height: 1em !important;
  font-size: 3.5em !important;
}

.carousel-caption {
  top: 52%;
}

@media only screen and (max-width:1400px) {

  .sliderheadline h1,
  .sliderheadline h2,
  .sliderheadline h3,
  .sliderheadline h4,
  .sliderheadline h5,
  .sliderheadline p,
  .sliderheadline span,
  .sliderheadline em {
    line-height: 1em !important;
    font-size: 3.0em !important;
  }
}

@media only screen and (max-width:1080px) {

  .sliderheadline h1,
  .sliderheadline h2,
  .sliderheadline h3,
  .sliderheadline h4,
  .sliderheadline h5,
  .sliderheadline p,
  .sliderheadline span,
  .sliderheadline em {
    line-height: 1em !important;
    font-size: 2.5em !important;
  }
}

@media only screen and (max-width:767px) {

  .sliderheadline h1,
  .sliderheadline h2,
  .sliderheadline h3,
  .sliderheadline h4,
  .sliderheadline h5,
  .sliderheadline p,
  .sliderheadline span,
  .sliderheadline em {
    line-height: 1em !important;
    font-size: 2em !important;
  }
}

/* 5. SLIDER */

#slider {
  margin-top: 90px;
  border-bottom: 30px solid #a80532;
}

#home-carousel .carousel-item {
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 650px;
}

/* #home-carousel .item:before {
  background-color: #000;
  content: "";
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0.25;
  position: absolute;
  width: 100%;
} */

.carousel-caption {
  left: 15px;
  right: 15px;
  top: 50%;
  font-size: 15px;
  text-align: left;
  color: #fff;
  text-shadow: none;
  margin-top: -130px;
}

.carousel-caption h1 {
  font-size: 46px;
  margin-bottom: 0;
  line-height: 27px;
  letter-spacing: 2px;
  font-weight: 100;
}

.carousel-caption h2 {
  font-size: 81px;
  font-weight: 600;
  margin-top: 0px;
  /* text-transform:uppercase; */
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.home-carousel-left,
.home-carousel-right {
  background-color: #f0f0f0;
  color: #000;
  font-size: 32px;
  height: 40px;
  line-height: 40px;
  margin-top: -20px;
  position: absolute;
  text-align: center;
  top: 50%;
  width: 32px;
  z-index: 999;
  -webkit-transition: 300ms;
  -moz-transition: 300ms;
  -o-transition: 300ms;
  -ms-transition: 300ms;
  transition: 300ms;
}

.home-carousel-left {
  left: -32px;
}

.home-carousel-right {
  right: -32px;
}

#home-carousel:hover .home-carousel-left {
  left: 0;
}

#home-carousel:hover .home-carousel-right {
  right: 0;
}

/* Carousel animation */

#home-carousel .item h1,
#home-carousel .item h2,
#home-carousel .item p {
  opacity: 0;
  -moz-transform: scale(0.5);
  -webkit-transform: scale(0.5);
  -o-transform: scale(0.5);
  -ms-transform: scale(0.5);
  transform: scale(0.5);
}

#home-carousel .item h1 {
  -webkit-transition: all 0.5s ease-in-out 0.15s;
  -moz-transition: all 0.5s ease-in-out 0.15s;
  -ms-transition: all 0.5s ease-in-out 0.15s;
  -o-transition: all 0.5s ease-in-out 0.15s;
  transition: all 0.5s ease-in-out 0.15s;
}

#home-carousel .item.active h1,
#home-carousel .item.active h2,
#home-carousel .item.active p {
  opacity: 1;
  -moz-transform: scale(1);
  -webkit-transform: scale(1);
  -o-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}

#home-carousel .item h2 {
  -webkit-transition: all 0.5s ease-in-out 0.30s;
  -moz-transition: all 0.5s ease-in-out 0.30s;
  -ms-transition: all 0.5s ease-in-out 0.30s;
  -o-transition: all 0.5s ease-in-out 0.30s;
  transition: all 0.5s ease-in-out 0.30s;
}

#home-carousel .item p {
  -webkit-transition: all 0.5s ease-in-out 0.45s;
  -moz-transition: all 0.5s ease-in-out 0.45s;
  -ms-transition: all 0.5s ease-in-out 0.45s;
  -o-transition: all 0.5s ease-in-out 0.45s;
  transition: all 0.5s ease-in-out 0.45s;
}