/* live search autocomplete */
/* clears the 'X' from Internet Explorer */
input.wooma-as[type=search]::-ms-clear,
input.wooma-as[type=search]::-ms-reveal {
	display: none;
	width: 0;
	height: 0;
}

/* clears the 'X' from Chrome */
input.wooma-as[type="search"]::-webkit-search-decoration,
input.wooma-as[type="search"]::-webkit-search-cancel-button,
input.wooma-as[type="search"]::-webkit-search-results-button,
input.wooma-as[type="search"]::-webkit-search-results-decoration {
	display: none !important;
}

.wooma-asform-container {
	width: 100%;
}

.autocomplete-suggestions {
	padding: 10px;
	background: #fff;
	border: 1px solid var(--wooma-gray);
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	overflow-y: auto;
	max-width: 100% !important;
}

.result-position-bottom .autocomplete-suggestions {
    top: 50px;
    bottom: auto;
}

.autocomplete-suggestion {
    padding: 0px;
    cursor: pointer;
    text-align: left;
    line-height: inherit;
    display: flex;
    align-items: flex-start;
    height: auto;
    margin-bottom: 10px;
}

.wooma-asform-container form.wooma-asform {
	display: flex;
	align-items: center;
	width: 100%;
	min-width: 100%;
	position: relative;
}

.no-result+.autocomplete-suggestions {
	background: var(--wooma-bg-soft);
}

.no-result+.autocomplete-suggestion {
	background: transparent;
	padding: 0px;
	line-height: inherit;
}

.autocomplete-suggestion img,
.autocomplete-suggestion .value {
    margin-right: 15px;
    line-height: 1.4;
    font-size: 13px;
}

.autocomplete-suggestion .woocommerce-variation-price .price,
.autocomplete-suggestion .wooma-price {
	font-size: 14px;
}

.autocomplete-suggestion:hover {
	background-color: var(--wooma-gray-background);
}

.autocomplete-suggestion .value strong {
	color: var(--wooma-primary);
}

.wooma-asform,
.wooma-asform input.wooma-as,
.wooma-asform input.wooma-as:hover,
.wooma-asform input.wooma-as:focus {
	width: 100%;
	border: 0;
	border-radius: 0px;
	outline: none;
}

.wooma-asform {
	position: relative;
	overflow: hidden;
}

.search-area-top .autocomplete-suggestion .wooma-small-title {
	display: flex;
	flex-direction: column;
}

.has-default-header-type-dark .search-area-top .autocomplete-suggestion .wooma-small-title,
.has-default-header-type-dark .wooma-asform.no-result+.autocomplete-suggestion strong {
	color:var(--wooma-light);
}
