%display {
    display: inline-block;
    *display: inline;
    *zoom: 1;
}
@mixin li {
    li {
        position: relative;
        line-height: 25px;
        span {
            @extend %display;
            text-overflow: ellipsis;
            overflow: hidden;
            white-space: nowrap;
            width: 75%;
            vertical-align: middle;
            text-align: left;
            font-size: 14px;
            color: #333;
        }
        .del-icon {
            position: absolute;
            right: 0;
            content: '';
            width: 14px;
            height: 14px;
            background: url(i/tree-delete.png) no-repeat;
            background-size: 10px 10px;
            margin-top: 8px;
        }
        &.hover {
            background-color: #f1f1f1;
        }
    }
    i {
        @extend %display;
        width: 20px;
        height: 18px;
        background: url(i/icon_section.png) no-repeat;
        vertical-align: middle;
        margin-right: 10px;
        &.emply {
            background: url(i/icon_Employee@2x.png) no-repeat;
        }
        &.lb-icon {
            background: url(i/label.png) no-repeat;
            background-size: 17px 19px;
        }
    }
}
.thickbox {
    border: 0 !important;
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.05);
}

.thickwrap {
    width: 100%;
    height: 100%;
}

.form {
    .form-item {
        .item {
            text-align: center;
            .input-txt {
                position: relative;
                text-align: center;
                input {
                    width: 274px;
                    height: 38px;
                    margin: 40px auto 0;
                    padding: 11px;
                    box-sizing: border-box;
                }
                p {
                    position: absolute;
                    right: 0;
                    bottom: 10px;
                    left: 0;
                    width: 150px;
                    height: 40px;
                    margin: 0 auto;
                    text-align: center;
                    line-height: 38px;
                    font-size:14px;
                    font-family:MicrosoftYaHei;
                    color:rgba(51,51,51,1);
                    border:1px solid rgba(238,238,238,1);
                }
            }
            input[type=file] {
                position: relative;
                width: 150px;
                height: 40px;
                margin-bottom: 10px;
                opacity: 0;
                z-index: 5;
            }
            p {
                line-height: 16px;
                color:rgba(153,153,153,1);
            }
        }
    }
}

