/* 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: 2rem;
   margin-top: 128px;
   /*margin-top: 3.875rem;*/
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  z-index: 10;
  bottom: 1rem;
  width:25%;
   background-color: #777;
}

/* Declare heights because of positioning of img element */
.carousel-item {
  height: 18.25rem;
  background-color: #777;
}
.carousel-item > img {
  /*position: absolute;*/
  /*padding-top: 67;*/
  /*top: 0;
  left: 0;
  min-width: 100%;*/
  background-color: #f1f1f1;
  object-fit:contain;
  object-position: 100 0 !important;
  height: auto;
  margin-top: -15 !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: normal;
}
.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;
  }
}

.carousel-item.active[style],
.carousel-item-next[style],
.carousel-item-prev[style] {
  display: block !important;
}


@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}
  @media screen and (min-width: 964px){
  ngb-carousel.carousel.slide {
    margin-top:3.9rem;
  }
 
}

@media screen and (max-width:822px) {
  .navbar {
    padding:16px 20px !important;
  }
}
 

 
@media screen and (min-width: 340px) and (max-width:767px){
  ngb-carousel.carousel.slide {
    margin-top: 6.8rem;
  }
 
}