.fs-wrap {
    position: relative;
    width: 200px;
    margin: 3px;
    font-size: 12px;
    line-height: 1;
    vertical-align: middle;
    font-family: var(--esp-font-family-light);
}

.fs-label-wrap {
    position: relative;
    border: 1px solid #ccc;
    cursor: default;
    color: #38393a;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    height: 42px;
}
.fs-wrap:not(.multiple) .fs-label-wrap .fs-label {
    height: 42px;
    display: flex;
    align-items: center;
}
.fs-wrap.multiple .fs-label-wrap {
    height: auto;
    min-height: 42px;
    padding: 4px 0;
    box-sizing: border-box;
}
.fs-label-wrap,
.fs-dropdown {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.fs-label-wrap .fs-label {
    padding: 2px 22px 2px 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
}

.fs-arrow {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid #000;
    position: absolute;
    top: 0;
    right: 4px;
    bottom: 0;
    margin: auto;
    cursor: pointer;
}

.fs-dropdown {
    position: absolute;
    background-color: #fff;
    border: 1px solid #ccc;
    /*margin-top: 2px;*/
    width: 100%;
    z-index: 1000;
    border-radius: 4px;
}

.fs-dropdown .fs-options {
    max-height: 200px;
    overflow: auto;
}

.fs-search input {
    width: 90%;
    padding: 2px 4px;
    border: 0;

}

.fs-selectAll {
    float: right;
    cursor: pointer;
    margin-top: 4px;
    height: auto;
}

.fs-selectAll.selected {
    float: right;
    cursor: pointer;
    margin-top: 4px;
    height: auto;
    color: green;
}

.fs-selectAll:hover{
    background-color: #eee;
}

.fs-option,
.fs-search,
.fs-optgroup-label {
    padding: 6px 8px;
    border-bottom: 1px solid #eee;
    cursor: default;
}

.fs-option {
    cursor: pointer;
}

.fs-option.hl {
    background-color: #f5f5f5;
}

.fs-wrap.multiple .fs-option {
    position: relative;
    padding-left: 30px;
}

.fs-wrap.multiple .fs-checkbox {
    position: absolute;
    display: block;
    width: 30px;
    top: 0;
    left: 0;
    bottom: 0;
}

.fs-wrap.multiple .fs-option .fs-checkbox i {
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 14px;
    height: 14px;
    border: 1px solid #aeaeae;
    border-radius: 4px;
    background-color: #fff;
}

.fs-wrap.multiple .fs-option.selected .fs-checkbox i {
    background-color: rgb(17, 169, 17);
    border-color: transparent;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAGCAYAAAD+Bd/7AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNXG14zYAAABMSURBVAiZfc0xDkAAFIPhd2Kr1WRjcAExuIgzGUTIZ/AkImjSofnbNBAfHvzAHjOKNzhiQ42IDFXCDivaaxAJd0xYshT3QqBxqnxeHvhunpu23xnmAAAAAElFTkSuQmCC');
    background-repeat: no-repeat;
    background-position: center;
}


.fs-wrap .fs-option:hover {
    /*background-color: #f5f5f5;*/
    background: #D1F3E5;
    border-radius: 4px;
    margin-left:0px;
    margin-right:2px;
}

.fs-optgroup-label {
    font-family: var(--esp-font-family-trueno-semibold);
}

.hidden {
    display: none;
}

.webform-component--mpn .fs-options:not(.search) .fs-optgroup:not(.show),
.webform-component--mpn .fs-options:not(.search) .fs-option:not(.show) {
    display: none;
}

.webform-component--mpn .fs-options:not(.search) .fs-optgroup,
.webform-component--mpn .fs-options:not(.search) .fs-optgroup.title {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    cursor: pointer;
    padding-right: .5em;
    box-sizing: border-box;
}
.webform-component--mpn .fs-options:not(.search) .fs-optgroup:hover {
    background-color: #eee;
}
.webform-component--mpn .fs-options:not(.search) .fs-optgroup-down {
    position: absolute;
    right: 1em;
    top: 10px;
    display: block;
    width: 10px;
    height: 10px;
    border-top: 1px solid #38393a;
    border-right: 1px solid #38393a;
    transform: rotate(135deg);
    box-sizing: border-box;
    transition: transform .1s linear;
}
.webform-component--mpn .fs-options:not(.search) .fs-optgroup.active .fs-optgroup-down {
    transform: rotate(-45deg);
    top: 15px;
}
.webform-component--mpn .fs-option[data-parent-level="root"] {
    display: block !important;
    font-family: var(--esp-font-family-trueno-semibold);
}
.i18n-zh-hans .fs-optgroup-label,
.i18n-zh-hans .fs-option[data-parent-level="root"]  {
    font-weight: bold !important;
}

.fs-options::-webkit-scrollbar {
 width: 6px;
}
 .fs-options::-webkit-scrollbar-track {
 -webkit-border-radius: 2em;
 -moz-border-radius: 2em;
 border-radius:2em;
 -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
  background: rgba(0,0,0,0.1);
}
 .fs-options::-webkit-scrollbar-thumb {
   -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
  background: rgba(0,0,0,0.2);
 -webkit-border-radius: 2em;
 -moz-border-radius: 2em;
 border-radius:2em;
}
.fs-select-text {
    background: transparent;
    font-size: 12px;
    line-height: 24px;
    display: inline-block;
    padding: 0 8px;
    border-radius: 4px;
    border-radius: var(--esp-border-radius-small);
    margin: 2px;
    color: #38393a;
    color: var(--esp-color-primary);
    border: 1px solid #1290D8;
    border: 1px solid var(--esp-color-blue);
    box-sizing: border-box;
}
.fs-select-text .icon-close {
    font-size: 12px;
    margin-left: 5px;
    color: #38393a;
}
.fs-select-text .icon-close:hover {
    color: #1290D8;
    color: var(--esp-color-blue) !important;
}
.fs-wrap.multiple .fs-label {
    overflow: hidden;
    overflow-y: auto;
    min-height: 34px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    max-height: 120px;
}