/* Local public-page readability and footer target sizes. */
body.mkt-visual-v3-public #footer,
body.mkt-visual-v3-public #footer p,
body.mkt-visual-v3-public #footer small,
body.mkt-visual-v3-public #footer a {
  font-size: 14px;
  line-height: 22px;
  color: #b3b3b3;
}
body.mkt-visual-v3-public #footer a {
  color: #fff;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
body.mkt-visual-v3-legal .main > .content > .container,
body.mkt-visual-v3-legal .main p,
body.mkt-visual-v3-legal .main li {
  color: #333 !important;
}

/* Forms: a hidden validation message keeps no blank line until it shows; no empty line after a field label. */
body.mkt-visual-v3-public span[id*="Validator"][style*="visibility:hidden"],
body.mkt-visual-v3-public span[id*="Validator"][style*="visibility: hidden"],
body.mkt-visual-v3-public span[id$="cvPassword"][style*="visibility:hidden"],
body.mkt-visual-v3-public span[id$="cvPassword"][style*="visibility: hidden"],
body.mkt-visual-v3-public .form-group label + br { display: none; }

/* V4 contrast (WCAG AA 4.5:1): plan text, currency, country captions, the "New" badge and the most-popular plan heading. */
body.mkt-visual-v3-public .CurCode,
body.mkt-visual-v3-public .pricing-table .plan ul li strong,
body.mkt-visual-v3-public .thumb-info-caption .thumb-info-caption-text { color: #6b6b6b; }
body.mkt-visual-v3-public .pricing-table .most-popular h3 { background-color: #0074ae !important; }
/* The badge colour is an inline !important red: a darker red layer is painted just behind its text. */
body.mkt-visual-v3-public span[style*="background: red"] { position: relative; z-index: 0; }
body.mkt-visual-v3-public span[style*="background: red"]::before {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -1;
  border-radius: 15px; background: #e00000;
}

/* V4 (owner 122 a): demo pop-up and "Talk With us" button reach WCAG AA. Only the failing colours are darkened, just enough;
   hover (orange) and the thank-you buttons keep their look. The pop-up script injects its own <style>; these rules outrank it. */
html body #bio_ep_wrapper .demo { color: #ee0000; }
html body #bio_ep_wrapper .login-options { color: #767676; }
html body #bio_ep_wrapper .create-acc,
html body #bio_ep_wrapper .create-acc:active { background: #007cba; }
#btnOpen div[style*="width:120px"][style*="background:#0099e6"]:not([class]),
#btnOpen div[style*="width:120px"] > span[style*="background-color:#0099e6"] { background-color: #007cba !important; }
