/*
 * @grundfast/dawa-autocomplete — default look for the suggestion list.
 * Same class names as dawa-autocomplete2, so a stylesheet written for it keeps working; the
 * rules are adapted from that package (MIT, Copyright (c) 2019 SDFE).
 * Wrap the input in <div class="dawa-autocomplete-container"> (or your own positioned wrapper).
 */
.dawa-autocomplete-container {
	position: relative;
	width: 100%;
	max-width: 30em;
}

.dawa-autocomplete-container input {
	width: 100%;
	box-sizing: border-box;
	font-size: inherit;
	font-family: inherit;
}

.dawa-autocomplete-suggestions {
	margin: 0.3em 0 0 0;
	padding: 0;
	text-align: left;
	border-radius: 0.3125em;
	background: #fcfcfc;
	box-shadow: 0 0.0625em 0.15625em rgba(0, 0, 0, 0.15);
	position: absolute;
	left: 0;
	right: 0;
	z-index: 9999;
	overflow-y: auto;
	max-height: 20em;
	box-sizing: border-box;
}

.dawa-autocomplete-suggestions .dawa-autocomplete-suggestion {
	margin: 0;
	list-style: none;
	cursor: pointer;
	padding: 0.4em 0.6em;
	color: #333;
	border: 0.0625em solid #ddd;
	border-bottom-width: 0;
}

.dawa-autocomplete-suggestions .dawa-autocomplete-suggestion:first-child {
	border-top-left-radius: inherit;
	border-top-right-radius: inherit;
}

.dawa-autocomplete-suggestions .dawa-autocomplete-suggestion:last-child {
	border-bottom-left-radius: inherit;
	border-bottom-right-radius: inherit;
	border-bottom-width: 0.0625em;
}

.dawa-autocomplete-suggestions .dawa-autocomplete-suggestion.dawa-selected,
.dawa-autocomplete-suggestions .dawa-autocomplete-suggestion:hover {
	background: #f0f0f0;
}
