<style type="text/css">
   body{
   margin:0;padding:0;
   }
   {if $languageDirection eq "rtl"}
   @font-face {
   font-family: 'FrutigerLTArabic-45Light';
   src: url('{$siteUrl}/public/default/frontend/standard/fonts//FrutigerLTArabic-45Light.eot');
   src: url('{$siteUrl}/public/default/frontend/standard/fonts//FrutigerLTArabic-45Light?#iefix') format('embedded-opentype'),
   url('{$siteUrl}/public/default/frontend/standard/fonts//FrutigerLTArabic-45Light.woff') format('woff'),
   url('{$siteUrl}/public/default/frontend/standard/fonts//FrutigerLTArabic-45Light.ttf') format('truetype'),
   url('{$siteUrl}/public/default/frontend/standard/fonts//FrutigerLTArabic-45Light.svg#Avenir') format('svg');
   font-weight: 400;
   font-style: normal;
   }
   body,table,th,td{
   direction: rtl;
   } 
   table{
   font-family: 'FrutigerLTArabic-45Light';
   }
   td [align ="left"]{
   text-align: right;
   }
   td [align ="right"]{
   text-align: left;
   }
   {else}
   /* roboto regular */
   /* roboto bold */
   .heading_font{
   font-family: Arial, Helvetica, sans-serif;
   }
   table{
   font-family:Arial, Helvetica, sans-serif;font-weight: 400;
   }
   {/if}
</style>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
   <tr>
      <td align="center" style="padding: 40px 0px 40px 0px;">
         <table width="615" border="0" cellspacing="0" cellpadding="0" bgcolor="#f7f7f7">
            <tr>
               <td>
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                     <tr>
                        <td align="center">
                           <table width="90%" border="0" cellspacing="0" cellpadding="0"  align="center">
                              <tr>
                                 <td align="right">
                                    {if $defaultLogo}  
                                    {html->anchor href="/" title="{$commonSiteName}" style="position: relative; top: -20px;display:block" target="_self" content="<img src='{$view_public_path}/public/uploads/languages/logo/{$defaultLogo}' alt='{$commonSiteName}' class='img-fluid'>"}
                                    {else}
                                    {if $companyLogo} 
                                    {html->anchor href="/" title="{$commonSiteName}" style="position: relative; top: -20px;display:block"  target="_self" content="<img src='{$view_public_path}/public/uploads/settings/{$companyLogo}' border='0' alt='{$commonSiteName}' class='img-fluid'>"}
                                    {else}
                                    {html->anchor href="/" title="{$commonSiteName}"  caption="{$commonSiteName}" style="position: relative; top: -20px;display:block" }
                                    {/if} 
                                    {/if}
                                 </td>
                              </tr>
                           </table>
                        </td>
                     </tr>
                     <tr>
                        <td align="center">
                           <table width="88%" border="0" cellspacing="0" cellpadding="0"  align="center">
                              <tr>
                                 <td align="left" valign="top">
                                    {$emailbody}
                                 </td>
                              </tr>
                           </table>
                        </td>
                     </tr>
                     <tr>
                        <td align="center">&nbsp;</td>
                     </tr>
                  </table>
               </td>
            </tr>
         </table>
      </td>
   </tr>
</table>