/* GLOBAL STYLES
-------------------------------------------------- */

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

/* Carousel base class */
.carousel {
  margin-bottom: 0;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 0;
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel-item {
  /*height: 40rem;*/
}

.carousel-item > .opaque-bg {
  height: 6rem;
  position: absolute;
  background: #000;
  bottom: 0;
  width: 100%;
  opacity: 0.50;
}

.carousel-item > img {
  /*position: absolute;
  top: 0;
  left: 0;*/
  max-width: 100%;
  height: auto;
}

.carousel-control-next, .carousel-control-prev {

    width: 10%;

}


/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}
.marketing h2 {
  font-weight: 400;
}
/* rtl:begin:ignore */
.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
}
/* rtl:end:ignore */


/* Featurettes
------------------------- */

.featurette-divider {
  margin: 5rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  /* rtl:remove */
  letter-spacing: -.05rem;
}


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

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

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

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}


@media (max-width: 991px) {
  .carousel-caption {
      position: static;
      right: unset;
      bottom: unset;
      left: unset;
      padding: 1.25rem 2rem;
  }
}
