$font-family-H:'Helvetica Neue',Tahoma,'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', STHeitiSC, sans-serif;
$font-family-A:"Helvetica Neue",Tahoma,"PingFang SC","Hiragino Sans GB",SimSun,STHeitiSC,sans-serif;
$Sp-6: 16px;
a {
    text-decoration: none;
}

.clearfix {
    
    &:after {
        content: '';
        display: block;
        clear: both;
        height: 0;
        visibility: hidden;
        overflow: hidden;
    }
}

/*
.twm-scroll::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    background-color: transparent
}

.twm-scroll::-webkit-scrollbar-track {
    border-radius: 0;
    background-color: transparent;
}

.twm-scroll::-webkit-scrollbar-thumb {
    border-radius: 0;
    background-color: rgba(150, 150, 150, .5);
    border-radius: 5px
}*/

.us-container {
    overflow: hidden;
    position: absolute;
    background-color: #fff;
    box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.15);
    border-radius: 5px;
    -webkit-animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
      animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
    -webkit-animation-duration: .2s;
      animation-duration: .2s;
  -webkit-animation-fill-mode: both;
      animation-fill-mode: both;
  -webkit-animation-play-state: paused;
      animation-play-state: paused;
      -webkit-animation-name: antSlideUpIn;
      animation-name: antSlideUpIn;
  -webkit-animation-play-state: running;
      animation-play-state: running;
    .us-search {
        width: 100%;
        .base-search-component {
            display: inline-block;
            width: 100%;
            margin-bottom: 5px;
        }
    }
    .us-simple-container {
        box-sizing: border-box;
        width: 310px;
        outline: none;
        height: 415px;
        padding: 0 15px;
        border-radius: 2px;
        /*box-shadow: 0 3px 5px rgba(0, 0, 0, .3);*/
        font-family: $font-family-H;
        .us-search-result {
            padding: 5px 0;
            cursor: auto;
            box-sizing: border-box;
            height: 335px;
            width: 100%;
            overflow-y: auto;
        }
        .us-to-multi {
            margin: 10px 0;
            a {
                float: right;
                font-size: 14px;
                line-height: 24px;
                color: #005999;
                text-decoration: none;
            }
        }
    }
    .us-multi-container {
        box-sizing: content-box;
        width: 538px;
        height: 411px;
        outline: none;
        padding: 0 15px;
        border-radius: 5px;
        /*box-shadow: 0 3px 5px rgba(0, 0, 0, .3);*/
        font-family: $font-family-H;
        .us-left {
            box-sizing: border-box;
            width: 266px;
            padding-right: 10px;
        }
        .us-right {
            box-sizing: border-box;
            margin-top: 5px;
            padding-left: 10px;
            height: 303px;
            width: 267px;
            border-left: 1px solid #e4ebf0;
        }
        .us-footer {
            margin-top: 15px;
            // padding-bottom:15px; 
            .base-button-component {
                float: right;
                &:first-child {
                    margin-left: 10px;
                }
            }
        }
        .us-item-top {
            // max-height: 250px;
            .us-item.us-item-department {
                // margin-right: 12px;
            }
        }
        .pc-sys-arrowdown-nomal-svg {
            display: inline-block;
            width: 11px;
            height: 6px;
            margin-right: 3px;
            margin-left: -3px;
        }
        .pc-sys-arrowright-nomal-svg {
            display: inline-block;
            width: 11px;
            height: 10px;
        }
        .zeroUser{
            display: inline-block;
            width: 11px;
            height: 10px;
        }
    }

    .us-left {
        width: 305px;
        float: left;
        .us-dep-con {
            height: 262px;
            width: 100%;
            overflow-y: auto;
            .user_select_empty_sel {
                height:26px;
                width: 100%;
                font-family: PingFangSC-Regular;
                font-size: 12px;
                color: #0A131A;
                line-height: 26px;
                box-sizing:border-box;
                padding-left:10px;
                cursor:pointer;
                &:hover {
                   background: #F5F8FA; 
                }
            }
        }
        .tab-change-region {
            .levelTab-component {
                margin: 5px 0 10px 0;
            }
        }
    }



    .us-right {
        float: right;
        outline: none;
        
    }
    .us-item-top {
        
        li {
            .us-item-list {
                cursor: pointer;
                &:hover {
                    background-color: #f5f8fa;
                    a {
                        display: inline-block;
                    }
                }
                a {
                    float: right;
                    width: 14px;
                    height: 14px;
                    margin-top: 9px;
                    margin-right: 20px;
                }
            }
            .dep-hold-on{
                background-color: #f5f8fa;
                a {
                    // display: inline-block;
                }
            }
            .user-hold-on{
                background-color: #f5f8fa;
                a {
                    margin-top: 18px;
                    margin-right: 10px;
                    display: inline-block;
                }
            }
            .us-item-container {
                padding-left: 10px;
                .us-item.us-item-department {
                    margin-right: 0;
                }
            }
        }
        .us-user {
            .us-avatar {
                margin: 8px 5px 8px 0;
                width: 30px;
                height: 30px;
                border-radius: 50%;
                float: left;
                display: inline-block;
                font-family: $font-family-H;
                color: #fff;
                line-height: 30px;
                text-align: center;
                font-size: 12px;
            }
            .us-user-info {
                margin: 3px 0;
                display: inline-block;
                float: left;
                /*max-width: calc(100% - 40px);*/
                /*wuzhe----64=10+30+10+14*/
                width: calc(100% - 64px);
                p {
                    margin-top: 0;
                    margin-bottom: 0;
                    font-size: 12px;
                    line-height: 20px;
                    // text-overflow: ellipsis;
                    white-space: nowrap;
                    // overflow: hidden;
                    display: block;
                    width: 100%;
                }
                p.us-info-email{
                    overflow: hidden;
                    text-overflow: ellipsis;
                }
            }
            .us-info-name {
                margin: 0px;
                color: #36434d;
                .us-info-dis-tip{
                    display: inline-block;
                    text-overflow: ellipsis;
                    overflow: hidden;
                    vertical-align: bottom;
                    max-width: calc(100% - 9px);
                }
                .last-department{
                    color: #83898F;
                    margin-left: $Sp-6;
                }
            }
            .us-info-email {
                margin: 0px;
                color: #acb7bf;
            }
            em {
                font-family: inherit;
                font-style: inherit;
                background: rgba(228, 166, 0, .2);
                border-radius: 2px;
                height: inherit;
                display: inline-block;
            }
            &:hover {
                a {
                    margin-top: 18px;
                    margin-right: 10px;
                }
            }
        }
        .us-department {
            height: 30px;
            &.us-item-list {
                padding-left: 10px;
                a {
                    margin-top: 8px;
                    margin-right: 10px;
                }
            }
            .us-department-info {
                margin: 0;
                margin-left: 10px;
                margin-bottom: 0;
                margin-top: 0;
                display: inline-block;
                font-size: 12px;
                vertical-align: middle;
                //line-height: 30px;
                color: #36434d;
                line-height: 10px;
                //padding: 5px 0;

            }
            // .department-name{
            //     max-width: 180px;
            //     display: inline-block;
            //     margin-left: 10px;
            //     white-space:nowrap; 
            //     overflow:hidden; 
            //     text-overflow:ellipsis;
            // }
            // .user-count{
            //     display: inline-block;
            //     white-space:nowrap; 
            //     overflow:hidden; 
            //     text-overflow:ellipsis;
            // }
        }
    }
    .us-multi-result {
        .us-multi-human {
            float: left;
            margin-top: 0;
            margin-bottom: 10px;
            color: #36434d;
            font-size: 12px;
            line-height: 20px;
            padding: 5px 0;
            font-family: $font-family-H;
            width: 100%;

        }
        .us-multi-clearall {
            float: right;
            color: #005999;
            cursor: pointer;
            &.us-multi-clearall-disabled {
                color: #acb7bf;
                cursor: not-allowed;
                &:hover {
                    color: #acb7bf;
                }
            }
            &:hover {
                color: #1687D9;
            }
        }
        .us-results-con {
            height: 262px;
            overflow-y: auto;
            width: 100%;
            .user_select_empty_isSel {
                height: 26px;
                width: 100%;
                font-family: PingFangSC-Regular;
                font-size: 12px;
                color: #0A131A;
                line-height: 26px;
                box-sizing: border-box;
                padding-left: 10px;
                cursor: pointer;
                float:left;
                &:hover {
                    background: #F5F8FA; 
                    .closeButton {
                        opacity:1;
                        &:hover {
                            opacity:1;
                        }
                    }
                }
                .closeButton {
                    float: right;
                    width: 14px;
                    height: 14px;
                    margin-right: 10px;
                    margin-top: 6px;
                    top: 1px;
                    opacity:0;
                }
            }
        }
    }
    .us-multi-tip {
        padding: 5px 0 5px 10px;
        margin-top: 0;
        margin-bottom: 0;
        font-size: 12px;
        line-height: 20px;
        color: #36434d;
        font-family: $font-family-H;
        cursor: auto;
        &.us-multi-search {
            margin-top: 10px;
        }
        a {
            margin: 3px 15px 3px 0;
            width: 14px;
            height: 14px;
            float: right;
        }
        &:hover {
            background-color: #f5f8fa;
            a {
                display: inline-block;
            }
        }
    }
    .sys-icon-add {
        display: none;
        font-size: 14px;
        cursor: pointer;
        &:hover {
            &:before{
                color: #1687d9;
            }
        }
    }
    .sys-icon-close {
        font-size: 14px;
        display: none;
        cursor: pointer;
        &:before {
            color: #acb7bf;
        }
        &:hover {
            &:before {
                color: #cc2929;
            }
        }
    }
    .tab-change-region {
        margin-top: 0;
    }
    .us-no-data {
        width: 100%;
        height: 232px;
        position: relative;
        cursor: auto;
        // .pc-sys-no-data-svg {
        //     position: absolute;
        //     margin: auto;
        //     top: 0;
        //     left: 0;
        //     bottom: 0;
        //     right: 0;
        //     width: 138px;
        //     height: 33px;
        //     display: inline-block;
        // }
        .empty-con{
            display: block;
            width: 100%;
            height: 100%;
            background-image: url('empty-img1.png');
            background-size: 100px;
            background-repeat: no-repeat;
            background-position: 50% 35%
        }
        .empty-con::after{
            color: #bbbfee;
            content: attr(data-bg-text);
            display: block;
            font-size: 14px;
            line-height: 1.2;
            position: absolute;
            bottom: 73px;
            width: 100%;
            text-align: center;
        }
    }
    .pc-sys-arrowright-active-svg {
        display: inline-block;
        width: 6px;
        height: 10px;
        margin-left: 5px;
    }
    .us-item-empty {
        height: 30px;
        font-size: 12px;
        font-family: $font-family-H;
        color: #0a1319;
        line-height: 30px;
        text-align: left;
        padding: 5px 0 5px 10px;
        cursor: pointer;
        &:hover {
            background:#f5f8fa;
        }
    }
}

