*, :host
{
	color: #EEE;
	outline: none;
}

:host
{
	position: relative;
	width: 20em;
	height: 2.2em;	
	display: inline-block;
}

#wrap
{
	border: 0.1em solid #000;
	background-color: #393939;
	width: 100%;
	height: 100%;
	display: -webkit-flex;
}

#wrap:hover
{
    background-color: #555;
    color: #eee;
}

:host(:focus) #wrap
{
	background-color: #555;
}

#toggle,
#input
{
	background-color: transparent;
	border: none;
	cursor: pointer;
	display: inline-block;
}

#input
{
	font-size: 1.2em;
	padding: 0.2em 0 0.2em 0.5em;
	text-overflow: ellipsis;
  	overflow: hidden;
  	white-space: nowrap;
  	-webkit-flex: 1;
}

#toggle
{
	width: 2em;
	background-position: center center;
	background-repeat: no-repeat;
	background-image: url("./images/arrowdown.png");
}

#wrap:hover #toggle,
:host(:focus) #toggle,
#toggle:hover
{
	background-image: url("./images/arrowdown_hover.png");
}

:host(:disabled) #toggle
{
	background-image: url("./images/arrowdown_disabled.png");
	cursor: default;
}

#list
{
	position: absolute;
	top: 100%;
	left: 0;
	display: none;
	margin: 1px 0 0;
	padding: 0;
    z-index: 10;
}

:host(:focus) #list
{
	display: block;
}

#list
{
	max-height: 12em;
	width: 100%;
	border: 0.1em solid #555;
	background-color: #000;
	overflow-y: auto;
	overflow-x: hidden;
}