/*
 * Stage 08 accessibility additions.
 *
 * Kept in its own stylesheet so the design files stay untouched and the change
 * is easy to review. Nothing here alters the visual design for a pointer user:
 * the outline appears only for keyboard focus, and the skip link is off screen
 * until it is focused. See docs/modernization/accessibility.md.
 */

/* style.css disables every focus outline. Keyboard focus gets one back. */
:focus-visible {
	outline: 2px solid #1abc9c;
	outline-offset: 2px;
}

/* Text for assistive technology only, the wording WordPress themes use. */
.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal;
}

.screen-reader-text:focus {
	background-color: #fff;
	clip-path: none;
	color: #0b0b0b;
	display: block;
	font-size: 14px;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* The sidebar search label was display:none, hidden from readers too. */
.sidebar-widget .search-form .screen-reader-text {
	display: block;
}

/* The order window is a dialog; its own outline stays off. */
.orderServiceFormWrap:focus {
	outline: none;
}
