/* =====================================================================
   Color contrast, chosen by Steve September 30, 2026 (was "version D" in the comparison).
   Version C with one green: every deep green version B introduced (#617f27,
   #5a7d34, #567223, #426836) becomes the brand's own dark logo green #3f6933
   (Pantone 7743C). Top bar as in version A (fill #9bc747, navy text, icons
   #426836). Link hover on #3f6933 text: darker #2f4f26 plus underline.
   Greys #606883 as in B. Loads after a11y.css. Ratios (WCAG 2.x):
     #2c384b on #9bc747 6.00 (top bar)   #426836 on #9bc747 3.26 (top bar icons)
     #fff on #3f6933 6.40 (all deep fills, incl. footer band; white focus ring there)
     #3f6933 on #fff 6.40 / #f1f2f4 5.72 / #f8f8f8 6.03 / #ebebeb 5.37
     #2f4f26 (link hover) on #fff 9.26 / #f1f2f4 8.27 / #f8f8f8 8.72 / #ebebeb 7.77
     #606883 on #fff 5.52 / #f1f2f4 4.93 / #f8f8f8 5.20 / #ebebeb 4.63
     #fff on #457738 5.32 (existing jump-link hover fill)
   ===================================================================== */

/* ---------- Green bars and fills with white text: fill becomes #3f6933 ---------- */
#copyright { background: #fff; color: #2c384b; border-top: 1px solid #e6e6e6; } /* October 17: option 5, white bar with navy text (was #3f6933 fill, white text) */
#copyright a { color: #2c384b; }
#copyright a:hover { color: #2c384b; text-decoration: underline; }
#copyright ul.social-menu li, #copyright ul.social-menu li:hover { color: #2c384b; } /* October 17: Facebook and Instagram icons were white (theme rule) and vanished on the white bar */

/* Top bar as in version A: brand-green fill stays, text navy; icons keep #426836 (3.26 on #9bc747) */
ul#menu-top-navigation li a { color: #2c384b; }
ul#menu-top-navigation li a:hover { color: #2c384b; text-decoration: underline; }

