
.carousel {
  margin-bottom: 0rem;
}

.carousel-caption {
  /*bottom: 3rem;*/
  bottom: 0.02rem;
  /*z-index: 10;*/
  z-index: 10;
}

.carousel-item {
  height: 28rem;
  background-color: #FFF;
}

.carousel-item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 28rem;
}


.d-block {
    display: block !important;
    max-width:100%;
    max-height:100%;
    object-fit: cover;
}


.custom-caption-transparent {
   background-color: transparent !important;
   font-family: sans-serif !important;
}

.custom-caption {
   /*font-weight: 900 !important;*/
   opacity: 0.7 !important;
   background-color: #828282 !important;
   font-family: sans-serif !important;
   /*background-color: transparent !important;
   font-family: sans-serif !important;*/
}


.custom-caption h2 {
  opacity: 1 !important;
  font-weight: 900 !important;
  font-family: sans-serif !important;
}


@media only screen
and (min-width : 320px)
and (max-width : 480px) {
  .carousel-item {
    height: 28rem;
    background-color: #FFF;
  }

  .carousel-item > img {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    height: 28rem;
  }

  .custom-caption h2 {
    font-size: 1.4rem !important;
    opacity: 1 !important;
    font-weight: 900 !important;
    /*color: #FFF !important;*/
  }

  .custom-caption {
    padding: 10px 0 0 0 !important;
    /*opacity: 0.35 !important;
    background-color: #000 !important;*/

    font-weight: 600 !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;
}
.marketing h2 {
  font-weight: 400;
}
.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
}


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