@-webkit-keyframes antSlideUpIn {
  0% {
    opacity: 0;
    -webkit-transform-origin: 0% 0%;
        transform-origin: 0% 0%;
    -webkit-transform: scaleY(0.8);
        transform: scaleY(0.8);
  }
  100% {
    opacity: 1;
    -webkit-transform-origin: 0% 0%;
        transform-origin: 0% 0%;
    -webkit-transform: scaleY(1);
        transform: scaleY(1);
  }
}
@keyframes antSlideUpIn {
  0% {
    opacity: 0;
    -webkit-transform-origin: 0% 0%;
        transform-origin: 0% 0%;
    -webkit-transform: scaleY(0.8);
        transform: scaleY(0.8);
  }
  100% {
    opacity: 1;
    -webkit-transform-origin: 0% 0%;
        transform-origin: 0% 0%;
    -webkit-transform: scaleY(1);
        transform: scaleY(1);
  }
}

.us-container .base-search-input .sys-icon-close {
    display: inline-block;
}
.us-container .us-search .base-search-input {
    padding-right: 20px;
    width: calc(100% - 22px) !important;
}

/*wuzhe----scrollbar style*/

.twm-scroll::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    background-color: transparent;
    padding: 2px;
}

.twm-scroll::-webkit-scrollbar-track {
    border-radius: 0;
    background-color: transparent;
}

.twm-scroll::-webkit-scrollbar-thumb {
    border-radius: 0;
    background-color: rgba(0, 0, 0, .3);
    border-radius: 6px;
}
.twm-scroll::-webkit-scrollbar {
    &:hover{
      width:10px;
      height: 10px;
    }
}
.twm-scroll::-webkit-scrollbar-track {
    &:hover{
      background-color: rgba(0, 0, 0, .1);
    }
}
.twm-scroll::-webkit-scrollbar-thumb {
    &:hover{
      padding: 2px;
      background-color: rgba(0, 0, 0, 0.3);
    }
}
/*wuzhe----scrollbar style*/