.custom-select {
	cursor: pointer;
	display: inline-block;
	position: relative;
	font-size: 14px;
    color: #565a5c;
	vertical-align: top;
	width: 100%;
	border: 1px solid #D7D7D7;
}
.custom-select-hidden {
	display: none;
	visibility: hidden;
}
.custom-select-styled {
	-moz-transition: all 0.2s ease-in;
	-o-transition: all 0.2s ease-in;
	-webkit-transition: all 0.2s ease-in;
	transition: all 0.2s ease-in;
	padding: 8px 1.5em 7px 0.5em;
	line-height: 2em;
}
.custom-select-styled:after, .custom-select-styled:before {
	content: "";
	display: inline-block;
	width: 0.6em;
	height: 0.15em;
	background: #ccc;
	border-radius: 0.1em;
	-moz-transition: all 0.2s ease-in;
	-o-transition: all 0.2s ease-in;
	-webkit-transition: all 0.2s ease-in;
	transition: all 0.2s ease-in;
	position: absolute;
	top: 1.4em;
}
.custom-select-styled:after {
	right: 0.3em;
	-webkit-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
}
.custom-select-styled:before {
	right: 0.65em;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
}
.custom-select:not(.custom-select-disabled ) .custom-select-styled:active:after, .custom-select-styled.custom-select-active:after {
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
}
.custom-select:not(.custom-select-disabled ) .custom-select-styled:active:before, .custom-select-styled.custom-select-active:before {
	-webkit-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.custom-select-value {
	display: inline-block;
	background-color: #3a6dba;
	margin: 0.1em 0.4em 0.1em -0.3em;
	padding: 0.3em 0.5em 0.3em 2.5em;
	position: relative;
	cursor: default;
	color: #fff;
	line-height: 1.2em;
}
.custom-select-value-close {
	cursor: pointer;
	position: absolute;
	left: 0;
	top: 0;
	font-size: 1.3em;
	display: block;
	color: #eee;
	line-height: 1em;
	-moz-transition: all 0.2s ease-in;
	-o-transition: all 0.2s ease-in;
	-webkit-transition: all 0.2s ease-in;
	transition: all 0.2s ease-in;
	text-align: center;
	padding: 0.2em 0.5em;
	background-color: rgba(255,255,255,0.1);
	font-weight: bold;
}
.custom-select:not(.custom-select-disabled) .custom-select-value-close:hover {
	background-color: rgba(255,255,255,0.2);
}
.custom-select-options {
	display: none;
	position: absolute;
	top: 100%;
	right: 0;
	left: 0;
	z-index: 999;
	margin: 0.2em 0;
	padding: 0;
	list-style: none;
	background-color: #fff;
	box-shadow: 0 0 1px #333;
}
.custom-select-options li {
	padding: 0.5em 0;
	text-indent: 1em;
	-moz-transition: all 0.15s ease-in;
	-o-transition: all 0.15s ease-in;
	-webkit-transition: all 0.15s ease-in;
	transition: all 0.15s ease-in;
	border-bottom: 0.05em solid #fff;
}
.custom-select-options li:last-child {
	border-bottom: 0px;
}
.custom-select-options li:not(.select-value-active):hover {
	/*color: #333;
	background-color: #ccc;*/
}
.custom-select-value-active {
	color: #fff;
	background-color: #3a6dba;
}
.custom-select-options li[rel="hide"] {
	display: none;
}