/**
 * @author zhixin wen <wenzhixin2010@gmail.com>
 */

.ms-parent {
	display: inline-block;
	position: relative;
	vertical-align: middle;
	border-bottom: 1px solid #DDD;
	padding-top: 22px;
}
.reminder_list .ms-parent {
	width: 100% !important;
}
.ms-choice {
	display: block;
	width: 100%;
	height: 26px;
	padding: 0;
	overflow: hidden;
	cursor: pointer;
	border: none;
	text-align: inherit !important;
	white-space: nowrap;
	line-height: 22px;
	color: #444;
	text-decoration: none;
	background-color: transparent;
	padding: 19px 0px;
	margin: 0;
}

.ms-choice.disabled,
select[disabled]+.ms-parent .ms-choice,
select[readonly]+.ms-parent .ms-choice{
	background-color: #f4f4f4;
	cursor: default;
	padding-top: 40px;
	margin-top: -22px;
	pointer-events: none;
}

.ms-choice > span {
	width: calc(100% - 16px);
	position: absolute;
	top: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	display: block;
	padding: 35px 8px 0px 8px;
	color: #000;
	font-weight: bold;
	right: 2px;
	left: 2px;
}

.ms-choice > span.placeholder {
	color: #999;
}

.ms-choice > div {
	position: absolute;
	top: 0;
	right: 0;
	width: 20px;
	height: 25px;
}

.ms-choice > div.open {
}

.ms-drop {
	width: auto;
	overflow: hidden;
	display: none;
	margin-top: -1px;
	padding: 0;
	position: absolute;
	z-index: 1000;
	background: #fff;
	color: #000;
	border: 1px solid #aaa;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	min-width: 100%;
}

.ms-drop.bottom {
	top: 100%;
	-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);
}

.ms-drop.top {
	top: 100%;
	-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);
}

.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: 7px 10px;
	margin: 0;
	outline: 0;
	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;
}

.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-y: auto;
	margin: 0;
	padding: 0;
	overflow-x: hidden;
}

.ms-drop ul > li {
	list-style: none;
	display: list-item;
	background-image: none;
	position: static;
	padding: 0px;
	margin: 0 !important;
}
.ms-drop ul > li:hover {
	background-color: #fff9a2;
}
.ms-drop ul > li span {
	margin-left: 7px;
	margin-right: 7px;
}
.ms-drop ul > li input {
	vertical-align: middle !important;
}
.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 {
	font-weight: normal;
	display: block;
	white-space: nowrap;
	position: relative !important;
	padding: 5px 10px !important;
}

.ms-drop ul > li label.optgroup {
	font-weight: bold;
}

.ms-drop input[type="checkbox"] {
	vertical-align: middle;
	width: auto !important;
	margin: 0px 5px !important;
}

.ms-drop .ms-no-results {
	display: none;
}
.ms-drop-label {
	position: relative !important;
	float: right;
	margin: 0 !important;
	padding: 0px 3px !important;
}
.field_container div.ms-parent:hover {
	background: #FFFCCD;
	transition: all 0.5s;
	color: #333;
}
