[hidden] { display: none; }

.visually-hidden {
	position: absolute;
	clip: rect(0, 0, 0, 0);
}

div.accountidinput {
	display: inline-block;
	position: relative;
}

div.accountidinput > input {
	display: block;
}

div.accountidinput > ul {
	position: absolute;
	left: 0;
	z-index: 1;
	min-width: 100%;
	box-sizing: border-box;
	list-style: none;
	padding: 0;
	border-radius: .1em;
	margin: 0;
	background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
	text-shadow: none;
}

div.accountidinput > ul[hidden],
div.accountidinput > ul:empty {
	display: none;
}

div.accountidinput > ul > li {
	border-top: 1px solid #e6e6e6;
}

@supports (transform: scale(0)) {
	div.accountidinput > ul {
		transition: .3s cubic-bezier(.4,.2,.5,1.4);
		transform-origin: 1.43em -.43em;
	}
	
	div.accountidinput > ul[hidden],
	div.accountidinput > ul:empty {
		opacity: 0;
		transform: scale(0);
		display: block;
		transition-timing-function: ease;
	}
}

div.accountidinput > ul > li {
	position: relative;
	padding: .2em .5em;
	cursor: pointer;
}

div.accountidinput > ul > li:hover {
	background: hsl(200, 40%, 80%);
	color: black;
}

div.accountidinput > ul > li[aria-selected="true"] {
	background: hsl(205, 40%, 40%);
	color: white;
}

	div.accountidinput mark {
		background: inherit;
		font-weight: bold;
	}
	
	div.accountidinput li:hover mark {
		background: inherit;
	}
	
	div.accountidinput li[aria-selected="true"] mark {
		color: inherit;
		}