.ttk-scm-app-expense-card {
    width: 100%;
    height: 100%;
    padding: 10px;
    overflow: auto;
    color: #666;
    background: #fff;
    .ant-form-item-label label, h1 {
        color: #666;
    }
    .mk-form-item {
        width: 25%;
        .ant-form-item-label {
            width: 120px
        }
        .ant-form-item-control-wrapper{
            width: 160px;
            .ant-select-selection--single {
                width: 160px;
            }
        }
    }
    h1 {
        font-size: 21px;
        font-weight: 400;
    }
    .mkicon {
        font-size: 22px;
    }
    &-cell-left {
        padding-left: 8px;
        justify-content: flex-start;
    }
    &-cell-right {
        padding-right: 8px;
        justify-content: flex-end;
    }
    &-cell {
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        &>div {
            width: 100%;
            height: 100%;
            input {
                height: 100%;
            }
        }
        .ant-select-selection {
            height: 100%
        }
        .ant-select-selection__rendered {
            height: 100%
        }
        .ant-select-selection-selected-value {
            line-height: 40px;
        }
    }
    &-cell-disabled {
        cursor: not-allowed;
    }
    .ant-tabs-bar {
        margin-bottom: 0px;
    }
    &-header {
        flex-direction: row;
        height: 35px;
        padding: 10px 0 10px 10px;
        flex: 0 0 52px;
        overflow: hidden;
        &-left {
            flex-direction: row;
            align-items: center;
            overflow: hidden;
            .page-prev-next {
                button:first-child{
                    margin-right: 8px;
                }
                button{
                    border-radius: 5px !important;
                }
            }
            .setting {
                margin-left: 8px;
                width: 30px;
                height: 30px;
                font-size: 28px;
                border-radius: 5px;
                border: 1px solid #D9D9D9;
                cursor: pointer;
            }
        }
        &-right {
            flex-direction: row;
            justify-content: flex-end;
            align-items: center;
            overflow: hidden;
            .mk-btn {
                margin-left: 8px
            }
            >button:first-child {
                background: #1EB5AD;
                color: #fff
            }
            &-but {
                color: #fff;
                background-color: @primary-color;
                border-color: @primary-color;
                &:hover{
                    background-color: @button-hover-color;
                    border-color: @primary-color;
                    color: #fff;
                }
            }
        }
    }

    &-remark {
        .mk-form-item {
            width: 50%;
            .ant-form-item-label {
                width: 120px
            }
            .ant-form-item-control-wrapper{
                width: 462px !important;
            }
        }
    }

    // &-form-div {
    //     padding: 10px 20px 0;
    //     display: flex;
    //     flex-direction: row;
    //     justify-content: space-between;
    // }
    
    &-title {
        flex: 0 0 auto;
        flex-direction: row;
        justify-content: space-between;
        &-left {
            flex: 0 0 300px;
            flex-direction: row;
            justify-content: flex-start;
            align-items: center;
            padding-left: 10px;            
            display: flex;
            flex-direction: row;
            overflow: visible;
            img{
                zoom: 50%;
                padding: 0 8px 0 8px;
            }
        }
        &-right {
            flex: 0 0 300px;
            flex-direction: row;
            justify-content: flex-end;
            align-items: center;
            padding-right: 10px;
            .code {
                line-height: 18px;
                height: 18px;
                width: 120px;
                border-bottom: 1px solid #ccc;
                text-align: center;
                color: rgb(204, 204, 204);
            }
        }
    }
    
    &-form-header {
        flex: 0 0 auto;
        flex-direction: column;
        .ttk-scm-app-expense-card-form-header-top {
            padding: 0 20px 0 0;
            display: flex;
            flex-direction: row;
            // justify-content: space-between;
        }
        .ttk-scm-app-expense-card-form-header-bottom {
            display: flex;
            flex-direction: row;
            padding: 0 20px;
        }
        
    }
    &-form-footer {
        flex: 0 0 auto;
        flex-direction: column;
        border: 2px solid #D9D9D9;
        .ttk-scm-app-expense-card-form-footer-top {
            display: flex;
            flex-direction: row;
            position: relative;
            // justify-content: space-between;
            .ant-checkbox-wrapper {
                line-height: 4;
            }
            .mk-form-item:nth-child(1) {
                margin-right: 110px;
            }
            .mk-form-item:nth-child(3){
                .ant-form-item-label{
                    width:100px;
                }
            }
            .topDiv {
                padding: 18px 16px 0 6px;
            }
            // .ttk-scm-app-expense-card-form-footer-top-center{
            //     display: flex;
            //     flex-direction: row;
            // }
            .ttk-scm-app-expense-card-form-footer-top-button {
                position: absolute;
                right:0;
                // margin-left: 38px;
            }
        }
        .ttk-scm-app-expense-card-form-footer-center {
            display: flex;
            flex-direction: row;
        }
        .ttk-scm-app-expense-card-form-footer-bottom {
            display: flex;
            flex-direction: row;
        }
        .ttk-scm-app-expense-card-form-footer-foot {
            display: flex;
            flex-direction: row;
            >.mk-form-item {
                width: 25%;
                .ant-form-item-label {
                    width: 33%;
                }
                .ant-form-item-control-wrapper {
                    .ant-select-selection--single {
                        width: 150px;
                    }
                }
            }
            >.ant-checkbox-wrapper {
                padding-top: 16px;
            }
        }
    }
    &-repeter {
        max-height:364px;
        overflow: auto;
        padding-left: 11px;
    }
    &-center {
        padding-left: 11px;
        flex-direction: row;
        height: 60px;
        justify-content: space-between;
        flex: 0 0 auto;
        .mk-form-item {
            width: 50%;
        }
        .ttk-scm-app-expense-card-center-center-settlement-jia{
            margin-top: 10px;
            width: 89px;
            height:30px;
            background:#00B38A;
            color: #fff;
        }
        .ttk-scm-app-expense-card-center-center-settlement-accumulativeMoney {
            flex-direction: row;
            display: flex;
            margin-top: 10px;
            width: 30%
        }
    }
    &-payDiv {
        &-settlement, &-advance, &-balance{
            display: flex;
            flex-direction: row;
            justify-content: flex-end;
            .ant-form-item-control-wrapper {
                width: 150px;
            }
        }
        &-icon {
            font-size: 21px;
            color: @button-hover-color;
            line-height: 53px;
            &:hover{
                color: @primary-color;
            }
        }
        &-iconDiv {
            height: 53px;
            display: flex;
            flex-direction: row;
            font-size: 24px;
            color: @button-hover-color;
            &-iconAdd:hover,&-iconDel:hover {
                color: @primary-color;
            }
            &-iconDel {
                font-size: 24px;
            }
        }
    }
    &-footer {
        flex: 0 0 auto;
        flex-direction: row;
        padding-left: 10px;
        padding-top: 10px;
        align-items: center;
        .mk-form-item {
            margin-bottom: 0;
            display: flex;
        }
    }
    &-footer-left {
        overflow: hidden;
        flex-direction: row;

        .ant-form-item-control-wrapper {
            display: inline-block;
        }
        .ant-form-item-label, .ant-form-item-control {
            line-height: normal;
        }
        .ant-form-item-label, .ant-form-item-control-wrapper {
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
    }
    &-footer-right {
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        overflow: hidden;
        .mk-btn {
            margin-left: 10px;
            color: #fff;
            background-color: @primary-color;
            border-color: @primary-color;
            &:hover{
                background-color: @button-hover-color;
                border-color: @primary-color;
            }
        }
    }
}