.document
{
    width: 875px;
    position: relative;
    padding-bottom: 230px; 
    margin-left: auto;
    margin-right: auto;
}

.document table
{
    width: 100%;
}

.document th
{
    text-align: left;
    padding-top: 8px;
    padding-bottom: 8px;
}
    
.document td
{
    vertical-align: top;
}

.document .large
{
    font-size: 18px;
}

.document .red
{
    color: red;
}

.document .blue
{
    color: blue;
}

.document .green
{
    color: green;
}

.document .pink
{
    color: pink;
}

.document .orange
{
    color: orange;
}

.document .collapse
{
    border-collapse: collapse;
}

.document .upper
{
    text-transform: uppercase;
}

.document .header_wrapper,
.document .info_wrapper,
.copy
{
    padding-left: 35px;
    padding-right: 35px;
}

.document table.doc_details > tbody > tr > th:first-child,
.document table.doc_details > tbody > tr > td:first-child,
.document table.doc_items > tbody > tr > th:first-child,
.document table.doc_items > tbody > tr > td:first-child,
.document .footer > table > tbody > tr > th:first-child,
.document .footer > table > tbody > tr > td:first-child
{
    padding-left: 35px;
}

.document table.doc_details > tbody > tr > th:last-child,
.document table.doc_details > tbody > tr > td:last-child,
.document table.doc_items > tbody > tr > th:last-child,
.document table.doc_items > tbody > tr > td:last-child
{
    padding-right: 35px;
}


.document .footer > table > tbody > tr > th:last-child,
.document .footer > table > tbody > tr > td:last-child
{
    padding-right: 0px;
}

.document table.doc_details > tbody > tr > td:last-child,
.document table.doc_items > tbody > tr > td:last-child,
.document table.doc_items > tbody > tr > th:last-child
{
    text-align: right;
    width: 75px;
}

.document .logo
{
    position: absolute;
    width: 159px;
    height: 129px;
}

.document .header,
.document .company_info
{
    padding-left: 200px;
}

.document .header
{
    margin-bottom: 20px;
}

.document .header .spacer,
.document .company_info .spacer,
.document .doc_comments .spacer
{
    width: 100px;
}

.document .company_info
{
}

.document .cust_heading
{
    margin-bottom: 10px;
}

.document .cust_heading .cust_name
{
    margin-bottom: 5px;
}

.document .cust_info
{
    margin-bottom: 15px;
}

.document .cust_info .spacer
{
}

.document .doc_details
{
    margin-top: 50px;
    margin-bottom: 20px;
    width: 100%;
    text-align: left;
}

.document .doc_details th
{
    background-color: #f0f0f0;
}

.document .doc_details td
{
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: left;
}

.document .doc_details tr
{
    text-align: left;
}

.document .doc_items
{
    margin-bottom: 20px;
}

.document .doc_items tr.hdr-row
{
    border-top: 1px solid #DDDDDD;
    border-bottom: 1px solid #DDDDDD;
}

.document .doc_items tr:nth-child(2) td
{
    padding-top: 15px;
}

.document .doc_items td
{
    padding-top: 3px;
    padding-bottom: 3px;
}

.document .footer
{
    position: absolute;
    bottom: 0px;
    width: 100%;
}

.document .footer .spacer
{
    width: 50px;
}

.document .footer .slurb
{
    width: 190px;
}

.document .footer .goods_declaration
{
    padding-top: 10px;
    padding-bottom: 20px;
}

.document .footer .signature
{
    width: 150px;
    display: inline-block;
    border-bottom: 1px solid #000;
}

.document .footer .totals_cell
{
    width: 250px;
}

.document .footer .totals
{
    width: 245px;
    border-collapse: collapse;
}

.document .footer .totals td:nth-child(2)
{
    text-align: right;
}

.document .footer .totals td
{
    border-bottom: 1px solid #DDDDDD;
    padding: 4px;
    font-size: 14px;
}

.document .footer .totals tr.total td
{
    border-top: 2px solid #DDDDDD;
    font-size: 14px;
    padding-top: 7px;
    padding-bottom: 6px;
}

.copy
{
    padding-left: 35px;
    padding-right: 35px;
}
