.invoice,
.invoicePreview {
    position: relative;    
    max-width: calc(100% - 80px);
    margin: 30px auto;
    padding: 0 40px 40px;
    background: transparent;
    border: none;
    border-radius: 4px;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #222;
}
.invoicePreview a.SIlogo,
.invoice a.SIlogo {
    position: relative;
    z-index: 100;
    display: block;
    width: 200px;
    height: 32px;
    margin: 20px auto;
    background-image: url('https://smartindexes.com/img/logo_smartindexes.svg');
    background-size: 100% 30px;
    background-position: top left;
    background-repeat: no-repeat;
    vertical-align: top;
}
article.payments div.wrapper .invoicePreview h1,
.invoice h1 {
    display: inline-block;
    margin: 20px 0 0 20px;
    font-size: 20px;
    font-weight: normal;
    text-align: center;
}
section div.wrapper article.invoicePreview h1 {
    display: inline-block;
    width: 100%;
    margin: 0;
    padding: 0;
    font-size: 18px;
    font-weight: normal;
    text-align: center;
}
.invoicePreview h2,
.invoice h2 {
    margin-top: 15px;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    font-size: 15px;
    font-weight: 400;
    text-align: left;
}
.invoicePreview h3,
.invoice h3 {
    margin-top: 25px;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    font-size: 15px;
    font-weight: normal;
}
.invoicePreview p,
.invoice p {
    margin: 10px 0 0 0;
    padding: 0;
    font-size: 14px;
}
.invoicePreview table,
.invoice table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
.invoicePreview th,
.invoicePreview td,
.invoice th, 
.invoice td {
    padding: 6px;
    border: 1px solid #000;
    text-align: left;
    font-size: 13px;
    line-height: 1em;
}
.invoicePreview th,
.invoice th {
    background: #f8f8f8;
    font-weight: 400;
    vertical-align: top;
}
.invoicePreview th,
.invoice th {
    background: #f8f8f8;
    font-weight: 400;
}
.invoicePreview footer,
.invoice .footer {
    margin-top: 40px;
    font-size: 12px;
    font-weight: 300;
    text-align: left;
    color: #111;
}
.invoicePreview footer a,
.invoice .footer a { 
    font-size: 12px;    
    font-weight: 300;    
    color: #111;
    text-decoration: none;
}
.invoicePreview footer a:hover,
.invoice a:hover { 
    color: #3366cc; 
    text-decoration: none; 
}