/* EMDR Accessibility Fixes - WCAG 2.2 AA */

/* Screen-reader-only text */
.emdr-a11y-sr {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0; border: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

/* 2.4.7 Focus Visible - two-tone ring that shows on light and dark backgrounds.
   :focus-visible only, so mouse clicks on links and buttons are unchanged. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[role="button"]:focus-visible,
[tabindex]:focus-visible {
	outline: 3px solid #1a1a1a !important;
	outline-offset: 2px !important;
	box-shadow: 0 0 0 5px #ffffff !important;
}
[tabindex="-1"]:focus-visible:not(a):not(button):not(input):not(select):not(textarea):not([role="button"]):not([role="dialog"]) {
	outline: none !important;
	box-shadow: none !important;
}

/* 1.4.1 Use of Color - links inside body text are underlined.
   Scoped to the page content, so header and footer link lists keep their look. */
.fl-page-content .fl-rich-text a:not(.fl-button):not(.button),
.fl-page-content .uabb-text-editor a:not(.fl-button):not(.button),
.fl-page-content .uabb-infobox-text a:not(.fl-button):not(.button):not(.uabb-infobox-cta-link),
.fl-page-content .uabb-info-list-description a,
.fl-page-content .fl-callout-text a:not(.fl-button):not(.fl-callout-cta-link),
.fl-page-content .uabb-timeline-desc-content a:not(.fl-button):not(.button),
.fl-page-content .fl-post-content > p a:not(.fl-button):not(.button),
.fl-page-content .tribe-events-single-event-description a:not(.fl-button):not(.button),
.fl-page-content .tribe-events-content p a,
.fl-page-content .hkb-article__content a,
.fl-page-content .woocommerce-product-details__short-description a,
.fl-page-content .woocommerce-Tabs-panel a:not(.button) {
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* 2.5.8 Target Size (Minimum) - submenu toggle arrows are at least 24 by 24 */
.fl-menu .fl-menu-toggle {
	min-width: 24px;
	min-height: 24px;
}

/* Show-password toggle on account forms */
.woocommerce .show-password-input {
	min-width: 24px;
	min-height: 24px;
}

/* Slider pager dots: 24 by 24 hit area, same 10px dot */
.bx-pager .bx-pager-link {
	box-sizing: border-box !important;
	width: 24px !important;
	height: 24px !important;
	border: 7px solid transparent !important;
	border-radius: 50% !important;
	background-clip: padding-box !important;
	margin: 0 1px !important;
}

/* 1.4.3 Contrast (Minimum) */
/* Basic Training Overview, red panel: white text on #DE473E was 4.13:1. #DB342A is 4.63:1. */
.fl-row.fl-node-j2uom1iav7ye > .fl-row-content-wrap,
.fl-node-rz3vys6hpw91 .uabb-infobox {
	background-color: #DB342A !important;
}
/* Basic Training Overview, teal panel: white text on #2FA2AA was 3.05:1. #1A1A1A is 5.69:1. */
.fl-row.fl-node-lvojbpch3y18 > .fl-row-content-wrap,
.fl-row.fl-node-lvojbpch3y18 > .fl-row-content-wrap h1,
.fl-row.fl-node-lvojbpch3y18 > .fl-row-content-wrap h2,
.fl-row.fl-node-lvojbpch3y18 > .fl-row-content-wrap h3,
.fl-row.fl-node-lvojbpch3y18 > .fl-row-content-wrap h4,
.fl-row.fl-node-lvojbpch3y18 > .fl-row-content-wrap p,
.fl-row.fl-node-lvojbpch3y18 > .fl-row-content-wrap li,
.fl-row.fl-node-lvojbpch3y18 > .fl-row-content-wrap strong,
.fl-row.fl-node-lvojbpch3y18 > .fl-row-content-wrap span:not(.fl-button-text),
.fl-row.fl-node-lvojbpch3y18 > .fl-row-content-wrap a:not(.fl-button) {
	color: #1A1A1A !important;
}
/* Support Center article counts: #999 on white was 2.84:1. #6B6B6B is 5.33:1. */
.hkb-categoryhead__count,
.hkb-category__count {
	color: #6B6B6B !important;
}

/* Popup dialog close control */
.cp-popup-container .cp-close-field[role="button"] {
	cursor: pointer;
}
.cp-popup-container .cp-close-field[role="button"]:focus-visible {
	outline: 3px solid #1a1a1a !important;
	outline-offset: 2px !important;
	box-shadow: 0 0 0 5px #ffffff !important;
}
