.fs-wrap {
    display: inline-block;
    cursor: pointer;
    line-height: 1;
    width: 100%;
    position: relative;
    margin-bottom: 8px;
}

.fs-label-wrap {
    position: relative;
    cursor: pointer;
    font-size: 1em;
    color: #444;
    background-color: #fff;
    padding: 5px 4px;
    margin: 0;
    border-radius: 4px;
    -webkit-box-shadow: inset 0px 1px 1px 0 rgba(0,0,0,0.4);
    -moz-box-shadow: inset 0 1px 1px 0 rgba(0,0,0,0.4);
    box-shadow: inset 0 1px 1px 0 rgba(0,0,0,0.4);
    border: 1px solid #9a9a9a;
    height: 38px;
}
.fs-label-wrap.fs-label-selected {
    /*color: #DC182D;*/
    background-color: #FFF4C7 !important;
    border: 1px solid #606060;
    }
.fs-open .fs-label-wrap {
    /*color: #DC182D;*/
    border: 1px solid #606060;
    border-radius: 4px 4px 0 0;
    }

.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: 6px 22px 5px 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.fs-arrow {
    width: 20px;
    height: 26px;
    position: absolute;
    top: 0;
    right: 1px;
    background-image: url("../img/bg-select.png");
    background-position: right 10px;
    background-repeat: no-repeat;
    background-size: 20px auto;
    cursor: pointer;
}

.fs-dropdown {
    position: absolute;
    background-color: #fff;
    border-left: 1px solid #606060;
    border-right: 1px solid #606060;
    border-bottom: 1px solid #606060;
    width: 100%;
    margin-top: 0;
    z-index: 1000;
    -webkit-box-shadow: inset 0px -1px 1px 0 rgba(0,0,0,0.4);
    -moz-box-shadow: inset 0 -1px 1px 0 rgba(0,0,0,0.4);
    box-shadow: inset 0 -1px 1px 0 rgba(0,0,0,0.4);
    border-radius: 0 0 4px 4px;
}

.fs-dropdown .fs-options {
    max-height: 280px;
    overflow: auto;
    padding-top: 5px;
}
.fs-search input {
    border: none !important;
    box-shadow: none !important;
    outline: none;
    padding: 6px 8px;
    margin: 0;
    width: 100%;
    font-style: normal;
}
.fs-search input::placeholder {
    font-style: normal;
}
.fs-optgroup-label,
.fs-option {
    padding: 8px 12px;
    margin-bottom: 0;
}
.fs-option:hover {
    background: #0087f7 !important;
    color: #fff;
}
.fs-wrap.multiple .fs-option,
.fs-search,
.fs-wrap.multiple .fs-optgroup-label {
    padding: 5px 8px;
    margin-bottom: 8px;
    border-bottom: 0px solid #eee;
    cursor: default;
}
.fs-wrap.multiple .fs-option:hover {
    background: inherit;
    color: #fd540e;
}
.fs-search {
    padding: 0 !important;
    border: 1px solid #d0d0d0;
    margin: 4px !important;
}

.fs-option:last-child {
    border-bottom: none;
}

.fs-search {
    padding: 0 8px;
}

.fs-no-results {
    padding: 6px 8px;
}

.fs-option {
    cursor: pointer;
    word-break: break-all;
}

.fs-option.disabled {
    opacity: 0.4;
    cursor: default;
}

.fs-option.hl {
    background-color: #f5f5f5;
}

.fs-wrap.multiple .fs-option {
    position: relative;
    padding-left: 38px;
}

.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 {
    cursor: pointer;
    position: absolute;
    margin: auto;
    width: 20px;
    height: 20px;
    top: 0;
    right: 0;
    border: 0 solid #ccc;
    border-radius: 4px;

    -webkit-box-shadow: inset 0px 1px 2px rgba(0,0,0,0.5), 0 1px 0 rgba(0,0,0,.4);
    -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.5), 0 1px 0 rgba(0,0,0,.4);
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.5), 0 1px 0 rgba(0,0,0,.4);

    background: -webkit-linear-gradient(top, #fff 80%, #f5f5f5 100%);
    background: -moz-linear-gradient(top, #fff 80%, #f5f5f5 100%);
    background: -o-linear-gradient(top, #fff 80%, #f5f5f5 100%);
    background: -ms-linear-gradient(top, #fff 80%, #f5f5f5 100%);
    background: linear-gradient(top, #fff 80%, #f5f5f5 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fff', endColorstr='#f5f5f5',GradientType=0 );
    z-index: 1;
}

.fs-wrap.multiple .fs-option.selected .fs-checkbox i {
    border-color: transparent;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAGCAYAAAD+Bd/7AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNXG14zYAAABMSURBVAiZfc0xDkAAFIPhd2Kr1WRjcAExuIgzGUTIZ/AkImjSofnbNBAfHvzAHjOKNzhiQ42IDFXCDivaaxAJd0xYshT3QqBxqnxeHvhunpu23xnmAAAAAElFTkSuQmCC');
    background-repeat: no-repeat;
    background-position: center;
    background: #fff4c7;
    -webkit-box-shadow: inset 0px 1px 2px rgba(0,0,0,0.8), 0 1px 0 rgba(0,0,0,.7);
    -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.8), 0 1px 0 rgba(0,0,0,.7);
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.8), 0 1px 0 rgba(0,0,0,.7);
}

.fs-wrap.multiple .fs-option.selected .fs-checkbox i:after {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0;
    content: '';
    position: absolute;
    width: 12px;
    height: 7px;
    background: transparent;
    top: 5px;
    left: 4px;
    border: 3px solid #333;
    border-top: none;
    border-right: none;

    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    z-index: 3;
    }
.fs-wrap.multiple .fs-option.selected .fs-checkbox i:hover:after {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
    filter: alpha(opacity=30);
    opacity: 0.3;
    }
.fs-wrap.multiple .fs-option.selected .fs-checkbox i:after {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    opacity: 1;
    z-index: 4;
    }
.fs-optgroup-label {
    color: #444;
    background: #f5f5f5;
    font-weight: bold;
    text-align: left;
}
.fs-option.selected {
    background: #eee;
}

.hidden {
    display: none;
}