<style type="text/css">
    /* Based on The MailChimp Reset INLINE: Yes. */
    /* Client-specific Styles */
    body {
        width:100% !important;
        -webkit-text-size-adjust:100%;
        -ms-text-size-adjust:100%;
        margin:0;
        padding:0;
    }

    body,table,td,p,a,li,blockquote{
        -ms-text-size-adjust:100%;
        -webkit-text-size-adjust:100%;
    }

    .ReadMsgBody{
        width:100%;
    }

    /* Prevent Webkit and Windows Mobile platforms from changing default font sizes.*/
    .ExternalClass {width:100%;} /* Force Hotmail to display emails at full width */
    .ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div {line-height: 100%;}

    /* Forces Hotmail to display normal line spacing.  More on that: http://www.emailonacid.com/forum/viewthread/43/ */
    #backgroundTable {margin:0; padding:0; width:100% !important; line-height: 100% !important; {if #html.background}background:{#html.background|color};{/if}}
    /* End reset */

    /* Some sensible defaults for images. Bring inline: Yes. */
    img {
        outline:none;
        text-decoration:none;
        -ms-interpolation-mode: bicubic;
    }
    a img {border:none;}
    .image_fix {display:block;}

    /* Yahoo paragraph fix
    Bring inline: Yes. */
    p {
        font-family: "{#body.family}";
        font-size: {#body.size}px;
        line-height: 150%;
        margin: 1em 0;
        padding: 0;
    }

    /* Hotmail header color reset
    Bring inline: Yes. */

    h1,h2,h3,h4,h5,h6{
        margin:0;
        padding:0;
    }
    /* --- title 1 --- */
    h1 {
        color:{#h1.color|color} !important;
        display:block;
        font-family:{#h1.family};
        font-size:{#h1.size}px;
        font-style:normal;
        font-weight:normal;
        line-height:125%;
        letter-spacing:normal;
        margin:0;
        {if #is_rtl}text-align:right;{/if}
        {if ! #is_rtl}text-align:left;{/if}
    }

    /* --- title 2 --- */
    h2 {
        color:{#h2.color|color} !important;
        display:block;
        font-family:{#h2.family};
        font-size:{#h2.size}px;
        font-style:normal;
        font-weight:normal;
        line-height:125%;
        letter-spacing:normal;
        margin:0;
        {if #is_rtl}text-align:right;{/if}
        {if ! #is_rtl}text-align:left;{/if}
    }

    /* --- title 3 (and others) --- */
    h3 {
        color:{#h3.color|color} !important;
        display:block;
        font-family:{#h3.family};
        font-size:{#h3.size}px;
        font-style:normal;
        font-weight:normal;
        line-height:125%;
        letter-spacing:normal;
        margin:0;
        {if #is_rtl}text-align:right;{/if}
        {if ! #is_rtl}text-align:left;{/if}
    }

    /* Outlook 07, 10 Padding issue fix
    Bring inline: No.*/
    table td {border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt;}

    /* Remove spacing around Outlook 07, 10 tables
    Bring inline: Yes */
    table { border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt; }

    /* Styling your links has become much simpler with the new Yahoo.  In fact, it falls in line with the main credo of styling in email and make sure to bring your styles inline.  Your link colors will be uniform across clients when brought inline.
    Bring inline: Yes. */
    a {
        color:{#a.color|color};
        word-wrap:break-word;
    }
    #outlook a {padding:0;}
    .yshortcuts { color:{#a.color|color}; }

    {#wysija_container} {
        background:{#html.background|color};
        color:{#body.color|color};
        font-family:"{#body.family}";
        font-size:{#body.size}px;
        -webkit-text-size-adjust:100%;
        -ms-text-size-adjust:100%;
        {if #is_rtl}direction:rtl;
        unicode-bidi:embed;{/if}
    }

    {#header_container} {
        mso-border-right-alt: 0;
        mso-border-left-alt: 0;
        mso-border-top-alt: 0;
        mso-border-bottom-alt: 0;
        {if #header.background}background:{#header.background|color};{/if}
    }

    {#body_container} {
        mso-border-right-alt: 0;
        mso-border-left-alt: 0;
        mso-border-top-alt: 0;
        mso-border-bottom-alt: 0;
        {if #body.background}background:{#body.background|color};{/if}
    }

    {#footer_container} {
        mso-border-right-alt: 0;
        mso-border-left-alt: 0;
        mso-border-top-alt: 0;
        mso-border-bottom-alt: 0;
        {if #footer.background}background:{#footer.background|color};{/if}
    }

    {#viewbrowser_container}, {#viewbrowser_container} a {
        font-family: "{#viewbrowser.family}" !important;
        font-size: {#viewbrowser.size}px !important;
        color: {#viewbrowser.color|color} !important;
    }
    {#unsubscribe_container}, {#unsubscribe_container} a {
        text-align:center;
        color: {#unsubscribe.color|color} !important;
        font-size:12px;
    }
    {#viewbrowser_container} a, {#unsubscribe_container} a {
        text-decoration:underline;
    }
    .wysija_list_item {
        margin:0;
    }

    /* MOBILE TARGETING */
    @media only screen and (max-device-width: 480px), screen and (max-width: 480px) {
        /* Part one of controlling phone number linking for mobile. */
        a[href^="tel"], a[href^="sms"] {
            text-decoration: none;
            color: {#a.color|color}; /* or whatever your want */
            pointer-events: none;
            cursor: default;
        }

        .mobile_link a[href^="tel"], .mobile_link a[href^="sms"] {
            text-decoration: default;
            color: {#a.color|color} !important;
            pointer-events: auto;
            cursor: default;
        }

        /* Prevent Webkit platforms from changing default text sizes */
        body, table, td, p, a, li, blockquote { -webkit-text-size-adjust:none !important; }

        /* Prevent iOS Mail from adding padding to the body */
        body{ width:100% !important; min-width:100% !important; }
    }

    /* More Specific Targeting */
    @media only screen and (min-device-width: 768px) and (max-device-width: 1024px), screen and (min-width: 768px) and (max-width: 1024px) {
        /* You guessed it, ipad (tablets, smaller screens, etc) */
        /* repeating for the ipad */
        a[href^="tel"],
        a[href^="sms"] {
            text-decoration: none;
            color: {#a.color|color}; /* or whatever your want */
            pointer-events: none;
            cursor: default;
        }

        .mobile_link a[href^="tel"], .mobile_link a[href^="sms"] {
            text-decoration: default;
            color: {#a.color|color} !important;
            pointer-events: auto;
            cursor: default;
        }
    }

    @media only screen and (-webkit-min-device-pixel-ratio: 2) {
    }

    /* Android targeting */
    @media only screen and (-webkit-device-pixel-ratio:.75){
    /* Put CSS for low density (ldpi) Android layouts in here */
    }
    @media only screen and (-webkit-device-pixel-ratio:1){
    /* Put CSS for medium density (mdpi) Android layouts in here */
    }
    @media only screen and (-webkit-device-pixel-ratio:1.5){
    /* Put CSS for high density (hdpi) Android layouts in here */
    }
    /* end Android targeting */
</style>

/* Targeting Windows Mobile */
<!--[if IEMobile 7]>
<style type="text/css">

</style>
<![endif]-->

/* END MOBILE TARGETING */

<!--[if gte mso 9]>
<style type="text/css">
    /* Outlook 2007 and 2010 */
    {#image_container} {
        padding-top:0 !important;
    }
    {#image_placeholder} {
        mso-text-raise:0;
        mso-table-lspace:0;
        mso-table-rspace:0;
        margin-bottom: 0 !important;
    }
    {#body_container} {#image_placeholder} {
        margin:2px 1px 0 1px !important;
    }
    p {
        line-height: 110% !important;
    }
    h1, h2, h3 {
        line-height: 110% !important;
        margin:0 !important;
        padding: 0 !important;
    }
</style>
<![endif]-->

<!--[if gte mso 15]>
<style type="text/css">
    /* Outlook 2013 */
    table { font-size:1px; mso-line-height-alt:0; line-height:0; mso-margin-top-alt:0; }
    tr { font-size:1px; mso-line-height-alt:0; mso-margin-top-alt:1px; }
</style>
<![endif]-->
