<style>
/* -------------------------------------
    GLOBAL RESETS
------------------------------------- */

/*All the styling goes here*/

img {
    border: none;
    -ms-interpolation-mode: bicubic;
    max-width: 100%;
}

img.is-light-background {
    {{#if backgroundIsDark}}
        display: none !important;
        mso-hide: all !important;
    {{else}}
        display: initial !important;
    {{/if}}
}

img.is-dark-background {
    {{#if backgroundIsDark}}
        display: initial !important;
    {{else}}
        display: none !important;
        mso-hide: all !important;
    {{/if}}
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
    -webkit-font-smoothing: antialiased;
    font-size: 18px;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    color: {{textColor}};
}

table {
    border-collapse: separate;
    mso-table-lspace: 0pt;
    mso-table-rspace: 0pt;
    width: 100%;
}

table td {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
    font-size: 18px;
    vertical-align: top;
    color: {{textColor}};
}

/* -------------------------------------
    BODY & CONTAINER
------------------------------------- */
.body {
    width: 100%;
}

/* Set a max-width, and make it display as block so it will automatically stretch to that width, but will also shrink down on a phone or something */
.container {
    display: block;
    margin: 0 auto !important;
    padding: 12px;
    /* makes it centered */
    max-width: 600px;
    background-color: {{backgroundColor}};
    color: {{textColor}};
}

/* This should also be a block element, so that it will fill 100% of the .container */
.content {
    box-sizing: border-box;
    display: block;
    margin: 0 auto;
    max-width: 600px;
    {{#if borderColor}}
        border: 1px solid {{borderColor}};
    {{/if}}
}

.content a {
    overflow-wrap: anywhere;
}

/* -------------------------------------
    POST CONTENT
------------------------------------- */
hr {
    position: relative;
    display: block;
    width: 100%;
    margin: 3em 0;
    padding: 0;
    height: 1px;
    border: 0;
    border-top: 1px solid #e5eff5 !important;
    border-top: 1px solid {{secondaryBorderColor}} !important;
}

p,
ul,
ol,
dl,
blockquote {
    margin: 0 0 1.5em 0;
    line-height: 1.6em;
}

ol,
ul {
    padding-left: 1.3em;
    padding-right: 1.5em;
}

ol ol,
ul ul,
ul ol,
ol ul {
    margin: 0.5em 0 1em;
}

ul {
    list-style: disc;
}

ul ul {
    list-style: circle;
}

ul ul ul {
    list-style: square;
}

ol {
    list-style: decimal;
}

ol ol {
    list-style: lower-alpha;
}

ol ol ol {
    list-style: lower-roman;
}

ul,
ol {
    max-width: 100%;
}

li {
    margin: 0.5em 0;
    padding-left: 0.3em;
    line-height: 1.6em;
}

dt {
    float: left;
    margin: 0 20px 0 0;
    width: 120px;
    color: {{textColor}};
    font-weight: 500;
    text-align: right;
}

dd {
    margin: 0 0 5px 0;
    text-align: left;
}

blockquote {
    margin: 2em 0 2em 0;
    padding: 0 25px 0 25px;
    border-left: {{linkColor}} 2px solid;
    color: {{textColor}};
    font-size: 17px;
    font-weight: 500;
    line-height: 1.6em;
    letter-spacing: -0.2px;
}

blockquote.kg-blockquote-alt {
    border-left: 0 none;
    padding: 0 50px 0 50px;
    text-align: center;
    font-size: 1.2em;
    font-style: italic;
    color: {{textColor}};
    color: {{secondaryTextColor}};
}

blockquote p {
    margin: 0.8em 0;
    font-size: 1em;
}

blockquote small {
    display: inline-block;
    margin: 0.8em 0 0.8em 1.5em;
    font-size: 0.9em;
    opacity: 0.8;
}

blockquote cite {
    font-weight: bold;
}
blockquote cite a {
    font-weight: normal;
}

a {
    color: {{linkColor}};
    {{#if backgroundIsDark}}
        text-decoration: underline;
    {{else}}
        text-decoration: none;
    {{/if}}
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
    line-height: 1.11em;
    font-weight: 700;
    text-rendering: optimizeLegibility;
    color: {{titleColor}};
}

h1 {
    margin: 1.5em 0 0.5em 0;
    font-size: 42px;
    font-weight: 700;
}

h2 {
    margin: 1.5em 0 0.5em 0;
    font-size: 32px;
}

h3 {
    margin: 1.5em 0 0.5em 0;
    font-size: 26px;
}

h4 {
    margin: 1.8em 0 0.5em 0;
    font-size: 21px;
    line-height: 1.2em;
}

h5 {
    margin: 2em 0 0.5em 0;
    font-size: 19px;
    line-height: 1.3em;
}

h6 {
    margin: 2em 0 0.5em 0;
    font-size: 19px;
    line-height: 1.3em;
    font-weight: 700;
}

h1 strong,
h2 strong,
h3 strong,
h4 strong,
h5 strong,
h6 strong {
    font-weight: 800;
}

strong {
    font-weight: 700;
}

figure {
    margin: 0 0 1.5em;
    padding: 0;
}

figcaption {
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
    font-size: 13px;
    padding-top: 5px;
    line-height: 1.5em;
}

code {
    font-size: 0.9em;
}

pre {
    white-space: pre-wrap;
    overflow: auto;
    background: #15212A;
    padding: 15px;
    border-radius: 3px;
    line-height: 1.2em;
    color: #ffffff;
}

p code,
li code {
    background: #F2F7FA;
    word-break: break-all;
    padding: 1px 7px;
    border-radius: 3px;
    color: {{accentColor}};
}

figure blockquote p {
    font-size: 1em;
}

.header-image {
    padding-top: 24px;
}

.site-icon {
    padding-bottom: 10px;
    padding-top: 20px;
    text-align: center;
    border-radius: 3px;
}

.site-icon img {
    width: 48px;
    height: 48px;
    border-radius: 3px;
}

.site-info {
    padding-top: 50px;
}

.site-info-bordered {
    padding-top: 50px;
    border-bottom: 1px solid #e5eff5;
    border-bottom: 1px solid {{secondaryBorderColor}};
}

.site-url {
    color: {{textColor}};
    font-size: 16px;
    letter-spacing: -0.1px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
}

.site-url-bottom-padding {
    padding-bottom: 50px;
}

.site-title {
    text-decoration: none !important;
    color: {{textColor}};
}

.site-subtitle {
    text-decoration: none !important;
    color: {{textColor}};
    color: {{secondaryTextColor}};
    font-size: 14px;
    font-weight: 400;
    text-transform: none;
}

.post-title {
    padding-bottom: 16px;
    font-size: 42px;
    line-height: 1.1em;
    font-weight: 700;
    text-align: center;
}
.post-title-serif {
    font-family: Georgia, serif;
    letter-spacing: -0.01em;
}
.post-title-left {
    text-align: left;
}

.post-title-link {
    display: block;
    text-align: center;
    margin-top: 50px;
    text-decoration: none !important;
    color: {{titleColor}};
}

.post-title-link-left {
    text-align: left;
}

.post-meta,
.view-online {
    color: {{textColor}};
    color: {{secondaryTextColor}};
    font-size: 13px;
    letter-spacing: 0.1px;
    text-align: center;
}

.post-meta-left {
    text-align: left;
}

.post-meta-left.view-online-mobile {
    display: none !important;
}

.post-meta-left.view-online {
    text-align: right;
}

.post-meta-center.view-online {
    display: none !important;
}

.post-meta-center .view-online,
.post-meta-center .view-online a {
    text-decoration: underline !important;
}

.post-meta-date {
    white-space: nowrap;
}

.comment-link {
    color: {{textColor}};
    color: {{secondaryTextColor}};
    font-size: 13px;
    letter-spacing: 0.1px;
    text-decoration: none;
}

.comment-link img {
    width: 16px;
    height: 16px;
    margin-bottom: 1px;
    vertical-align: middle;
}

.view-online-link {
    word-wrap: none;
    white-space: nowrap;
    color: {{textColor}};
    color: {{secondaryTextColor}};
}

.feature-image-row:first-child > td {
    padding-top: 24px;
}

.feature-image {
    padding-bottom: 30px;
    width: 100%;
}

.feature-image-with-caption {
    padding-bottom: 10px;
}

.feature-image-caption {
    width: 100%;
    padding-bottom: 30px;
    text-align: center;
    font-size: 13px;
    color: {{textColor}};
    color: {{secondaryTextColor}};
}

/* -------------------------------------
    FEEDBACK BUTTONS
------------------------------------- */

.feedback-buttons {
    width: auto !important;
    max-width: 600px !important;
    margin: auto;
}

.feedback-buttons-mobile {
    display: none !important;
    mso-hide: all !important;
}

.feedback-button-mobile-text {
    color: {{textColor}};
    font-size: 13px !important;
    font-weight: 500;
    margin-bottom: 0;
}

/* -------------------------------------
    LATEST POSTS TABLE
------------------------------------- */

.latest-posts-header {
    margin: 0;
    padding: 8px 0 16px;
    color: {{titleColor}};
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.latest-post {
    max-width: 600px !important;
    padding: 8px 0;
}

.latest-post a {
    text-decoration: none !important;
}

.latest-post-img a {
    display: block;
    height: 100px;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
}

.latest-post-img img {
    object-fit: cover;
}

.latest-post-title {
    padding-right: 12px;
}

.latest-post h4 {
    margin: 0;
    padding: 2px 0 4px;
    font-size: 18px;
    font-weight: 700;
}

.latest-post h4.no-image {
    padding: 12px 0 4px;
}

.latest-post h4 a {
    color: {{textColor}} !important;
}

.latest-post p {
    margin: 0;
    padding: 0;
    color: {{textColor}};
    color: {{secondaryTextColor}};
    font-size: 15px;
    font-weight: 400;
}

.latest-post p a {
    color: {{textColor}} !important;
    color: {{secondaryTextColor}} !important;
}

/* -------------------------------------
    SUBSCRIPTION DETAILS BOX
------------------------------------- */

.subscription-box {
    max-width: 600px !important;
    padding: 32px 0;
    border-bottom: 1px solid #e5eff5;
    border-bottom: 1px solid {{secondaryBorderColor}};
    color: {{textColor}};
}

.subscription-box h3 {
    color: {{titleColor}} !important;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 18px;
}

.subscription-box p {
    margin-bottom: 0;
    color: {{textColor}} !important;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.45em;
    text-decoration: none;
}

.subscription-box p a {
    color: {{textColor}} !important;
    text-decoration: none;
}

.manage-subscription {
    white-space: nowrap;
    font-size: 15px;
    font-weight: 600;
    text-align: right;
    line-height: 1.45em;
    vertical-align: bottom;
    color: {{linkColor}};
    {{#if backgroundIsDark}}
    text-decoration: underline;
    {{/if}}
}

/* -------------------------------------
    POST CONTENT
------------------------------------- */

.post-content {
    max-width: 600px !important;
    font-family: Georgia, serif;
    font-size: 18px;
    line-height: 1.5em;
    color: {{textColor}};
    padding-bottom: 20px;
    border-bottom: 1px solid #e5eff5;
    border-bottom: 1px solid {{secondaryBorderColor}};
}

.post-content-sans-serif {
    max-width: 600px !important;
    font-size: 17px;
    line-height: 1.5em;
    color: {{textColor}};
    padding-bottom: 20px;
    border-bottom: 1px solid #e5eff5;
    border-bottom: 1px solid {{secondaryBorderColor}};
}

.post-content-row:first-child > td, .header-image-row + .post-content-row > td {
    padding-top: 52px;
}

.post-content a,
.post-content-sans-serif a {
    color: {{linkColor}};
    text-decoration: underline;
}

a[data-flickr-embed] img {
    height: auto;
}

.kg-bookmark-card {
    width: 100%;
    background: {{backgroundColor}};
}

.kg-bookmark-card a {
    text-decoration: none;
}

.kg-card + .kg-bookmark-card {
    margin-top: 0;
}

.kg-image-card img {
    display: block;
    margin: 0 auto;
    width: auto;
    height: auto !important;
}

.kg-bookmark-container {
    display: flex;
    min-height: 148px;
    color: {{textColor}};
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    text-decoration: none;
    border-radius: 3px;
    border: 1px solid #e5eff5;
    border: 1px solid {{secondaryBorderColor}};
}

.kg-bookmark-content {
    display: inline-block;
    width: 100%;
    padding: 20px;
}

.kg-bookmark-title {
    color: {{textColor}};
    font-size: 15px;
    line-height: 1.5em;
    font-weight: 600;
}

.kg-bookmark-description {
    display: -webkit-box;
    overflow-y: hidden;
    margin-top: 12px;
    max-height: 40px;
    color: {{textColor}};
    color: {{secondaryTextColor}};
    font-size: 13px;
    line-height: 1.5em;
    font-weight: 400;

    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.kg-bookmark-thumbnail {
    min-width: 140px;
    max-width: 180px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 0 2px 2px 0;
}

.kg-bookmark-thumbnail img {
    display: none;
}

.kg-bookmark-metadata {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 14px;
    color: {{textColor}};
    font-size: 13px;
    font-weight: 400;
}

.kg-bookmark-icon {
    margin-right: 8px;
    width: 22px;
    height: 22px;
}

.kg-bookmark-icon[src$=".svg"] {
    display: none;
}

.kg-bookmark-author {
    line-height: 1.5em;
}

.kg-bookmark-publisher {
    overflow: hidden;
    max-width: 240px;
    line-height: 1.5em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kg-bookmark-publisher:before {
    content: "•";
    margin: 0 6px;
}

.kg-gallery-container {
    margin-top: -20px;
}

.kg-gallery-image img {
    width: 100% !important;
    height: auto !important;
    padding-top: 20px;
}

.kg-video-preview {
    background-color: #1d1f21;
    background-image: radial-gradient(circle at center, #5b5f66, #1d1f21);
    display: block;
    text-decoration: none !important;
}

.kg-video-preview table {
    background-size: cover;
    min-height: 200px; /* for when images aren't loaded */
}

.kg-video-play-button {
    height: 2em;
    width: 3em;
    margin: 0 auto;
    border-radius: 10px;
    padding: 1em 0.8em 0.6em 1em;
    font-size: 1em; /* change this to resize */
    background-color: rgba(0,0,0,0.85);
}

.kg-video-play-button div {
    display: block;
    width: 0;
    height: 0;
    margin: 0 auto;
    line-height: 0px; /* fix for Yahoo Mail */
    border-color: transparent transparent transparent white;
    border-style: solid;
    border-width: 0.8em 0 0.8em 1.5em;
}

.kg-nft-link {
    display: block;
    text-decoration: none !important;
    color: {{textColor}} !important;
    font-family: inherit !important;
    font-size: 14px;
    line-height: 1.3em;
    padding-top: 4px;
    padding-right: 20px;
    padding-left: 20px;
    padding-bottom: 4px;
}

.kg-twitter-link {
    display: block;
    text-decoration: none !important;
    color: #15212A !important;
    font-family: inherit !important;
    font-size: 15px;
    padding: 8px;
    line-height: 1.3em;
}

.kg-audio-thumbnail.placeholder {
    {{#if backgroundIsDark}}
        background: {{backgroundColor}} !important;
        background: rgba(255, 255, 255, 0.25) !important;
    {{else}}
        background: {{accentColor}} !important;
    {{/if}}
}

.kg-callout-card {
    display: flex;
    margin: 0 0 1.5em 0;
    padding: 20px 28px;
    border-radius: 3px;
}

.kg-callout-card p {
    margin: 0
}

.kg-callout-text {
    color: #15212A;
}

.kg-callout-card-grey {
    background: #eef0f2;
}

.kg-callout-card-white {
    background: #fff;
    box-shadow: inset 0 0 0 1px #dddedf;
}

.kg-callout-card-blue {
    background: #E9F6FB;
}

.kg-callout-card-green {
    background: #E8F8EA;
}

.kg-callout-card-yellow {
    background: #FCF4E3;
}

.kg-callout-card-red {
    background: #FBE9E9;
}

.kg-callout-card-pink {
    background: #FCEEF8;
}

.kg-callout-card-purple {
    background: #F2EDFC;
}

.kg-callout-card-accent {
    background: {{accentColor}};
}

.kg-callout-card-accent a,
.kg-callout-card-accent .kg-callout-text {
    color: #fff;
}

.kg-callout-emoji {
    padding-right: 12px;
    font-size: 20px;
}

.kg-header-card {
    margin: 0 0 1.5em 0;
    padding: 110px 35px 110px 35px;
    text-align: center;
}

.kg-header-card.kg-size-small {
    padding-top: 75px;
    padding-bottom: 75px;
}

.kg-header-card.kg-size-large {
    padding-top: 140px;
    padding-bottom: 140px;
}

.kg-header-card.kg-align-left {
    text-align: left;
}

.kg-header-card.kg-style-dark {
    background: #15171a;
}

.kg-header-card.kg-style-dark h2,
.kg-header-card.kg-style-dark h3 {
    color: #ffffff;
}

.kg-header-card.kg-style-light {
    background-color: #F9F9FA;
}

.kg-header-card.kg-style-light h2,
.kg-header-card.kg-style-light h3 {
    color: #15171a;
}

.kg-header-card.kg-style-accent {
    background: {{accentColor}};
}

.kg-header-card.kg-style-accent h2,
.kg-header-card.kg-style-accent h3 {
    color: #ffffff;
}

.kg-header-card.kg-style-image {
    background-color: #e7e7eb;
    background-size: cover;
    background-position: center center;
}

.kg-header-card.kg-style-image h2,
.kg-header-card.kg-style-image h3 {
    color: #ffffff;
}

.kg-header-card h2 {
    font-size: 3em;
    font-weight: 700;
    line-height: 1.1em;
    margin: 0 0 0.125em;
}

.kg-header-card h2 strong {
    font-weight: 800;
}

.kg-header-card.kg-size-small h2 {
    font-size: 2.5em;
}

.kg-header-card.kg-size-large h2 {
    font-size: 3.5em;
}

.kg-header-card h3 {
    font-size: 1.125em;
    font-weight: 500;
    line-height: 1.3em;
    margin: 0;
}

.kg-header-card h3 strong {
    font-weight: 700;
}

.kg-header-card.kg-size-large h3 {
    font-size: 1.25em;
}

.kg-header-card.kg-size-small h3 {
    font-size: 1em;
}

.kg-header-card-button {
    margin-top: 1.75em;
    background: #ffffff;
    border-radius: 5px;
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    margin: 0;
    padding: 8px 16px;
    text-decoration: none !important;
    color: #15171A !important;
}

.kg-size-large .kg-header-card-button {
    margin-top: 2em;
}

.kg-size-small .kg-header-card-button {
    margin-top: 1.5em;
}

.kg-style-light .kg-header-card-button {
    background: {{accentColor}} !important;
    color: #ffffff !important;
}

.kg-product-card {
    width: 100%;
    margin: 0 0 1.5em; 
    padding: 20px;
    border-radius: 3px; 
    border: 1px solid #e5eff5;
    border: 1px solid {{secondaryBorderColor}};
}

.kg-product-card .btn-accent a {
    {{#if backgroundIsDark}}
        color: #15212A !important;
    {{/if}}
}

.kg-product-rating img {
    width: 96px;
    border: none;
}

.kg-audio-card {
    width: auto; 
    width: 100%;
    margin: 0 auto 1.5em;
    border-radius: 3px; 
    border: 1px solid #e5eff5;
    border: 1px solid {{secondaryBorderColor}};
}

.kg-audio-title {
    display: block; 
    padding-right: 20px; 
    padding-bottom: 4px; 
    padding-top: 4px; 
    font-size: 16px; 
    font-weight: 600; 
    line-height: 18px; 
    text-decoration: none !important; 
    color: {{textColor}} !important;
}

.kg-audio-play-button {
    display: block; 
    box-sizing: border-box; 
    width: 16px; 
    height: 16px; 
    color: {{textColor}} !important; 
    border-style: solid; 
    border-width: 8px 0px 8px 16px; 
    border-color: transparent transparent transparent currentColor;
}

.kg-audio-duration {
    display: block; 
    text-decoration: none; 
    font-size: 13px; 
    text-decoration: none !important; 
    color: {{textColor}} !important;
}

.kg-audio-link {
    text-decoration: none !important; 
    color: {{textColor}}; 
    color: {{secondaryTextColor}};
}

.kg-file-card {
    width: 100%;
    margin: 0 0 1.5em 0;
    border-radius: 3px; 
    border: 1px solid #e5eff5;
    border: 1px solid {{secondaryBorderColor}};
}

.kg-file-title {
    display: block; 
    width: 100%; 
    padding-left: 12px; 
    padding-top: 8px; 
    font-size: 17px; 
    font-weight: bold; 
    line-height: 1.3em; 
    text-decoration: none !important;
    color: {{textColor}} !important; 
}

.kg-file-description {
    display: block; 
    width: 100%; 
    padding-left: 12px; 
    padding-top: 2px; 
    font-size: 15px; 
    line-height: 1.4em; 
    text-decoration: none !important;
    color: {{textColor}} !important; 
    color: {{secondaryTextColor}} !important; 
}

.kg-file-meta {
    display: block;
    width: 100%; 
    padding-left: 12px; 
    padding-top: 4px; 
    padding-bottom: 8px;
    font-size: 13px; 
    line-height: 1.4em; 
    text-decoration: none !important;
    color: {{textColor}} !important;
    color: {{secondaryTextColor}} !important; 
}

.kg-file-name {
    font-weight: 500; 
    color: {{textColor}};
}

.kg-file-thumbnail {
    position: relative; 
    vertical-align: middle; 
    text-align: center; 
    border-radius: 2px;
    {{#if backgroundIsDark}}
        background: {{backgroundColor}} !important;
        background: rgba(255, 255, 255, 0.25) !important;
    {{else}}
        background: {{accentColor}} !important;
    {{/if}}
}

.kg-twitter-card {
    width: auto; 
    width: 100%;
    margin: 0 auto;
    background: #FFFFFF !important;
    border-radius: 12px; 
    border: 1px solid #e5eff5;
}

.kg-toggle-card {
    background: transparent;
    padding: 20px; 
    margin-bottom: 1.5em;
    border-radius: 4px; 
    border: 1px solid {{secondaryBorderColor}}; 
}


/* -------------------------------------
    HEADER, FOOTER, MAIN
------------------------------------- */
.main {
    border-radius: 3px;
    border-spacing: 20px 0;
    width: 100%;
    background: {{backgroundColor}};
}

.wrapper {
    box-sizing: border-box;
}

.content-block {
    padding-bottom: 10px;
    padding-top: 10px;
}

.footer {
    color: {{textColor}};
    color: {{secondaryTextColor}};
    margin-top: 20px;
    text-align: center;
    font-size: 13px;
    padding-bottom: 10px;
    padding-top: 10px;
    padding-left: 30px;
    padding-right: 30px;
    line-height: 1.5em;
}

.footer a {
    color: {{textColor}};
    color: {{secondaryTextColor}};
    text-decoration: underline;
}

/* -------------------------------------
    BUTTONS
------------------------------------- */
.btn {
    box-sizing: border-box;
    width: 100%;
    display: table;
}

.btn>tbody>tr>td {
    padding-bottom: 15px;
}

.btn table {
    width: auto;
}

.btn table td {
    background-color: #ffffff;
    border-radius: 5px;
    text-align: center;
}

.btn a {
    background-color: #ffffff;
    border: solid 1px #3498db;
    border-radius: 5px;
    box-sizing: border-box;
    color: #3498db;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    margin: 0;
    padding: 12px 25px;
    text-decoration: none;
}

.btn-primary table td {
    background-color: #3498db;
}

.btn-primary a {
    background-color: #3498db;
    border-color: #3498db;
    color: #ffffff;
}

.btn-accent table td {
    {{#if backgroundIsDark}}
        background-color: #FFFFFF;
    {{else}}
        background-color: {{adjustedAccentColor}};
    {{/if}}
}

.btn-accent a {
    {{#if backgroundIsDark}}
        background-color: #FFFFFF;
        border-color: #FFFFFF !important;
        color: #15212A;
    {{else}}
        background-color: {{adjustedAccentColor}};
        border-color: {{adjustedAccentColor}} !important;
        color: {{adjustedAccentContrastColor}};
    {{/if}}
}

/* -------------------------------------
    OTHER STYLES THAT MIGHT BE USEFUL
------------------------------------- */
.last {
    margin-bottom: 0;
}

.first {
    margin-top: 0;
}

.align-center {
    text-align: center;
}

.align-right {
    text-align: right;
}

.align-left {
    text-align: left;
}

.clear {
    clear: both;
}

.mt0 {
    margin-top: 0;
}

.mb0 {
    margin-bottom: 0;
}

.preheader {
    color: transparent;
    display: none;
    height: 0;
    max-height: 0;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    mso-hide: all;
    visibility: hidden;
    width: 0;
}

.mobile-only {
    display: none;
}

/* -------------------------------------
    RESPONSIVE AND MOBILE FRIENDLY STYLES
------------------------------------- */
@media only screen and (max-width: 620px) {

    table.body {
        width: 100%;
        min-width: 100%;
        padding: 8px 4px;
        background-color: {{backgroundColor}};
    }

    .hide-mobile {
        display: none;
    }

    .mobile-only {
        display: initial !important;
    }

    table.body p,
    table.body ul,
    table.body ol,
    table.body td {
        font-size: 16px !important;
    }

    table.body pre {
        white-space: pre-wrap !important;
        word-break: break-word !important;
    }

    table.body .content {
        padding: 0 !important;
    }

    table.body .container {
        padding: 0 !important;
        width: 100% !important;
    }

    table.body .main {
        border-spacing: 10px 0 !important;
        border-left-width: 0 !important;
        border-radius: 0 !important;
        border-right-width: 0 !important;
    }

    table.body .btn table {
        width: 100% !important;
    }

    table.body .btn a {
        width: 100% !important;
    }

    table.body .img-responsive {
        height: auto !important;
        max-width: 100% !important;
        width: auto !important;
    }

    table.body .site-icon img {
        width: 40px !important;
        height: 40px !important;
    }

    table.body .site-url a {
        font-size: 14px !important;
        padding-bottom: 15px !important;
    }

    table.body .post-meta,
    table.body .post-meta-date {
        white-space: normal !important;
        font-size: 12px !important;
        line-height: 1.5em;
    }

    table.body .post-meta,
    table.body .view-online {
        width: 100% !important;
    }

    table.body .post-meta-left,
    table.body .post-meta-left.view-online {
        width: 100% !important;
        text-align: left !important;
    }

    table.body .post-meta.view-online-mobile {
        display: table-row !important;
    }

    table.body .post-meta-left.view-online-mobile,
    table.body .post-meta-left.view-online-mobile .view-online {
        text-align: left !important;
    }

    table.body .post-meta.view-online.desktop {
        display: none !important;
    }

    table.body .view-online {
        text-decoration: underline;
    }


    table.body .view-online-link,
    table.body .comment-link,
    table.body .footer,
    table.body .footer a {
        font-size: 12px !important;
    }

    table.body .post-title a {
        font-size: 32px !important;
        line-height: 1.15em !important;
    }

    table.feedback-buttons {
        display: none !important;
    }

    table.feedback-buttons-mobile {
        display: table !important;
        width: 100% !important;
        max-width: 390px;
    }

    table.feedback-buttons-mobile a,
    table.body .feedback-button-mobile-text {
        text-decoration: none !important;
    }

    table.body .feedback-button-mobile-text {
        font-size: 13px !important;
    }

    table.body .latest-posts-header {
        font-size: 12px !important;
    }

    table.body .latest-post-title {
        display: inline-block !important;
        width: 100%;
        padding-right: 8px !important;
    }

    table.body .latest-post h4, table.body .latest-post h4 span {
        padding: 4px 0 6px !important;
        font-size: 15px !important;
    }

    table.body .latest-post-excerpt,
    table.body .latest-post-excerpt a,
    table.body .latest-post-excerpt span {
        font-size: 13px !important;
        line-height: 1.2 !important;
    }

    table.body .latest-post-excerpt span {
        display: none !important;
    }

    table.body .subscription-box h3 {
        font-size: 14px !important;
    }

    table.body .subscription-box p,
    table.body .subscription-box p span {
        font-size: 13px !important;
    }

    table.body .subscription-details,
    table.body .manage-subscription {
        display: inline-block;
        width: 100%;
        text-align: left !important;
        font-size: 13px !important;
    }

    table.body .subscription-details {
        padding-bottom: 12px;
    }

    table.body .kg-bookmark-card {
        width: 90vw;
    }

    table.body .kg-bookmark-thumbnail {
        display: none !important;
    }

    table.body .kg-bookmark-metadata span {
        font-size: 13px !important;
    }

    table.body .kg-embed-card {
        max-width: 90vw !important;
    }

    table.body h1 {
        font-size: 32px !important;
        line-height: 1.3em !important;
    }

    table.body h2,
    table.body h2 span {
        font-size: 26px !important;
        line-height: 1.22em !important;
    }

    table.body h3 {
        font-size: 21px !important;
        line-height: 1.25em !important;
    }

    table.body h4 {
        font-size: 19px !important;
        line-height: 1.3em !important;
    }

    table.body h5 {
        font-size: 16px !important;
        line-height: 1.4em !important;
    }

    table.body h6 {
        font-size: 16px !important;
        line-height: 1.4em !important;
    }

    table.body blockquote {
        font-size: 17px;
        line-height: 1.6em;
        margin-bottom: 0;
        padding-left: 15px;
    }

    table.body blockquote.kg-blockquote-alt {
        border-left: 0 none !important;
        margin: 0 0 2.5em 0 !important;
        padding: 0 50px 0 50px !important;
        font-size: 1.2em;
    }

    table.body blockquote + * {
        margin-top: 1.5em !important;
    }

    table.body hr {
        margin: 2em 0 !important;
    }
}

/* -------------------------------------
    PRESERVE THESE STYLES IN THE HEAD
------------------------------------- */
@media all {
    .subscription-details p.hidden {
        display: none !important;
    }

    .ExternalClass {
        width: 100%;
    }

    .ExternalClass,
    .ExternalClass p,
    .ExternalClass span,
    .ExternalClass font,
    .ExternalClass td,
    .ExternalClass div {
        line-height: 100%;
    }

    .apple-link a {
        color: inherit !important;
        font-family: inherit !important;
        font-size: inherit !important;
        font-weight: inherit !important;
        line-height: inherit !important;
        text-decoration: none !important;
    }

    #MessageViewBody a {
        color: inherit;
        text-decoration: none;
        font-size: inherit;
        font-family: inherit;
        font-weight: inherit;
        line-height: inherit;
    }

    .btn-primary table td:hover {
        background-color: #34495e !important;
    }

    .btn-primary a:hover {
        background-color: #34495e !important;
        border-color: #34495e !important;
    }
}

{{#if showBadge}}
    .footer-powered {
        text-align: center;
        padding-top: 70px;
        padding-bottom: 40px;
    }

    .gh-powered {
        width: 142px;
        height: 30px;
    }
{{/if}}

</style>
