
@charset "utf-8";

/*ui-select样式，可根据实际项目需求进行调整*/
.ui-select-wrap {
	display: inline-block;
	border: 1px solid #ccc;
	position: relative;
	height: 32px;
	padding-right: 15px;
	border-radius: 3px;
	cursor: pointer;
	font: 100 16px/30px "microsoft yahei";
	-webkit-user-select: none;
	user-select: none;
	z-index: 8;
	vertical-align: top;
}

.ui-select-wrap.focus {
	z-index: 9;
}

select.ui-select {
	height: 34px;
	vertical-align: top;
	padding: 0 8px 0 4px;
	border: 1px solid #aaa;
	border-radius: 3px;
	background-color: #f2f2f2;
	font: 100 16px/1 "microsoft yahei";
}

.ui-select-wrap > select {
	display: none;
	height: 34px;
	vertical-align: top;
	padding: 0 4px;
	border: 1px solid #aaa;
}

.ui-select-input {
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	right: 15px;
	padding-left: 8px;
	white-space: nowrap;
	overflow: hidden;
}

.ui-select-arrow {
	display: block;
	position: absolute;
	right: 5px;
	top: 50%;
	height: 0;
	width: 0;
	border: 5px solid transparent;
	border-width: 6px 5px 0 5px;
	border-top-color: #aaa;
}

.ui-select-arrow:after {
	content: "";
	display: block;
	position: absolute;
	right: -5px;
	top: -14px;
	height: 0;
	width: 0;
	border: 5px solid transparent;
	border-width: 0 5px 6px 5px;
	border-bottom-color: #aaa;
}

.ui-select-list {
	display: none;
	list-style: none;
	margin: 0;
	padding: 0;
	position: absolute;
	z-index: 10;
	left: -1px;
	top: 100%;
	background-color: #fff;
	border: 1px solid #aaa;
	width: 100%;
	overflow: auto;
	max-height: 200px;
	border-radius: 0 3px 3px 3px;
}

.ui-select-wrap.up .ui-select-list {
	top: auto;
	bottom: 100%;
}

.ui-select-wrap.focus .ui-select-list {
	display: block;
}

.ui-select-list > li {
	display: block;
	line-height: 28px;
	padding: 0 10px 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ui-select-list > li:hover {
	background-color: #ddd;
}

.ui-select-list > li.selected {
	background-color: #0080ff;
	color: #fff;
}

.ui-select-list > li.disabled {
	background-color: #f2f2f2;
	color: #999;
	cursor: not-allowed;
}

.ui-select-list > li.disabled.selected {
	background-color: #59adff;
	color: #f2f2f2;
	cursor: not-allowed;
}

.ui-select-wrap.disabled {
	color: #999;
	border-color: #ccc;
	cursor: not-allowed;
}

.ui-select-wrap.disabled .ui-select-arrow {
	opacity: .5;
}
