﻿

.pm-selector-small {
    width: 90px;
    height: 28px;
    line-height: 28px;
}

.pm-selector-medium {
    width: 150px;
    height: 30px;
    line-height: 30px;
}


.pm-selector {
    width: 100%;
    height: 32px;
    border: 1px solid #dadada;
    position: relative;
    box-sizing: border-box;
    /*z-index: 9999;*/
}

.pm-selector-large {
    height: 34px !important;
}

.pm-selector .pm-selector-input {
}

    .pm-selector .pm-selector-input input {
        width: 100%;
        padding: 0 5px;
        box-sizing: border-box;
        height: 30px;
        border: none;
        font-size: 12px;
        display: block;
        background-image: url('../images/fold.png');
        background-repeat: no-repeat;
        background-position: calc(100% - 5px) center;
    }

.pm-selector .pm-selector-dropdown {
    /*width: 100%;*/
    left: -1px;
    right: -1px;
    /*height: 170px;*/
    min-height: 35px;
    background-color: #fff;
    box-shadow: 0 1px 6px rgba(0,0,0,.2);
    box-sizing: border-box;
    position: absolute;
    outline: none;
    font-size: 13px;
    max-height: 400px;
    overflow: auto;
    margin-top: 5px;
    z-index: 999;
    padding-bottom: 1px;
}

.pm-selector .pm-selector-tree {
    margin: 0;
    font-size: 14px;
}

    .pm-selector .pm-selector-tree li {
        list-style: none;
        white-space: nowrap;
        outline: 0;
        /*height: 35px;*/
        line-height: 35px;
    }

        .pm-selector .pm-selector-tree li.nodata {
            cursor: not-allowed;
            opacity: .5 !important;
            background: transparent !important;
        }

        .pm-selector .pm-selector-tree li.selected, .pm-selector .pm-selector-tree li:hover {
            background-color: #eef1f9;
        }



    .pm-selector .pm-selector-tree .pm-selector-arrow {
        width: 24px;
        height: 24px;
        display: inline-block;
        vertical-align: middle;
        cursor: pointer;
    }

    .pm-selector .pm-selector-tree .pm-selector-text {
        display: inline-block;
        /*vertical-align: middle;*/
        font-size: 12px;
        color: #415161;
        padding: 0 5px;
        border-radius: 2px;
        cursor: pointer;
    }

    .pm-selector .pm-selector-tree li:not(.nodata):hover .pm-selector-text {
        color: #13c19f;
    }


.pm-selector .pm-selector-child-tree {
    margin-left: 20px;
}


/*多级分类*/
.pm-multi-selector {
    width: 100%;
    height: 32px;
    border: 1px solid #d3e0eb;
    position: relative;
    box-sizing: border-box;
}

    .pm-multi-selector .pm-selector-input {
    }

        .pm-multi-selector .pm-selector-input input {
            width: 100%;
            padding: 0 5px;
            box-sizing: border-box;
            height: 30px;
            border: none;
            display: block;
            background-image: url('../images/fold.png');
            background-repeat: no-repeat;
            background-position: calc(100% - 5px) center;
        }

            .pm-multi-selector .pm-selector-input input[disabled] {
                cursor: not-allowed;
            }

    .pm-multi-selector .pm-selector-dropdown {
        width: 100%;
        height: 170px;
        background-color: #fff;
        box-shadow: 0 1px 6px rgba(0,0,0,.2);
        box-sizing: border-box;
        position: absolute;
        outline: none;
        font-size: 13px;
        max-height: 400px;
        overflow: auto;
        margin-top: 5px;
        padding: 8px;
        z-index: 999;
    }

    .pm-multi-selector .pm-selector-tree {
        margin: 0;
        font-size: 14px;
    }

        .pm-multi-selector .pm-selector-tree li {
            list-style: none;
            white-space: nowrap;
            outline: 0;
            margin: 6px 0;
        }


    .pm-multi-selector .pm-selector-text.selected {
        background-color: #d2f3ed !important;
    }

    .pm-multi-selector .pm-selector-text:hover {
        background-color: #ecfaf7;
    }

    .pm-multi-selector .pm-selector-tree .pm-selector-arrow {
        width: 24px;
        height: 24px;
        display: inline-block;
        vertical-align: middle;
        cursor: pointer;
    }

        .pm-multi-selector .pm-selector-tree .pm-selector-arrow.fold {
            background-image: url('../images/fold2.png');
            background-size: 12px;
            background-position: center;
            background-repeat: no-repeat;
            transform: rotate(-90deg);
        }

        .pm-multi-selector .pm-selector-tree .pm-selector-arrow.unfold {
            background-position: center;
            transform: rotate(0deg);
        }


    .pm-multi-selector .pm-selector-tree .pm-selector-text {
        line-height: 24px;
        display: inline-block;
        vertical-align: middle;
        font-size: 12px;
        color: #415161;
        padding: 3px 5px;
        border-radius: 2px;
        cursor: pointer;
    }


    .pm-multi-selector .pm-selector-child-tree {
        margin-left: 24px;
        display: none;
    }



