#carouselHomepage .carousel-caption {
  position: absolute;
  top: 0;
  right: 46%;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 500px;
  margin: 0;
  padding: 0 8%;
}

#carouselHomepage .carousel-caption * {
  margin: 0;
  padding: 0;
  transition: 0.5s;
}

#carouselHomepage:hover .carousel-caption * {
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.3), 0 0 10px rgba(255, 255, 255, 0.3);
}

.carousel-caption:before {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  content: "";
  transition: 0.5s;
  border-top: 255px solid rgba(255, 255, 0, 0.4);
  border-top-color: inherit;
  border-right: 100px solid transparent;
}

.carousel-inner:hover .carousel-caption:before {
  border-right: 50px solid transparent;
}

#carouselHomepage .carousel-caption a {
  color: #fff;
}

#carouselHomepage .carousel-caption p {
  color: #fff;
}

#carouselHomepage .carousel-control-prev,
#carouselHomepage .carousel-control-next {
  z-index: 11;
  width: 6%;
  transition: 0.5s;
}

#carouselHomepage .carousel-control-prev:hover,
#carouselHomepage .carousel-control-next:hover {
  background: rgba(0, 0, 0, 0.1);
}

.block-views-blockhomepage-slideshow-block-1 {
  margin-bottom: 10rem;
}

@media (max-width: 767px) {
  .block-views-blockhomepage-slideshow-block-1 {
    margin-bottom: 75px;
  }

  .carousel-caption p.h3 span {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.65);
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.2;
  }
  .carousel-caption a {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.2;
  }
}

/* styles for phone */
@media (max-width: 450px) {
  #carouselHomepage .carousel-caption:before {
    border-top-width: 100px;
    border-right-width: 0;
  }
  #carouselHomepage .carousel-caption {
    min-width: 300px;
  }
  #carouselHomepage .carousel-caption p {
    line-height: 0.7;
  }
  #carouselHomepage .carousel-caption p span {
    font-size: 1.05rem;
    line-height: 0.7;
  }
  #carouselHomepage .carousel-caption a {
    font-size: 0.9rem;
    line-height: 2;
  }
  button.slideout-toggle {
    background-color: transparent;
  }
}
