/* njprostho.com accessibility fixes — 2026-10-09. Generated by _a11y/06-css.py; edit there, not here. */

/* helpers */
.a11y-sr{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
.a11y-skip{position:absolute;left:8px;top:-80px;z-index:100001;background:#1e232b;color:#fff!important;padding:10px 16px;border-radius:4px;font:600 15px/1.2 'Open Sans',Arial,sans-serif;text-decoration:none}
.a11y-skip:focus{top:8px;outline:3px solid #fff;outline-offset:2px}
#main-content:focus{outline:none}

/* top phone strip: Divi default #2ea3f2 behind white 12px text = 2.75:1 -> the site's own footer blue #0c71c3 (5.04:1) */
#top-header{background-color:#0c71c3!important}

/* in-body Privacy | Terms | Accessibility row on the beige band (home, contact): #2ea3f2 = 1.98:1 -> #0a64a1 (4.52:1) */
.a11y-legal-row{color:#606060!important}  /* the | separators: #666 = 4.13:1 -> #606060 (4.53:1) */
.a11y-legal-row a{color:#0a64a1!important;text-decoration:underline}

/* links in running text on the legal pages: #2ea3f2 on white = 2.75:1 and no underline -> #0a64a1 (6.27:1), underlined */
body.privacy-policy #main-content .et_pb_text_inner a,
body.page-id-2 #main-content .et_pb_text_inner a,
body.accessibility-statement #main-content .et_pb_text_inner a{color:#0a64a1;text-decoration:underline}

/* ZIP search: visible label (the field had a placeholder only) */
.a11y-zip-label{display:block;margin:0 0 6px;font-weight:700;font-size:14px;letter-spacing:.08em;text-transform:uppercase;color:#fff}

/* footer credit (CLAUDE.md standard; wraps, never nowrap) */
.ft-credit{display:inline-flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:5px}
.ft-credit svg{flex:none}

/* footer legal row was text-align:justify (stretched word gaps once "Accessibility" was added) -> centered */
footer.et-l--footer .et_pb_text_1_tb_footer p{text-align:center!important}

/* footer bar below 981px: Divi hid the credit and the legal links (only "Contact Us" showed). Show all three, stacked. */
@media only screen and (max-width:980px){
  footer.et-l--footer .et_pb_row_0_tb_footer{flex-wrap:wrap}
  footer.et-l--footer .et_pb_column_0_tb_footer,
  footer.et-l--footer .et_pb_column_1_tb_footer,
  footer.et-l--footer .et_pb_column_2_tb_footer{display:block!important;width:100%!important;margin:0!important;padding:4px 0!important;text-align:center}
  footer.et-l--footer .et_pb_text_1_tb_footer p{text-align:center!important}
  footer.et-l--footer .et_pb_text_0_tb_footer,footer.et-l--footer .et_pb_text_1_tb_footer{margin-bottom:0!important}
  /* room under the last row so the bottom-left accessibility button never covers the footer links */
  footer.et-l--footer .et_pb_section_0_tb_footer{padding-bottom:64px!important}
}

/* current-page item in the main menu: Divi accent #2ea3f2 on white = 2.75:1 -> site blue #0c71c3 (5.04:1) */
#top-menu li.current-menu-item > a,#top-menu li.current_page_item > a{color:#0c71c3!important}

/* home, phone width: gold section titles over the grey part of the gradient = 3.41:1 -> lighter gold #e3d8cd (4.5:1) */
@media only screen and (max-width:767px){body.home .et_pb_text_21 h2,body.home .et_pb_text_22 h2{color:#e3d8cd!important}}

/* doctor directory: collapsed service lists were only height-clipped, so screen readers still read them */
.services-more:not(.active){visibility:hidden}

/* member websites in the directory: long domains overflowed at 320px with text spacing on (WCAG 1.4.10/1.4.12) */
a.website,#main-content .et_pb_column_1_6 a{overflow-wrap:anywhere}

/* legal pages + statement on phones/tablets: the text row was 100% wide, so text touched the screen edges */
@media only screen and (max-width:980px){
  body.privacy-policy #main-content .et_pb_row,body.page-id-2 #main-content .et_pb_row,body.accessibility-statement #main-content .et_pb_row{padding-left:16px!important;padding-right:16px!important;box-sizing:border-box}
}

/* keyboard focus: a visible ring everywhere (Divi removes outlines) */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:not([tabindex="-1"]):focus-visible,[role="button"]:focus-visible{outline:3px solid #0c71c3!important;outline-offset:2px!important}
#top-header a:focus-visible,footer.et-l--footer a:focus-visible,.et_pb_section_0 a:focus-visible{outline-color:#fff!important}
