.field--name-body .carousel {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.field--name-body .carousel-inner {
    height: 500px;
}

.field--name-body .carousel-inner .item {
    height: 100%;
}

.field--name-body .carousel-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* crops image while maintaining aspect ratio */
    object-position: center; /* keeps the image centered */
}

.field--name-body .carousel-indicators {
    bottom: 20px;
    z-index: 100;
}

.field--name-body .carousel-control {
    z-index: 100;
}

.field--name-body .carousel-caption {
    top: 50px;
  	left: 50%;
  	transform: translateX(-50%);
  	position: absolute;
  	display: block !important;
  	width: 55%;
  	max-width: 850px;
  	text-align: center;
 	padding-top: 0;
  	filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.9));

}

.carousel-caption {
    text-align: center;
    padding: 0;
}

.custom-caption {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(248, 249, 250, 0.25);
    border-radius: 4px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

@media (max-width: 767px) {
  .custom-caption {
    font-size: 50% !important;
    line-height: 1.2 !important;
  }
  
  .custom-caption h2 {
    font-size: 1.4em !important;
  }
  
  .custom-caption h3 {
    font-size: 1.2em !important;
  }
  .field--name-body .carousel-inner {
    height: 250px;
}
  
}

/* mt h1 page title  */
.col-sm-12 h1.page-header {
    margin-top: 20px !important;
}

footer.footer.container {
  width: 100% !important;
  max-width: none !important;
  margin: 75px auto 0 auto !important;
  padding: 20px 0 !important;
  background-color: #f5f5f5 !important;
  color: #333333 !important; 
  flex-shrink: 0;
}

#footer-content .container {
  margin-left: auto;
  margin-right: auto;
}