/* Helpsite Algolia Multi-Search dropdown */
.search-wrapper,
.helpsite-algolia-ms-wrapper,
.helpsite-algolia-ms-host,
#searchform,
.header-right-meta .search,
.help-heade-right .search,
.header-search-form {
	position: relative;
}

.helpsite-algolia-results {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 8px);
	z-index: 100000;
	display: block;
	width: 100%;
	max-height: 420px;
	overflow-x: hidden;
	overflow-y: auto;
	background: #fff;
	border: 1px solid #e5eaf2;
	border-radius: 12px;
	box-shadow: 0 12px 28px rgba(12, 20, 36, 0.12);
	text-align: left;
}

/* Header WordPress form: single stacked column (not the old 4-column Autocomplete). */
.helpsite-algolia-results--header {
	left: 0;
	right: 0;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	max-height: 360px;
}

.helpsite-algolia-results[hidden] {
	display: none !important;
}

.helpsite-algolia-status {
	padding: 14px 16px;
	font-size: 14px;
	color: #5b6575;
}

.helpsite-algolia-query {
	color: #0c1424;
	font-weight: 600;
}

.helpsite-algolia-section {
	display: block !important;
	float: none !important;
	width: 100% !important;
	max-width: 100%;
	box-sizing: border-box;
}

.helpsite-algolia-section + .helpsite-algolia-section {
	border-top: 1px solid #eef2f7;
}

.helpsite-algolia-section-label {
	padding: 10px 16px 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #7a8699;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.helpsite-algolia-hit {
	display: block;
	padding: 10px 16px;
	color: #0c1424;
	text-decoration: none;
	font-size: 15px;
	line-height: 1.35;
}

.helpsite-algolia-hit:hover,
.helpsite-algolia-hit:focus {
	background: #f5f8ff;
	color: #1463ff;
}

.helpsite-algolia-hit-title {
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.helpsite-algolia-hit-title mark {
	background: transparent;
	color: #1463ff;
	font-weight: 700;
	padding: 0;
}

/* Hide leftover stock Autocomplete panels if present. */
.algolia-autocomplete .aa-dropdown-menu,
body > .aa-dropdown-menu {
	display: none !important;
}
