/* CTA Button Container */
.implant-cta-buttons {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 20px !important;
    width: 100% !important;
    margin: 30px auto 40px !important;
}

/* CTA Buttons */
.implant-cta-buttons a {
    display: flex !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 275px !important;
    height: 55px !important;
    margin: 0 !important;
    padding: 0 25px !important;

    box-sizing: border-box !important;
    text-align: center !important;
    white-space: nowrap !important;
    line-height: normal !important;

    font-size: 16px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-radius: 3px !important;

    transition: all 0.3s ease !important;
}

/* Primary */
.implant-cta-buttons .implant-cta-primary {
    background-color: #a86b11 !important;
    color: #ffffff !important;
    border: 2px solid #a86b11 !important;
}

.implant-cta-buttons .implant-cta-primary:hover {
    background-color: #273f87 !important;
    color: #ffffff !important;
    border-color: #273f87 !important;
}

/* Secondary */
.implant-cta-buttons .implant-cta-secondary {
    background-color: #ffffff !important;
    color: #a86b11 !important;
    border: 2px solid #a86b11 !important;
}

.implant-cta-buttons .implant-cta-secondary:hover {
    background-color: #273f87 !important;
    color: #ffffff !important;
    border-color: #273f87 !important;
}

/* Mobile */
@media (max-width: 767px) {
    .implant-cta-buttons {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .implant-cta-buttons a {
        width: 100% !important;
        max-width: 350px !important;
        min-width: 0 !important;
    }
}

a[href*="botox-and-dermal-fillers"].cover.image{
    background-image: url("https://meadowsdentistry.com/wp-content/uploads/2026/07/botox.webp") !important;
    background-size: cover;
    background-position: center;
}
.hero_slider .main-slider .cover .wrap-btn a {

   
}
.wpml-ls-item-en::after {
    display: none !important;
}
.ti-with-tooltip{
	color:black;
}
.ti-widget.ti-goog .ti-read-more span {
	color:black !important;
	    opacity: 0.7 !important;
}
.hero_slider{
	background-color: rgba(0, 0, 0, 0.1) !important;
}
.hero_slider .main-slider{
		background-color: rgba(0, 0, 0, 0.1) !important;
}
.insta-icon {
    width: 45px;
    height: 45px;
    margin-bottom: 6px;
	justify-content:center;
	align-content:center;
}
.section_contact .box .box_info.menu_social span {
    text-align: center;
	width: 20.33% !important;
}

.hero_slider .main-slider .cover::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5); /* Adjust opacity */
	background-position : top center!important;
	width: 100%;
}
.hero_slider .main-slider .cover {
    background-position: top right !important;
}
.vertical_align {
    position: relative;
    top: 75% !important;
}

/* Floating Language Switcher */
.wpml-ls-statics-footer{
    position: fixed;
    top: 95px;
    right: 40px;
    z-index: 9999;
}

