@charset "utf-8";
@import "../lib/bootstrap-datetimepicker.css";
@import "../lib/viewer.min.css";
@import "../lib/jquery.multiselect2side.css";
@import "../lib/jquery.pagination.css";
@import "../lib/sweetalert.css";
@import "../../js/lib/dialog/css/dialog.css";
@import "../lib/toastr.css";
@import "../lib/obpm.weixinRecord.css";

.obpm-bgcolor-white {
    background-color: #fff; 
    min-height: 100%;
    height: 100%;
    line-height: 1.42857143;
    color: #333; 
    overflow: hidden;
    #form-content {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        #doc_divid{
            height: 100%;
            #document_content{
                height: 100%;
            }
        }
        #container {
            height: 100%;
            &::after {
                content: "";
                display: block;
                clear: both;
            }
            #activityTable {
                background-color: #FFFFFF;
                border-top: 0px;
                border-bottom: 1px solid #d5d9dc;
                padding: 10px 10px 10px 0px;
                table{
                    background-color: transparent; 
                    border-spacing: 0;
                    border-collapse: collapse;
                    #toolbar{
                        padding-left: 20px;
                    }
                    #flow-panel {
                        position: relative;
                        white-space: nowrap;
                        .obpm-flow-status {
                            display: inline-block;
                            padding: 0px 10px 0px 20px;
                            position: relative;
                            cursor: pointer;
                            .obpm-glyphicon {
                                color: #4ead49;
                                margin-left: 5px;
                            }
                        }
                        .obpm-flow-history {
                            display: inline-block;
                            padding-left: 10px;
                            cursor: pointer;
                            .obpm-flow-history-icon {
                                margin-right: 5px;
                                margin-bottom: 2px;
                            }
                        }
                        #flow-status-panel {
                            position: absolute;
                            background-color: #fff;
                            border: 1px solid #ccc;
                            right: 90px;
                            top: 30px;
                            min-width: 230px;
                            z-index: 10;
                            textarea{
                                @include textarea;
                            }
                            .obpm-flow-status-head {
                                border-bottom: 1px solid #ccc;
                                padding: 10px 15px;
                                height: 41px;
                                .obpm-pull-left {
                                    float: left!important;
                                }
                            }
                            .flow-status-body{
                                .obpm-panel-group{
                                    margin-bottom: 0px;
                                    max-height: 400px;
                                    overflow-y: auto;
                                    .panel {
                                        border-radius: 0px;
                                        border: none;
                                        box-shadow: none;
                                        .panel-body {
                                            border: none;
                                            line-height: 32px;
                                            display: flex;
                                            .flow-name {
                                                position: relative;
                                                float: left;
                                                line-height: 32px;
                                                width: 110px;
                                                >img{
                                                    width: 32px;
                                                    margin-right: 5px;
                                                }
                                                .noAvatar {
                                                    width: 32px;
                                                    color: #fff;
                                                    text-align: center;
                                                    line-height: 32px;
                                                    font-size: 12px;
                                                    border-radius: 4px;
                                                    background: #428bcb;
                                                    height: 32px;
                                                    margin-right: 5px;
                                                    display: inline-block;
                                                }
                                                .userName {
                                                    width: 73px;
                                                    white-space: nowrap;
                                                    text-overflow: ellipsis;
                                                    overflow: hidden;
                                                }
                                            }
                                            .flow-stateLabel {
                                                white-space: nowrap;
                                                text-overflow: ellipsis;
                                                overflow: hidden;
                                                position: relative;
                                                width: 75px;
                                                text-align: right;
                                            }
                                        }
                                        .panel-heading {
                                            border: none;
                                            background: none;
                                            padding: 0px 15px;
                                            a {
                                                color: #333;
                                                display: block;
                                                text-align: center;
                                                position: relative;
                                                &::after {
                                                    content: "";
                                                    display: block;
                                                    clear: both;
                                                    border-bottom: 1px dotted #000000;
                                                    position: absolute;
                                                    top: 10px;
                                                    left: 0px;
                                                    right: 0px;
                                                }
                                                .fa {
                                                    background: #fff;
                                                    position: relative;
                                                    z-index: 2;
                                                    padding: 0px 5px;
                                                    margin-bottom: 10px;
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
            .toolPanel{
                top: 60px;
                position: fixed;
                right: 20px;
                z-index: 999;
                box-shadow: 0px 0 5px #CCC;
                color: #616161;
                background: #fafafa;
                outline: 0;
                padding: 20px;
                .cancel_btn {
                    position: absolute;
                    right: 10px;
                    top: 5px;
                }
                .manager_btn {
                    float: left;
                    margin: 15px 0px;
                }
                #sign_select {
                    width: 250px;
                    height: 34px;
                    position: relative;
                    top: 15px;
                    float: left;
                    margin-left: 15px;
                    margin-right: 15px;
                    padding: 6px 12px;
                    font-size: 14px;
                    line-height: 1.42857143;
                    color: #555;
                    background-color: #fff;
                    background-image: none;
                    border: 1px solid #ccc;
                    border-radius: 4px;
                    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
                    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
                    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
                    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
                    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
                }
                .sign_btn {
                    float: left;
                    margin: 15px 0px;
                }
            }
            .sign {
                position: absolute;
                cursor: move;
                border: 2px dashed #d67171;
                padding: 12px;
                display: -webkit-box;
                -webkit-box-pack: center;
                -webkit-box-align: center;
                z-index: 999;
                img {
                    max-height: 100%;
                    max-width: 100%;
                }
                .btn {
                    padding: 2px 6px;
                    font-size: 11px;
                    line-height: 14px;
                    position: absolute;
                }
                .ok {
                    top: 120px;
                    right: 45px;
                }
                .del {
                    top: 120px;
                    right: 1px;
                }
            }
            #flowpanel{
                width: 100%;
                background: #fff;
                z-index: 20000000;
                // margin-bottom: 45px;
                .searchDiv {
                    margin: 0 ;
                    background-color: #FFFFFF;
                    border-top: 0px;
                    position: relative;
                    margin-top: 10px;
                }
            }
            .formTable-wrap{
                #_formHtml{
                    >div{
                        table-layout: fixed;
                        margin: 0px auto;
                        padding-top: 20px;
                        padding-bottom: 20px;
                        width: 96%;
                    }
                }
                table {
                    margin: 0 auto;
                }
            }
            .obpm-activity-box {
                top: 0px;
            }
        }
        #PopWindows{
            .obpm-close{
                float: right;
                font-size: 21px;
                font-weight: 700;
                line-height: 1;
                color: #000;
                text-shadow: 0 1px 0 #fff;
                opacity: .2;
            }
        }
    }
}

