table {
    font-family: Arial, sans-serif;
}
table.company {
    overflow: hidden;
}
h1.company-logo {
    color: black;
}
table {
    border-collapse: collapse;
    font-size: 14px;
    width: 100%;
    color: #757575;
}
.align-left { text-align: left; }
.align-right { text-align: right; }
.company .info,
.company .logo {
    text-align: left;
    vertical-align: middle;
    font-size: 14px !important;
}
table.two-column {
    margin: 40px 0;
    width: 100%;
}
.two-column td {
    text-align: left;
    vertical-align: top;
}
table.products th {
    border-bottom: 2px solid #A5A5A5;
   font-size:12px;
}
table.products td{
    vertical-align: top;
     font-size:12px;
}
table.products td, table.products th {
    padding: 5px;
}
#terms-notes {
    margin-top: 30px;
}
tr.product-row td {
    border-bottom: 1px solid #CECECE;
}
td.total, td.grand-total {
    border-top: 4px solid #8D8D8D;
    padding-bottom: 0; margin-bottom: 0;
}
td.grand-total {
    font-size: 16px !important;
}
table, tbody, h1 {
    margin: 0;
    padding: 0;
}
h1 {
    font-size: 36px;
}
span.payment-status {
    font-size: 14px;
    font-weight: normal;
}
.nowrap {
    white-space: nowrap;
}
.invoice-head {
    margin-bottom: 30px;
    margin-right: -64px;
}
.invoice-head td {
    text-align: left;
}
.invoice-head .title {
    color: #525252;
}
td.invoice-details {
    vertical-align: top;
    /*line-height: 30px;*/
}
td.invoice-details span {
    font-size: 14px;
}
.number {
    font-size: 16px;
}
.small-font {
    font-size: 14px;
}
.total-amount {
    padding: 20px 20px 30px 20px;
    width: 54%;
}
.total-amount, .total-amount h1 {
    color: white;
    font-size: 14px;
}
div.item-attribute {
    font-size: 12px;
    margin-top: 10px;
}
.invoice {
    margin-bottom: 20px;
}
.foot {
    margin: 0 -64px;
}
.foot td.border {
    padding: 20px 40px;
    width: 100%;
    text-align: center;
}
td.company-details, td.payment {
    padding: 20px 40px 0;
    text-align: center;
    vertical-align: top;
    width: 50%;
}
.foot td {
    border: 1px solid white;
    font-size: 12px;
}
.refunded {
    color: #a00 !important;
}
.total-without-refund {
    color: #757575 !important;
}
/* End change colors */
.space td {
    padding-bottom: 30px;
}
table.products td {
    overflow: hidden;
}
.total-amount p {
    font-weight: bold;
    font-size: 16px;
}