<?php if (!is_404()): ?>
	
	<?php 
		global $nz_ninzio;
	?>
	</div>
	<!-- page-content-container end -->
	
	<!-- footer start -->
	<footer class='footer'>
		<div class="footer-widget-area-wrap">
			<?php get_sidebar('footer'); ?>
		</div>
		<div class="footer-content">
			<div class="container ninzio-clearfix">
				<?php if ($nz_ninzio['ninzio-footer-social-links'] && $nz_ninzio['ninzio-footer-social-links'] == 1): ?>
					<div class="social-links">
						<?php get_template_part("/includes/social-links"); ?>
					</div>
				<?php endif ?>
				<?php if (has_nav_menu("footer-menu")): ?>
					<nav class="footer-menu ninzio-clearfix">
						<?php

							$arg = array( 
								'theme_location' => 'footer-menu', 
								'depth'          => 1, 
								'container'      => false, 
								'menu_id'        => 'footer-menu', 
							);
							wp_nav_menu($arg); 
						?>
					</nav>
				<?php endif ?>
				<div class="footer-info">
					<?php if ($nz_ninzio['ninzio-copyright']) { ?>
						<?php echo $nz_ninzio['ninzio-copyright']; ?>
					<?php } ?>
				</div>
			</div>
		</div>
	</footer>
	<!-- footer end -->

<?php endif ?>

</div>
<!-- wrap end -->
<div id="toTop">&nbsp;</div>


<!-- =============================== OLD BROWSER MESSAGE =============================== -->

	<div class="old-browser alert warning">
		<div class="alert-message">
			<h2><?php echo __("Your browser is out of date. It has security vulnerabilities and may not display all features on this site and other sites.", TEMPNAME) ?></h2>
			<p><?php echo __("Please update your browser using one of modern browsers (Google Chrome, Opera, Firefox, IE 10).", TEMPNAME) ?></p>
		</div>
		<span class="close-alert">X</span>
	</div>
	
<?php include("includes/dynamic-scripts.php"); ?>

<?php if (isset($nz_ninzio['ninzio-google-analytics']) && !empty($nz_ninzio['ninzio-google-analytics'])) {
	echo '<script>'.$nz_ninzio['ninzio-google-analytics'].'</script>';
} ?>
<?php wp_footer(); ?>

</body>
</html>