



div.fancy-select {
	position: relative;
	color: #fff;
}

div.fancy-select.disabled {
	opacity: 0.5;
}

div.fancy-select select:focus + div.trigger {
	
}

div.fancy-select select:focus + div.trigger.open {
	box-shadow: none;
}

div.fancy-select div.trigger {	
	cursor: pointer;
	padding: 5px 46px 5px 9px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	position: relative;
	color: #fff;
	width: 160px;
	background-color:rgb(39,84,163);
	height:22px;

	transition: all 240ms ease-out;
	-webkit-transition: all 140ms ease-out;
	-moz-transition: all 140ms ease-out;
	-ms-transition: all 140ms ease-out;
	-o-transition: all 140ms ease-out;
}

div.fancy-select.disabled div.trigger {	
	cursor:default;
}

div.fancy-select div.trigger:after {
	content: "";
	display: block;
	position: absolute;
	width: 32px;
	height: 32px;
	top: 0px;
	right: 0px;
	background-color:inherit;
	border-left:2px solid #fff;
	background-image:url('../images/arrow_down_new.png');
}

/*
div.fancy-select:not(.disabled) div.trigger:hover {
	background-color: rgb(132,213,247);
}
*/

div.fancy-select:not(.disabled) div.trigger:hover:after {
	background-image:url('../images/arrow_down_new_2.png');
}

div.fancy-select div.trigger.open {
	
}

div.fancy-select div.trigger.open:after {
	
}



div.fancy-select ul.options {
	list-style: none;
	margin: 0;
	position: absolute;
	top: 32px;
	left: 0px;
	visibility: hidden;
	opacity: 0;
	z-index: 50;
	max-height: 200px;
	overflow: auto;
	color: #fff;
	min-width: 215px;
	margin:0px;
	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: 32px;
	opacity: 1;

	/* 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;
}

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: 50px;

	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;
}

div.fancy-select ul.options li {
	padding: 6px 12px;
	color: #fff;
	cursor: pointer;
	white-space: nowrap;
	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;
	background:rgba(68,68,68,0.9);
	border-top:1px solid rgba(100,100,100,1);
}


#page_content div.fancy-select ul.options li {
	margin:0px;
}

div.fancy-select ul.options li.selected {
	background:rgba(68,68,68,1);
	color: #fff;
}

div.fancy-select ul.options li.hover {
	color: #fff;
	background:rgba(68,68,68,1);
}