

	<footer id="footer" class="footer" role="contentinfo">

		{if $options->layout->general->enableWidgetAreas}
		<div class="footer-widgets">
			<div class="footer-widgets-wrap grid-main">
				<div class="footer-widgets-container">


					{foreach $wp->widgetAreas(footer) as $widgetArea}
						{* uncomment condition to hide empty widget areas completely *}
						{* {if $wp->isWidgetAreaActive($widgetArea)} *}
						<div class="widget-area {$widgetArea} widget-area-{$iterator->counter}">
							{widgetArea $widgetArea}
						</div>
						{* {/if} *}
					{/foreach}

				</div>
			</div>
		</div>
		{/if}

		<div class="site-footer">
			<div class="site-footer-wrap grid-main">
				{menu footer, depth => 1}
				<div class="footer-text">{!$options->theme->footer->text}</div>
			
      	{if $options->theme->social->enableSocialIcons}
					<div class="social-icons">
						<ul><!--
							{foreach $options->theme->social->socIcons as $icon}
								--><li><a href="{$icon->url}" {if $options->theme->social->socIconsNewWindow}target="_blank"{/if}><img src="{$icon->icon}" class="s-icon" alt="icon"><span class="s-title">{$icon->title}</span></a></li><!--
							{/foreach}
						--></ul>
					</div>
				{/if} 
                      
			</div>
		</div>

	</footer><!-- /#footer -->
</div><!-- /#page -->

{!$options->theme->footer->customJsCode}

{wpFooter}
</body>
</html>
