.safety .flex-ed {
 margin: 40px auto;
 display: flex;
 justify-content: flex-start;
 flex-wrap: nowrap;
 align-items: center;
}
@media (max-width: 991px) {
 .safety .flex-ed {
  display: block;
  text-align: center;
 }
}
.safety .flex-ed .covid-icon {
 border: 3px solid var(--primary);
 margin: 10px;
 height: 140px;
 width: 140px;
 flex: 0 0 140px;
 background-color: #fff;
 display: flex;
 justify-content: center;
 align-items: center;
 margin-right: 20px;
 border-radius: 15px;
}
@media (max-width: 992px) {
 .safety .flex-ed .covid-icon {
  margin: 20px auto;
 }
}
.safety .flex-ed h3:after {
 background-color: var(--primary);
 content: "";
 display: block;
 height: 2px;
 width: 57px;
 margin: 10px 0;
}
@media (max-width: 992px) {
 .safety .flex-ed h3:after {
  margin: 10px auto;
 }
}

.home-quote {
 box-sizing: border-box;
 max-width: 90%;
 width: 100%;
 background-color: #0daddd;
 font-size: 18px;
 padding: 20px;
 font-style: italic;
 line-height: 2;
 color: #fff;
 text-align: center;
 margin: 30px auto auto;
}
@media (min-width: 768px) {
 .home-quote {
  padding: 40px;
  max-width: 70%;
 }
}
.home-quote div {
 border: 2px solid rgba(255, 255, 255, 0.8);
 margin: 0 auto;
 padding-top: 30px;
}
.home-quote p {
 padding: 10px;
 margin: 0 auto;
}
.home-quote span {
 display: block;
 max-width: 315px;
 margin: 15px auto 0;
 background-color: #0daddd;
 color: #fff;
 font-size: 15px;
 font-weight: 400;
 text-transform: uppercase;
 letter-spacing: 2.33px;
 font-style: normal;
 padding-left: 8px;
 padding-right: 8px;
}
@media (min-width: 768px) {
 .home-quote span {
  margin: 40px auto -40px;
 }
}
.home-quote span img {
 width: auto;
}

@media (min-width: 768px) {
 .home-quote.wellness-quote {
  max-width: 90%;
 }
}
.home-quote.wellness-quote img {
 border: none;
 border-radius: 0;
 margin-bottom: 10px;
 outline: none;
}
.home-quote.wellness-quote a {
 color: #ece5dc;
}
.home-quote.wellness-quote a:hover {
 color: #7f7771;
}

.slogan-section {
 background-attachment: fixed!important;
}

.slogan-section h2 {
 text-align: center;
 font-weight: bold !important;
 overflow-wrap: break-word;
 word-wrap: break-word;
 word-break: break-word;
}
@media (max-width: 767px) {
 .slogan-section h2 {
  font-size: 25px;
  padding-bottom: 15px;
  padding-left: 15px;
  padding-right: 15px;
 }
}
@media (min-width: 768px) {
 .slogan-section h2 {
  padding-bottom: 30px;
  font-size: 30px;
 }
}
@media (min-width: 992px) {
 .slogan-section h2 {
  padding-top: 30px;
  padding-bottom: 50px;
  font-size: 40px;
 }
}
@media (min-width: 1400px) {
 .slogan-section h2 {
  font-size: 50px;
 }
}

:root {
 --bs-body-font-size: 1.25rem;
}

@media (min-width: 992px) {
 .welcome-section h1.h2 .h3 {
  font-size: 53px;
 }
}

@media (min-width: 992px) {
 .h2, h2 {
  font-size: 53px;
  font-weight: 400;
 }
 .service-category-card h4,
 .h3, h3 {
  font-size: 37px;
 }
}

.header.navbar {
 padding-top: 1rem!important;
 padding-bottom: 1rem!important;
}

header.py-2.header.navbar.mb-0.px-2.px-md-0.w-100.transition-5-ease-in-out.menu-bg {
 background: linear-gradient(to right, #DEE7E7, #DEE7E7, #ffffff) !important;
}

@media (min-width: 1200px) {
 .menu-bg {
  background-color: transparent!important;
 }
}

span.slider-sub-title {
 font-weight: bolder;
}

@media (min-width: 992px) {
 .header.navbar .container {
  padding-left: 2rem!important;
  padding-right: 2rem!important;
 }
}

@media (min-width: 1200px) {
 .header.navbar .container {
  padding-left: 1rem!important;
  padding-right: 1rem!important;
 }
}

@media (min-width: 1200px) and (max-width: 1354px) {
 .nav-link {
  font-size: 1rem;
 }
}
 
@media (min-width: 1355px) {
 .header a.btn.btn-primary.btn-sm.fs-sm.rounded.d-inline-flex.align-items-center {
  font-weight: bolder;
  font-size: 24px;
 }
}

.sticky-ra {
 position: fixed;
 right: 30px;
 top: 280px;
 z-index: 40;
}

.sticky-ra a.btn.btn-warning {
 border-radius: 50% !important;
 height: 85px;
 width: 85px;
 min-height: 85px;
 min-width: 85px;
 text-wrap: wrap;
 text-align: center;
 justify-content: center;
 display: flex;
 align-items: center;
 font-size: 0.75rem;
 margin-bottom: 0;
 border: 5px solid black;
}

/* ==========================================================================
   Admin inline CSS migrated to code (D8-3395 audit)
   ========================================================================== */

/* Homepage testimonials block — overlay background image at 30% opacity behind the slider */
#block-homepagetestimonialsslider {
  position: relative;

  &::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('/sites/default/files/2026-05/Family-dentist-in-hampton-nh-3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 0;
  }
}

/* Footer logo — white background with rounded corners + padding */
#footer .logo {
  background-color: white;
  border-radius: 8px;
  padding: 10px;
}
