
.z-row {
    text-rendering: optimizespeed;
    display: flex;
    align-items: stretch;
    flex-flow: row wrap
}

.z-row.gap .z-1,.z-row.gap .z-3,.z-row.gap .z-4,.z-row.gap .z-6,.z-row.gap .z-8,.z-row.gap .z-12,.z-row.gap .z-16,.z-row.gap .z-18,.z-row.gap .z-20,.z-row.gap .z-21,.z-row.gap .z-col {
    padding: .35rem .5rem
}

.z-row>.z-row {
    width: 100%
}

.z-1,.z-3,.z-4,.z-6,.z-8,.z-12,.z-16,.z-18,.z-20,.z-21,.z-col {
    display: inline-block;
    zoom: 1;
    box-sizing: border-box;
    vertical-align: top;
    text-rendering: auto
}

.z-1 {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0;
    max-width: 100%
}

.z-3 {
    width: 12.5%;
    max-width: 12.5%
}

.z-4 {
    width: 16.6667%;
    max-width: 16.6667%
}

.z-6 {
    width: 25%
}

.z-8 {
    width: 33.3333%
}

.z-12 {
    width: 50%
}

.z-16 {
    width: 66.6667%
}

.z-18 {
    width: 75%
}

.z-20 {
    width: 83.3333%
}

.z-21 {
    width: 87.5%
}

.w-box {
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    * {
        -webkit-box-sizing: content-box;
        box-sizing: content-box;
    }
}

.w-main {
    position: absolute;
    color: #000000;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    padding: 0;
    margin: 0;

    .w-nav {
        position: fixed;
        left: 0;
        right: 0;
        top: 40px;
        font-size: 14px;
        background-color: rgba(255, 255, 255, 0.9);
        z-index: 12;
        color: #606266;
        height: 32px;
        line-height: 34px;
        .nav-row {
            margin: 0 32px;
            display: flex;
            flex-direction: row;
            align-items: center;
            &:before,
            &:after {
                display: table;
                content: "";
            }
            &:after {
                clear: both;
            }
            span {
                margin: 0 12px 0 0;
                cursor: pointer;
            }
            span + span {
                padding-left: 12px;
                border-left: 1px solid #ccc;
            }
            .icon {
                font-size: 16px;
                margin-right: 2px;
            }
            .w-nav-left {
                white-space: nowrap;
                padding-right: 24px;
            }
            .w-nav-flex {
                flex: 1;
            }
            .w-nav-right {
                white-space: nowrap;
                overflow: hidden;
                overflow-x: auto;
                -webkit-backface-visibility: hidden;
                -webkit-overflow-scrolling: touch;
            }
            .page-nav-left {
                display: flex;
                flex-direction: row;
                align-items: center;
                min-width: 138px;
                &:hover {
                    .page-nav-refresh {
                        em {
                            display: block;
                        }
                    }
                }
                > span {
                    margin-right: 8px;
                    &.bold {
                        font-weight: bold;
                    }
                }
                .page-nav-loading {
                    width: 18px;
                    height: 18px;
                    display: flex;
                }
                .page-nav-refresh {
                    min-width: 36px;
                    height: 100%;
                    display: flex;
                    flex-direction: row;
                    align-items: center;
                    em {
                        display: none;
                        padding-left: 4px;
                        padding-right: 4px;
                        color: #048be0;
                        cursor: pointer;
                        &:hover {
                            text-decoration: underline;
                        }
                    }
                }
            }
        }
    }
}

.tableFill {
    .ivu-table {
        table {
            width: 100% !important;
            .ivu-table-cell {
                display: block;
                overflow: hidden;
                white-space: nowrap;
                text-overflow: ellipsis;
                padding-left: 12px;
                padding-right: 12px;
                > div {
                    max-width: 100%;
                    overflow: hidden;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                    vertical-align: middle;
                    .ivu-tooltip-rel {
                        vertical-align: middle;
                    }
                }
            }
        }
        &:before {
            background-color: #efefef;
        }
    }
}
.pageBox {
    text-align: center;
    margin-bottom: 12px;
}
.sreachBox {
    > .item {
        margin-bottom: 8px;
    }
    .item {
        > div {
            display: block;
            float: left;
            padding-right: 10px;
            &:last-child {
                padding-right: 0;
            }
            .ivu-input-wrapper,.ivu-select {
                margin-top: 2px;
            }
            input,.ivu-select-placeholder {
                font-weight: normal;
            }
        }
        .item-1 {
            width: 100%;
        }
        .item-2 {
            width: 50%;
        }
        .item-3 {
            width: 33.33%;
        }
        .item-4 {
            width: 25%;
        }
        .item-5 {
            width: 20%;
        }
        &:after {
            content: '';
            display: block;
            height: 0;
            clear: both;
            visibility: hidden;
        }
    }
    .item-title,
    .item-title-active {
        display: block;
        overflow: hidden;
        text-overflow:ellipsis;
        white-space: nowrap;
        font-weight: 600;
    }
    .item-title-active {
        color: #ff0000;
    }
    .item-button {
        text-align: right;
        margin-top: 10px;
        margin-bottom: 0;
        .ivu-input-wrapper {
            float: none;
            width: 150px;
            display:inline-block;
        }
    }
    .ivu-date-picker {
        width: 100%;
        position: relative;
        vertical-align: middle;
    }
    .item-button {
        .ivu-btn {
            margin-left: 8px;
        }
    }
}
