/* Default custom select styles */
div.cs-select {
	display: inline-block;
	vertical-align: middle;
	position: relative;
	text-align: left;
	background: white;
	color: 4F4E4B;
	border: 1px solid #4F4E4B;
	z-index: 100;
	width: 100%;
	max-width: 500px;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	padding: .5rem;
    font-family: mr-eaves-xl-modern, sans-serif;
    font-weight: 700;
    font-style: normal;
	font-size: 16px;
	-webkit-appearance: none;
	border-radius: 10px;
	overflow: hidden;
	transition: overflow 350ms ease-in-out;
}

div.cs-select:focus {
	outline: none; /* For better accessibility add a style for this in your skin */
}

.cs-select select {
	display: none;
}

.cs-select span {
	display: block;
	position: relative;
	cursor: pointer;
	padding: .5em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Placeholder and selected option */
.cs-select > span {
	padding-right: 3em;
}

.cs-select > span::after,
.cs-select .cs-selected span::after {
	speak: none;
	position: absolute;
	top: 50%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.cs-select > span::after {
	content: '\25BE';
	right: 1em;
	transition: transform 350ms ease-in-out;
}

.cs-select .cs-selected span::after {
	content: '\2713';
	margin-left: 1em;
}

.cs-select.cs-active > span::after {
	-webkit-transform: translateY(-50%) rotate(180deg);
	transform: translateY(-50%) rotate(180deg);
	transition: transform 350ms ease-in-out;
}

div.cs-active {
	z-index: 200;
	overflow: visible;
	transition: overflow 350ms ease-in-out;
}

/* Options */
.cs-select .cs-options {
	position: absolute;
	overflow: hidden;
	overflow-y: auto;
	width: 96%;
	background: #fff;
	color: #4F4E4B;
	height: 10rem;
	max-height: 0;
	pointer-events: none;
	transition: max-height 350ms ease-in-out;
	margin-top: 1rem;
	-webkit-box-shadow: 0px 3px 4px 1px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 0px 3px 4px 1px rgba(0, 0, 0, 0.1);
	box-shadow: 0px 3px 4px 1px rgba(0, 0, 0, 0.1);
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
}

.cs-options li{
	border-radius: 10px;
}

.cs-options li:hover{
	background: lightgrey;
}

.cs-select.cs-active .cs-options {
	max-height: 20.5rem;
	height: auto;
	pointer-events: initial;
	transition: max-height 350ms ease-in-out;
}

.cs-select .cs-options li:first-of-type{
	display: none;		
}

.cs-select ul {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
}

.cs-select ul span {
	padding: .75em;
}

.cs-select ul li.cs-focus span {
	background-color: #ddd;
}

/* Optgroup and optgroup label */
.cs-select li.cs-optgroup ul {
	padding-left: .75em;
}

.cs-select li.cs-optgroup > span {
	cursor: default;
}
