.inv-19 {

    position: relative;
    display: flex;
    flex-direction: column;    
    font-size: 14px; 
    color: var(--color-text1);
}

    .inv-19 .inv {
        padding: 0;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }

    .inv-19 .border-wrapper {
        padding: 0;
        height: 100%;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }

    .inv-19 .border-border {
        height: 100%;
        display: flex;
        flex-direction: row;
        flex-grow: 1;
    }

    .inv-19 .header { padding: 0; width: 120px; flex-shrink: 0;
         display: flex; flex-direction: row; z-index: 2; }
    .inv-19 .header > div { width: 100%; }


    .inv-19 .header .left {
/*        -webkit-filter: invert(10%);
        filter: invert(10%);*/
        text-transform: uppercase; 
    }

    .inv-19 .header .company img {
        max-width: 180px;
        max-height: 120px;
    }

    .inv-19 .header .invoice-details b {
        font-size: 14px;
    }

    .inv-19 .body .invoice-issue-date input.issue-date, .inv-19 .header .invoice-due-date input.due-date { border-color: transparent; width: 120px; }
    .inv-19 .body .invoice-issue-date input.issue-date:hover,.inv-19 .header .invoice-issue-date input.issue-date:focus
    ,.inv-19 .body .invoice-due-date input.due-date:hover,.inv-19 .header .invoice-due-date input.due-date:focus {  border-color: #3fc380; }
    .inv-19 .body .invoice-issue-date div.issue-date, .inv-19 .header .invoice-due-date div.due-date { display: inline-block; padding-left: 4px; }

    .inv-19 .invoice-top { display: flex;  }
    .inv-19 .invoice-top { display: flex; flex-wrap: wrap; }
    .inv-19 .invoice-top > div { /*width: 50%;*/ }
    .inv-19 .body .invoice-top {  }
    .inv-19 .body .invoice-top .full { width: 100%; height: 250px; text-align: right; background-color: var(--color-background1); padding: 50px 50px 50px 50px; }
    .inv-19 .body .invoice-top .left { width: 50%; padding-left: 50px; padding-top: 20px; background-color: var(--color-background2); }
    .inv-19 .body .invoice-top .right { width: 50%; padding-right: 50px; padding-top: 20px; background-color: var(--color-background2); }
    .inv-19 .header .invoice-top { /*align-items: center;*/ position: relative; writing-mode: vertical-lr; }
    .inv-19 .header .invoice-top .left { height: 250px; width: 100%; background-color: var(--color-background1); }
    .inv-19 .header .invoice-top .right { flex-grow: 1; width: 100%; background-color: var(--color-background2); }
    .inv-19 .header .invoice-top .full { position: absolute; top: 0; left: 0; bottom: 0; right: 0; z-index: 3; display: flex; align-items: center; padding-top: 50px; }
    .inv-19 .invoice-text { font-size: 90px; font-weight: bold; letter-spacing: 20px; text-transform: uppercase; }

    .inv-19 .payment {text-align: center; }
    .inv-19 .payment a { max-width: 150px; width: 100%; background-color: #5cb85c; border-color: #398439; }

    .inv-19 .terms { padding: 20px 0; text-align: left; background-color: var(--color-background2); }
    .inv-19 textarea.client-notes { width: 100%; min-height: 70px; resize: none; border: 1px solid #ccc; padding: 10px; }
    .inv-19 div.client-notes {  }

    .inv-19 .body {
        padding: 0 0;
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        position: relative;
        /*background: var(--color-alt);*/
    }
    .inv-19 .body .items { flex: 1 1 auto; padding: 25px 50px; background-color: var(--color-background2); }
    .inv-19 .body .terms { flex: 0 0 auto; padding: 0 50px; }

    .inv-19 .inv-items {
        margin-bottom: 30px;
    }

        .inv-19 .inv-items thead th {
            padding: 5px;
            border-bottom: 1px solid #ddd;
            font-weight: bold;
            color: #333;
        }

        .inv-19 .inv-items tbody td {
            padding: 5px 5px 10px 5px;
            border-bottom: 1px solid #e5e5e5;
        }

        .inv-19 .inv-items tfoot tr {
            border: none;
        }

        .inv-19 .inv-items tfoot td {
            padding: 5px 5px 10px 5px;
            color: #333;
        }

    .inv-19 .border-border {

    }

    .inv-19 .border-wrapper {

    }

    .inv-19 .header .company {
    
    }


    .inv-19 .footer-total td {
        /*border-top: 1px solid #ddd;*/
    }

    .inv-19 .footer-payments-header td {
        /*border-top: 1px solid #ddd;*/
        text-align: right;
    }

    .inv-19 .footer-due td {
        /*border-top: 3px double #ddd;*/
    }

    .inv-19 .footer-separator td { padding: 0 0 !important; }
    .inv-19 .footer-separator div { border-top-width: 1px; border-top-style: solid; 
            border-color: var(--color-text1-20); margin-top: 5px; margin-bottom: 5px;}
    .inv-19 .footer-separator.double div { border-top-style: double; border-top-width: 3px; }
    .inv-19 .footer-refunded .value::before { content: '-'; }

    .inv-19 .footer {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding: 0 50px 50px 50px;
         background-color: var(--color-background2);
    }

        .inv-19 .footer .business {
            text-align: center;
            color: #aaa;
            font-size: 11px;
            letter-spacing: .5px;
        }

            .inv-19 .footer .business li {
                display: inline-block;
            }

                .inv-19 .footer .business li:empty {
                    display: none;
                }

                .inv-19 .footer .business li::after {
                    content: '·';
                    padding: 0 8px;
                    font-size: 14px;
                    color: #888;
                }

                .inv-19 .footer .business li:last-child::after {
                    content: none;
                }

    .inv-19 .product-lines { width: 100%; }
    .inv-19 .invoice-totals {
        width: 50%;
        margin-left: 50%;
        margin-top: 20px;
    }

    .inv-19 .product-lines, .inv-19 .invoice-totals { font-size: 14px; }

    .inv-19 .product-lines thead td { text-transform: uppercase; font-weight: bold; font-size: 12px;
                                     border-bottom-width: 3px; border-bottom-style: solid;
    }

    .inv-19 .product-lines td {
        padding: 10px 5px; vertical-align: middle;
            border-color: var(--color-text1-20);
    }
    .inv-19 .product-lines tbody td {
        padding: 0;
    }

    .inv-19 .invoice-editor td > div {
        padding: 10px 10px;
    }
    .inv-19 .invoice-editor td.taxes-element > div { padding: 0; }

    .inv-19 .invoice-totals td {
        padding: 0px 10px;
        white-space: nowrap;
    }


    .inv-19 .payment-schedule {
        border-top: 1px solid #eee;
/*        background-color: #fcf8e3;*/
        padding: 50px 50px 70px 50px;
    }

        .inv-19 .payment-schedule th {
            font-weight: bold;
        }

        .inv-19 .payment-schedule p {
            text-align: center;
            font-weight: bold;
        }

        .inv-19 .payment-schedule tfoot td {
            border: none !important;
            padding-top: 20px;
        }/*

@media screen and (max-width: 600px) {
    .inv-19 { padding: 0; font-size: 12px; }
    .inv-19 .inv { padding: 0; }
    .inv-19 .invoice-text { font-size: 24px; }
    .inv-19 .header-invoice { text-align: center; }
    .inv-19 .header { font-size: 11px; padding: 0 20px 0 20px; display: flex; flex-wrap: wrap; }
    .inv-19 .header .company { margin-top: 15px; margin-bottom: 15px; }
    .inv-19 .header .company img { max-width: 100px; max-height: 75px; }
    .inv-19 .header .invoice-top { width: 100%; }
    .inv-19 .header .invoice-top > div:first-child { padding-right: 10px; }
    .inv-19 .body { padding: 20px 20px; font-size: 11px; }
    .inv-19 .body .items { flex-grow: 0; }
    .inv-19 .payment-schedule { padding: 50px 20px; }
    .inv-19 .invoice-totals { width: 100%; margin-left: 0; }
    .inv-19 .border-wrapper { padding: 0; }
    .inv-19 .border-border { padding: 0; }

    .inv-19 .invoice-editor td > div { padding: 5px 3px; }
    .inv-19 .invoice-totals td { padding: 5px 3px; }
    .inv-19 .product-lines { font-size: 11px; }
    .inv-19 .invoice-totals { font-size: 11px; }
    .inv-19 .footer { padding-bottom: 0; }
    .inv-19 .footer .business { font-size: 10px; }
    .inv-19 .terms { font-size: 12px; padding-top: 50px; }
}
*/