/* Copyright (c) 2006 StyleTap Inc. All Rights Reserved. */

body.invoice {
    margin-top: 0px ;
    }
div#invoice {
    width: 600px ;
    text-align: left;
    margin: 0 auto ;
    }
div#invoice.printed {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11pt;
    line-height: 1.2em;
    padding: 1em;
    }
div#invoice.email {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 9pt;
    line-height: 1.2em;
    padding: 0px ;
    }
div#invoice.email p.msg {
    margin-bottom: 2em;
    }
div#invoice table {
    border: 0;
    border-collapse: separate;
    border-spacing: 1px;
    margin-bottom: 1em;
    line-height: 1.1em;
    width:600px;
    }
div#invoice td {
    padding-right: 10px;
    padding-left: 10px;
    }
div#invoice.printed td {
    padding-top: 1px;
    padding-bottom: 1px;
    }
div#invoice.email table td {
    font-size: 95%;
    }
div#invoice th {
    font-weight: bold;
    background: #e8e8ff;
    color: #000080;
    padding: 3px 10px;
    }
div#invoice.printed th {
    font-size: 130%;
    background: white ;
    color: black;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    border-bottom: 1px solid black;
    }
div#invoice.email th {
    font-size: 100%;
    padding-top: 4px;
    padding-bottom: 4px;
    }
div#invoice.printed table.orderdetails th {
    border-bottom: none;
    }
div#invoice td.code,
div#invoice td.quantity {text-align: center;}
div#invoice td.description {text-align: left;}
div#invoice td.unitprice {text-align: right;}
div#invoice td.amount {text-align: right;}
div#invoice td.bold {font-weight: bold; background:green}
div#invoice td.rowheader {
    width: 10em;
    font-weight: bold;
    text-align: right;
    }
div#invoice input {
    width: 25%;
    margin-right: 3%;
    margin-left: 0%;
    }
div#invoice td.subtitle {
    background: #000080;
    color: white;
    text-align: center;
    }
div#invoice.printed h2.request {
    width: 100% ;
    margin: 10px 0px ;
    padding: 5px ;
    border: 2px solid black ;
    font-weight: bold ;
    text-align: center ;
    background-color: #E0E0E0 ;
    }
div#invoice.printed td.subtitle {
    background: white;
    color: black;
    border: 2px solid black;
    font-weight: bold;
    }
div#invoice tr.colheader {
    text-align: center ;
    }
div#invoice.printed tr.colheader {
    border-bottom: 1px solid black;
    }
div#invoice.printed table.orderdetails tr.colheader {
    border-bottom: none;
    }
div#invoice.printed table.creditcardinformation {
    border: 0;
    border-collapse: separate;
    border-spacing: 3px;
    margin-bottom: 1em;
    line-height: 1.5em;
    }
div#invoice.printed table.creditcardinformation td.rowprompt {
    width: 30em ;
    border: 1px solid black ;
    padding: 2px ;
    margin-top: 3px ;
    }
div#invoice.printed td.code,
div#invoice.printed td.quantity,
div#invoice.printed td.description,
div#invoice.printed td.amount {
    border: 1px solid white;
    }
div#invoice table.orderdetails tr.lastrow td.description {
    text-align: right;
    }
div#invoice table.orderdetails tr.lastrow td.amount {
    border-top: 1px solid black;
    border-bottom: 1px double black;
    }
div#invoice table.orderdetails tr.subtotal td.description { text-align: right; font-weight: bold;}
div#invoice table.orderdetails tr.subtotal td.amount { border-top: 1px solid black; border-bottom: 1px solid black }

div#invoice table.orderdetails tr.total td.description { text-align: right; ; font-weight: bold; }
div#invoice table.orderdetails tr.total td.amount { border-top: 2px solid black; border-bottom: 5px double black; font-weight: bold;}

div#invoice.printed div.header {
    margin: 0px 0px 2em 0px ;
    height: 80px;
    }
div#invoice.printed div.header img {
    display: block;
    margin: 0;
    padding: 0;
    float: left;
    }
div#invoice.printed div.header h1 {
    color: black;
    text-align: left;
    font-size: 200%;
    line-height: 200% ;
    margin-left: 60px ;
    margin-top: 10px ;
    float: left;
    }

div#invoice.email div.header {
    border-top: 20px solid #0000bd ;
    border-bottom: 4px solid #0000bd ;
    padding: 5px 10px ;
    margin: 0px 0px 2em 0px ;
    height: 60px ;
    }
div#invoice.email div.header img {
    display: block;
    margin: 0;
    padding: 0;
    float: left;
    }
div#invoice.email div.header h1 {
    color: #0000bd ;
    text-align: left ;
    font-size: 200% ;
    line-height: 200% ;
    margin-left: 130px ;
    margin-top: 20px ;
    float: left;
    }
    
/* maintained for compatibility with old invoices */    
div#invoice.printed img {
    display: block;
/*    width: 1in;
    height: .5in;  */
    margin-top: 0;
    margin-bottom: 2em;
    margin-left: 1em;
    padding: 0;
    }
div#invoice.printed h1 {
    display: block;
/*    position: absolute;
    left: 9em;
    top: 1.5em; */
    color: black;
    background-color: white;
    text-align: left;
    line-height: 1.5em;
    font-size: 150%;
    padding: 0;
    margin: 0;
    vertical-align: top;
    }

