/* Base */

body,
body *:not(html):not(style):not(br):not(tr):not(code) {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif,
        'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
    box-sizing: border-box;
}

body {
    background-color: #ffffff;
    color: #74787e;
    height: 100%;
    hyphens: auto;
    line-height: 1.4;
    margin: 0;
    -moz-hyphens: auto;
    -ms-word-break: break-all;
    width: 100% !important;
    -webkit-hyphens: auto;
    -webkit-text-size-adjust: none;
    word-break: break-all;
    word-break: break-word;
}

p,
ul,
ol,
blockquote {
    line-height: 1.4;
}

a {
    color: #3b3b3b;
}

a img {
    border: none;
}

/* Typography */

h1 {
    color: #262626;
    font-size: 19px;
    font-weight: 600;
    margin-top: 0;
}

h2 {
    color: #262626;
    font-size: 16px;
    font-weight: 600;
    margin-top: 0;
}

h3 {
    color: #262626;
    font-size: 14px;
    font-weight: 600;
    margin-top: 0;
}

p {
    color: #262626;
    font-size: 16px;
    line-height: 1.5em;
    margin-top: 0;
}

p.sub {
    font-size: 12px;
}

img {
    max-width: 100%;
}

/* Layout */

.wrapper {
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    width: 100%;
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 100%;
}

.content {
    margin: 0;
    padding: 0;
    width: 100%;
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 100%;
}

/* Header */

.header {
    width: 570px;
    padding: 20px 35px;
    text-align: center;
}

.header a {
    color: #262626;
    font-size: 19px;
    font-weight: 600;
    text-decoration: none;
    vertical-align: middle;
    display: inline-block;
}

.logo {
    width: auto;
    max-height: 32px;
    vertical-align: middle;
}

/* Body */

.body {
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
    width: 100%;
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 100%;
}

.inner-body {
    background-color: #f5f5f5;
    margin: 0 auto;
    padding: 0;
    width: 570px;
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 570px;
}

/* Subcopy */

.subcopy {
    border-top: 1px solid #edeff2;
    margin-top: 25px;
    padding-top: 25px;
}

.subcopy p {
    font-size: 12px;
}

/* Footer */

.footer {
    margin: 0 auto;
    padding: 20px 35px;
    text-align: center;
    width: 570px;
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 570px;
}

.footer p {
    color: #aeaeae;
    font-size: 12px;
    text-align: center;
    margin: 0;
}

/* Tables */

.table table {
    margin: 30px auto;
    width: 100%;
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 100%;
}

.table th {
    border-bottom: 1px solid #edeff2;
    padding-bottom: 8px;
    margin: 0;
}

.table td {
    color: #757575;
    font-size: 15px;
    line-height: 18px;
    padding: 8px 0;
    margin: 0;
}

.content-cell {
    padding: 35px;
}

/* Buttons */

.action {
    margin: 30px auto;
    padding: 0;
    text-align: center;
    width: 100%;
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 100%;
    font-weight: 600;
}

.button {
    border-radius: 4px;
    color: #fff;
    display: inline-block;
    text-decoration: none;
    -webkit-text-size-adjust: none;
    font-weight: 600;
}

.button-blue,
.button-primary {
    background-color: #3b3b3b;
    border-top: 10px solid #3b3b3b;
    border-right: 18px solid #3b3b3b;
    border-bottom: 10px solid #3b3b3b;
    border-left: 18px solid #3b3b3b;
}

.button-green,
.button-success {
    background-color: #28a745;
    border-top: 10px solid #28a745;
    border-right: 18px solid #28a745;
    border-bottom: 10px solid #28a745;
    border-left: 18px solid #28a745;
}

.button-red,
.button-error {
    background-color: #dc3545;
    border-top: 10px solid #dc3545;
    border-right: 18px solid #dc3545;
    border-bottom: 10px solid #dc3545;
    border-left: 18px solid #dc3545;
}

/* Panels */

.panel {
    margin: 0 0 21px;
}

.panel-content {
    background-color: #f5f5f5;
    padding: 16px;
}

.panel-item {
    padding: 0;
}

.panel-item p:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
}
