/* 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: 0 auto;
  max-width: 54rem; 
  height: auto;
  margin-bottom: 4rem;
  margin-top: 4rem;
  background-color: #777;
}

.carousel-item.petit {
    /*width: 30rem !important;*/
    width: 100% !important;
    height: 20rem !important; 
    margin: 0 !important; 

}


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

.carousel-item {
  width: 100%; 
  height: 24rem;
}

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

}

/* Declare heights because of positioning of img element */
@media (min-width: 12em) {
.grand {
  height: 16rem !important;
  }
}
@media (min-width: 40em) {
.grand{
  height: 24rem !important;
  }
}

@media (min-width: 64em) {
.grand {
  height: 32rem !important;
  }
}

@media (min-width: 12em) {
.petit {
  height: 14rem !important;
  }
}
@media (min-width: 40em) {
.petit{
  height: 17rem !important;
  }
}

@media (min-width: 64em) {
.petit {
  height: 20rem !important;
  }
}


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

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-top: 2rem;
  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
-------------------------------------------------- */

  /* Bump up size of carousel content */
  .carousel-caption h1{
    font-size: 13px;
  }


  @media (min-width: 40em) {
  .carousel-caption h1{
    font-size: 28px;
  }
}

  .carousel-caption a{
    font-size: 13px;
  }


  @media (min-width: 40em) {
  .carousel-caption a{
    font-size: 28px;
  }
}
@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) {*/
  @media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}
