.ms-parent {
  display: inline-block;
  position: relative;
  vertical-align: middle;
  width: 100%;
}

.ms-parent button {
  width: 100%;
}

.ms-choice {
  display: block;
  height: 35px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid #aaa;
  text-align: left;
  white-space: nowrap;
  line-height: 35px;
  color: #444;
  text-decoration: none;
  border-radius: 4px;
  background-color: #fff;
}

.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: 2px 10px 0;
  font-size: 13px;
  color: black;
}

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

.ms-choice > div {
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 25px;
  background: url(../../images/caret-svg.svg?501753f564d5c1d739bfe0b88f33ee47) -8px 5px no-repeat;
}

.ms-choice > div.open {
  background: url(../../images/caret-svg.svg?501753f564d5c1d739bfe0b88f33ee47) -8px 5px no-repeat;
}

.ms-drop {
  overflow: hidden;
  display: none;
  margin-top: -1px;
  padding: 0;
  position: absolute;
  z-index: 1000;
  top: 100%;
  background: #fff;
  color: #000;
  border: 1px solid #aaa;
  border-radius: 4px;
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15);
  width: 100%;
}

.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;
  border-radius: 0;
  box-shadow: none;
  background: #fff url(../../images/multiple-select.png?b94c03fbf516e1341fd4596d3d210d66) no-repeat 100% -22px;
  background-position: 600px -17px;
}

.ms-search,
.ms-search input {
  -khtml-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

.ms-drop ul {
  margin: 0;
  padding: 5px 8px;
}

.ms-drop ul > li {
  list-style: none;
  display: list-item;
  background-image: none;
  position: static;
}

.ms-drop ul > li .disabled {
  opacity: 0.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 {
  white-space: nowrap;
  text-overflow: ellipsis;
}

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

.ms-drop input[type=checkbox] {
  vertical-align: middle;
}

.ms-drop ul > li {
  width: 110px !important;
  margin-bottom: 0px;
}

.ms-drop ul > li label {
  padding-left: 28px;
  font-size: 13px;
  min-height: 28px;
  color: #171717 !important;
  cursor: pointer;
}

.ms-drop label.multi-select-menuitem:before {
  left: 0;
}

.ms-drop label.multi-select-menuitem.selected:after {
  left: 0;
}

.ms-drop ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 4px 15px 10px;
  justify-content: flex-start;
  max-height: 190px !important;
  overflow: auto;
}

@media screen and (max-width: 1400px) {
  .ms-drop ul {
    max-height: 150px !important;
  }
}

.ms-drop .select-all {
  width: 100% !important;
}

