div.fancy-select {
	position: relative;
	font-size: 14px;
	color: #333;
	display: inline-block;
	vertical-align: middle;
	min-width:60px;
	height:30px;
	line-height:0;
	*margin-right:4px;
}

div.fancy-select.disabled {
	opacity: 0.5;
}

div.fancy-select select:focus + div.trigger {
}

div.fancy-select select:focus + div.trigger.open {
}

div.fancy-select div.trigger {
	cursor: pointer;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	position: relative;
	width: 100%;
	box-sizing:border-box;
	margin-top:-30px;
	height:30px;
	line-height:29px;
	padding:0 8px;
	background: #FFF;
	border: 1px solid #bbb;
	border-radius: 4px;
	transition:all 0.3s;
	-webkit-transition:all 0.3s;
}

div.fancy-select div.trigger:after {
	display: block;
	position: absolute;
	top: 0;
	right: 4px;
	/* content:"\25bc"; */
	/*
	transform:scaleY(0.6);
	-webkit-transform:scaleY(0.6); */
	 content:"";
	transform:rotate(90deg);
	-webkit-transform:rotate(90deg);
	width: 30px;
	height: 30px;
	background: url("../../img/icon/dark/arrow_right.icon.png") center no-repeat;
	margin-top: 6px;
	transition: 0.3s;
    -webkit-transition: 0.3s;
}

div.fancy-select div.trigger.open {
}

div.fancy-select div.trigger.open:after {
	-webkit-transform: rotate(-90deg);
	transform: rotate(-90deg);
}

div.fancy-select ul.options {
	display:none;
	box-sizing:border-box;
	list-style: none;
	margin: 0;
	padding:0;
	position: absolute;
	left: 0;
	visibility: hidden;
	z-index: 50;
	overflow: auto;
	min-width:100%;
	max-height:400px;
	background: #FFF;
	border: 1px solid #bbb;
	border-radius: 4px;
	box-shadow: 0 3px 8px rgba(0,0,0,0.3);
    -webkit-animation: fadeInDown 0.2s both;
    animation: fadeInDown 0.2s both;
	margin-top: 4px;
}

div.fancy-select ul.options.open {
	visibility: visible;
	display:block;
}

div.fancy-select ul.options.overflowing {
	top: auto;
	bottom: 40px;
}

div.fancy-select ul.options.overflowing.open {
	top: auto;
	bottom: 50px;
}

div.fancy-select ul.options li {
	list-style:none;
	cursor: pointer;
	white-space: nowrap;
	height:20px;
	line-height:20px;
	padding:0 8px;
	text-align: center;
}

div.fancy-select ul.options li.selected {
	font-weight: 400!important;
	color: #333!important;
	background:#fff!important;
	color:#fff;
}

div.fancy-select ul.options li.hover {
	background:#F0F2F6!important;
}

.fancified { opacity:0; filter:alpha(opacity=0); height: 0;}
div.fancy-select.select_s { font-size:12px; height:26px; }
div.fancy-select.select_s .trigger { height:26px; line-height:26px; margin-top:-26px; }
div.fancy-select.select_l { font-size:14px; height:auto; }
div.fancy-select.select_l .trigger { height:auto; line-height:42px; margin-top:0px; }
div.fancy-select.error .trigger{ background-color:#fef2f2 !important; border-color:#E74E40 !important; -webkit-animation:shakeX 0.2s; animation:shakeX 0.2s; }
div.fancy-select ul.options.overflowing.open { bottom:30px; box-shadow:0 0 8px rgba(0,0,0,0.3); }
div.fancy-select.select_s ul.options.overflowing.open { bottom:26px; }
div.fancy-select.select_l ul.options.overflowing.open { bottom:44px; }

.input_group .fancy-select { float:left; }
.input_group .fancy-select select { float:none; }
.input_group .fancy-select .trigger { border-color:transparent; background-color:rgba(255,255,255,0.01); }

.choice_content_box .fancy-select { height:40px; }
.choice_content_box .fancy-select .trigger { font-size:18px; height:40px; line-height:38px; margin-top:-40px; }
.choice_content_box  div.fancy-select div.trigger:after { font-size:14px; }


div.fancy-select ul.options li {
	list-style:none;
	cursor: pointer;
	white-space: nowrap;
	height:42px;
	line-height:42px;
	padding:0 8px;
	border-bottom: 1px solid #F2F2F2 ;
	text-align: center;
}

div.fancy-select ul.options li.selected{
	/* background: #F0F2F6 !important; */
	color: #fff;
	font-weight: 700;
}

div.fancy-select.age ul{
	max-height: 170px;
}