.btn-group {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 98px;
    text-align: center;
    line-height: 98px;
    box-shadow: 0px -1px 0px 0px rgba(239,239,239,1);
    .btn {
        width: 80px;
        height: 38px;
        line-height: 38px;
        text-align: center;
        margin: 10px;
        border: 0;
        outline: none;
        border-radius:2px;
        &.cancel {
            background: #fff;
            border:1px solid rgba(158,158,158,1);
        }
        &.surecls {
            background: rgba(237,50,42,1);
            color: #ffffff;
            border: 1px solid rgba(237,50,42,1);
        }
    }
}
input {
    padding-left: 10px;
    outline: none;
}
/** 弹窗样式**/
.mc {
    margin: 35px 0;
    text-align: center;
    .dep-title {
        width: 205px;
        margin: 0 auto;
        padding-bottom: 10px;
        text-align: left;
        font-size: 14px;
        color: #333;
    }
    .dep {
        margin-top: 15px;
    }
    input {
        width: 195px;
        height: 36px;
        line-height: 36px;
        border-radius: 2px;
        border: 1px solid rgba(211,211,211,1);
        &.warn {
            border-color: #ED322A;
        }
    }
    .add-dep {
        input {
            width: 275px;
        }
        .dep-title {
            width: 285px;
        }
        .dep-info {
            display: none;
            position: absolute;
            top: 40px;
            left: 118px;
            width: 270px;
            height: 125px;
            background: white;
            box-shadow: 0px 2px 4px 0px rgba(64, 53, 80, 0.12);
            border-radius: 3px;
            overflow-y: auto;
            z-index: 100;
        }
    }
    .dep-list {
        position: relative;
        height: 260px;
        span { position: relative; }
        .icon {
            display: inline-block;
            position: absolute;
            top: 3px;
            right: 5px;
            width: 10px;
            height: 7px;
            background: url(i/icon-down.png) no-repeat;
            background-size: 10px 7px;
            &.open {
                background: url(i/icon_up@2x.png) no-repeat;
                background-size: 10px 7px;
            }
        }
        .ztree li span.button.ico_docu {
            width: 20px;
            height: 20px;
        }
    }
    .left {
        float: left;
        width: 245px;
        .m-info {
            margin: 20px 0 0 12px;
            padding-left: 0;
            background: rgba(248,248,248,1);
            width: 217px;
            height: 330px;
            overflow-y: auto;
            &.label-tree li {
                cursor: pointer;
                &.sel {
                    background-color: #f1f1f1;
                }
            }
        }
        .node_name {
            width: 75%;
        }
    }
    .r-arrow {
        position: absolute;
        left: 245px;
        top: 48%;
        width: 30px;
        height: 30px;
        cursor: pointer;
        i {
            @extend %display;
            width: 10px;
            height: 20px;
            background: url(i/right-icon.png) no-repeat;
            background-size: 10px 20px;
        }
    }
    .right {
        float: left;
        width: 210px;
        height: 363px;
        padding: 15px;
        border-radius: 2px;
        margin-left: 20px;
        border: 1px solid rgba(218,218,218,1);
        text-align: left;
        font-size: 14px;
        overflow-y: auto;
        ul {
            margin-top: 20px;
            @include li;
        }

    }
    .label-tree {
        @include li;
    }
}
.del-dlg {
    .mc {
        i {
            display: inline-block;
            width: 48px;
            height: 48px;
            background: url(i/warning.png) no-repeat;
            margin-bottom: 20px;
        }
        h2 {
            font-size: 16px;
            color: #333;
            margin-bottom: 5px;
        }
        &.warn {
            h2 {
                display: inline-block;
                width: 140px;
                text-align: left;
                line-height: 20px;
                font-weight: 700;
            }
            i {
                margin: 0 20px 0 0;
                vertical-align: bottom;
            }
        }
    }
    .btn-group {
        box-shadow: none;
    }
}

