.ttk-scm-app-sa-invoice-card {
    width: 100%;
    height: 100%;
    padding: 10px;
    color: #333;
    background: #fff;
    overflow-y: auto;
    background: #F1F5F4;
    .ant-form-item-label label, h1 {
        color: #333;
    }
    .ttk-scm-app-pu-invoice-card-foot-aaa {
        border-left: 1px solid #D9D9D9;
        border-right: 1px solid #D9D9D9;
        border-bottom: 1px solid #D9D9D9;
        height:10px !important;
        line-height: 1.9;
        background: #fff;        
    }
    .ant-form-item-label {
        width: 85px;
        font-size: 12px;
    }
    .ant-form-item-control-wrapper {
        height: 38px !important;
        font-size: 12px;
        .ant-select-selection-selected-value {
            font-size: 12px;
        }
        .ant-form-item-children {
            input {
                font-size: 12px; 
            }
        }
        .ant-select-selection--single {
            font-size: 12px;
        }
    }
    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%;
            }
        }
       
        .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: 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;
                }
            }
        }
    }
    &-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;
            .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
            }
        }
    }
    .app-sa-arrival-card-content {
        background: #fff;
        border-left: 1px solid #D9D9D9; 
        border-right: 1px solid #D9D9D9; 
    }
    &-content {
        overflow-y: auto;
        position: relative;
    }
    &-form-header {
        flex: 0 0 auto;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        padding-top: 8px;
        margin-left: 10px;
        padding-bottom: 2px;
        .mk-form-item {
            margin-bottom: 5px;
            width: 25%;
            min-width: 260px;
        }
        .ant-calendar-picker {
            width: 100%;
            :hover{
                .ant-calendar-picker-input:not(.ant-input-disabled)~.ant-calendar-picker-icon:after{
                    color: @primary-color;
                }
            }
        }
        .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;
        }
        &-taxWay {
            .ant-form-item-control-wrapper {
                display: flex;
                width: 185px;
                align-items: center;
            }
        }
        &-taxMark {
            display: flex;
        }
        &-remark {
            width: 100% !important;
            .ant-form-item-control-wrapper {
                width: 800px;
            }
        }
        &-remark1 {
            width: 50% !important;
            .app-sa-arrival-card-form-header .mk-form-item {
                width: 50% !important;
            }
            .ant-form-item-control-wrapper {
                width: 441px !important;
            }
        }
        &-clacItemDiv {
            display: flex;
            width: 100%;
            flex-wrap: wrap;
            &-fromItem {
                width: 25%;
            }
        }
    }
    &-form-details {
        margin: 2px 10px 0px 10px;
        background: #fff;
        font-size: 12px;
        .redBorder{
            border: 1px solid #F5222D;
        }
        .fixedDataTableRowLayout_main.public_fixedDataTable_footer{
            overflow: hidden;
            .public_fixedDataTable_scrollbarSpacer {
                background: #fff6ea !important;
            }
        } 
        .public_fixedDataTable_header .public_fixedDataTableCell_main {
            background: #eaeaea !important;
            color: #333;
            font-size: 12px;
            border-top: 1px solid #d9d9d9;
            border-bottom: 0px solid #d9d9d9 !important;
        }
        .public_fixedDataTable_main {
            border-right: 0px;
            .fixedDataTableLayout_header .mk-datagrid-cellContent {
                font-weight: 700;
                font-size: 12px;
            }
            .fixedDataTableLayout_rowsContainer {
                border: 1px solid #d9d9d9;
                border-top: 0px;
                .fixedDataTableRowLayout_rowWrapper {
                    &>div{
                        border-bottom: none;
                    }
                }
            }
            
            .mk-datagrid-addDelRow-cell {
                &:hover{
                    border-right-width: 0px;
                    z-index: 2;
                }
            }
        }
        .ant-select-selection-selected-value {
            font-size: 12px;
            line-height: 34px;
        }
        .public_fixedDataTable_scrollbarSpacer {
            background: #eaeaea;
            border: 1px solid #d9d9d9;
            border-left:none; 
            border-right: none; 
        }
        .fixedDataTableLayout_main {
            margin-right: 10px;
            border-top: 0px;
        }
        .public_Scrollbar_main {
            // top:36px;
            border-right: 1px solid #d9d9d9;
            z-index: 0 !important;
        }
        .fixedDataTableCellGroupLayout_cellGroupWrapper:first-child .fixedDataTableCellGroupLayout_cellGroup .public_fixedDataTableCell_main{
            border-left-width: 0px; 
            z-index: 1;
            &:hover {
                border-left-width: 0px; 
                z-index: 1;
            }
        }

        .fixedDataTableLayout_rowsContainer {
            &>div:nth-child(3) {
                .fixedDataTableRowLayout_rowWrapper {
                    .fixedDataTableCellGroupLayout_cellGroupWrapper {
                        .fixedDataTableCellGroupLayout_cellGroup:first-child {
                            border-top: none !important;
                        }
                    }
                }
            }
        }
        
    }

    .ttk-scm-app-sa-invoice-card-form-details {
        // fixedDataTableCellGroupLayout_cellGroup
        .public_fixedDataTable_main {
            .fixedDataTableLayout_rowsContainer {
                >div:nth-child(2){
                    .fixedDataTableRowLayout_main {
                        .fixedDataTableRowLayout_body {
                            .fixedDataTableCellGroupLayout_cellGroupWrapper:nth-child(1){
                                .fixedDataTableCellGroupLayout_cellGroup {
                                    height: 36px !important;
                                    .fixedDataTableCellLayout_main{
                                        height: 36px !important;
                                        border-bottom:1px solid #d9d9d9 !important;
                                    }
                                }
                            }
                            .fixedDataTableCellGroupLayout_cellGroupWrapper:nth-child(2){
                                .fixedDataTableCellGroupLayout_cellGroup {
                                    height: 36px !important;
                                    .fixedDataTableCellLayout_main{
                                        height: 36px !important;
                                        border-bottom:1px solid #d9d9d9 !important;
                                    }
                                    .public_fixedDataTableCell_main:last-child {
                                        border-right:0px;
                                    }
                                }
                            }
                            .public_fixedDataTable_scrollbarSpacer {
                                height: 36px !important;
                                border-left: 1px solid #d9d9d9;
                            }
                        }
                    }
                }
                >div:nth-child(3){
                    .fixedDataTableRowLayout_rowWrapper:nth-child(1) {
                        .fixedDataTableRowLayout_main {
                            .fixedDataTableRowLayout_body {
                                .fixedDataTableCellGroupLayout_cellGroupWrapper:nth-child(1){
                                    .fixedDataTableCellGroupLayout_cellGroup {
                                        .fixedDataTableCellLayout_main{
                                            // border-top:0px !important;
                                        }
                                    }
                                }
                                .fixedDataTableCellGroupLayout_cellGroupWrapper:nth-child(2){
                                    .fixedDataTableCellGroupLayout_cellGroup {
                                        .public_fixedDataTableCell_main {
                                            // border-top: 0px;
                                        }
                                    }
                                }
                            }
                        }
                    }
                    .fixedDataTableRowLayout_rowWrapper {
                        .fixedDataTableRowLayout_main {
                            .fixedDataTableRowLayout_body {
                                .fixedDataTableCellGroupLayout_cellGroupWrapper:nth-child(2){
                                    .public_fixedDataTableCell_main:last-child {
                                        border-right:0px;
                                    }
                                }
                            }
                        }
                    }
                }
                >div:nth-child(4){
                    .public_fixedDataTable_footer {
                        .fixedDataTableRowLayout_body {
                            >.fixedDataTableCellGroupLayout_cellGroupWrapper:nth-child(2){
                                text-align: right;
                                .fixedDataTableCellGroupLayout_cellGroup {
                                    .fixedDataTableCellLayout_main:nth-child(1){
                                        text-align: center;
                                    }
                                    .fixedDataTableCellLayout_main:last-child{
                                        border-right:0px;
                                    }
                                }
                            }
                            .public_fixedDataTable_scrollbarSpacer {
                                border-left: 1px solid #d9d9d9;
                            }
                        }
                    }
                }
            }
            .ScrollbarLayout_mainVertical{
                border-left: 1px solid #d9d9d9;
                border-right: 1px solid #d9d9d9;
                border-top: 1px solid #d9d9d9;
                // width: 17px !important;
                width: 14px !important;
            }
        }
        .public_fixedDataTable_scrollbarSpacer {
            // width: 17px !important;
            // left: 1131px !important;
        }
        
    }

 
    &-form-footer {
        flex: 0 0 auto;
        display: flex;
        position: relative;
        flex-direction: row;
        color: #333;
        justify-content: space-between;
        // align-items: center;
        padding-left: 10px;
        padding-right: 10px;
        overflow: hidden;
        .ant-form-item-label {
            width: 100px;
        }
        .ant-form-item-control-wrapper {
            width: 200px;
        }
        .mk-select {
            width: 100%;
        }

        &-settlement, &-advance, &-balance{
            display: flex;
            flex-direction: row;
            .ant-form-item-control-wrapper {
                width: 150px;
            }
        }
        .app-sa-invoice-card-form-footer-top {
            display: flex;
            flex-direction: row;
        }
        &-settlement {
            // height:53px;
            overflow: hidden;
            font-size: 12px;
            // >div:nth-child(1){
            //     position: absolute;
            //     top: 0px;
            //     left: -3px;
            // }
            // >div:nth-child(2){
            //     position: absolute;
            //     top: 0px;
            //     left: 80px;
            // }
            // >div:nth-child(3){
            //     position: absolute;
            //     top: 0px;
            //     left: 175px;
            // }
            &-leftFooter {
                width: 100%;
                display: flex;
                justify-content: flex-start;
                align-items: center;
                height: 56px;
                line-height: 56px;
            }
            &-paymentAmount {
                margin-right: 24px;
            }
            .ttk-scm-app-sa-invoice-card-form-footer-balance-signLeft-taxWay {
                display: block;
                width:70px;
                .ant-form-item-label {
                    width:62px;
                }
                .ant-form-item-control-wrapper {
                    width:0px !important;
                    height:0px !important;
                }
            }
            .ttk-scm-app-sa-invoice-card-form-footer-balance-signLeft-check {
                width: 90px;
                line-height: 4;
            }
            .ant-checkbox-wrapper {
                font-size: 12px;
                height: 53px;
                line-height: 53px;
                color: #333 !important;
            }
            &-payDiv {
                // display: flex;
            }
        }
        &-billing {
            overflow: hidden;
            font-size: 12px;
            display: flex;
            flex-direction: row;
            &-leftFooter {
                width: 100%;
                display: flex;
                justify-content: flex-start;
                align-items: center;
                height: 56px;
                line-height: 56px;
            }
            .ttk-scm-app-sa-invoice-card-form-footer-balance-billing-taxWay {
                display: block;
                width:70px;
                .ant-form-item-label {
                    width:63px;
                }
                .ant-form-item-control-wrapper {
                    width:0px !important;
                    height:0px !important;
                }
                .ttk-scm-app-sa-invoice-card-form-footer-balance-billing-check {
                    color: #333;
                    width: 65px;
                }

            }
            >div:nth-child(2){
                width:65px;
            }
            .ttk-scm-app-sa-invoice-card-form-footer-balance-billing-check {
                color: #333;                
                width: 90px;
                line-height: 4;
            }
            .ant-checkbox-wrapper {
                font-size: 12px;
                height: 53px;
                line-height: 53px;
            }
        }
        &-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;
                }
            }
        }
    }
    .app-pu-arrival-card-form-footer-paymentAmount-iconDiv-iconAdd {
        cursor: pointer;
    }
    .app-pu-arrival-card-form-footer-paymentAmount-iconDiv-iconDel {
        cursor: pointer;
    }
    .app-sa-invoice-card-form-footers{
        margin-top: 5px
    }
    .app-pu-invoice-card-form-footers-settlement-payDiv {
        display: flex;
        flex-direction: column;
        .app-pu-arrival-card-form-footer-settlement {
            height: 45px;
            >div:nth-child(1){
                // padding-right: 20px;
                .ant-form-item-control-wrapper{
                    width:150px;
                }
            }
            >div:nth-child(2){
                .ant-form-item-control-wrapper{
                    width:150px;
                }
            }
            .ant-select-selection--single {
                width: 150px;
            }
        }
    }
    .app-pu-arrival-card-form-footer-paymentAmount-iconDiv {
        height: 45px !important;
    }
    .app-sa-delivery-card-form-footer-balance-signRight {
        height:20px !important;
        line-height:24px !important;
        font-size: 12px;
        padding-right: 10px;
    }
    &-footer {
        margin-top: 14px;
        font-size: 12px;
        height: 40px;
        padding-right: 10px;        
        flex-direction: row;
        align-items: center;
        padding-left: 10px;
        padding-bottom: 10px;
        .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;
        &-but {
            color: #fff;
            background-color: #40c2b7;
            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;
            }
        }
    }
    .ant-form-item-center {
        text-align: center
    }
    .app-sa-arrival-card-header-right-but{
        color: #fff;
        // border:0;
        // padding: 0 9px;
        border-color: #1EB5AD;
        background-color: @primary-color;
        border-color: @primary-color;
        &:hover{
            background-color: @button-hover-color;
            border-color: @primary-color;
            color: #fff;
        }
    }
    .app-sa-arrival-card-footer-right-but{
        color: #fff;
        // border:0;
        // padding: 0 9px;
        border-color: #1EB5AD;
        background-color: @primary-color;
        border-color: @primary-color;
        &:hover{
            background-color: @button-hover-color;
            border-color: @primary-color;
            color: #fff;
        }      
    }
    .mk-datagrid .public_fixedDataTableCell_main {
        border-top: 1px solid #d9d9d9;
        border-bottom: none;
        .fixedDataTableLayout_rowsContainer {
            &>div:nth-child(3) {
                .fixedDataTableRowLayout_rowWrapper:first-child {
                    .fixedDataTableCellLayout_main .public_fixedDataTableCell_main {
                        border-top: none !important;
                    }
                }
            }
        }
    }
    .ttk-scm-app-sa-invoice-card-img {
    //    width:144px;
    //    height:96px;
       position: absolute;
       top: 36%;
       left: 40%;
       z-index: 100;
       transform: scale(0.6);
    //    transform:rotate(-27deg);
    //    -ms-transform:rotate(-27deg); 
    //    -moz-transform:rotate(-27deg); 
    //    -webkit-transform:rotate(-27deg); 
    //    -o-transform:rotate(-27deg);
    }
    .ttk-scm-app-sa-invoice-card-img1 {
        position: absolute;
       top: 36%;
       left: 40%;
       z-index: 100;
       transform: scale(0.6);
     }
    .ttk-scm-app-sa-invoice-card-cell-right {
        text-align: right !important;
    }
    .ttk-scm-app-sa-invoice-card-cell-center {
        text-align: left
    }
    .ttk-scm-app-sa-invoice-card-cell-Newcenter {
        text-align: center;
    }
    .anticon-bangzhutishi {
        position: absolute;
        top: -8px;
        left: 155px;
        font-size: 25px;
        height: 30px;
        line-height: 30px;
        color:@primary-color;
    }
    // .fixedDataTableRowLayout_body {
    //     >.fixedDataTableCellGroupLayout_cellGroupWrapper:nth-child(1) {
    //         text-align: center;
    //         width: 42px !important;
    //         .fixedDataTableCellGroupLayout_cellGroup{
    //             width: 42px !important;   
    //             .public_fixedDataTableCell_main{
    //                 width: 42px !important;
    //                 .public_fixedDataTableCell_wrap1 {
    //                     width: 42px !important;
    //                 }
    //                 .mk-datagrid-cellContent {
    //                     width: 42px !important;
    //                 }
    //             }
    //         }
    //     }

    //     >.fixedDataTableCellGroupLayout_cellGroupWrapper:nth-child(2) {
    //         left: 42px !important;
    //         .public_fixedDataTableCell_main {
    //             text-align: right;
    //             font-size: 12px !important;
    //         }
    //     }
    // }
    .edficon-shezhi {
        &:hover{
            color: #45acf7;
            border: 1px solid #45acf7;
        }
    }
    .ant-select-selection__clear {
        right: 22px;
    }
    .public_fixedDataTableCell_main {
        .mk-datagrid-cellContent {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
    }
    .ttk-scm-app-sa-invoice-card-cell-seq {
        text-align: center;
    }
    .total-footer {
        line-height: 35px;
    }
}

.ant-dropdown-menu-item {
    font-size:12px;
}

.ttk-scm-app-sa-invoice-card-helpPopover {
    .ant-popover-inner {
        width: 315px;
        font-size: 12px;
    }
}

.ant-checkbox-wrapper {
    font-size: 12px !important;
}

.ant-select-dropdown-menu-item {
    padding: 7px 12px !important;
}

// @media screen and (min-width: 1680px) {//大于1680样式

// }  

@media screen and (min-width: 1250px) {//大于1280样式
    .app-sa-delivery-card-form-header-remark1 {
        .ant-form-item-control-wrapper {
            width: 420px !important;
        }
    }
}

@media screen and (min-width: 1320px) {//大于1300样式
    .app-sa-delivery-card-form-header-remark1 {
        .ant-form-item-control-wrapper {
            width: 441px !important;
        }
    }
}

@media screen and (max-width: 1249px) {//小于1249样式
    .app-sa-delivery-card-form-header-remark1 {
        .ant-form-item-control-wrapper {
            width: 410px !important;
        }
    }
}

// @media screen and (max-width: 1024px) {//小于1024样式
    
// }
// @media screen and (max-width: 575px)  {
   
// }