.bs-icon {
  --bs-icon-size: .75rem;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  font-size: var(--bs-icon-size);
  width: calc(var(--bs-icon-size) * 2);
  height: calc(var(--bs-icon-size) * 2);
  color: var(--bs-primary);
}

.bs-icon-xs {
  --bs-icon-size: 1rem;
  width: calc(var(--bs-icon-size) * 1.5);
  height: calc(var(--bs-icon-size) * 1.5);
}

.bs-icon-sm {
  --bs-icon-size: 1rem;
}

.bs-icon-md {
  --bs-icon-size: 1.5rem;
}

.bs-icon-lg {
  --bs-icon-size: 2rem;
}

.bs-icon-xl {
  --bs-icon-size: 2.5rem;
}

.bs-icon.bs-icon-primary {
  color: var(--bs-white);
  background: var(--bs-primary);
}

.bs-icon.bs-icon-primary-light {
  color: var(--bs-primary);
  background: rgba(var(--bs-primary-rgb), .2);
}

.bs-icon.bs-icon-semi-white {
  color: var(--bs-primary);
  background: rgba(255, 255, 255, .5);
}

.bs-icon.bs-icon-rounded {
  border-radius: .5rem;
}

.bs-icon.bs-icon-circle {
  border-radius: 50%;
}

.card {
  position: relative;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.card .card-body {
  position: relative;
  z-index: 1;
  background-color: white;
  padding-top: 3rem;
}

.card .card-body h4 {
  margin-top: 0;
  text-transform: uppercase;
  padding-bottom: 0.5em;
  border-bottom: 1px solid var(--bs-primary);
  margin-bottom: 1em;
}

.card .card-body h6 {
  color: var(--bs-primary);
}

.card .card-footer {
  text-align: right;
}

.card .card-footer a {
  color: #547490;
  font-weight: bold;
  text-decoration: none;
}

.card .card-footer a:hover {
  text-decoration: underline;
}

.card .card-footer svg {
  vertical-align: middle;
}

#hero h2 {
  font-weight: 800;
  font-size: calc(0.75rem + 0.5vw);
  color: #fff;
  /*margin-top: 15%;*/
  text-shadow: 3px 3px 3px #000000;
  padding-bottom: 8px;
  border-bottom: 1px solid #fff;
  display: inline-block;
}

#hero h1 {
  font-weight: 800;
  font-size: calc(1rem + 1.75vw);
  color: #fff;
  text-shadow: 3px 3px 3px #000000;
  margin-bottom: 0;
}

#hero h1.slogan {
  font-size: calc(1rem + 1vw);
}

@media (min-width: 992px) {
  #hero {
    height: 950px;
    /*background: url("https://www.injurylaw-ny.com//wp-content/themes/jeff-adams/assets/img/adams-law-firm-new-york-state-personal-onjury-lawyer.jpg") center / cover;*/
    background-color: #131411;
    overflow: hidden;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  #hero {
    height: 650px;
    background: url("https://www.injurylaw-ny.com//wp-content/themes/jeff-adams/assets/img/adams-law-firm-new-york-state-personal-onjury-lawyer-wide-shot-court-3-cropped-alt-mobile.webp") center;
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100%;
    background-color: #131411;
  }
}

@media (max-width: 767px) {
  #hero {
    height: 900px;
    background-image: url("https://www.injurylaw-ny.com//wp-content/themes/jeff-adams/assets/img/adams-law-firm-new-york-state-personal-onjury-lawyer-wide-shot-court-3-cropped-alt.jpg");
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 250%;
    background-color: #ffffff;
  }
}

@media (max-width: 991px) {
  .hero-text-wrapper {
    /*position: relative;*/
    /*z-index: 1;*/
    /*top: 100px;*/
    display: none;
  }
}

#hero.zoom-wrapper::before {
  background-image: url("https://www.injurylaw-ny.com//wp-content/themes/jeff-adams/assets/img/adams-law-firm-new-york-state-personal-onjury-lawyer-wide-shot-court-3-cropped-alt_upscaledx2_cropped.webp");
  background-size: cover;
  background-repeat: no-repeat;
}

@media (min-width: 992px) {
  .hero-text-wrapper {
    top: 0;
    position: relative;
    z-index: 1;
    margin-top: 50px;
  }
}

@media (max-width: 767px) {
  .card {
    max-width: 302px;
  }
}

@media (max-width: 767px) {
  .adams-cards .row {
    /*align-items: center;*/
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .adams-cards .col {
    max-width: 375px;
    justify-content: center;
    display: flex;
  }
}

@media (min-width:768px) and (max-width: 991px) {
  #homebody {
    margin-top: -350px;
  }
}

@media (min-width: 992px) {
  #homebody {
    margin-top: -600px;
  }
}

@media (max-width: 767px) {
  #homebody {
    margin-top: -650px;
  }
}

#homebody .speech-bubble, .speech {
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 1000px) {
  #homebody .speech-bubble, .speech {
    margin-left: auto;
    max-width: 70%;
  }
}