.title-bar { background: #3f6933; }

#page-nav ul.page-navigation li a { background: #3f6933; }

.gray-section a.button { background: #3f6933 !important; }

.page-template-contact .contact-card-buttons .button.small.primary { background: #3f6933; }

#service-item-wrap > .service-item:hover .item-content span { border-color: #3f6933; background: #3f6933; }

/* "Send us a text" band in the footer: #69923d becomes #3f6933. (The desktop Send arrow sits on the white
   message box, not on the band, so it keeps its colour.) */
.text-contact { background: #3f6933; }

/* Homepage "Send us a text" box: fill #a5cc58 becomes #3f6933; its #426836 title becomes white. */
#announcements { background: #3f6933; }
#announcements .text-form-wrap .title .a11y-h5:not(#a11y),
#announcements .text-form-wrap .title h5 { color: #fff !important; }

/* Keyboard focus ring: white where it sits on the deep-green fills */
.text-contact a:focus-visible, .text-contact input:focus-visible, .text-contact textarea:focus-visible, .text-contact button:focus-visible,
#announcements a:focus-visible, #announcements input:focus-visible, #announcements textarea:focus-visible, #announcements button:focus-visible,
.text-contact .gform_wrapper input[type]:focus-visible, .text-contact .gform_wrapper textarea:focus-visible,
#announcements .gform_wrapper input[type]:focus-visible, #announcements .gform_wrapper textarea:focus-visible { outline-color: #fff !important; }

/* ---------- Outline buttons: green text and border on white ---------- */
a.button, button.submit { color: #3f6933 !important; border-color: #3f6933; }
a.button.small, button.submit.small { border-color: #3f6933; }
/* hover fill: deeper green, white text */
a.button:hover, button.submit:hover { background: #3f6933; }
@media only screen and (max-width: 768px) {
  .text-form-wrap .footer-text-form .gform_wrapper .gform_footer button.submit { color: #3f6933 !important; border-color: #3f6933; }
  .text-form-wrap .footer-text-form .gform_wrapper .gform_footer button.submit:hover { background: #3f6933; color: #fff !important; }
}

/* ---------- Green text on white ---------- */
#main-content a { color: #3f6933; }
#main-content h3,
.gallery-section h3,
#modal-wrap #modal-box h3 { color: #3f6933; }
.item.toggler .trigger.active h2 { color: #3f6933 !important; }
h5.icon-title,
.a11y-h5:not(#a11y).icon-title { color: #3f6933 !important; }
.widget a:hover,
.gm-style-iw a:hover, #main-content .gm-style a:hover { color: #3f6933; }

/* Links inside running text: the deeper green is too close to the body text (under 3:1), so they
   carry an underline instead (WCAG 1.4.1, axe "link-in-text-block"). Buttons and the office card address keep their look. */
#main-content p:not(.office-card-address) a:not(.button) { text-decoration: underline; }

/* Green text on the light grey panels */
#location-details .office-card-address a { color: #3f6933; }
ul.location-list.page li a { color: #3f6933; }
#main-content .retired-list a { color: #3f6933; }

/* Content link hover: darker than the #3f6933 link, and underlined so the change shows */
#main-content a:hover,
#location-details .office-card-address a:hover,
ul.location-list.page li a:hover,
#main-content .retired-list a:hover { color: #2f4f26; text-decoration: underline; }

/* ---------- Light greys used as text ---------- */
ul.location-list li h6,
ul.location-list li .a11y-h6:not(#a11y),
h5.section-head:not(.white),
.a11y-h5:not(#a11y).section-head:not(.white),
#location-details .office-card-hours .hours-label,
.page-template-contact .contact-card-label,
.page-template-contact .phones-note-label,
ul.form-list li span,
.single-location #tour ul.gallery figcaption { color: #606883; }
.provider-item:hover h6,
.provider-item:hover .a11y-h6:not(#a11y),
.tour-item:hover h5,
.tour-item:hover .a11y-h5:not(#a11y) { color: #606883; }
#menu-main-navigation-1 > li:hover > a,
#menu-main-navigation-1 > li.current_page_item > a,
#menu-main-navigation-1 > li.current-page-ancestor > a { color: #606883 !important; }
ul.subpage-menu > li.current_page_item > ul.children > li > a:hover,
ul.subpage-menu > li.current_page_ancestor > ul.children > li > a:hover,
ul.subpage-menu > li.current_page_item > ul.children > li.current_page_item > a,
ul.subpage-menu > li.current_page_ancestor > ul.children > li.current_page_item > a { color: #606883; }

/* Form frames (forms at Amazon, October 2026). The frame sets its own height. */
.affderm-form-frame iframe { display: block; width: calc(100% + 4px); margin: 0 -2px; border: 0; } /* October 17: 2px each side for the focus ring; the frame page pads its body by the same */
.affderm-form-phone { margin: 0; padding: 4px 0 0; font-family: 'Merriweather', serif; font-size: 12px; font-style: italic; }
.affderm-form-phone a { color: inherit; text-decoration: underline; }
.text-form-wrap .affderm-form-phone { color: #fff; text-align: left; }
#main-content .affderm-form-phone { padding: 0 0 18px; }

/* Call line under each form frame (October 12): the Contact page card's phone style, one line. The noscript lines keep .affderm-form-phone. */
.affderm-form-call { margin: 0; padding: 14px 0 0; font-family: 'Montserrat', sans-serif; line-height: 1.4; }
/* The phone icon is decoration: the second content value gives it empty alternative text, so screen readers skip it (October 13). Browsers without that syntax use the first. */
.affderm-form-call::before { content: "\f095"; content: "\f095" / ""; font-family: "Font Awesome 5 Pro"; font-weight: 900; font-size: 14px; color: #9bc747; margin-right: 8px; }
.affderm-form-call-label { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: #606883; margin-right: 6px; }
.affderm-form-call a { font-size: 22px; font-weight: 600; color: #426836; text-decoration: none; white-space: nowrap; }
.affderm-form-call a:hover, .affderm-form-call a:focus { text-decoration: underline; }
.text-form-wrap .affderm-form-call { text-align: left; }
.text-form-wrap .affderm-form-call-label, .text-form-wrap .affderm-form-call a { color: #fff; }
#main-content .affderm-form-call { padding: 6px 0 24px; }

/* November 15: the "not sent" box on the Appointments page (page 17 content, just above the form frame).
   After the changeover the old-form blocker sends anyone who submits an old open copy of a form to
   /appointments/#request. The box is hidden unless the address ends in #request (:target), so no script.
   Same panel shape as the new forms' thank-you panel (8 px corners, Montserrat bold), in the new forms'
   own error colour: #790000 on white is 10.6 to 1. scroll-margin-top keeps the box below the fixed
   header (110 px at desktop, 81 px at phone). The box takes focus as the link target (tabindex -1),
   so it shows no focus ring, like the forms' own notices. */
#request.affderm-not-sent { display: none; }
#request.affderm-not-sent:target { display: block; margin: 4px 0 18px; padding: 16px 18px 16px 16px; background: #fff; border: 2px solid #790000; border-left-width: 8px; border-radius: 8px; color: #790000; font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: 700; line-height: 1.4; scroll-margin-top: 130px; }
#request.affderm-not-sent:focus { outline: none; }
@media only screen and (max-width: 768px) {
  #request.affderm-not-sent:target { font-size: 17px; scroll-margin-top: 96px; }
}

/* ---------- October 17: telehealth photos page (/patient-resources/telehealth-photos/) ----------
   Scoped to .telehealth-photos, the wrapper around that page's content, so nothing else changes.
   Colours: navy #2c384b, body text #354159, dark green #3f6933 (white text on it), grey panel #f1f2f4,
   brand green #9bc747 only under navy text. Fonts: Merriweather (body, h2), Montserrat (labels, h3). */
#main-content .telehealth-photos { font-size: 16px; line-height: 1.7; color: #354159; }
#main-content .telehealth-photos h2 { font-family: 'Merriweather', serif; font-weight: 400; font-size: 25px; line-height: 1.3; letter-spacing: .02em; color: #2c384b; padding: 0; margin: 0 0 16px; }
#main-content .telehealth-photos h3 { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 18px; line-height: 1.35; letter-spacing: 0; text-transform: none; color: #3f6933; padding: 0; margin: 0 0 6px; }
#main-content .telehealth-photos p { margin: 0; }
#main-content .telehealth-photos p + p { margin-top: 12px; }
#main-content .telehealth-photos section { margin-top: 44px; }
#main-content .telehealth-photos ul, #main-content .telehealth-photos ol { list-style: none; margin: 0; padding: 0; }
#main-content .telehealth-photos ul li, #main-content .telehealth-photos ol > li { background: none; margin: 0; padding: 0; }
#main-content .telehealth-photos ol > li { padding-left: 0 !important; padding-top: 0; }
#main-content .telehealth-photos ol > li:before { content: none; display: none; }
#main-content .telehealth-photos li > i.fa-chevron-right { display: none; } /* the theme script adds this icon to every list item in the content; this page draws its own markers */
#main-content .telehealth-photos svg { display: block; max-width: 100%; }
#main-content .telehealth-photos .tp-nw { white-space: nowrap; }
#main-content .telehealth-photos .tp-intro { font-size: 18px; color: #2c384b; font-weight: 300; }

/* Quick checklist: grey card with camera-viewfinder corners in dark green */
#main-content .telehealth-photos .tp-checklist { margin-top: 28px; padding: 26px 24px 22px;
  background:
    linear-gradient(#3f6933, #3f6933) left top / 26px 3px no-repeat, linear-gradient(#3f6933, #3f6933) left top / 3px 26px no-repeat,
    linear-gradient(#3f6933, #3f6933) right top / 26px 3px no-repeat, linear-gradient(#3f6933, #3f6933) right top / 3px 26px no-repeat,
    linear-gradient(#3f6933, #3f6933) left bottom / 26px 3px no-repeat, linear-gradient(#3f6933, #3f6933) left bottom / 3px 26px no-repeat,
    linear-gradient(#3f6933, #3f6933) right bottom / 26px 3px no-repeat, linear-gradient(#3f6933, #3f6933) right bottom / 3px 26px no-repeat,
    #f1f2f4; }
#main-content .telehealth-photos .tp-checklist h2 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 19px; letter-spacing: 0; margin-bottom: 14px; }
#main-content .telehealth-photos .tp-checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; padding: 9px 0; font-family: 'Montserrat', sans-serif; font-size: 16px; font-weight: 500; line-height: 1.45; color: #2c384b; }
#main-content .telehealth-photos .tp-checklist li + li { border-top: 1px solid #dcdfe5; }
#main-content .telehealth-photos .tp-tick { width: 26px; height: 26px; margin-top: -1px; }

/* Plain bullets: small dark green chevron */
#main-content .telehealth-photos .tp-bullets li { position: relative; padding-left: 22px; margin-bottom: 10px; }
#main-content .telehealth-photos .tp-bullets li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-right: 2px solid #3f6933; border-top: 2px solid #3f6933; transform: rotate(45deg); }

/* The three shots: phone drawing beside each step, numbered in navy */
#main-content .telehealth-photos .tp-shots { counter-reset: tpshot; margin-top: 18px; }
#main-content .telehealth-photos .tp-shots > li { counter-increment: tpshot; display: grid; grid-template-columns: 92px 1fr; gap: 18px; align-items: start; padding: 16px 0; margin: 0; }
#main-content .telehealth-photos .tp-shots > li + li { border-top: 1px solid #dcdfe5; }
#main-content .telehealth-photos .tp-shots svg { width: 92px; height: auto; }
#main-content .telehealth-photos .tp-shots h3::before { content: counter(tpshot); display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin-right: 10px; border-radius: 50%; background: #2c384b; color: #fff; font-size: 14px; font-weight: 700; vertical-align: 1px; }
#main-content .telehealth-photos .tp-tip { margin-top: 14px; padding: 12px 16px; border-left: 3px solid #9bc747; background: #f1f2f4; font-size: 15px; color: #2c384b; }
#main-content .telehealth-photos .tp-cases { margin-top: 26px; display: grid; gap: 22px; }

/* Check each photo: three short checks under a navy rule */
#main-content .telehealth-photos .tp-checks { margin-top: 16px; display: grid; gap: 14px; }
#main-content .telehealth-photos .tp-checks li { padding-top: 12px; border-top: 3px solid #2c384b; }
#main-content .telehealth-photos .tp-checks strong { display: block; font-family: 'Montserrat', sans-serif; font-weight: 700; color: #2c384b; font-size: 17px; margin-bottom: 2px; }

/* How to send: dark green band, white text */
#main-content .telehealth-photos .tp-send { background: #3f6933; color: #fff; padding: 30px 22px; }
#main-content .telehealth-photos .tp-send h2 { color: #fff; }
#main-content .telehealth-photos .tp-send a { color: #fff; }
#main-content .telehealth-photos .tp-send a:focus-visible { outline-color: #fff !important; }
#main-content .telehealth-photos .tp-steps { counter-reset: tpstep; }
#main-content .telehealth-photos .tp-steps > li { counter-increment: tpstep; position: relative; padding: 3px 0 0 42px !important; margin-bottom: 14px; }
#main-content .telehealth-photos .tp-steps > li:before { content: counter(tpstep); display: flex; align-items: center; justify-content: center; position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: #3f6933; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 14px; line-height: 1; }
#main-content .telehealth-photos .tp-warn { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .45); font-weight: 700; }
#main-content .telehealth-photos a.tp-button { display: inline-flex; align-items: center; min-height: 48px; margin-top: 20px; padding: 12px 22px; border-radius: 3px; background: #9bc747; color: #2c384b; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 16px; line-height: 1.3; text-decoration: none; }
#main-content .telehealth-photos a.tp-button:hover { color: #2c384b; text-decoration: underline; }
#main-content .telehealth-photos .tp-privacy { margin-top: 18px; font-size: 15px; }

/* Need help: grey panel, large phone number */
#main-content .telehealth-photos .tp-help { padding: 24px 22px; background: #f1f2f4; }
#main-content .telehealth-photos a.tp-phone { display: inline-block; margin: 2px 0 8px; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 26px; color: #2c384b; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: #9bc747; }
#main-content .telehealth-photos a.tp-phone:hover { color: #2c384b; text-decoration-color: #2c384b; }
#main-content .telehealth-photos .tp-help p { font-size: 15px; }

@media (min-width: 640px) {
  #main-content .telehealth-photos .tp-shots > li { grid-template-columns: 110px 1fr; gap: 24px; }
  #main-content .telehealth-photos .tp-shots svg { width: 110px; }
  #main-content .telehealth-photos .tp-checks { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  #main-content .telehealth-photos .tp-cases { grid-template-columns: 1fr 1fr; gap: 32px; }
  #main-content .telehealth-photos .tp-send { padding: 34px 36px; }
  #main-content .telehealth-photos .tp-help { padding: 26px 32px; }
}
@media (min-width: 960px) {
  #main-content .telehealth-photos { font-size: 17px; }
  #main-content .telehealth-photos h2 { font-size: 28px; }
  #main-content .telehealth-photos .tp-checklist h2 { font-size: 19px; }
  #main-content .telehealth-photos .tp-intro { font-size: 19px; }
}
@media print {
  #main-content .telehealth-photos .tp-send { background: #fff; color: #354159; border: 2px solid #3f6933; }
  #main-content .telehealth-photos .tp-send h2, #main-content .telehealth-photos .tp-send a { color: #2c384b; }
}
