/* 
		This stylesheet belongs to TextboxList - Copyright Guillermo Rauch <http://devthought.com> 2009 
		TextboxList is not priceless for commercial use. See <http://devthought.com/projects/jquery/textboxlist/> 
		Purchase to remove copyright
*/
/*.textboxlist-autocomplete {
	position: absolute;
}*/

.textboxlist-autocomplete-placeholder, .textboxlist-autocomplete-results {
	background: var(--bg-color-secondary-shade);
	-webkit-box-shadow: 0 3px 3px var(--bg-color-secondary);
	-moz-box-shadow: 0 3px 3px var(--bg-color-secondary);
	box-shadow: 0 3px 3px var(--bg-color-secondary);
	border: 1px solid var(--border-color-default);
	border-top: none;
	display: none;
}

.textboxlist-autocomplete-placeholder {
	padding: 5px 7px;
}

.textboxlist-autocomplete-results {
	margin: 0;
	padding: 0;
}

.textboxlist-autocomplete-result {
	margin: 0;
	padding: 5px;
	list-style-type: none;
	background: var(--bg-color-secondary-shade);
	color: var(--text-color-primary);
}

.textboxlist-autocomplete-result:nth-child(odd) {
	background: var(--bg-color-secondary);
}

.textboxlist-autocomplete-result-focus, .textboxlist-autocomplete-result-focus:nth-child(odd) {
	background: var(--highlight-color-light);
}

.textboxlist-autocomplete-highlight {
	background: var(--highlight-color-dark);
	font-weight: bold;
}

.dark-mode .textboxlist-autocomplete-highlight {
	border: 1px solid var(--highlight-color-dark);
	background: transparent;
}

/*  TextboxList.Autocomplete Style guidelines 
			Try to keep .textboxlist-autocomplete {} as it is now
			If you apply custom styles to placeholder, also apply them to results, like it is now.
			.textboxlist-autocomplete-result {} needs a background for IE.
*/