<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width" />
    <title><?php echo $subject; ?></title>
  </head>
  <body style="font-size: 100%; font-family: Helvetica, Arial, sans-serif; line-height: 1.65; width: 100% !important; height: 100%; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; background: #efefef; margin: 0; padding: 0;">
    <table style="font-size: 100%; font-family: Helvetica, Arial, sans-serif; line-height: 1.65; width: 100% !important; height: 100%; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; background: #efefef; margin: 0; padding: 0;">
      <tr style="font-size: 100%; font-family: Helvetica, Arial, sans-serif; line-height: 1.65; margin: 0; padding: 0;">
        <td style="font-size: 100%; font-family: Helvetica, Arial, sans-serif; line-height: 1.65; display: block !important; clear: both !important; max-width: 580px !important; margin: 0 auto; padding: 0;">
          <table style="font-size: 100%; font-family: Helvetica, Arial, sans-serif; line-height: 1.65; width: 100% !important; border-collapse: collapse; margin: 0; padding: 0;">
            <tr style="font-size: 100%; font-family: Helvetica, Arial, sans-serif; line-height: 1.65; margin: 0; padding: 0;">
              <td style="font-size: 100%; font-family: Helvetica, Arial, sans-serif; line-height: 1.65; color: #ffffff; background: #1e91cf; margin: 0; padding: 80px 0; text-align: center;">
                <h1 style="font-size: 32px; font-family: Helvetica, Arial, sans-serif; line-height: 1.25; max-width: 90%; margin: 0 auto; padding: 0; text-align: center; color: #ffffff;"><?php echo $name; ?></h1>
              </td>
            </tr>
            <tr style="font-size: 100%; font-family: Helvetica, Arial, sans-serif; line-height: 1.65; margin: 0; padding: 0;">
              <td style="font-size: 100%; font-family: Helvetica, Arial, sans-serif; line-height: 1.65; background: #ffffff; margin: 0; padding: 30px 35px;">
                <h2 style="font-size: 22px; font-family: Helvetica, Arial, sans-serif; line-height: 1.25; margin: 0 0 20px; padding: 0;"><?php echo $subject; ?></h2>
                <p style="font-size: 16px; font-family: Helvetica, Arial, sans-serif; line-height: 1.65; font-weight: normal; margin: 0 0 20px; padding: 0;">
                  <?php echo $message; ?>
                </p>
              </td>
            </tr>
          </table>
        </td>
      </tr>
      <tr style="font-size: 100%; font-family: Helvetica, Arial, sans-serif; line-height: 1.65; margin: 0; padding: 0;">
        <td style="font-size: 100%; font-family: Helvetica, Arial, sans-serif; line-height: 1.65; display: block !important; clear: both !important; max-width: 580px !important; margin: 0 auto; padding: 0;">
          <table style="font-size: 100%; font-family: Helvetica, Arial, sans-serif; line-height: 1.65; width: 100% !important; border-collapse: collapse; margin: 0; padding: 0;">
            <tr style="font-size: 100%; font-family: Helvetica, Arial, sans-serif; line-height: 1.65; margin: 0; padding: 0;">
              <td valign="top" style="font-size: 100%; font-family: Helvetica, Arial, sans-serif; line-height: 1.65; background: #ffffff none; margin: 0; padding: 30px 35px; vertical-align: top;">
                <p style="font-size: 14px; font-family: Helvetica, Arial, sans-serif; line-height: 1.65; font-weight: normal; color: #888; text-align: center; margin: 0; padding: 0;">Powered by <a href="http://www.logicinvoice.com/">Logic Invoice</a>.</p>
              </td>
            </tr>
          </table>
        </td>
      </tr>
    </table>
  </body>
</html>