.app-pu-arrival-card {
    width: 100%;
    height: 100%;
    padding: 10px;
    overflow: auto;
    color: #666;
    background: #fff;
    padding: 0 10px 0 0;
    margin-bottom: 10px;

    overflow-y: hidden;

    .ant-form-item-label label, h1 {
        color: #666;
    }
    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%;
            }
        }
        /*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;
    }
    .ant-tabs-bar {
        margin-bottom: 0px;
    }
    &-header {
        flex-direction: row;
        // height: 50px;
        // flex: 0 0 40px;
        height: 35px;
        padding: 10px 0 10px 10px;
        flex: 0 0 52px;
        overflow: hidden;
        &-left {
            flex-direction: row;
            align-items: center;
            overflow: hidden;
            &>.mk-btn {
                // margin-left: 8px;
            }
            .page-prev-next {
                // margin-left: 8px;
                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;
            }
            &-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;
            &-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;
                }
            }
        }
    }
    &-content {
        overflow-y: auto;
    }
    &-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: 31%;
                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;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        padding-top: 18px;
        margin-left: 10px;
        .mk-form-item {
            margin-bottom: 5px;
            width: 25%;
        }
        .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;
            .app-pu-arrival-card-form-header .mk-form-item {
                width: 50% !important;
            }
            .ant-form-item-control-wrapper {
                // width: 800px;
                width: 450px !important;
            }
        }
    }
    &-form-details {
        margin: 8px 0 8px 10px;
        .fixedDataTableRowLayout_main.public_fixedDataTable_footer{
            overflow: hidden;
            .public_fixedDataTable_scrollbarSpacer {
                background: #fff6ea !important;
            }
        } 
        .public_fixedDataTable_header .public_fixedDataTableCell_main {
            background: #eaeaea !important;
            color: #666;
            border-top: 1px solid #d9d9d9;
            .fixedDataTableCellGroupLayout_cellGroupWrapper {
                border-top: 1px solid #d9d9d9;
            }
        }
        .public_fixedDataTable_main {
            border-right: 0px;
            .fixedDataTableLayout_header .mk-datagrid-cellContent {
                font-weight: 700;
                font-size: 13px;
            }
            .fixedDataTableLayout_rowsContainer {
                border: 1px solid #d9d9d9;
                border-top: 0px;
                
                .fixedDataTableRowLayout_rowWrapper {
                    &>div:last-child{
                        border-bottom: none;
                    }
                }
            }

            .mk-datagrid-addDelRow-cell {
                &:hover{
                    border-right-width: 0px;
                    z-index: 2;
                }
            }
        }
      
        .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 {
            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;
            }
        }
    }
    &-form-footer {
        flex: 0 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding-left: 10px;
        .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;
            justify-content: flex-end;
            .ant-form-item-control-wrapper {
                width: 150px;
            }
        }
        &-settlement {
            // align-items: center;
            &-leftFooter {
                width: 100%;
                display: flex;
                justify-content: flex-start;
                align-items: center;
                height: 53px;
                line-height: 53px;
                // margin-left: 15px;
                &-deduction {
                    margin-left: 40px;
                }
                &-deduction1 {
                    margin-left: 0px;
                }
            }
            &-paymentAmount {
                margin-right: 24px;
            }
            &-payDiv {
                // display: flex;
            }
        }
        &-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;
                }
            }
         }
         &-signRight {
             height: 53px;
             line-height: 53px;
             width: 20%;
             text-align: right;
         }
        }
        &-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 {
        flex-direction: row;
        // padding-left: 10px;
        // align-items: center;
        align-items: flex-end;
        // padding-left: 30px;
        padding-left: 10px;
        // padding-right: 25px;
        // margin-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;
            // color: #fff;
            // background-color: @primary-color;
            // border-color: @primary-color;
            &:hover{
                // background-color: @button-hover-color;
                border-color: @primary-color;
            }
        }
    }
}