/**
 * Behavior/category filter fields.
 * Awesomplete styling ported from the live site; two-field layout added.
 */

.bchecker-filters {
	margin: 0 auto 1rem;
	max-width: 640px;
}

.bchecker-filters .filter-list {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin: 0 0 1.25rem;
	padding: 0;
	list-style: none;
}

.bchecker-filters .filter-list__item {
	flex: 1 1 240px;
	margin: 0;
}

.awesomplete-container {
	position: relative;
}

.awesomplete {
	display: block;
	position: relative;
	z-index: 5;
}

.awesomplete.input {
	padding: 8px 40px 8px 8px;
	width: 100%;
	font-size: 1rem;
	border: 1px solid #d3d3d3;
	border-radius: .25rem;
	line-height: 1;
	font-family: "Roboto", sans-serif;
	font-style: italic;
}

.awesomeplete-button {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	border: 0;
	border-radius: 0 .25rem .25rem 0;
	background-color: #4fbb88;
	transition: background-color .5s;
	z-index: 10;
	padding: 1px 6px !important;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.awesomeplete-button:hover,
.awesomeplete-button:focus {
	background-color: #45a578;
}

.awesomeplete-button__arrow,
.elementor img.awesomeplete-button__arrow {
	width: 1.25rem;
	height: 1.25rem;
}

.awesomplete > ul {
	position: absolute;
	list-style: none;
	overflow-y: auto;
	padding: 0;
	margin: 0;
	left: 0;
	width: 100%;
	min-width: 100%;
	max-height: 10rem;
	text-align: left;
	border: solid #d3d3d3;
	border-width: 0 1px 1px;
	border-radius: 0 0 .25rem .25rem;
	background-color: #fff;
	z-index: 1;
}

.awesomplete > ul > li {
	position: relative;
	padding: .2em .5em;
	font-size: 1rem;
	cursor: pointer;
	margin: 0;
	line-height: 1.2;
	font-weight: 600;
}

.awesomplete > ul > li:hover,
.awesomplete > ul > li[aria-selected="true"] {
	background-color: #4fbb88;
	color: #fff;
}

.awesomplete mark {
	background: transparent;
	color: inherit;
	font-weight: 700;
}
