.custom-select {
	position: relative;
	display: inline-block;
	vertical-align: middle;
	font-size: 13px;
	zoom: 1;
	*display: inline;
	width: 220px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.custom-select.small {
	width: 104px;
}
.custom-select.medium {
	width: 164px;
}
.custom-select.large {
	width: 300px;
}
.custom-select.xlarge {
	width: 380px;
}
.custom-select > select {
	display: none !important;
}
.custom-select > a.dropdown-toggle {
	border-radius: 0 !important;
	line-height: 28px !important;
	box-shadow: none !important;
	background: #ffffff !important;
	position: relative !important;
	display: block !important;
	overflow: hidden !important;
	padding: 0 0 0 8px !important;
	border: 1px solid #aaa !important;
	text-decoration: none !important;
	white-space: nowrap !important;
	cursor: pointer !important;
	color: #888 !important;
	width: 100% !important;
	-moz-box-sizing: border-box !important;
	box-sizing: border-box !important;
	height: 30px !important;
}
.custom-select > a.dropdown-toggle.disabled,
.custom-select > a.dropdown-toggle.disabled:hover {
	cursor: not-allowed !important;
	color: #aaa !important;
	background: #eee !important;
}
.custom-select > a.dropdown-toggle:hover, 
.custom-select.open > a.dropdown-toggle {
	color: #333 !important;
}
.custom-select.open > a.dropdown-toggle {
	border-bottom: 0 !important;
	line-height: 29px !important;
}
.control-group.error .custom-select > a.dropdown-toggle {
	border-color: #f09784 !important;
	color: #d68273 !important;
}
.custom-select > a.dropdown-toggle > span {
	display: block !important;
	overflow: hidden !important;
	margin-right: 26px !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
}
.custom-select > a.dropdown-toggle > b {
	position: absolute !important;
	top: 0 !important;
	right: 0 !important;
	display: block !important;
	width: 18px !important;
	height: 100% !important;
}
.custom-select > a.dropdown-toggle > b:before {
	content: "\f0d7" !important;
	display: inline-block !important;
	font-family: FontAwesome !important;
	font-size: 12px;
	position: relative !important;
	top: -1px !important;
	left: 1px !important;
}
.custom-select.open > a.dropdown-toggle > b:before {
	content: "\f0d8" !important;
}
.custom-select > .dropdown-menu {
	margin-top: 0;
	border: 1px solid #aaa;
	border-top: 0;
	padding-bottom: 0;
	width: auto;
	min-width: 100%;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	border-radius: 0;
}
.custom-select > .dropdown-menu > .custom-select-search {
	position: relative;
	z-index: 1010;
	margin: 0;
	padding: 0 4px;
	white-space: nowrap;
}
.custom-select > .dropdown-menu > .custom-select-search > input {
	width: 100%;
	height: 30px;
	margin: 0;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 4px 20px 4px 5px;
	border-radius: 0;
}
.custom-select > .dropdown-menu > .custom-select-search:after {
	content: "\f002";
	display: inline-block;
	color: #888;
	font-family: FontAwesome;
	font-size: 14px;
	position: absolute;
	top: 4px;
	right: 10px;
}
.custom-select > .dropdown-menu > ul {
	border-color: #aaa !important;
	border-top: 0 !important;
	margin: 4px 0 !important;
	padding: 0 !important;
	list-style: none !important;
	background-color: #fff !important;
	overflow-x: hidden !important;
	overflow-y: auto !important;
	max-height: 240px !important;
	padding-right: 14px !important;
}
.custom-select > .dropdown-menu > ul > li > a {
	font-size: 13px ;
	margin-bottom: 1px !important;
	margin-top: 1px !important;
	display: block !important;
	padding: 3px 8px !important;
	clear: both !important;
	font-weight: normal !important;
	line-height: 20px !important;
	color: #333 !important;
	cursor: pointer !important;
	width: 100% !important;
}
.custom-select > .dropdown-menu > ul > li > a:hover, 
.custom-select > .dropdown-menu > ul > li > a:focus {
	color: #fff !important;
	text-decoration: none !important;
	background-repeat: repeat-x !important;
}

.custom-select ul li a
{
  background: url() no-repeat 0 0 !important;
}

.custom-select > .dropdown-menu > ul > li > a:hover {
	background: #4f99c6 !important;
}
.custom-select > .dropdown-menu > ul > li > a:focus {
	background: #2283c5 !important;
}
.custom-select > .dropdown-menu > ul > li.empty-result > em {
	text-align: center !important;
	padding: 4px 8px !important;
	display: block !important;
}
.custom-select > .dropdown-menu > .custom-select-action > button {
	border-radius: 0 !important;
	background-image: none !important;
}
.custom-select > .dropdown-menu:before {
	border: 0 !important;
}