.ms-options-wrap,
.ms-options-wrap * {
    box-sizing: border-box;
}

.ms-options-wrap {
    position: relative;
}

.ms-options-wrap > button {
    z-index: 5;
    height: 42px;
    padding: 6px 22px 6px 12px;
    background: #fff url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') no-repeat right 16px top 55%;
    background-size: 16px 16px;
    appearance: none;
    display: block;
    width: 100%;
    font-size: 15px !important;
    line-height: 1.4 !important;
    color: #3e424a !important;
    border: 1px solid #e0e0e0;
    text-align: left;
    border-radius: 4px;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden !important;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, .05);
    cursor: pointer;
}

.ms-options-wrap > button:focus {
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0), 0 0 8px rgba(0, 136, 204, 0);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0), 0 0 8px rgba(0, 136, 204, 0);
}

.ms-options-wrap > button[disabled] {
    background-color: #e5e9ed;
    color: #808080;
    opacity: 0.6;
}

.ms-options-wrap.ms-has-selections > button {
    color: #333;
}

.ms-options-wrap > .ms-options {
    position: absolute;
    left: 0;
    width: 100%;
    margin-bottom: 20px;
    background: white;
    z-index: 2000;
    border: 1px solid #eaeaea;
    box-shadow: 0px 0px 12px 4px rgba(107, 118, 255, 0.05);
    border-radius: 4px;
    overflow: auto;
    transform: scale(0.97);
    visibility: hidden;
    transition: all .1s ease-out;
}

.ms-options-wrap.ms-active > .ms-options {
    visibility: visible;
    transform: scale(1);
}

.ms-options-wrap > .ms-options > .ms-search {
    padding: 5px;
}

.ms-options-wrap > .ms-options > .ms-search input {
    width: 100%;
    padding: 4px 5px;
    border: 1px solid #eaeaea;
    outline: none;
    border-radius: 4px;
}

.ms-options-wrap > .ms-options .ms-selectall {
    display: inline-block;
    text-decoration: none;
}
.ms-options-wrap > .ms-options .ms-selectall:hover {
    text-decoration: underline;
}

.ms-options-wrap > .ms-options > .ms-selectall.global {
    margin: 4px 5px;
    font-size: 15px;
    color: #6b76ff !important;
}

.ms-options-wrap > .ms-options > ul,
.ms-options-wrap > .ms-options > ul > li.optgroup ul {
    list-style-type: none;
    padding: 0;
    margin: 0!important;
}

.ms-options-wrap > .ms-options > ul li.ms-hidden {
    display: none;
}

.ms-options-wrap > .ms-options > ul > li.optgroup .label {
    display: block;
    padding: 0 5px;
    background-color: #f3f3f3;
    color: #888;
    font-size: 14px;
}

.ms-options-wrap > .ms-options > ul label {
    position: relative;
    display: inline-block;
    width: 100%;
    padding: 4px 4px 4px 20px;
    margin: 0 !important;
    font-weight: normal !important;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: top;
}

.ms-options-wrap > .ms-options > ul li {
    margin-bottom: 0;
    border-bottom: 1px solid #eee;
}

.ms-options-wrap > .ms-options.checkbox-autofit > ul label,
.ms-options-wrap > .ms-options.hide-checkbox > ul label {
    padding: 8px;
}

.ms-options-wrap > .ms-options .optgroup label {
    padding-left: 10px !important;
}

.ms-options-wrap > .ms-options > ul label:hover {
    background-color: #6b76ff;
    color: #fff;
}

.ms-options-wrap > .ms-options > ul li.selected label {
    background-color: #6b76ff;
    color: #fff;
}

.ms-options-wrap > .ms-options > ul input[type="checkbox"] {
    margin: 0 5px 0 0;
    position: absolute;
    left: 4px;
    top: 7px;
}

.ms-options-wrap > .ms-options.hide-checkbox > ul input[type="checkbox"] {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px 1px 1px 1px);
    clip: rect(1px, 1px, 1px, 1px);
}