
/* Custom Selector -- needs wrapper */
/* See https://www.w3schools.com/howto/tryit.asp?filename=tryhow_custom_select */
div.selector {
	display: inline-block;
	position: relative;
	font-family: inherit;
}
div.selector > select { display: none; }
div.selector > select > option { min-height: 1em; }
.select-selected      { background-color: #454; }

.select-selected:after {   /*style the arrow inside the select element:*/
	position: absolute;
	content: "";
	top: 10px;
	right: 10px;
	width: 0;
	height: 0;
	border: 6px solid transparent;
	border-color: #fff transparent transparent transparent;
}

.select-selected.select-arrow-active:after {  /*point the arrow upwards when the select box is open (active):*/
	border-color: transparent transparent #fff transparent;
	top: 3px;
}

.select-items div,.select-selected {  /*style the items (options), including the selected item:*/
	color: #ffffff;
	padding: 0.25em 1.0em;
	border: 1px solid transparent;
	border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
	cursor: pointer;
	user-select: none;
}

.select-items {  /*style items (options):*/
	position: absolute;
	background-color: gray;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 99;
	max-height: 32em;
	overflow-y: auto;
}

.select-hide {  /*hide the items when the select box is closed:*/
	display: none;
}
.select-items div:hover, .same-as-selected {
	/*background-color: rgba(0, 0, 0, 0.1);*/
	background-color: #454;
}

/** End Custom Selector **/
