.carousel-item-slide.d-block.w-100:after {
  background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.7) 17%, rgba(0, 0, 0, 0.4) 47%, rgba(0, 0, 0, 0.2) 75%, rgba(0, 0, 0, 0.2) 99%);
  bottom: -0.025em;
  content: '';
  left: 0;
  opacity: 0.3;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
}
.carousel-inner {
  height: 100%;
  display: flex;
}
.carousel-indicators {
  bottom: 32px;
}
.paragraph--type--slideshow-captioned .carousel-item {
  display: block;
}
.paragraph--type--slideshow-image-with-link,
.paragraph--type--slideshow-captioned a.cwb-slide_link__link {
  height: 100%;
  display: block;
}
.paragraph--type--slideshow-captioned .d-block {
  height: 100%;
}
.paragraph--type--slideshow-captioned .cwb-slide_link__img {
  display: block;
  height: 100%;
  background-size: contain;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  /*min-height: 300px;*/
}
.cwb-slideshow_image_hero.hero-bg-image  {
  padding: 0;
  min-height: 450px;
  max-height: 450px;
}
.cwb-slideshow_image_hero.hero-bg-image .hero-bg-image__content {
  max-width: 800px;
  height: 100%;
  display: flex;
  width: 70%;
  align-self: center;
  padding-left: 0;
  padding-right: 0;
  margin-left: 15%;
  margin-right: 15%;
}
.cwb-slideshow_image_hero .hero-bg-image__text {
  margin: 0;
}
.cwb-slideshow_image_hero.hero-bg-image__text p {
  padding: 0 0 8px 0;
}
.cwb-slideshow_image_hero.hero-bg-image {
  display: flex;
}
.cwb-slideshow_image_hero h1 {
  margin: auto;
  margin-bottom: 1rem;
  line-height: 1.5;
}
.cwb-slideshow_image_hero.hero-bg-image.cwb-hero_overlay.right {
  text-align: right;
  justify-content: flex-end;
}
.cwb-slideshow_image_hero.hero-bg-image.cwb-hero_overlay.left {
  text-align: left;
  justify-content: flex-start;
}

/* Slideshow Caption - CWB Button Group */
.hero-bg-image__buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  /*align-items: center;*/
  top: -2.5rem;
  position: relative;
  margin: auto;
  max-width: 1400px;
}
.hero-bg-image__buttons > div {
  flex: 1;
}
.hero-bg-image__buttons a.btn.btn-primary.btn-cwb_button {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
}
.hero-bg-image__buttons .btn-primary:hover, .hero-bg-image__buttons .btn-primary:focus, .hero-bg-image__buttons .btn-primary:active,
.hero-bg-image__buttons .btn-primary:not(:disabled):not(.disabled).active,
.hero-bg-image__buttons .btn-primary:not(:disabled):not(.disabled):active,
.hero-bg-image__buttons .show>.btn-primary.dropdown-toggle{
  color: #000;
}
.hero-bg-image__buttons .btn-cwb_button img.btn-cwb_button_thumb {
  width: auto !important;
  max-width: 100px;
  /*margin: auto;*/
  padding: 0;
}
.hero-bg-image:after {
  background-image: none;
}
.hero-bg-image.cwb-hero_overlay:after {
  background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.7) 17%, rgba(0, 0, 0, 0.4) 47%, rgba(0, 0, 0, 0.2) 75%, rgba(0, 0, 0, 0.2) 99%);
}
.hero-bg-image__buttons .cwb-button_wrapper {
  height: 100%;
}
.hero-bg-image__buttons .btn-cwb_button .btn-title {
  letter-spacing: 0.075em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-wrap: normal;
  color: #555;
  font-weight: 700;
  padding: 0 0 1rem 0;
}
.hero-bg-image__buttons .btn-cwb_button {
  margin: auto 1rem;
  transition: border 0.1s ease-in-out;
  border: 3px solid #666;
}
.hero-bg-image__buttons .btn-cwb_button:hover, .hero-bg-image__buttons .btn-cwb_button:active {
  border: 3px solid #d63347;
}
.hero-bg-image__text.lead > * {
  margin: 0;
  color: inherit;
  line-height: normal;
}
.hero-bg-image__call-to-action a.button {
  margin: auto;
}

/* Media */
@media (max-width: 979px) {
  .paragraph--type--slideshow-captioned .carousel-caption h2 {
    font-size: 3vmin;
  }
}

@media (max-width: 767px) {
  .hero-bg-image__buttons > div {
    flex: 1 1 50%;
    margin-bottom: 1rem;
  }
  .hero-bg-image__call-to-action {
    margin-bottom: 2rem;
  }
  .cwb-slideshow_image_hero h1 {
    line-height: 1;
  }
}

@media (max-width: 640px) {
  .paragraph--type--slideshow-captioned .carousel-caption p {
    display: none;
  }
  .hero-bg-image__call-to-action a.membersfirst-btn {
    padding: 0.5rem 1.5rem;
    margin: 0;
  }
  .paragraph--type--slideshow-captioned .carousel-indicators {
    bottom: 32px;
    display: none;
    visibility: hidden;
  }
}
