.ttk-scm-app-payment-card {
    width: 100%;
    height: 100%;
    overflow: auto;
    color: #666;
    background: #fff;
    background: #F1F5F4;
    overflow-y: hidden;

    .ant-select-selection__clear {
        right: 22px;
    }
    
    .ant-select-selection__rendered {
        margin-left: 8px;
        margin-right: 8px;
    }
    &-audit-tag {
        position: absolute;
        top: 36%;
        left: 40%;
        z-index: 100;
        transform: scale(0.6);
    }
    .ant-form-item-label label, h1 {
        color: #666;
    }
    h1 {
        font-size: 18px;
        font-weight: 400 !important;
        color: #333333;
    }
    .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%;
            }
        }
        /*input{
            height: 40px;
        }*/
        .ant-select-selection {
            height: 100%
        }
        .ant-select-selection__rendered {
            height: 100%
        }
        .ant-select-selection-selected-value {
            //line-height: 40px;
        }
    }
    &-cell-disabled {
        //background-color: #eee
        cursor: not-allowed;
    }
    .editable-cellttk-scm-app-proceeds-card-cell-disabled{
        cursor: not-allowed;
    }
    .ant-tabs-bar {
        margin-bottom: 0px;
    }
    .ant-calendar-picker {
        width: 100%;
        :hover{
            .ant-calendar-picker-input:not(.ant-input-disabled)~.ant-calendar-picker-icon:after{
                color: @primary-color;
            }
        }
    }
    &-header {
        flex-direction: row;
        height: 30px !important;
        padding: 10px 10px 10px 10px;
        border-left: 1px solid #D9D9D9;        
        border-top: 1px solid #D9D9D9;        
        border-right: 1px solid #D9D9D9;        
        background: #fff;        
        overflow: hidden;
        flex: 0 0 30px;
        -webkit-flex: 0 0 52px;
        &-left {
            height: 30px !important;
            flex-direction: row;
            align-items: center;
            overflow: hidden;
            &>.mk-btn {
            }
            .page-prev-next {
                button:first-child{
                    margin-right: 8px;
                }
                button{
                    border-radius: 5px !important;
                    height: 30px !important;
                }
            }
            .setting {
                margin-left: 8px;
                width: 30px;
                height: 30px;
                font-size: 28px;
                border-radius: 5px;
                color: #45acf7;
                border: 1px solid #D9D9D9;
                cursor: pointer;
                &:hover{
                    border: 1px solid #45acf7;
                    color: #45acf7;
                }
            }
            &-iconbutton {
                font-size: 45px;
                color: @primary-color;
            }
            &-jianpan {
                left: 160.5px;
                top: 137.5px;
            }
        }
        &-right {
            flex-direction: row;
            justify-content: flex-end;
            align-items: center;
            overflow: hidden;
            height: 30px;
            &-but {
                color: #fff;
                background-color: @primary-color;
                border-color: @primary-color;
                &:hover{
                    background-color: @button-hover-color;
                    border-color: @primary-color;
                    color: #fff;
                }
            }
            .mk-btn {
                margin-left: 10px;
                &:hover{
                    border-color: @primary-color;
                }
            }
            &-iconbutton {
                font-size: 45px;
                color: @primary-color;
            }
            &-jianpan {
                left: 160.5px;
                top: 137.5px;
            }
        }
    }
    &-content {
        overflow-y: auto;
        border-left: 1px solid #D9D9D9;
        border-right: 1px solid #D9D9D9;
        border-bottom: 1px solid #D9D9D9;
        flex: 1;
        background: #fff;
        flex-direction: column;
        display: flex;
    }
    &-title {
        margin-top: 4px;
        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;
            font-size: 12px;
            .ttk-scm-app-sa-invoice-card-title-left-span {
                flex: 0 0 120px;
                flex-direction: row;
                color: #666;
                font-size:12px;
                justify-content: flex-start;
                align-items: center;
                padding-left: 10px;            
                display: flex;
                flex-direction: row;
                overflow: visible;
                span {
                    color: #1EB5AD;  
                }
                span:hover {
                    text-decoration:underline;
                    color: #1EB5AD;
                    cursor:pointer;
                }
            }
        }
        &-right {
            flex: 0 0 300px;
            flex-direction: row;
            justify-content: flex-end;
            align-items: center;
            font-size: 12px;
            padding-right: 10px;
            .code {
                line-height: 18px;
                height: 18px;
                width: 80px;
                margin-left: 12px;
                margin-right:0px !important;
                // border-bottom: 1px solid #ccc;
                text-align: left;
                color: #333
            }
        }
    }
    &-form-header {
        flex: 0 0 auto;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        padding-top: 8px;
        margin-left: 10px;
        label, .ant-select-selection, .ant-calendar-picker-input, .mk-input {
            font-size: 12px;
        }
        .mk-form-item {
            margin-bottom: 5px;
            width: 25%;
            align-items: normal;
        }
        .mk-form-item.account {
            .ant-form-item-label {
                width: 50px;
            }
        }
        .ant-form-item-label {
            padding: 0px;
            width: 85px;
        }
        .ant-form-item-control-wrapper {
            width: 150px;
            height:32px;
        }
        .mk-select {
            width: 100%;
        }
        .mk-datepicker {
            width: 100%;
        }
        .ant-form-explain {
            margin-top: 5px;
        }
        &-remark {
            // width: 100% !important;
            width: 50% !important;
            .ttk-scm-app-payment-card-form-header .mk-form-item {
                width: 50% !important;
            }
            .ant-form-item-control-wrapper {
                // width: 800px;
                width: 450px !important;
            }
        }
        .settlement {
            width: 50% !important;
            padding-right: 10px;
            .ant-form-item-control-wrapper {
                width: 100% !important;
            }
        }
    }
    &-form-details {
        flex: 1;
        // margin: 8px 0;
        margin: 8px 10px 8px 10px;
        // min-height: 280px;
        // min-height: 245px;
        .fixedDataTableRowLayout_main.public_fixedDataTable_footer{
            overflow: hidden;
            .public_fixedDataTable_scrollbarSpacer {
                background: #fff6ea !important;
            }
        }
        .public_fixedDataTable_header .public_fixedDataTableCell_main {
            // background: #eaeaea linear-gradient(#eaeaea,#eaeaea);
            background: #eaeaea !important;
            color: #666;
            border-top: 1px solid #d9d9d9;
            .fixedDataTableCellGroupLayout_cellGroupWrapper {
                border-top: 1px solid #d9d9d9;
            }
        }
        .public_fixedDataTable_main {
            border-right: 0px;
            // width: 1145px !important;
            .fixedDataTableLayout_header .mk-datagrid-cellContent {
                font-weight: 700;
                //font-size: 13px;
                color: #333;
            }
            .fixedDataTableLayout_footer .mk-datagrid-cellContent {
                font-weight: 700;
                //font-size: 13px;
                color: #333;
            }
            .public_fixedDataTableCell_cellContent {
                color: #333;
                font-size: 12px;
            }
            .mk-datagrid-sequence-cell {
                font-size: 12px;
            }
            .fixedDataTableLayout_rowsContainer {
                // width: 1146px !important;
                // border-left: 1px solid #d9d9d9;
                border: 1px solid #d9d9d9;
                border-top: 0px;

                .fixedDataTableRowLayout_rowWrapper {
                    // width: 1145px !important;
                    &>div:last-child{
                        // width: 1124px !important;
                        border-bottom: none;
                    }
                }
            }

            .mk-datagrid-addDelRow-cell {
                &:hover{
                    border-right-width: 0px;
                    z-index: 2;
                }
            }

        }
        .public_fixedDataTable_scrollbarSpacer {
            // left: 1124px !important;
            background: #eaeaea;
            border: 1px solid #d9d9d9;
            border-left:none;
            border-right: none;
        }
        .fixedDataTableLayout_main {
            margin-right: 10px;
            border-top: 0px;
        }

        .fixedDataTableRowLayout_rowWrapper .public_fixedDataTable_footer {
            .public_fixedDataTableCell_main{
                // border-top: none;
            }
        }
         .public_Scrollbar_main {
            border-right: 1px solid #d9d9d9;
        }

        .fixedDataTableCellGroupLayout_cellGroupWrapper:first-child .fixedDataTableCellGroupLayout_cellGroup .public_fixedDataTableCell_main{
            border-left-width: 0px;
            z-index: 1;
            &:hover {
                border-left-width: 0px;
                z-index: 1;
            }
        }
        .mk-cascader, .ant-select, .ant-input {
            font-size: 12px;
            text-align: left;
            .ant-select-selection-selected-value {
                line-height: 34px;
            }
        }
        .ant-cascader-picker-label {
            padding-right: 25px;
        }
    }
    &-form-footer {
        flex: 0 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding-left: 10px;
        padding-right: 10px;
        .ant-form-item-label {
            width: 45px;
        }
        .ant-form-item-control-wrapper {
            width: 200px;
        }
        .mk-select {
            width: 100%;
        }

        &-settlement, &-advance, &-balance{
            display: flex;
            flex-direction: row;
            //justify-content: flex-end;
            .ant-form-item-control-wrapper {
                width: 100%;
                //margin-right: 23px;
            }
        }
        &-balance {
         &-signLeft {
            width: 100%;
            display: flex;
            justify-content: flex-start;
            align-items: center;

            &-taxWay {
                .ant-form-item-control-wrapper {
                    display: flex;
                    width: 185px;
                    align-items: center;
                }
                .ant-form-item-label {
                    // width: 70px !important;
                    width: auto !important;
                }
            }
         }
        }
        &-paymentAmount{
            &-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;
                align-items: center;
                margin-right: 25px;
                margin-left: 8px;
                &-iconAdd:hover,&-iconDel:hover {
                    color: @primary-color;
                }
                &-iconDel {
                    font-size: 24px;
                    margin-left: 5px;
                }
            }
        }
    }
    &-footer {
        height: 40px;
        &>div{
            height: 40px;
            display: flex;
            flex-direction: row;
            // padding-left: 10px;
            // align-items: center;
            align-items: flex-end;
            padding-left: 10px;
            padding-right: 10px;
            //padding-right: 25px;
            // margin-bottom: 10px;
            font-size: 12px;
            padding-bottom: 10px;
        }
        .mk-form-item {
            margin-bottom: 0;
            display: flex;
        }
    }
    &-footer-left {
        /*padding: 10px;
        flex: 0 0 auto;*/
        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;
        &-but {
            color: #fff;
            background-color: @primary-color;
            border-color: @primary-color;
            &:hover{
                background-color: @button-hover-color;
                border-color: @primary-color;
                color: #fff;
            }
        }
        .mk-btn {
            margin-left: 10px;
            &:hover{
                border-color: @primary-color;
            }
        }
    }
}

.ttk-scm-app-payment-card-Cascader {
    ul {
        min-width: 198px;
        li {
            height:30px;
        }
    }
    .ant-cascader-menu {
        font-size: 12px;
    }
    .ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled), .ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled):hover {
        background: @primary-1;
        color: @primary-color;
        font-weight: normal;
    }
    .ant-cascader-menu-item:hover{
        background: @primary-1;
        color: @primary-color;
        font-weight: normal;
    }
}