.search {
    padding: 0 10px;
    .s-input {
        width: 175px;
        height: 32px;
        line-height: 32px;
        padding-left: 10px;
        border: 1px solid #d3d3d3;
        border-radius: 1px;
        outline: none;
    }
    .s-btn {
        @extend %display;
        width: 36px;
        height: 36px;
        line-height: 36px;
        border-radius: 0px 1px 1px 0px;
        background: url(i/search-btn.png) no-repeat;
        vertical-align: bottom;
        background-size: 36px 36px;
        margin-left: -4px;
    }
}
.thickcon>.thicktitle {
    position: absolute;
    left: 1px;
    top: 0;
    width: 100%;
    box-sizing: content-box;
    height: 50px;
    line-height: 50px;
    .tabs {
        display: inline-block;
        height: 100%;
        margin: 0 20px;
    }
    .selected {
        font-weight: bold;
        border-bottom: 2px solid #ED322A;
    }
}
.container {
    padding: 25px;
    text-align: center;
    &.withfooter {
        .btn-group {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 98px;
            text-align: center;
            line-height: 98px;
            box-shadow:0px -1px 0px 0px rgba(239,239,239,1);
            .btn {
                width: 80px;
                height: 38px;
                line-height: 38px;
                text-align: center;
                margin: 10px;
                border: 0;
                outline: none;
                border-radius:2px;
                &.cancel {
                    background: #fff;
                    border:1px solid rgba(158,158,158,1);
                }
                &.surecls {
                    background: rgba(237,50,42,1);
                    color: #ffffff;
                    border: 1px solid rgba(237,50,42,1);
                }
            }
        }
    }
    input[type='text'] {
        width:274px;
        height:36px;
        border-radius:2px;
        border:1px solid rgba(211,211,211,1);
    }
    .tipsImg {
        width: 42px;
        height: 42px;
        margin: 0 20px;
        &.successImg {
            display: inline-block;
            background: url('i/success-icon.svg') 100% 100% no-repeat;
            background-size: 100% 100%;
            vertical-align: middle;
        }
        &.confirmImg {
            background: url('i/warn-icon.svg') 100% 100% no-repeat;
            background-size: 100% 100%;
            vertical-align: middle;
            margin: 10px auto;
        }
    }
    .tabs-container {
        padding-top: 50px;
        .form-wrap {
            padding-bottom: 20px;
            text-align: left;
            .input-label {
                width: 150px;
                display: inline-block;
                height: 36px;
                line-height: 36px;
                text-align: right;
                &.top {
                    vertical-align: top;
                }
            }
            .input-wrap {
                display: inline-block;
                position: relative;
                input[type="text"] {
                    font-size: 12px;
                    width: 190px;
                    border: 1px solid #D3D3D3;
                    border-radius: 2px;
                    height: 36px;
                    box-sizing: border-box; 
                    &.inp-price {
                        width: 80px;
                    }
                }
                .select, #ipt {
                    border: 1px solid #D3D3D3;
                    padding: 7px 5px;
                    border-radius: 2px;
                    margin-right: 10px;
                    width: 129px;
                    height: 36px;
                    box-sizing: border-box;
                    &.textarea {
                        width:304px;
                        height:70px;
                    }
                }
                .ipt-wrapper {
                    position: relative;
                }
                .chat {
                    position: absolute;
                    right: 15px;
                    top: 12px;
                    height: 10px;
                    width: 10px;
                    &.chat-down {
                        background: url('i/chart-down.png') center center no-repeat;
                        background-size: contain;
                    }
                    &.chat-up {
                        background: url('i/chart-up.png') center center no-repeat;
                        background-size: contain;
                    }
                }
                ul{
                    list-style:none;
                    width:129px;
                    border-radius: 2px;
                    margin-right: 10px;
                    border:1px solid #000;
                    display:none;
                    border: 1px solid #D3D3D3;
                    padding: 7px 5px;
                    border-radius: 2px;
                    margin-right: 10px;
                    width: 129px;
                    box-sizing: border-box;
                }
                // #ipt{
                //     margin:10px 0 0 100px;
                // }
                li a{
                    display:inline-block;
                    width:80%;
                    height:100%;
                    text-decoration:none;
                    color:#000;
                }
                li a:hover{
                    background-color:blue;
                }
            }
        }
        
    }
    .deposit-form {
        label {
            width: 120px;
            text-align: right;
            display: inline-block;
        }
        
    }
    >label {
        font-size: 14px;
        text-align: left;
        margin-bottom: 15px;
        display: block;
        padding-left: 60px;
    }
    .pwd-wrap {
        font-size: 0px;
        padding-bottom: 20px;
        label {
            width: 90px;
            font-size: 14px;
            padding-right: 20px;
            display: inline-block;
            text-align: right;
        }
        .single-pwd {
            width:38px;
            height:40px;
            font-size: 12px;
            line-height: 40px;
            background:rgba(255,255,255,1);
            border-radius:2px 0px 0px 2px;
            border:1px solid rgba(211,211,211,1);
            box-sizing: border-box;
            padding: 10px;
        }
        .validate-code {
            width:111px;
            height:40px;
            font-size: 12px;
            line-height: 40px;
            background:rgba(255,255,255,1);
            border-radius:2px 0px 0px 2px;
            border:1px solid rgba(211,211,211,1);
            box-sizing: border-box;
            padding: 10px;
        }
        .btn {
            width: 100px;
            height: 38px;
            line-height: 38px;
            text-align: center;
            margin: 10px;
            border: 0;
            outline: none;
            border-radius:2px;
            background: #D3D3D3;
            color: #999;
        }
    }
    .tips.err {
        color: #ED322A;
    }
    .btn-group {
        display: block;
    }
    .successContent {
        font-size: 16px;
        font-weight: bold;
        display: inline-block;
        vertical-align: middle;
    }
    .confirmContent {
        font-size: 16px;
        font-weight: bold;
        vertical-align: middle;
        margin: 10px auto;
        // display: inline-block;
    }
    .confirmContent2 {
        font-size: 12px;
        vertical-align: middle;
        margin: 10px auto;
        display: inline-block;
        margin-bottom: 40px;
    }
}
