/* header override */
.mb-3, .my-3 { margin-bottom: 0; }

/* jumbotron override */
.jumbotron { margin-top: 0; margin-bottom: 1em; padding: 0; }

/* custom styles for home */

/* carousel styles */

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

.carousel-caption p {
    font-weight: 700;
}

/* declare heights because of positioning of img element */
.carousel-item {
  /*height: 32rem;*/
    height: 350px;
}
.carousel-item > img {
  position: absolute;
  top: 0;
  left: 0;
  max-width: 100%;
  /*height: 550px;*/
  /*max-height: 100%;*/
  /*height: 32rem;*/
  height: auto;
}

.carousel-item .h1, 
.carousel-item h1 { 
    font-size: 2.8rem;
}

.carousel-item a.btn,
.carousel-item a:hover.btn { 
    background: #efefef;
    border: 1px solid #999;
    color: #212529;
}

.carousel-control-next,
.carousel-control-next:focus, 
.carousel-control-next:hover, 
.carousel-control-prev,
.carousel-control-prev:focus, 
.carousel-control-prev:hover {
	opacity: 1;
}

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

@media (max-width: 992px) { 
    .carousel-caption { 
        top: 0.85rem;
        font-size: 2.25rem;
    }
    
    .carousel-item { 
        /*height: 275px;*/
        height: 300px;
    }
    
    .carousel-item .h1, 
    .carousel-item h1 { 
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) { 
    .carousel-caption { 
        top: 0;
        font-size: 1.75rem;
    }
    
    .carousel-caption p { 
        font-size: 1.3rem;
        line-height: normal;
    }
    
    .carousel-item { 
        height: 200px;
        /*height: 250px;*/
    }
    
    .carousel-item .h1, 
    .carousel-item h1 { 
        font-size: 1.75rem;
    }
}

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.45rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 767px) { 
	.carousel-control-next-icon, 
	.carousel-control-prev-icon {
		width: 40px; /* width:30px */
		height: 40px; /* height:30px */
	}
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}
