.new-hero {
  padding-top: 8rem;
  position: relative;
}

.new-hero::after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  display: block;
  z-index: -1;
  background-image: url('https://www.azarahealthcare.com/hubfs/raw_assets/public/azara-theme/src/images/gridFixed.png') }});
}

@-moz-document url-prefix() {
  .new-hero::before {
    bottom: -7px;
  }
}

.new-hero__inner {
  max-width: 1240px;
  display: flex;
  margin-left: auto;
  margin-right: auto;
  z-index: 1;
  position: relative;
}

.new-hero__content h1,
.new-hero__content h2,
.new-hero__content h3 {
  font-weight: normal;
  font-size: 48px;
  line-height: 1.2em;
}

.new-hero__variable-content {
  width: 50%;
}

.new-hero__content,
.new-hero__variable-content {
  color: #333333;
  text-align: left;
}

.new-hero__links {
  font-weight: bold;
  margin-top: 2.5rem;
}

.new-hero__links,
.new-hero__details {
  display: flex;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  flex-direction: column;
  width: fit-content;
}

.new-hero-button {
  background-color: white;
  padding: 1rem;
  color: #00AEEF;
  text-decoration: none;
  display: flex;
  align-items: center;
  border: 2px solid #00AEEF;
}

.new-hero-button:hover,
.new-hero-button:focus {
  color: #1FB268;
  border-color: #1FB268;
}

.new-hero-link:hover,
.new-hero-link:focus {
  color: #1FB268;
}

.new-hero-link i {
  font-size: 1.5rem;
  position: absolute;
  right: 0;
  transition: 0.3s all ease;
}

.new-hero-link:hover i,
.new-hero-link:focus i {
  right: -1rem;
}

.new-hero-button i {
  margin-left: 1rem;
}

.new-hero-link {
  padding: 1rem 2rem;
  color: #00AEEF;
  text-decoration: none;
  display: flex;
  align-items: center;
  position: relative;
  width: fit-content;
}

.hero-detail {
  color: white;
  display: flex;
  align-items: center;
  width: 25%;
  margin-bottom: 1rem;
}

.hero-detail svg {
  fill: white;
  width: 1.75rem;
  margin-right: 0.5rem;
}

.new-hero__variable-content {
  padding: 2rem;
  position: relative;
}

.new-hero__variable-content .vidyard-player-container,
.new-hero__variable-content img {
  margin-top: 2rem;
  z-index: 2;
  position: relative;
  margin-left: 2em;
  transform: scale(1.4) translateY(6em);
}

_::-webkit-full-page-media, _:future, :root .new-hero__variable-content img {
    transform: scale(1.4) translateY(4em);
}

#bgVideo {
  position: absolute;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: 0;
  opacity: .7;
}

.new-hero__variable-mobile-content {
  display: none;
}

@media only screen and (max-width: 767px) {
  
  .new-hero {
    background-image: none !important;
    padding-top: 1em;
    margin-bottom: 0 !important;
  }
  
  .new-hero h1 {
    font-size: 3rem;
  }
  
  .new-hero__variable-mobile-content {
    display: block;
  }
  
  .new-hero::after {
    display: none;
  }
  
  .new-hero__content {
    width: 90%;
    margin-left: 1em;
  }
  
  .new-hero__inner {
    flex-direction: column;
    margin-bottom: 0;
    padding-bottom: 0;
    z-index: 2;
  }
  
  .new-hero__links {
    margin-bottom: 0 !important;
    margin-left: auto;
    margin-right: auto;
  }
  
  .new-hero__variable-content {
   display: none;
  }
  
  .new-hero__variable-content > div > .vidyard-player-container,
  .new-hero__variable-content img {
    transform: none;
    margin-right: 1rem;
  }
  
  .hero-detail {
    width: 50%;
  }
}

@media only screen and (min-width: 1550px) {
.new-hero {
  padding-top: 10rem;
  position: relative;
  background-size: contain !important;
  background-position: 67% 100% !important;
}
}
}