{extends_parent}

{block "email-vars"}
   {$emailVars=['colorPrimary'=>'#141416','colorBg'=>'#f5f5fa','fontColor'=>'#141416', 'headerBg'=>'#141416']}
{/block}

{block "email-top"}
   <table border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="{$emailVars.colorBg|default:'#f2f4f8'}"
          style="background-color: {$emailVars.colorBg|default:'#f2f4f8'};">
      <tr>
         <td style="padding-top: 50px;">
            <div align="center"><!-- centruje se v obklopující 100% tabulce -->

               <table border="0" cellpadding="0" cellspacing="0" style="width: 100%!important;max-width: 680px!important;background-color: #ffffff"
                      bgcolor="#ffffff" class="wrapper">

                  <tr>
                     <td style="background: {$emailVars.headerBg}; padding: 30px 50px;text-align: center;"
                         id="logo-wrapper" align="middle">
                        <a href="{$cfg.Addr.full}" title="{$dbcfg.shop_firm_name}">
                            {block "logo"}
                               <img src="{static_url url="/templates/images/logo.png" absolute=1}" alt="{$dbcfg.shop_firm_name}"
                                    style="border:0;display: block;margin:0 auto;text-align: center;" class="img-responsive logo"/>
                            {/block}
                        </a>
                     </td>
                  </tr>
               </table>
            </div>
         </td>
      </tr>
   </table>
{/block}
