/* The container must be positioned relative: */
.custom-select {
	position: relative;
	min-width: 200px;
}

/*hide original SELECT element: */
.custom-select select {
	display: none;
}

.select-selected {
	background-color: #fff;
	border: 1px solid #666;
}

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

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

/* style the items (options), including the selected item: */
.select-items div,
.select-selected {
	color: #fff;
	padding: 8px 16px;
	border: 1px solid transparent;
	border-color: #666; /* transparent transparent rgba(0, 0, 0, 0.1) transparent; */
	cursor: pointer;
}
.select-selected {
	color: #666;
}

/* Style items (options): */
.select-items {
	position: absolute;
	background-color: #bbb;
	color: white;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 99;
	max-height: 300px;
	overflow: auto;
}

.select-items div {
	border-top: none;
}

/* Hide the items when the select box is closed: */
.select-hide {
	display: none;
}

.select-items div:hover,
.same-as-selected {
	background-color: rgba(0, 0, 0, 0.1);
}


.custom-select.compact {
	min-width: 130px;
}

.compact .select-selected {
	padding: 4px 8px;
}
.compact .select-selected.select-arrow-active:after {
	top: 3px;
}
.compact .select-selected:after {
	top: 9px;
} 