div.fancy-select {
	position: relative;
	text-align:left;
}

div.fancy-select.disabled {
	opacity: 0.5;
}

div.fancy-select select:focus + div.trigger {
	border: 1px solid #000;
}

div.fancy-select select:focus + div.trigger.open {
	box-shadow: none;
}

div.fancy-select div.trigger {
	cursor: pointer;
	margin-bottom: 10px;
	padding: 13px 12px 6px 16px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	position: relative;
	background: #ffffff;
	border: 1px solid #b8b7b4;
	border-top-color: 0 none;
	color: #000000;
	font-size: 16px;
	font-family: Tahoma, Verdana, Arial, Helvetica;
	width: auto;
	height: 45px;
	box-shadow: none;
	-webkit-box-shadow: none;
	/*background: #ffffff url('../images/select_handler.png') 93% center no-repeat;*/

	transition: all 240ms ease-out;
	-webkit-transition: all 240ms ease-out;
	-moz-transition: all 240ms ease-out;
	-ms-transition: all 240ms ease-out;
	-o-transition: all 240ms ease-out;

	border-radius: 50px;
}

div.fancy-select div.trigger:after {
	content: "";
	display: block;
	position: absolute;
	width: 0;
	height: 0;
	border: 8px solid transparent;
	border-top-color: #82b910;
	top: 19px;
	right: 9px;
}

div.fancy-select div.trigger:hover:after {
	border-top-color: #0066b3;
}

div.fancy-select div.trigger.open {
	/*background: #ffffff url('../images/select_handler_open.png') 93% center no-repeat;	*/
	border: 1px solid #000;
}
/*
div.fancy-select div.trigger.open:after {
	content: "";
	display: block;
	position: absolute;
	width: 0;
	height: 0;
	border: 8px solid transparent;
	border-bottom-color: #82b910;
	top: 14px;
	right: 9px;
}
*/
div.fancy-select div.trigger.open:after {
	border-top-color: transparent;
	border-bottom-color: #82b910;
	top: 10px;
}

div.fancy-select ul.options {
	padding:0 !important;
	list-style: none;
	margin: 0px !important;
	position: absolute;
	top: 30px;
	left: 0px;
	visibility: hidden;
	opacity: 0;
	z-index: 50;
	max-height: 200px;
	overflow: auto;
	background: #fff;
	/*border-top: 1px solid #f2f2f2;*/
	border: 1px solid #000000;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
	min-width: 100%;
	width: 100%;
	font-size: 16px;
/*	max-width: 100%;
	min-width: 100%;*/
	font-family: Tahoma, Verdana, Arial, Helvetica;

	transition: opacity 300ms ease-out, top 300ms ease-out, visibility 300ms ease-out;
	-webkit-transition: opacity 300ms ease-out, top 300ms ease-out, visibility 300ms ease-out;
	-moz-transition: opacity 300ms ease-out, top 300ms ease-out, visibility 300ms ease-out;
	-ms-transition: opacity 300ms ease-out, top 300ms ease-out, visibility 300ms ease-out;
	-o-transition: opacity 300ms ease-out, top 300ms ease-out, visibility 300ms ease-out;



}

div.fancy-select ul.options.open {
	visibility: visible;
	top: 44px;
	opacity: 1;
	border-top: 1px solid #000;

	/* have to use a non-visibility transition to prevent this iOS issue (bug?): */
	/*http://stackoverflow.com/questions/10736478/css-animation-visibility-visible-works-on-chrome-and-safari-but-not-on-ios*/
	transition: opacity 300ms ease-out, top 300ms ease-out;
	-webkit-transition: opacity 300ms ease-out, top 300ms ease-out;
	-moz-transition: opacity 300ms ease-out, top 300ms ease-out;
	-ms-transition: opacity 300ms ease-out, top 300ms ease-out;
	-o-transition: opacity 300ms ease-out, top 300ms ease-out;
}
/*
.small_row_select div.fancy-select ul.options.open {
	top: 35px;
}
.big_row_select div.fancy-select ul.options.open {
	top: 35px;
}
*/
div.fancy-select ul.options.overflowing {
	top: auto;
	bottom: 40px;

	transition: opacity 300ms ease-out, bottom 300ms ease-out, visibility 300ms ease-out;
	-webkit-transition: opacity 300ms ease-out, bottom 300ms ease-out, visibility 300ms ease-out;
	-moz-transition: opacity 300ms ease-out, bottom 300ms ease-out, visibility 300ms ease-out;
	-ms-transition: opacity 300ms ease-out, bottom 300ms ease-out, visibility 300ms ease-out;
	-o-transition: opacity 300ms ease-out, bottom 300ms ease-out, visibility 300ms ease-out;
}

div.fancy-select ul.options.overflowing.open {
	top: auto;
	bottom: 35px;

	transition: opacity 300ms ease-out, bottom 300ms ease-out;
	-webkit-transition: opacity 300ms ease-out, bottom 300ms ease-out;
	-moz-transition: opacity 300ms ease-out, bottom 300ms ease-out;
	-ms-transition: opacity 300ms ease-out, bottom 300ms ease-out;
	-o-transition: opacity 300ms ease-out, bottom 300ms ease-out;
}
/*
.small_row_select div.fancy-select ul.options.overflowing.open {
	top: auto;
	bottom: 35px;
}*/

div.fancy-select ul.options li {
	/*padding: 8px 12px;*/
	padding: 8px 15px 9px !important;
	border-bottom: 1px solid #000000;
	color: #444444;
	cursor: pointer;
	white-space: nowrap;
	margin: 0px !important;

	transition: all 150ms ease-out;
	-webkit-transition: all 150ms ease-out;
	-moz-transition: all 150ms ease-out;
	-ms-transition: all 150ms ease-out;
	-o-transition: all 150ms ease-out;
}

div.fancy-select ul.options li:last-child {
	border-bottom: 0px;
}

div.fancy-select ul.options li.selected {
	/*background: #dff1fc;*/
}

div.fancy-select ul.options li.hover {
	background: #dff1fc;
}

div.fancy-select ul.options li.selected.hover {
	/*color: #91d9f9;*/
	color:#000;
}
