.carousel-caption {
  top: 10%;
  bottom: auto;
  left: 5%;
  right: auto;
  text-align: left;
  background: rgba(0,0,0,0.4);
  padding: 20px;
  border-radius: 8px;
  z-index: 30;
  pointer-events: auto;
}

#heroContactsBtn {
  position: relative;
  z-index: 31;
  pointer-events: auto;
}

h1 {
  font-size: 2em;
  text-align: left;
}

.carousel-control-prev,
.carousel-control-next {
  top: 200px;
  opacity: 1 !important;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
  background-size: 100% 100%;
  filter: none;
}

@media (max-width: 767.98px) {
  #heroMobileCaption {
    background: rgba(0,0,0,0.65);
    color: #fff;
    padding: 16px;
    border-radius: 8px;
  }

  #heroMobileCaption h1,
  #heroMobileCaption h2 {
    text-align: left;
    margin-top: 0;
  }

  #heroMobileCaption .btn {
    width: 100%;
  }

  .carousel-control-prev,
  .carousel-control-next {
    top: auto;
    bottom: 16px;
    opacity: 1 !important;
  }
}

.white-date {
  color: #fff;
}

.intro-nj {
  margin-top: 2.5rem;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  border: 0;
  line-height: 1.2em;
}

.container-main {
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
  border: 0;
}

.carousel,
.carousel-inner {
  margin-top: 0;
  padding-top: 0;
  border: 0;
}

.h2resized {
  font-size: 1em;
  display: inline;
}

.hero-video-stack {
  position: relative;
  overflow: hidden;
}

.hero-video-stack video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hero-video-visible {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 768px) {
  .hero-slide2-caption {
    top: auto;
    bottom: 3%;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: min(90%, 760px);
    text-align: center;
  }

  .hero-slide2-caption .cta-wrap {
    text-align: center;
  }
}
