.custom-ui {
	position: relative;
}

.custom-ui .select {

}

.custom-ui.select select {
	display: none !important;
}

/** Theme: small **/
.custom-ui.small.select .button {
	border: 1px solid #dcdcdc;
	border-radius: 2px;
	display: block;
	color: #444444;
	font-family: 'Montserrat', sans-serif;
	font-size: 13px;
	font-weight: 500;
	/*height: 22px;*/
	background: #f4f4f4 url(../img/ui_sprite.png) no-repeat right center;
	padding: 5px 4px;
	padding-right:20px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	text-align: left;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
}
.custom-ui.small.select.open .button {
	/*background-position: right 5px;*/
	/*border-bottom: 0;*/
}
.custom-ui.small.select .options {
	list-style: none;
	padding: 0;
	margin: -2px 0 0 0;
	background: #f4f3f4;
	border: 1px solid #dcdcdc;
	border-top: 0;
	border-radius: 2px;
	position: absolute;
	display: none;
	z-index: 90;
	width: 100%;

	max-height: 200px;
	overflow-x: hidden;
	overflow-y: auto;

	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
}

.custom-ui.small.select .options .option a {
	color: #878787;
	display: block;
	padding: 5px 0 5px 5px;
	color: #444444;
	font-family: 'Montserrat', sans-serif;
	font-size: 13px;
	font-weight: 500;
}

.custom-ui.small.select .options .option.selected a {
	color: #333;
}

.custom-ui.small.select .options .option.disabled a {
	color: #999;
}

.custom-ui.small.select .options .option a:hover {
	background: #e8e8e8;
}

/** Theme: routeplanner **/
.custom-ui.routeplanner.select .button {
	border: 1px solid #bcbcbc;
	display: block;
	font: normal 12px Arial, Verdana, Tahoma sans-serif;
	height: 25px;
	width: 100%;
	background: #f9f9f9 url(../images/custom-ui/select_dropdown_routeplanner.gif) no-repeat right top;
	padding: 4px 0 0 4px;
	color: #333;
}
.custom-ui.routeplanner.select.open .button {
	background-position: right bottom;
}
.custom-ui.routeplanner.select .options {
	list-style: none;
	padding: 0;
	margin: 0;
	background: #f9f9f9;
	border: 1px solid #bcbcbc;
	border-top: 0;
	position: absolute;
	display: none;
	z-index: 90;
	width: 230px;
}

.custom-ui.routeplanner.select .options .option a {
	color: #333;
	display: block;
	padding: 4px 0 4px 4px;
	font: normal 12px Arial, Verdana, Tahoma sans-serif;
}

.custom-ui.routeplanner.select .options .option.selected a {
	color: #333;
}

.custom-ui.routeplanner.select .options .option a:hover {
	background: #d7d7d7;
}

/** Theme: search **/
.custom-ui.search {
	width:230px;
	float:right;
	height:40px;
	background-color: #1899d5;
	padding-right:2px;
	margin-left:1px;
	margin-right:1px;
}
.custom-ui.search.select .button {
	display: block;
	height: 40px;
	width: 100%;
	background:url(../images/custom-ui/select_dropdown_search.jpg) no-repeat right 2px;
	background-color: #1899d5;
	padding: 4px 0 0 15px;
	color: #FFF;
}
.custom-ui.search.select .options {
	list-style: none;
	padding: 0;
	margin: 0;
	background-color: #1899d5;
	border-top: 0;
	position: absolute;
	display: none;
	z-index: 90;
	width: 230px;
}

.custom-ui.search.select .options .option a {
	color: #FFF;
	display: block;
	padding: 4px 0 4px 15px;
	font: normal 29px Netto, Arial, 'Tahoma sans-serif';
}

.custom-ui.search.select .options .option.selected {
	display: none;
}
.custom-ui.search.select .options .option.selected a {
	color: #FFF;
}

.custom-ui.search.select .options .option a:hover {
	background: #d7d7d7;
}