

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  width: 100%;
  height: 800px;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel .item {
  width: 100%;
  height: 800px;
  background-color: #777;
}
.carousel-inner > .item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: auto;

}

.carousel-caption {
position: absolute;
right: 15%;
top: 20%;
left: 0;
z-index: 10;
padding-top: 20px;
padding-bottom: 20px;
color: #fff;
text-align: center;
text-shadow: 0 1px 2px rgba(0,0,0,.6);
background: rgba(20,73,141,.5);
height: 50%;
width: 60%;

}



/* RESPONSIVE CSS
-------------------------------------------------- */

@media (max-width: 768px) {

.carousel {
  width: 100%;
  height: 400px;
}

/* Declare heights because of positioning of img element */
.carousel .item {
  width: 100%;
  height: 400px;

}

.carousel-inner > .item > img {
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  height: 100%;

}

.carousel-caption {

    top: 30%;
}

}

@media (min-width: 768px) AND (max-width: 991px) {

    .featurette-heading {
    margin-top: 120px;
  }

.carousel {
  width: 100%;
  height: 600px;
}

/* Declare heights because of positioning of img element */
.carousel .item {
  width: 100%;
  height: 600px;

}

 .carousel-inner > .item > img {
    object-fit: cover;
  height: 100%;
}
}

@media (min-width: 768px) {

  /* Navbar positioning foo */
  .navbar-wrapper {
    margin-top: 20px;
  }
  .navbar-wrapper .container {
    padding-right: 15px;
    padding-left: 15px;
  }
  .navbar-wrapper .navbar {
    padding-right: 0;
    padding-left: 0;
  }

  /* The navbar becomes detached from the top, so we round the corners */
  .navbar-wrapper .navbar {
    border-radius: 4px;
  }

  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 20px;
    font-size: 21px;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 992px) AND (max-width: 1400px) {
  .featurette-heading {
    margin-top: 120px;
  }

.carousel {
  width: 100%;
  height: 700px;
}

/* Declare heights because of positioning of img element */
.carousel .item {
  width: 100%;
  height: 700px;

}

 .carousel-inner > .item > img {
    object-fit: cover;
  height: 100%;
}
}