/**
 * Library AJAX search autocomplete.
 */
.ffw-library-search {
	position: relative;
	max-width: 520px;
	margin: 0 0 20px;
}

.ffw-library-search-input {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #d4d4d8;
	border-radius: 4px;
	font-size: 15px;
	line-height: 1.4;
	background: #fff;
	color: #18181b;
}

.ffw-library-search-input:focus {
	border-color: #18181b;
	outline: 2px solid #fad54d;
	outline-offset: 1px;
}

.ffw-library-search-results {
	position: absolute;
	z-index: 20;
	top: 100%;
	left: 0;
	right: 0;
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
	background: #fff;
	border: 1px solid #e4e4e7;
	border-radius: 4px;
	max-height: 320px;
	overflow: auto;
}

.ffw-library-search-results[hidden] {
	display: none;
}

.ffw-library-search-results li {
	margin: 0;
}

.ffw-library-search-results a,
.ffw-library-search-status {
	display: block;
	padding: 10px 12px;
	color: #18181b;
	text-decoration: none;
}

.ffw-library-search-results a:hover,
.ffw-library-search-results a:focus {
	background: #fafafa;
}

.ffw-library-search-results .ffw-library-search-title {
	display: block;
	font-weight: 600;
}

.ffw-library-search-results .ffw-library-search-excerpt {
	display: block;
	margin-top: 4px;
	color: #71717a;
	font-size: 13px;
}

.ffw-library-search-status {
	color: #71717a;
	font-size: 14px;
}

.ffw-faq-deep-link-target {
	scroll-margin-top: 80px;
}
