/* ============================================================
   wcag-c0050-gs-vintage.css
   WCAG 2.1 Level AA override for the C0050-GS-Vintage Kentico template
   (TemplateId 1365, DefaultCssFileName: RPcssMaster_C0050-GS-Vintage).

   Selectors verified against the live base CSS pulled from
   livesommery.com (cross-fetched) on 2026-05-12.

   This template does NOT use a .template-* wrapper.
   Header is confirmed sticky:
     #masterHeader { position:fixed; top:0; min-height:70px }
   ============================================================ */


/* ------------------------------------------------------------
   WCAG 2.4.7 Focus Visible
   Base: #contactUsEnhancedContainer .form-control:focus
     { outline:none; box-shadow:none; -webkit-box-shadow:none }
   Plus Bootstrap's standard suppressions.
   ------------------------------------------------------------ */
.navbar-toggle:focus-visible,
.dropdown-toggle:focus-visible,
.btn:focus-visible,
.form-control:focus-visible,
#masterHeader a:focus-visible,
#menuDesktop a:focus-visible,
#menuMobile a:focus-visible,
#menuDesktop #menuElem li a:focus-visible,
#contactUsEnhancedContainer .form-control:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible,
[role="button"]:focus-visible,
.footer-widget footer a:focus-visible {
  /* Webkit-style two-ring halo: blue inner ring + white outer ring
     gives focus visibility on both light AND dark backgrounds.
     The `outline` declaration is intentionally omitted — outline
     paints on top of box-shadow and would cover the white ring. */
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #005fcc, 0 0 0 3px #fff;
}


/* ------------------------------------------------------------
   WCAG 2.4.11 Focus Not Obscured
   Base: #masterHeader { position:fixed; top:0; min-height:70px }
   ------------------------------------------------------------ */
html {
  scroll-padding-top: 100px;
}

:focus-visible {
  scroll-margin-top: 100px;
}


/* ------------------------------------------------------------
   WCAG 1.4.11 Non-text Contrast (UI components)
   Base failure:
     #menuDesktop #menuElem li a:hover
       { border-bottom:2px solid #efefef }
   #efefef on white â 1.18:1 â the hover-state underline is
   barely visible. Bump to #595959 so the hover indicator is
   a proper UI cue.
   ------------------------------------------------------------ */
#menuDesktop #menuElem li a:hover {
  border-bottom-color: #595959;
}

body #contactUsEnhancedContainer .form-control {
  border-bottom: 1px solid #595959 !important;
}


/* ------------------------------------------------------------
   WCAG 1.4.3 Contrast Minimum (text)
   Base failures:
     #7e7e7e in 10+ rules across menu, floorplan specs, content
     blocks â 4.4:1 â fails 4.5:1 by a hair.
     Shared footer-disclosure opacity 0.6 â 0.85.
   ------------------------------------------------------------ */
#menuDesktop #menuElem li a,
#menuMobile a,
.mmContain a,
.FloorPlansV3 .specification,
.FloorPlansV2 .specification {
  color: #595959;
}

.footer-widget footer .footer-disclosure {
  opacity: 0.85;
}


/* ------------------------------------------------------------
   WCAG 1.4.1 Use of Color (inline links)
   ------------------------------------------------------------ */
/* Scope: content containers only. Bare `p a` / `li a` / `dd a` selectors were dropped (same Balcony/Aurora/Bliss/Jackson-Square bleed bug — they would underline footer nav, header items, sidebar lists). */
.main-content-text a,
.inner-page-main a,
.main-content-wrapper a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

a.btn,
a.button,
.btn,
.btn-primary,
#masterHeader a,
#menuDesktop a,
#menuMobile a,
.cta-header-btn,
.header-CTA-button,
.footer-CTA-Button,
a.more-link,
a.less-link,
.footer-widget footer a {
  text-decoration: none;
}

/* ------------------------------------------------------------
   TFS 2870264 — WCAG 1.4.1 (homepage inline links)
   Vintage's homepage uses `.contentSection` (the welcome /
   floor-plan-search blurb) and a `.container.animateMe` row
   with `.col-xs-12` text columns for the features/about
   prose. A `.homeBottomImage` block holds a bottom-section
   blurb on some properties. Verified against
   livemonterraapts.com + windermerecay.com (multiple inline
   links to /Neighborhood.aspx, /Floor-plans.aspx, etc. in
   rich-text paragraphs).
   The "Get Directions" link (`a.bold[href*="maps.google.com"]`)
   sits inside `.contentSection .animateMe` too — opted out
   because it's a CTA, not prose.
   ------------------------------------------------------------ */
.contentSection .animateMe a,
.container.animateMe .col-xs-12 a,
.homeBottomImage a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contentSection .animateMe a.bold,
.contentSection .animateMe a[href*="maps.google.com"],
.container.animateMe .col-xs-12 a.btn,
.container.animateMe .col-xs-12 a.button,
.homeBottomImage a.btn,
.homeBottomImage a.button {
  text-decoration: none;
}


/** ------------------------------------------------------------
   WCAG 2.2 AA 2.5.8 Target Size (Pointer)
   ------------------------------------------------------------ */
#homeContactContainer #btnSubmit {
    margin-top: 30px;
}