<table class="head-wrap" bgcolor="#999999">
    <tbody>
        <tr>
            <td></td>
            <td class="header container">
                <div class="content">
                    <table bgcolor="#999999">
                        <tbody>
                            <tr>
                                <td>[CO_LOGO]</td>
                                <td align="right">
                                    <h6 class="collapse">[COMPANY]</h6>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </td>
            <td></td>
        </tr>
    </tbody>
</table>

<table class="body-wrap">
    <tbody>
        <tr>
            <td></td>
            <td class="container" bgcolor="#FFFFFF">
                <div class="content">
                    <table>
                        <tbody>
                            <tr>
                                <td>
                                    <h2><?php printf(esc_html__('Hello, %s:', 'event_espresso'), '[PRIMARY_REGISTRANT_FNAME] [PRIMARY_REGISTRANT_LNAME]'); ?></h2>
                                    <p class="lead"><?php printf(esc_html__('Your payment was %1$sDECLINED%2$s for the following transaction and ticket purchases:', 'event_espresso'), '<strong>', '</strong>') ?></p>
                                    <h3><?php esc_html_e('Payment Details:', 'event_espresso'); ?></h3>
                                    <ul>
                                        <li>
                                            <strong><?php esc_html_e('Payment Status:', 'event_espresso'); ?></strong> [PAYMENT_STATUS]
                                        </li>
                                        <li>
                                            <strong><?php esc_html_e('Transaction ID:', 'event_espresso'); ?></strong> [TXN_ID]
                                        </li>
                                        <li>
                                            <strong><?php esc_html_e('Total Cost:', 'event_espresso'); ?></strong> [TOTAL_COST]
                                        </li>
                                        <li>
                                            <strong><?php esc_html_e('Payment Method:', 'event_espresso'); ?></strong> [PAYMENT_GATEWAY]
                                        </li>
                                        <li>
                                            <strong><?php esc_html_e('Payment Amount:', 'event_espresso'); ?></strong> [AMOUNT_PAID]
                                        </li>
                                        <li>
                                            <strong><?php esc_html_e('Amount Due:', 'event_espresso'); ?></strong> [TOTAL_OWING]
                                        </li>
                                    </ul>
                                    <p class="callout">
                                        <?php printf(esc_html__('Please %sretry your payment%s, or choose an alternate payment method to reserve your space.', 'event_espresso'), '<a href="[PAYMENT_URL]">', '</a>'); ?>
                                    </p>
                                    [EVENT_LIST]
                                    <p class="callout">
                                        <?php printf(esc_html__('Please %sretry your payment%s, or choose an alternate payment method to reserve your space.', 'event_espresso'), '<a href="[PAYMENT_URL]">', '</a>'); ?>
                                    </p>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </td>
            <td></td>
        </tr>
    </tbody>
</table>

<table class="footer-wrap">
    <tbody>
        <tr>
            <td class="container">
                <table class="social" width="100%">
                    <tbody>
                        <tr>
                            <td>
                                <table class="column" align="left">
                                    <tbody>
                                        <tr>
                                            <td>
                                                <h3><?php esc_html_e('Connect with Us:', 'event_espresso'); ?></h3>
                                                <a class="soc-btn fb" href="[CO_FACEBOOK_URL]"><?php esc_html_e('Facebook', 'event_espresso'); ?></a>
                                                <a class="soc-btn tw" href="[CO_TWITTER_URL]"><?php esc_html_e('Twitter', 'event_espresso'); ?></a>
                                            </td>
                                        </tr>
                                    </tbody>
                                </table>

                                <table class="column" align="left">
                                    <tbody>
                                        <tr>
                                            <td>
                                                <h3><?php esc_html_e('Contact Info:', 'event_espresso'); ?></h3>
                                                <?php esc_html_e('Phone:', 'event_espresso'); ?> <strong>[CO_PHONE]</strong>
                                                <?php esc_html_e('Email:', 'event_espresso'); ?> <strong><a href="mailto:[CO_EMAIL]" target="_blank">[CO_EMAIL]</a></strong>
                                            </td>
                                        </tr>
                                    </tbody>
                                </table>
                                &nbsp;</td>
                        </tr>
                    </tbody>
                </table>
            </td>
            <td></td>
        </tr>
    </tbody>
</table>