/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
  padding-top: 3rem;
  color: #5a5a5a;
}



/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */


/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 15rem;
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel-item {
  height: 50rem;

}

.carousel-item:after {
  content: "";
  display: none !important;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: transparent !important;
}




/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}

/* 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 */
/* rtl:begin:remove */
.featurette-heading {
  letter-spacing: -.05rem;
}

/* rtl:end:remove */

/* RESPONSIVE CSS
-------------------------------------------------- */

/* Custom styles for wider carousel */
.carousel-image-large {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 0 !important;
  display: block !important;
}

/* Force carousel size */
.carousel .carousel-item img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  margin: 0 !important;
  display: block !important;
}

/* Override any Bootstrap carousel styles */
.carousel-item img.carousel-image-large {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  margin: 0 !important;
  display: block !important;
}

/* Make carousel container adjust to content */
.carousel {
  height: auto !important;
  max-height: none !important;
}

.carousel .carousel-inner {
  height: auto !important;
  max-height: none !important;
}

.carousel .carousel-item {
  height: auto !important;
  max-height: none !important;
}

/* Remove hover effects from carousel controls */
.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: transparent !important;
  opacity: 0.9 !important;
}

.carousel-control-prev:focus,
.carousel-control-next:focus {
  background-color: transparent !important;
  opacity: 0.9 !important;
}

/* Custom arrow colors */
.carousel-control-prev-icon {
  background-color: transparent !important;
  border-radius: 50% !important;
  padding: 10px !important;
}

.carousel-control-next-icon {
  background-color: transparent !important;
  border-radius: 50% !important;
  padding: 10px !important;
}

/* Remove hover effects from carousel items */
.carousel-item:hover {
  transform: none !important;
  transition: none !important;
}

.carousel-image-large:hover {
  transform: none !important;
  transition: none !important;
}

.carousel:hover {
  transform: none !important;
  transition: none !important;
}

.carousel {
  width: 60% !important;
  max-width: none;
}

.carousel .carousel-inner {
  width: 100% !important;
}

/* Make the container wider for the carousel section */
.container-fluid .row .col-12 .carousel {
  margin: 0 auto !important;
  width: 60%;
  display: block !important;
  text-align: center !important;
}

@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;
  }
}