@import url(https://fonts.googleapis.com/css?family=Noto+Sans:400,700);
@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,700,300);
@import url(https://fonts.googleapis.com/earlyaccess/notosanstc.css);

/*Invoice Paper*/

* {
    font-family: 'Noto Sans TC', 'Microsoft Jhenghei', 'Noto Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.invoice-paper {
    width: 5.7cm;
    word-break: break-all;
}

.invoice-paper ul {
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.invoice-paper li {
    list-style: none !important;
    margin: 0 0 3px 0!important;
    width: 100%;
    float: left;
    font-size: 12px;
    line-height: 13px;
    text-align: left;
    overflow: hidden;
}

.invoice-paper .invoice-main {
    width: 5.7cm;
    height: 9cm;
    text-align: center;
    padding: 5px 25px 5px 0px;
}

.invoice-paper .invoice-details {
    width: 5.7cm;
    /*border: 1px solid #CCC;*/
    border-top: 1px solid #CCC;
    padding: 5px 25px 5px 0px;
    text-align: center;
}

.invoice-paper .left,
{
    float: left;
}

.invoice-paper .right {
    float: right;
}


/*Invoice Main*/

.invoice-main .invoice-logo {
    margin: 0.5cm 0 0 0;
    font-size: 20px;
    line-height: 20px;
}

.invoice-main .title-text {
    font-size: 22px;
    line-height: 22px;
    text-align: center;
}

.invoice-main .invoice-yearmonth {
    margin: 0;
    font-size: 25px;
    line-height: 25px;
    font-weight: bold;
}

.invoice-main .invoice-number {
    margin: 0;
    font-size: 25px;
    line-height: 25px;
    font-weight: bold;
}

.invoice-main .invoice-info {
    margin-top: 0.2cm;
}

.invoice-main .invoice-barcode {
    display: block;
    margin: auto;
    margin-top: 0.1cm;
    width: 4.5cm;
}

.invoice-main .invoice-qrcode {
    display: inline-block;
    margin: auto;
    padding: 10px 0.2cm;
}


/*Invoice Details*/

.invoice-details .title-text {
    font-size: 22px;
    margin-bottom: 0.2cm;
}

.invoice-details ul {
    border-bottom: 1px dashed #333;
}

.invoice-details .table {
    border: none;
    border-bottom: 1px dashed #333;
    margin-bottom: 5px;
    table-layout: fixed;
    width: 100%;
}

.invoice-details .table tr td,
.invoice-details .table tr th {
    border: none;
    font-size: 12px;
    text-align: center;
    padding: 1px;
}

.invoice-details .table .product {
    text-align: left;
}

.invoice-details .details-desc {
    margin: 0;
    text-align: left;
    font-size: 14px;
}
