.inv-18 {
    background-color: var(--color-background1);
    color: var(--color-text1);
    position: relative;
    display: flex;
    flex-direction: column;
    font-size: 14px;
}

    .inv-18 .inv {
        padding: 0;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }

    .inv-18 .border-wrapper {
        padding: 0;
        height: 100%;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }

    .inv-18 .border-border {
        height: 100%;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }

    .inv-18 .header {
        position: relative;
        text-align: center;
        
        /*background-image: url('https://cdn8.lightfolio.com/79b1273e-df6f-414c-96a4-85810b705d55/92f9a7c2-16d2-474b-a45d-0a94a702bf98.jpg');*/
        background-size: cover;
        background-position: 50% 50%;
        min-height: 300px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .inv-18 .background-image {  }
    
    .inv-18 .header .overlay { /*position: absolute; z-index: 2; top: 0; left: 0; bottom: 0; right: 0; background: rgba(0,0,0,.5);*/ }
    .inv-18.overlay-hide .header .overlay { display: none; }
    .inv-18 .header .copy {  position: relative; z-index: 3; padding: 20px;  font-size: 12px; }
    .inv-18 .header .copy .company { /*color: rgba(255,255,255,.8);*/ /*force-white*/ }
    .inv-18 .header .copy .business { display: flex; justify-content: center; align-items: center; list-style: none; }    
    .inv-18 .header .copy .business li { /*color: rgba(255,255,255,.8);*/ /*force-white*/ }    
    .inv-18 .header .copy .business li::after { content: '·'; padding: 0 8px; font-size: 14px; color: #888; }
    .inv-18 .header .copy .business li:empty { display: none; }
    .inv-18 .header .copy .business li:last-child::after { content: ''; padding: 0 0; }

    .inv-18 .header .company {
        margin-bottom: 50px;
    }
    .inv-18 .header .company span {
        font-size: 48px;
    }

        .inv-18 .header .company h2 {
            font-size: 24px;
        }

    .inv-18 .invoice-top { display: flex; padding-bottom: 80px; flex-wrap: wrap;  }
    .inv-18 .invoice-top .full { width: 100%; }
    .inv-18 .invoice-top .left { width: 50%; display: flex; align-items: center; flex-wrap: wrap;  }
    .inv-18 .invoice-top .right { width: 50%; display: flex; align-items: center; flex-wrap: wrap;   }
    .inv-18 .invoice-top .left > div, .inv-18 .invoice-top .right > div { width: 100%; }
    .inv-18 .header .invoice-top .left { text-align: left; padding: 20px; border-top: 1px solid var(--color-text1-20); border-right: 1px solid var(--color-text1-20); border-bottom: 1px solid var(--color-text1-20);  }
    .inv-18 .header .invoice-top .right { text-align: right; padding: 20px; border-top: 1px solid var(--color-text1-20); border-left: 1px solid var(--color-text1-20); border-bottom: 1px solid var(--color-text1-20);  }
    .inv-18 .invoice-text { font-size: 36px; text-transform: uppercase; font-weight: bold; line-height: normal; margin-bottom: 30px; }




    .inv-18 .invoice-issue-date input.issue-date, .inv-18 .invoice-due-date input.due-date {  border-color: transparent; width: 120px; }
    .inv-18 .invoice-issue-date input.issue-date:hover,.inv-18 .invoice-issue-date input.issue-date:focus
    ,.inv-18 .invoice-due-date input.due-date:hover,.inv-18 .invoice-due-date input.due-date:focus {  border-color: #3fc380; }
    .inv-18 .invoice-issue-date div.issue-date, .inv-18 .invoice-due-date div.due-date { display: inline-block; padding-left: 4px; }

    .inv-18 .payment {text-align: center; }
    .inv-18 .payment a { max-width: 150px; width: 100%; background-color: #5cb85c; border-color: #398439; }

    .inv-18 .terms { padding: 20px 0; text-align: left; }
    .inv-18 textarea.client-notes { width: 100%; min-height: 70px; resize: none; border: 1px solid #ccc; padding: 10px; }
    .inv-18 div.client-notes {  }

    .inv-18 .body {
        padding: 0 0 20px 0;
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        z-index: 2;
    }
    .inv-18 .body .items { flex: 1 1 auto; }
    .inv-18 .body .terms { flex: 0 0 auto; }

    .inv-18 .inv-items {
        margin-bottom: 30px;
    }

        .inv-18 .inv-items thead th {
            padding: 5px;
            border-bottom: 1px solid #ddd;
            font-weight: bold;
            color: #333;
        }

        .inv-18 .inv-items tbody td {
            padding: 5px 5px 10px 5px;
            border-bottom: 1px solid #e5e5e5;
        }

        .inv-18 .inv-items tfoot tr {
            border: none;
        }

        .inv-18 .inv-items tfoot td {
            padding: 5px 5px 10px 5px;
            color: #333;
        }

    .inv-18 .border-border {

        padding: 60px 80px 80px 80px;
    }


    .inv-18 .border-wrapper {

    }

    .inv-18 .header .company {

    }

    .inv-18 .divider div { border-top-width: 1px; border-top-style: solid; margin-top: 20px; border-color: var(--color-text1-20);}

    .inv-18 .footer-total td {
        /*border-top: 1px solid #ddd;*/
    }

    .inv-18 .footer-payments-header td {
        /*border-top: 1px solid #ddd;*/
        text-align: right;
    }

    .inv-18 .footer-due td {
        /*border-top: 3px double #ddd;*/
    }
    
    .inv-18 .footer-separator { display: none; }
/*    .inv-18 .footer-separator td { padding: 0 0 !important; }
    .inv-18 .footer-separator div { border-top-width: 1px; border-top-style: solid; margin-top: 5px; margin-bottom: 5px;}
    .inv-18 .footer-separator.double div { border-top-style: double; border-top-width: 3px; }*/
    .inv-18 .footer-refunded .value::before { content: '-'; }

    .inv-18 .footer {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-end;
        padding: 0 0 20px 0;
        z-index: 2;
    }
    .inv-18 .footer .left { width: 50%; }
    .inv-18 .footer .right { width: 50%; }

        .inv-18 .footer .business {
            padding: 0;
        }

            .inv-18 .footer .business li {
                display: block;
            }

                .inv-18 .footer .business li:empty {
                    display: none;
                }


    .inv-18 .invoice-totals {
        width: 50%;
        margin-left: 50%;
        margin-top: 20px;
    }

    .inv-18 .product-lines { width: 100%; }
    .inv-18 .product-lines thead td {
        font-weight: bold;
    }

    .inv-18 .product-lines td {
        padding: 10px 5px; vertical-align: middle; border: none !important; 
    }
    .inv-18 .product-lines tbody td {
        padding: 0;
    }

    .inv-18 .invoice-editor td > div {
        padding: 10px 10px;
    }
    .inv-18 .invoice-editor td.taxes-element > div { padding: 0; }

    .inv-18 .invoice-totals td {
        padding: 0px 10px;
        white-space: nowrap;
    }


    .inv-18 .payment-schedule {
        border-top: 1px solid #eee;
        background-color: #fcf8e3;
        padding: 50px 50px 70px 50px;
    }

        .inv-18 .payment-schedule th {
            font-weight: bold;
        }

        .inv-18 .payment-schedule p {
            text-align: center;
            font-weight: bold;
        }

        .inv-18 .payment-schedule tfoot td {
            border: none !important;
            padding-top: 20px;
        }/*

@media screen and (max-width: 600px) {
    .inv-18 { padding: 0; font-size: 12px; }
    .inv-18 .inv { padding: 0; }
    .inv-18 .invoice-top { font-size: 11px; padding-bottom: 30px; }
    .inv-18 .invoice-text { font-size: 24px; }
    .inv-18 .invoice-details { font-size: 22px; padding-bottom: 10px; }
    .inv-18 .header .copy .business { font-size: 11px; padding: 10px; }
    .inv-18 .header { font-size: 11px; padding: 10px; }
    .inv-18 .header .company { margin-bottom: 15px; }
    .inv-18 .body { padding: 15px; }
    .inv-18 .body .items { flex-grow: 0; }
    .inv-18 .payment-schedule { padding: 50px 20px; }
    .inv-18 .invoice-totals { width: 100%; margin-left: 0; }
    .inv-18 .border-wrapper { padding: 0; }
    .inv-18 .border-border { padding: 0; }

    .inv-18 .invoice-editor td > div { padding: 5px 3px; }
    .inv-18 .invoice-totals td { padding: 5px 3px; }
    .inv-18 .product-lines { font-size: 11px; }
    .inv-18 .invoice-totals { font-size: 11px; }
    .inv-18 .footer .business { font-size: 10px; }
    .inv-18 .terms { font-size: 12px; padding-top: 50px; }
}
*/