div.fancy-select {
	position: relative;
	font-size: 14px;
	color:#010101;

}

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 {
	
	font-size:13px;
	line-height:36px;
	color:#5d5d5d;
	
	font-weight:normal;
	cursor: pointer;
	padding: 0 15px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	position: relative;
	background: #f1f0f0;
	height:32px;
	border: none;
    box-shadow: 1px 3px 3px #d7d6d6 inset;
	border-radius: 5px;

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

div.fancy-select div.trigger:after {
	content: "";
	display: block;
	position: absolute;
	width: 28px;
	height: 28px;
	top: 2px;
	right: 2px;
	background:url(../images/sel_down_arr.png) no-repeat right center;
}

div.fancy-select div.trigger.open:after { background:url(../images/sel_up_arr.png) no-repeat right center; } 

div.fancy-select div.trigger.open {
	
	
/*	background: #4A5368;
	border: 1px solid #475062;
	color: #7A8498;
	box-shadow: none;
*/}

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

}

div.fancy-select ul.options {
	list-style: none;
	margin: 0;
	padding:0;
	position: absolute;
	top: 38px;
	left: -2px;
	right:-2px;
	visibility: hidden;
	opacity: 0;
	z-index: 50;
	max-height: 200px;
	overflow: auto;
	background: #f1f0f0;
	border:1px solid #d8d8d8;
	border-top: none;
	
	min-width: 100%;

	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;
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
div.fancy-select ul.options { top:38px !important; }
#header .choose_lang div.fancy-select ul.options { top:25px !important; }

} 
@media screen and (-webkit-min-device-pixel-ratio:0) {
div.fancy-select ul.options { top:38px !important; }
#header .choose_lang div.fancy-select ul.options { top:25px !important; }

}

div.fancy-select ul.options { top:38px !important; }
#header .choose_lang div.fancy-select ul.options { top:25px !important; }

div.fancy-select ul.options.open {
	visibility: visible;
	top: 36px;
	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 !important;
	bottom: 38px !important;

	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 !important;
	bottom: 38px !important;

	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: 8px 12px;
	color: #010101;
	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;
}

div.fancy-select ul.options li.selected {
	background: #1965ab;
	color: #fff;
}

div.fancy-select ul.options li.hover {
	background: #1965ab;
	color: #fff;
}