<xf:macro id="outer_header"
	arg-title="!">
	<table border="0" width="100%" cellpadding="0" cellspacing="0" class="summaryOuterHeader">
		<tr>
			<td class="summaryOuterHeader-content" valign="top">
				{$title}
			</td>
		</tr>
	</table>
</xf:macro>

<xf:macro id="block"
	arg-header=""
	arg-attribution=""
	arg-content="!"
	arg-footer=""
	arg-footerOpposite="">
	<table border="0" width="100%" cellpadding="0" cellspacing="0" class="summaryBlock">
		<xf:if is="$header">
			<tr>
				<td class="summaryBlock-header" valign="top">
					{$header}
				</td>
			</tr>
		</xf:if>
		<tr>
			<td align="center" valign="top">
				<div>
					<table border="0" width="100%" cellpadding="0" cellspacing="0" style="table-layout: fixed">
						<xf:if is="$attribution">
							<tr>
								<td class="content content--attribution">
									{$attribution}
								</td>
							</tr>
						</xf:if>
						<tr>
							<td class="content">
								{$content|raw}
							</td>
						</tr>
						<xf:if is="$footer OR $footerOpposite">
							<tr>
								<td class="content content--footer">
									<table cellpadding="0" cellspacing="0" border="0" width="100%" class="content-inner">
										<tr>
											<td>{$footer}</td>
											<td class="u-opposite" align="{{ $xf.isRtl ? 'right' : 'left' }}">{$footerOpposite}</td>
										</tr>
									</table>
								</td>
							</tr>
						</xf:if>
					</table>
				</div>
			</td>
	</table>
</xf:macro>