/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
  /* padding-top: 3rem;
  padding-bottom: 3rem; */
  color: #5a5a5a;
}


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

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

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

.carousel-item img {
    position: absolute;
    top: 0;
    left: 0;
    min-height: 450px;
}

.caption-bg {
  position: absolute;
  bottom: 0;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.7);
}
.carousel-control-next,
.carousel-control-prev /*, .carousel-indicators */ {
    filter: invert(100%);
}

/* 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
-------------------------------------------------- */

@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;
  }
}

/* LEFT-ALIGNED SLIDESHOW CAPTION (home slider)
-------------------------------------------------- */
.carousel .slideshow-caption {
  left: 0;
  right: auto;
  top: 0;
  bottom: 0;
  width: 30%;
  padding: 0;            /* let the bg fill to the edges */
  text-align: left;
}
.carousel .slideshow-caption .caption-bg {
  position: static;      /* override the default absolute .caption-bg */
  bottom: auto;
  width: 100%;
  height: 100%;          /* cover the whole left area */
  display: flex;
  flex-direction: column;
  justify-content: center;   /* vertically center the text */
  background: rgba(0, 0, 0, 0.45);
  padding: 2rem 2.5rem;
  border-radius: 0;
}
.carousel .slideshow-caption .caption h3 {
  margin-bottom: .5rem;
}
@media (max-width: 767.98px) {
  .carousel .slideshow-caption { width: 100%; }
}

/* NAV ARROWS: lower-right, side-by-side, brand blue (matches D7)
-------------------------------------------------- */
.carousel .carousel-control-prev,
.carousel .carousel-control-next {
  top: auto;
  bottom: 1rem;
  width: 3rem;
  height: 3rem;
  left: auto;                 /* detach from the side edges */
  background-color: #055a8e;  /* site brand blue */
  border-radius: .25rem;
  opacity: 1;
  filter: none;               /* cancel the global invert() on controls */
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel .carousel-control-next { right: 1rem; }
.carousel .carousel-control-prev { right: 4.25rem; }   /* sits just left of next */
.carousel .carousel-control-prev:hover,
.carousel .carousel-control-next:hover,
.carousel .carousel-control-prev:focus,
.carousel .carousel-control-next:focus {
  background-color: #023f66;  /* darker on hover */
  opacity: 1;
}
.carousel .carousel-control-prev i,
.carousel .carousel-control-next i {
  color: #fff;
}

/* INDICATORS: active = brand blue, inactive = neutral grey (visible on any image)
-------------------------------------------------- */
.carousel .carousel-indicators [data-bs-target] {
  background-color: #9a9a9a;   /* neutral grey */
  opacity: 1;
}
.carousel .carousel-indicators .active {
  background-color: #055a8e;   /* site brand blue for the active slide */
  opacity: 1;
}
