@font-face {
    font-family: 'Noto Sans JP';
    font-style: normal;
    font-weight: 400;
    src: url(//fonts.gstatic.com/ea/notosansjp/v5/NotoSansJP-Regular.woff2) format('woff2'),
        url(//fonts.gstatic.com/ea/notosansjp/v5/NotoSansJP-Regular.woff) format('woff');
}
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP&display=swap');

@media print {

    body,
    html {
        margin: 0;
        padding: 0;
        font-family: 'Noto Sans JP', sans-serif;
    }

    * {
        font-family: 'Noto Sans JP', sans-serif !important;
    }

    @page {
        size: A4;
        margin: 0;
    }
}

.invoice {
    /* width: 595px;
    height: 842px;*/
    margin: 0 auto;
    width: 200mm;
    height: 290mm;
    padding: 10mm;
    align-items: center;
    page-break-after: always;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.invoice:last-child {
    page-break-after: auto;
}

.header {
    text-align: center;
    font-weight: bold;
}

.tb_top td:first {
    width: 60%;
}

.tb_top tr {
    display: flex;
    justify-content: space-between;
}

.tb_top td, .company-info td {
    border: none !important;
    padding: 0;
    vertical-align: top;
}
table.bill-info {
    margin-top:  0 !important;
    & td {
        text-align: left;
        padding:0px;
        padding-right:5px;
    }

    & tr:last-child {
        & td {
            border:none !important
        }

    }
}

td.bill-info-value {
    padding-left: 10px;
}

.invoice-details {
    margin-top: 20px;
    padding-bottom: 10px;
}

.customer-info {
    width: 60%;
    display: flex;
    margin-top: 4px;
    border:none !important;
}

.customer-name-wraper {
    width: 100%;
    display: flex;
}

.customer-name {
    width: 90%;
    font-size: 16px;
    font-family: 'Noto Sans JP';
    font-weight: bold;

    & span {
        text-align: center;
    }
}

.customer-type {
    width: 40%;
}

#invoice {

    & .top {
        width: 100% !important;
    }

    body,
    .bill-info,
    .custom-info-vietcafe {
        font-family: 'Noto Sans JP', Arial, sans-serif;
    }

    & table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 20px;
    }

    & td {
        border-bottom: 1px solid;
    }
    
    /* & th, td {
        padding: 10px;
        text-align: center;
    } */
}

.table-detail thead {
	vertical-align: middle;	 
}
.table-detail thead th:first-child {
    width: 70%;
}

.table-detail thead th:nth-child(2) {
    width: 70%;
}

 .table-detail thead th {
    vertical-align: middle !important;
    height: 25px;
    display: table-cell;
	 text-align: center;
	 font-weight: bold;
}
 .table-detail tbody td {
	 padding: 10px;
	 padding-left: 0;
}
 .table-detail tbody td:nth-child(2) {
	 vertical-align: middle;
	 text-align: center;
}
 
.custom-background-color {
    background-color: #ccc;
}

.total {
    margin-top: 20px;
    text-align: right;
}

.tax-table {
    width: 50%;
    margin-top: 2rem;
}

.tax-table-boder {
    border: 1px solid;
    font-family: Noto Sans JP;
    font-size: 14px;
    font-weight: inherit;
}

.tax-table-boder:first-child {
    border-left: none;
}

.tax-table-boder:last-child {
    border-right: none;
}

.signature-vietcafe {
    /* margin-top: 2rem; */
    float: right;
    width: 100%;
}

.company-info {
    width: 50% !important;
    float: right;
    word-break: break-word;

    & td {
        vertical-align: middle;
    }
}

.info-vietcafe {
    display: flex;
}

.custom-info-vietcafe {
    color: #000;
    font-family: Noto Sans JP;
    font-size: 14px;
    line-height: 5px;
    text-align: left;
}

.custom-table-pride {
    border: 1px dashed;
}

.th-custom {
    font-weight: inherit !important;
}

.bill-info-custom {
    width: 30%;
    display: inline-block;
}

.bill-info-value {
    font-weight: normal;
}

.signature_company {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    margin-left: 5%;
}

.logo_company {
    width: 154px;
    height: 35px;
    flex-shrink: 0;
}

.th-custom {
    font-size: 25px;
    font-weight: 700 !important;
    /* justify-content: center; */
}

.tr-show-total {
    height: 80px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 4rem;
    padding-right: 4rem
}