.multiselect {
	position: relative;
	display: inline-block;
	box-sizing: border-box;
	width: 100%;
	margin: 5px 0;
	color: #333;
}

.multiselect .caption {
	position: relative;
	height: 32px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	line-height: 18px;
	border: 1px solid #aaa;
	cursor: default;
	background: #fff;
	box-shadow: inset 0 1px 2px #ddd;
	border-radius: 4px;
	padding: 6px 20px 6px 0;
}

.multiselect .caption:after {
	content: '';
	display: block;
	position: absolute;
	right: 8px;
	top: 13px;
	width: 0;
	height: 0;
	border: solid;
	border-width: 5px 4px 0;
	border-color: #888 #fff #fff;
}

.multiselect .caption .text {
	display: block;
	border-right: 1px solid #ddd;
	margin-right: 5px;
	padding: 0 6px;
	overflow: hidden;
	text-overflow: ellipsis;
}

.multiselect .caption .text i {
	display: none;	
}

.multiselect .caption:hover {
	border-color: #888;
	background: rgb(255,255,255); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(255,255,255,1) 49%, rgba(234,234,234,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(49%,rgba(255,255,255,1)), color-stop(100%,rgba(234,234,234,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 49%,rgba(234,234,234,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(255,255,255,1) 49%,rgba(234,234,234,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(255,255,255,1) 49%,rgba(234,234,234,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(255,255,255,1) 49%,rgba(234,234,234,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eaeaea',GradientType=0 ); /* IE6-9 */
}

.multiselect .caption:active {
	border-color: #444;
}

.multiselect .caption:hover:after {
	border-color: #555 #f5f5f5 #f5f5f5;
}

.multiselect.open .caption:after {
	border-width: 0 4px 5px;
	border-color: #fff #fff #555;
	top: 11px;
}

.multiselect.singleline .options {
	display: none;
	position: absolute;
	z-index: 10;
	background: #fff;
	width: 100%;
	padding: 0;
	border: solid #ABBDCF;
	border-width: 0 1px 1px;
	top: 32px;
}

.multiselect.singleline .options ul {
	overflow-y: auto;
	overflow-x: hidden;
	margin: 0;
	padding: 0;
	list-style: none;
	max-height: 350px;
	box-shadow: 0 4px 6px rgba(0,0,0,0.7);
}

.multiselect .option {
	white-space: nowrap;
	display: block;
	clear: left;
}

.multiselect .option:hover, .multiselect .option.hover {
	background: #def;
}

.multiselect .clicker {
	border: 1px solid #297CB3;
	cursor: default;
	display: block;
	float: left;
	height: 12px;
	margin: 2px 3px;
	vertical-align: top;
	width: 12px;
	background: #fff;
	overflow: hidden;
	border-radius: 2px;
}

.multiselect .clicker-mark {
	display: block;
	height: 8px;
	margin: 2px;
	width: 8px;
}

.multiselect .selected .clicker-mark {
	background: #999;
}

.multiselect .label {
	cursor: pointer;
	display: block;
	font-size: 14px;
	padding: 4px 6px;
	color: inherit;
	text-align: left;
}

.multiselect .child .label {
	padding-left: 25px;
}

.multiselect .child .label:before {
	content: '- ';
}

.multiselect .label i {
	color: #bbb;
	font-size: 0.9em;	
}

.multiselect .value {
	display: none;
}

.multiselect .decoration {
	display: none;
}

.multiselect.empty .caption {
	background: #fafafa;
	opacity: 0.6;
}

.multiselect.empty .caption .text {
	opacity: 0.4;
}

.multiselect.loading .caption  {
	background: #fff url("../images/ajax-loader_16.gif") no-repeat center center;
}

/* --- Multiline --- */
.multiselect.multiline .caption {
	display: none;
}

.multiselect.multiline .options {
	position: relative;
	display: block;
}