/*
 * Accessibility fixes for the scoop-child header (kolzchut/kz-blog#50,
 * kolzchut/kz-blog#51). Enqueued by kz_child_enqueue_a11y() in functions.php,
 * after the theme's own style.css and rtl.css.
 */

/* #50: the mobile menu button showed no change at all when focused. */
#header .navbar-toggle:focus-visible,
.sticky-header .navbar-toggle:focus-visible,
#header .kz-search-toggle:focus-visible {
	outline: 3px solid #fff !important;
	outline-offset: 3px;
}

/*
 * #51: below 768px the search toggle inside the menu is hidden with the menu
 * (it sits in .navbar-collapse, and is hidden-xs besides). This button, on
 * the other side of the logo from the menu button, opens the same search
 * section. visible-xs shows it below 768px only.
 */
#header .kz-search-toggle {
	float: left;
	width: 28px;
	height: 28px;
	margin: 0;
	padding: 0;
	border: 2px solid #fff !important;
	border-radius: 0;
	background: transparent !important;
	color: #fff !important;
	font-size: 15px;
	line-height: 24px;
	text-align: center;
}

#header .kz-search-toggle:hover {
	color: #acdd73 !important;
}

@media (max-width: 767px) {
	#search-section-primary .search-field {
		width: 100%;
	}
}
