/**
 * @author zhixin wen <wenzhixin2010@gmail.com>
 */

.ms-parent {
    display: inline-block;
    position: relative;
    vertical-align: middle;
}

.ms-choice {
    display: block;
    width: 100%;
    height: 30px;
	min-height:30px;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    text-align: left;
    white-space: nowrap;
    line-height: 30px;
    color: #333;
    text-decoration: none;
    background: #fff;
	border:1px solid #ccc;
	text-transform:none;
	font-size:16px;
}

.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: 5px;
	text-align:left;
}

.ms-choice > span.placeholder {
    color: #000;
}

.ms-choice > div {
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 25px;
    background: url('./multiple-select.png') left top no-repeat;
}

.ms-choice > div.open {
    background: url('./multiple-select.png') right top no-repeat;
}

.ms-drop {
    width: 100%;
    overflow: hidden;
    display: none;
    margin-top: 7px;
    padding: 0;
    position: absolute;
    z-index: 20;
    background: #fff;
    color: #000;
    border: 1px solid #aaa;
    border-radius: 6.957px;
    border: 1.391px solid #D4D4D4;
    background: #FFF;
    padding: 2px;
}

.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 {
    bottom: 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 7px;
    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;
      outline-color: currentcolor;
    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;
    border-radius: 6px !important;
    border: 1px solid #00000010 !important;
    padding: 5px 10px 5px 40px !important;
    background: url(../img/Vector.png) !important;
    background-repeat: no-repeat !important;
    background-position: 10px !important;
}

.ms-search input::placeholder{
    opacity: 1 !important;
    color: #00000020 !important;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    font-family: 'Gilroy Regular', sans-serif;
}

.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;
    position: relative;
}

.ms-drop ul {
    overflow: auto;
    margin: 0;
    padding: 5px 8px;
}

.ms-drop ul > li {
    list-style: none;
    display: list-item;
    background-image: none;
    position: static;
    font-size: 13px;
    /* padding: 7px 10px;
    border-bottom: 1px solid #00000020; */
}
.ms-drop ul > li:last-child{
    border-bottom: none;
}

.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;
	text-align:left;
}

.ms-drop ul > li label.optgroup {
    font-weight: bold;
}

.ms-drop input[type="checkbox"] {
    vertical-align: middle;
    width: 20px !important;
    height: 20px;
    float: right;
    -webkit-appearance: none;
    border: 1.162px solid #004DA3 !important;
    border-radius: 3.487px !important;
    margin-top: 5px;
    position: relative;
    padding: 0px !important;
    cursor: pointer;
}
.ms-drop input[type="checkbox"]:checked{
    background-color: #004da3;
    background-image: url(../img/checkbox-icon.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}

.ms-drop .ms-no-results {
    display: none;
}
