/**
 * @author zhixin wen <wenzhixin2010@gmail.com>
 */
 img{border:none;}

.ms-parent {
	display: inline-block;
	position: relative;
	vertical-align: middle;
	width:100%;
	float:left;
	border:none;
}

.ms-choice {
	float:left;
	display: block;
	height: 40px;
	width:100% !important;
	padding: 0;
	overflow: hidden;
	cursor: pointer;
	border: 0px solid #aaa;
	text-align: left;
	white-space: nowrap;
	line-height: 40px;
	text-decoration: none;
	background-color:transparent; /* Old browsers */
    color:#828282;
    font-family: inherit;
    font-size:16px;
	border: 1px solid #7e7e7e;
	background-image:url(../../../images/select-arrow.png); 
	background-position:right center; 
	background-repeat:no-repeat;
}

.ms-choice.disabled {
	background-color: #f4f4f4;
	background-image: none;
	border: 1px solid #ddd;
	cursor: default;
}

.ms-choice > span {
	position: absolute;
	top: 0;
	left: 0;
	right: 20px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	display: block;
	padding-left: 8px;
}

.ms-choice > span.placeholder {
	color: #828282;
}

.ms-choice > div {
	position: absolute;
	top: 1px;
	right: 0;
	width: 25px;
	height: 26px;
	/*background:url("select-arrow.gif") no-repeat scroll left top rgba(0, 0, 0, 0);*/
	/*background: url('../images/select-arrow.gif') right top no-repeat;*/
	
}

.ms-choice > div.open {
	/*background:url("select-arrow.gif") no-repeat scroll left top rgba(0, 0, 0, 0);*/
	/*background: url('../images/select-arrow.gif') left top no-repeat;*/
}

.ms-drop {
	min-height:28px;
	overflow: hidden;
	display: none;
	margin-top: -1px;
	padding: 0;
	position: absolute;
	z-index: 1000;
	top: 100%;
	background: #fff;
	width:99.5% !important;
	color: #000;
	border: 1px solid #aaa;
	/*-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;*/
	-webkit-box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
	-moz-box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
	box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
	padding-bottom:30px;
}


.ms-search {
	display: inline-block;
	margin: 0;
	min-height: 26px;
	padding: 4px;
	position: relative;
	white-space: nowrap;
	width: 100%;
	z-index: 10000;
}

.ms-search input {
	width: 100%;
	height: auto !important;
	min-height: 24px;
	padding: 0 20px 0 5px;
	margin: 0;
	outline: 0;
	font-family: sans-serif;
	font-size: 1em;
	border: 1px solid #aaa;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	background: #fff url('multiple-select.png') no-repeat 100% -22px;
	background: url('multiple-select.png') no-repeat 100% -22px, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, white), color-stop(0.99, #eeeeee));
	background: url('multiple-select.png') no-repeat 100% -22px, -webkit-linear-gradient(center bottom, white 85%, #eeeeee 99%);
	background: url('multiple-select.png') no-repeat 100% -22px, -moz-linear-gradient(center bottom, white 85%, #eeeeee 99%);
	background: url('multiple-select.png') no-repeat 100% -22px, -o-linear-gradient(bottom, white 85%, #eeeeee 99%);
	background: url('multiple-select.png') no-repeat 100% -22px, -ms-linear-gradient(top, #ffffff 85%, #eeeeee 99%);
	background: url('multiple-select.png') no-repeat 100% -22px, linear-gradient(top, #ffffff 85%, #eeeeee 99%);
}

.ms-search, .ms-search input {
	-webkit-box-sizing: border-box;
	-khtml-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

.ms-drop ul {
	overflow: scroll;
	margin: 0;
	padding: 0 0 0 0;
	max-height:320px;
}

.ms-drop ul > li {
	list-style: none;
	display: list-item;
	background-image: none;
	position: static;
    font-family: inherit;
    font-size: 14px;
    border-bottom:1px dotted #515151;
    color:#555;
    transition: all 0.1s ease-in-out 0s;
}
.ms-drop ul > li:last-child{padding-bottom:10px;}

.ms-drop ul > li:first-child input{background-color:#f3f3f3 !important;color:#555;padding-bottom:15px;}

.ms-drop ul > li:hover:not(:first-child){
	background:#f1f1f1;
}
.ms-drop ul > li .disabled {
	opacity: .35;
	filter: Alpha(Opacity=35);
}

.ms-drop ul > li.multiple {
	display: block;
	float: left;
}

.ms-drop ul > li.group {
	clear: both;
}

.ms-drop ul > li.multiple label {
	width: 100%;
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ms-drop ul > li label.optgroup {
	font-weight: bold;
}

.ms-drop input[type="checkbox"] {
	vertical-align: middle;
	margin: 0 3px 0 0;
}

.ms-drop ul > li label{margin: 0px; padding: 12px 7px; width: 100%; cursor: pointer; transition: all 0.1s ease-in-out 0s !important;}

/*.ms-drop{position: relative;}*/
.ms-drop-close{position: absolute; bottom:0px; left: 0px; width: 100%; background-color:#dadada; width:100%; cursor:pointer; border-radius:0px; z-index: 1;}

.ms-drop ul > li label .search-inside{border:solid 1px #e5e5e5; width:100%; padding:10px;}
