<?php
/**
 * The template for displaying the footer
 *
 * Contains the closing of the #content div and all content after.
 *
 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
 *
 * @package WP_Bootstrap_Starter
 */

?>
<?php if(!is_page_template( 'blank-page.php' ) && !is_page_template( 'blank-page-with-container.php' )): ?>
			</div><!-- .row -->
		</div><!-- .container -->
	</div><!-- #content -->
    <?php /*get_template_part( 'footer-widget' );*/ ?>
    <?php /*
	<footer id="colophon" class="site-footer" role="contentinfo">
		<div class="container-fluid p-3 p-md-5">
            <div class="site-info">
                &copy; <?php echo date('Y'); ?> <?php echo '<a href="'.home_url().'">'.get_bloginfo('name').'</a>'; ?>
                <span class="sep"> | </span>
                <a class="credits" href="https://afterimagedesigns.com/wp-bootstrap-starter/" target="_blank" title="Wordpress Technical Support" alt="Bootstrap Wordpress Theme"><?php echo esc_html__('Bootstrap Wordpress Theme','wp-bootstrap-starter'); ?></a>

            </div><!-- close .site-info -->
		</div>
	</footer><!-- #colophon -->
	*/?>
		<div id="footer" class="container-fluid pt-4">
		<div class="container">
			<div class="row">
				<div class="col-sm-4">
					<?php if ( is_active_sidebar( 'footer-info' ) ) : ?>
						<div id="footer-info" class="primary-sidebar widget-area" role="complementary">
							<?php dynamic_sidebar( 'footer-info' ); ?>
						</div><!-- #primary-sidebar -->
					<?php endif; ?>					
				</div>				
				<div class="col-sm-4 offset-sm-4">
					
					<?php if ( is_active_sidebar( 'footer-nav' ) ) : ?>
						<div id="footer-nav" class="primary-sidebar widget-area" role="complementary">
							<?php dynamic_sidebar( 'footer-nav' ); ?>
						</div><!-- #primary-sidebar -->
					<?php endif; ?>					
				</div>
				
			</div>			
			<div class="row">
				<div class="col-sm-12 text-center mb-2">
					<?php if ( is_active_sidebar( 'copy-zone' ) ) : ?>
						<div id="copy-zone" class="primary-sidebar widget-area" role="complementary">
							<?php dynamic_sidebar( 'copy-zone' ); ?>
						</div><!-- #primary-sidebar -->
					<?php endif; ?>					
				</div>
			</div>
		</div>
	</div>
	<div class="container-fluid" style="background: #222;">
		<div style="text-align:right;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;color:#444;padding:8px;font-size:12px;">
			Powered by <img src="/wp-content/uploads/2018/04/yuju.png" alt="Yuju Marketing" style="opacity:.5;height:24px"> YUJU Marketing &amp <a href="https://pixelemos.com"><img src="https://pixelemos.com/pixelemos.svg" style="opacity:.2;height:24px;position: relative;bottom: 1px;"></a>
		</div>
	</div>
<?php endif; ?>
</div><!-- #page -->

<?php wp_footer(); ?>
</body>
</html>