/*选择用户*/
.pm-user-selector {
    width: 100%;
    height: 32px;
    border: 1px solid #d3e0eb;
    position: relative;
    box-sizing: border-box;
}

    .pm-user-selector .pm-selector-input {
    }

        .pm-user-selector .pm-selector-input input {
            width: 100%;
            padding: 0 5px;
            box-sizing: border-box;
            height: 30px;
            border: none;
            display: block;
            background-image: url('../images/fold.png');
            background-repeat: no-repeat;
            background-position: calc(100% - 5px) center;
        }

    .pm-user-selector .pm-selector-dropdown {
        width: 100%;
        height: 170px;
        background-color: #fff;
        box-shadow: 0 1px 6px rgba(0,0,0,.2);
        box-sizing: border-box;
        position: absolute;
        outline: none;
        font-size: 13px;
        max-height: 400px;
        overflow: auto;
        margin-top: 5px;
        padding: 8px;
        z-index: 999;
    }

    .pm-user-selector .pm-selector-tree {
        margin: 0;
        font-size: 14px;
    }

        .pm-user-selector .pm-selector-tree li {
            list-style: none;
            white-space: nowrap;
            outline: 0;
            margin: 6px 0;
        }


    .pm-user-selector .pm-selector-text.selected {
        background-color: #d2f3ed !important;
    }

    .pm-user-selector .pm-selector-text:hover {
        background-color: #ecfaf7;
    }

    .pm-user-selector .pm-selector-tree .pm-selector-arrow {
        width: 24px;
        height: 24px;
        display: inline-block;
        vertical-align: middle;
        cursor: pointer;
    }

        .pm-user-selector .pm-selector-tree .pm-selector-arrow.fold {
            background-image: url('../images/fold2.png');
            background-size: 12px;
            background-position: right center;
            background-repeat: no-repeat;
        }

        .pm-user-selector .pm-selector-tree .pm-selector-arrow.unfold {
            transform: rotate(180deg);
            background-position: left center;
        }


    .pm-user-selector .pm-selector-tree .pm-selector-text {
        line-height: 24px;
        display: inline-block;
        vertical-align: middle;
        font-size: 12px;
        color: #415161;
        padding: 3px 5px;
        border-radius: 2px;
        cursor: pointer;
    }


    .pm-user-selector .pm-selector-child-tree {
        margin-left: 24px;
        display: none;
    }


.divPmwayDialog-Tree {
    padding: 18px;
}

.search-wrap {
    height: 35px;
    border: 1px solid #ccc;
    border-bottom: none;
    position: relative;
}

    .search-wrap i {
        position: absolute;
        top: 0;
        left: 0;
        width: 35px;
        height: 35px;
        background-image: url(../images/i-search.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: 18px;
        cursor: pointer;
    }

    .search-wrap input {
        display: block;
        height: 35px;
        line-height: 35px;
        padding-left: 35px;
        border: none;
    }

.tree-wrap {
    border: 1px solid #ccc;
    height: 300px;
    overflow: hidden auto;
}

    .tree-wrap .layui-tree .layui-icon-file {
        display: none;
    }

    .tree-wrap .layui-tree .layui-unselect.layui-checkbox-disbaled {
        display: none;
    }

    .tree-wrap .eleTree-checkbox-disabled {
        display: none;
    }

    .tree-wrap .layui-tree .layui-tree-txt.layui-disabled {
        cursor: pointer !important;
        color: #555 !important;
    }

.result-wrap {
    border: 1px dashed #ccc;
    background-color: #ffffe1;
    margin-top: 8px;
    padding: 9px 11px;
    line-height: 17px;
    font-size: 14px;
    position: relative;
}

    .result-wrap span {
        position: absolute;
        font-size: 14px;
    }

    .result-wrap #ulSelected {
        display: inline-block;
        margin-left: 70px;
    }

        .result-wrap #ulSelected li {
            float: left;
            margin-bottom: 5px;
        }

    .result-wrap .selectedItem {
        padding-right: 13px;
        margin-right: 8px;
        display: inline-block;
        background-image: url('../images/remove.gif');
        background-repeat: no-repeat;
        background-position: right 5px;
        font-size: 14px;
        cursor: pointer;
    }
