/*
==============================
Feature: Custom Select Field
==============================
*/

.custom-select {
	position: relative;
}

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

.select-selected {
background-color: #fff;
}

/*style the arrow inside the select element:*/
.select-selected:after {
	position: absolute;
	content: "";
	top: 45%;
	right: 20px;
	width: 1px;
	height: 1px;
	border-right: 2px solid #363639;
	border-bottom: 2px solid #363639;
	border-left: 0;
	transform: rotate(45deg) translateY(-50%);
	padding: 0.25em;
}

/*point the arrow upwards when the select box is open (active):*/
.select-selected.select-arrow-active:after {
	transform: rotate(-135deg);
	top: 48%;
}

/*style the items (options), including the selected item:*/
.select-items div,
.select-selected {
	color: #252528;
	padding: 18px 16px;
	border: 2px solid;
	border-color: #606062;
	cursor: pointer;
	user-select: none;
}

.select-items div {
	border-color: transparent;
}

.select-selected.select-arrow-active {
	border-bottom-color: transparent;
	background-color: #F6F6F6;
}
/*style items (options):*/
.select-items {
	position: absolute;
	background-color: #fff;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 121;
	border: 2px solid #00c3c1;
	border-top-color: transparent;
}

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

.select-items div:hover, .same-as-selected {
background-color: #F6F6F6;
}

/*
==============================
Feature: Custom Select Field - Events
==============================
*/

#filterEvents .custom-select {
	width: 10rem;
}

#filterEvents .select-selected, #filterEvents .select-items div {
	padding: 5px 16px;
}