/**
 * selectFilter  --v1.0
 * 
 **/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

li {
    list-style: none;
}

.filter-disabled {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.filter-box {
    position: relative;
    border: 1px solid #E5E5E5;
}

    .filter-box select {
        display: none;
    }

.filter-text {
    height: 100%;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    padding: 0 30px 0 0px;
    background: transparent;
}

    .filter-text input {
        font-size: 14px;
        color: #595959;
        width: 80px;
    }

    .filter-text .filter-title {
        height: 48px;
        line-height: 48px;
        border: 0;
        background-color: transparent;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 0;
        cursor: pointer;
        width: 100%;
    }

.filter-list {
    display: none;
    width: calc(100% + 2px);
    max-height: 300px;
    background-color: #fff;
    font-size: 14px;
    position: absolute;
    top: 49px;
    left: -1px;
    z-index: 99;
    border: 1px solid #e6e6e6;
    overflow: auto;
}

    .filter-list li.filter-null a {
        color: #d2d2d2;
    }

    .filter-list li a {
        display: block;
        padding: 0 10px;
        line-height: 40px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        cursor: pointer;
    }

    .filter-list li:hover {
        background-color: #f2f2f2;
    }

    .filter-list li.filter-selected {
        background-color: #FDBE2A;
    }

        .filter-list li.filter-selected a {
            display: block;
            color: #fff;
        }

    .filter-list li.filter-disabled {
        background-color: #fff;
    }

        .filter-list li.filter-disabled a {
            display: block;
            color: #d2d2d2;
        }

        .filter-list li.filter-disabled:hover a {
            cursor: not-allowed !important;
            background-color: #fff;
        }

.filter-box .icon {
    position: absolute;
}

.icon-filter-arrow {
    width: 0px;
    height: 0px;
    border: 6px solid;
    border-bottom: 0px;
    border-color: #FDBE2A transparent transparent transparent;
    background-size: 100%;
    right: 10px;
    top: 22px;
    transition: all .2s;
}

    .icon-filter-arrow.filter-show {
        -webkit-transform: rotate(-180deg);
        transform: rotate(-180deg);
    }

.filter-list::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

.filter-list::-webkit-scrollbar-track {
    background: #fff
}

.filter-list::-webkit-scrollbar-thumb {
    background: #CBCBCB;
}
