.homeslider-container {
  margin-bottom: 50px;
  position: relative;
  float: left;
  width: 100%;
}

.homeslider {
  position: relative;
  list-style: none;
  overflow: hidden;
  float: left;
  width: 100%;
  margin: 0 0 80px;
  height: 516px;
}

.homeslider li {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
}

.homeslider img {
  display: block;
  position: absolute;
  height: auto;
  width: 100%;
  border: 0;
  bottom: -25px;
}

.homeslider .caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  z-index: 2;
  font-size: 1em;
  text-shadow: none;
  color: #fff;
  /* background: #000;
  background: rgba(0,0,0, .6); */
  background: linear-gradient(180deg, #002c4341 0%, #00121c41 100%);
  padding: 10px 20px;
  margin: 0;
  max-width: none;
}

.homeslider_nav {
  position: absolute;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  top: 52%;
  left: 0;
  opacity: 0.7;
  z-index: 3;
  text-indent: -9999px;
  overflow: hidden;
  text-decoration: none;
  height: 61px;
  width: 38px;
  background: transparent url("../homeslider.gif") no-repeat left top;
  margin-top: -45px;
}

.homeslider_nav:active {
  opacity: 1.0;
}

.homeslider_nav.next {
  left: auto;
  background-position: right top;
  right: 0;
}

.homeslider-title {
  font-size: 106px;
  line-height: 106px;
  font-family: niveau-grotesk, sans-serif;
  font-weight: 700;
  font-style: normal;
  margin-bottom: 2.5rem;
}

.caption-description {
  padding: 0 33.3333333%;
}

@media(max-width: 1199px){
  .homeslider{
    margin-bottom: 60px;
    height: 303px;
  }

  .homeslider img {
    bottom: 0;
  }

  .homeslider-title {
    font-size: 70px;
    line-height: 70px;
    margin-bottom: 1.8rem;
  }

  .caption-description {
    padding: 0 20%;
  }

  .carousel .carousel-item .caption .caption-description p,
  .carousel .carousel-item .caption .caption-description h1 {
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 767px) {
  .homeslider {
   margin-bottom: 40px;
   height: 213px;
  }

  .homeslider-title {
    font-size: 30px;
    line-height: 20px;
    margin-bottom: 1.5rem;
  }

  .caption-description {
    padding: 0 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .carousel .carousel-item .caption .caption-description h1,
  .carousel .carousel-item .caption .caption-description p {
    font-size: 13px;
    line-height: 15px;
    margin-bottom: 1rem;
    text-align: center;
  }
}