.wpml-ls-statics-footer ul{
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin: 0 !important;
    padding: 10px 18px !important;
    background: #fff;
    border: 1.5px solid #2f4ea1;
    border-radius: 40px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

/* Remove default WPML styling */
.wpml-ls-statics-footer li{
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Language links */
.wpml-ls-statics-footer .wpml-ls-link{
    display: flex !important;
    align-items: center;
    gap: 6px;
    text-decoration: none !important;
    color: #222 !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

/* Flag size */
.wpml-ls-flag{
    width: 20px !important;
    height: auto !important;
    border-radius: 2px;
}

/* Text */
.wpml-ls-native{
    font-size: 18px;
    font-weight: 500;
}

/* Hide (ES) text */
.wpml-ls-display{
    display: none !important;
}

/* Add divider after EN */
.wpml-ls-item-en::after{
    content: "/";
    margin-left: 10px;
    color: #666;
    font-size: 18px;
}

/* Hide current language highlight */
.wpml-ls-current-language a{
    font-weight: 500 !important;
}
.wpml-ls-native{
    font-size:16px;
    font-weight:400;
}

.wpml-ls-statics-footer ul{
    padding:9px 16px !important;
}

.steam-foundation-photos {
    width: 100%;
    margin: 30px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.steam-foundation-photos img {
    display: block;
    width: 100%;
    height: auto;
}

.steam-photo-main {
    margin-bottom: 20px;
}

.steam-photo-secondary {
    margin-bottom: 20px;
}

.steam-photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.steam-photo-grid .steam-photo {
    height: 480px;
    overflow: hidden;
}

.steam-photo-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 767px) {
    .steam-photo-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .steam-photo-grid .steam-photo {
        height: auto;
    }

    .steam-photo-grid img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}



/* Membership badge inside the footer (blue section only).
   Scoped to footer.footer .footer-1 so no other section is affected. */

/* The wrapper the JS moves into the footer */
footer.footer .footer-1 .membership-wrapper {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
 padding-top:30px;
  border-top: 1px solid #4760ac;
}

footer.footer .footer-1 .mn-widget-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

/* "Meadows Family Dentistry" is already the footer logo, so keep it
   for screen readers only */
footer.footer .footer-1 .mn-widget-member-name {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* "PROUD MEMBER OF" with a hairline on each side */
footer.footer .footer-1 .mn-widget-member-text {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 560px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: #cfd8f2;
  white-space: nowrap;
}
footer.footer .footer-1 .mn-widget-member-text::before,
footer.footer .footer-1 .mn-widget-member-text::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #4760ac;
}

/* White card so the badge reads clearly on the blue */
footer.footer .footer-1 .mn-widget-member-link {
  display: block;
  line-height: 0;
  background: #fff;
  border-radius: 14px;
  padding: 16px 28px;
  box-shadow: 0 6px 18px rgba(8, 18, 54, 0.35);
  transition: transform 0.2s ease;
}
footer.footer .footer-1 .mn-widget-member-link:hover {
  transform: translateY(-2px);
}

/* The widget injects "#mni-membership-… .mn-widget-member-logo { max-width: 100% }".
   Setting a fixed width (instead of max-width) works around it, since the card
   is always wider than the logo, so no !important is needed.
   The source image is 200x200; raise/lower the 80px to taste. */
footer.footer .footer-1 .mn-widget-member-logo {
  display: block;
  width: 80px;
  height: auto;
}

@media (max-width: 600px) {
  footer.footer .footer-1 .mn-widget-member-logo {
    width: 50px;
  }
  footer.footer .footer-1 .mn-widget-member-link {
    padding: 5px 8px;
  }
}
/* shared pill style hritick start */
@media (max-width: 1024px) {

  /* ===== 1. Shared pill style (only the two bar buttons) ===== */
  html body .fix-button > a,
  html body a.btn[data-src="#app-form2"] {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    transform: none !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: min(380px, calc(100vw - 40px)) !important;
    min-width: 0 !important;
    height: 48px !important;
    min-height: 0 !important;
    padding: 0 20px !important;
    border: 0 !important;
    border-radius: 50px !important;
    background: #2b3a8f !important;
    color: #fff !important;
    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(0,0,0,.25) !important;
    z-index: 99999 !important;
  }

  /* ===== 2. Call button = bottom ===== */
  html body .fix-button > a {
    bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* ===== 3. Appointment button = above call button ===== */
  html body a.btn[data-src="#app-form2"] {
    bottom: calc(70px + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* ===== 4. Container must not interfere ===== */
  html body .fix-button {
    position: static !important;
    background: none !important;
    box-shadow: none !important;
    transform: none !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  html body .fix-button .note {
    display: none !important;
  }

  /* ===== 5. Page spacing so content isn't hidden behind the bar ===== */
  html body {
    padding-bottom: 140px !important;
  }

  /* ===== 6. Accessibility button: left, above the bar ===== */
  html body #accessibility_settings_toggle {
    left: 16px !important;
    right: auto !important;
    top: auto !important;
    bottom: calc(140px + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 99990 !important;
    width: 54px !important;
    height: 54px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  html body #accessibility_settings_toggle .accessibility_settings_toggle_icon {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }

  /* ===== 7. Language switcher: right, above the bar ===== */
  html body .mobile-flags {
    position: fixed !important;
    left: auto !important;
    right: 16px !important;
    top: auto !important;
    bottom: calc(140px + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 99990 !important;
  }
html body a.btn[data-src="#app-form2"] {
  background: #a86b11 !important;
}

} /* end @media (max-width: 1024px) */

/* ===== Desktop: hide the mobile-only language switcher ===== */
@media (min-width: 1025px) {
  html body .mobile-flags {
    display: none !important;
  }
}
/* ===== Desktop: lift accessibility icon above the Call Us button ===== */
@media (min-width: 1025px) {
  html body #accessibility_settings_toggle {
    bottom: 110px !important;
    top: auto !important;
  }
}
/* Same fixed size for flag + accessibility icon on mobile and iPad */
@media (max-width: 1024px) {

  html body #accessibility_settings_toggle,
  html body .mobile-flags {
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    min-height: 54px !important;
    max-width: 54px !important;
    max-height: 54px !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    border-radius: 50% !important;
    overflow: hidden !important;
  }