<?php
/**
 * The template for displaying the footer.
 *
 * Contains the closing of the id=main div and all content after
 *
 * @package pro
 * @since pro 1.0
 */
?>
		<footer id="site-footer">
			
			<?php if ( is_active_sidebar( 'footer-widgets' ) ) { ?>
			<div id="widget-area-progression">
				<div class="width-container-pro <?php echo esc_attr(get_theme_mod('progression_studios_footer_widget_count', 'footer-3-pro')); ?>">
					<?php dynamic_sidebar( 'footer-widgets' ); ?>
					<div class="clearfix-pro"></div>
				</div><!-- close .width-container-pro -->
			</div><!-- close #widget-area-pro -->
			<?php } ?>
			
			
			<?php if ( get_theme_mod('progression_studios_footer_copyright', 'Copyright Progression Studios') ) : ?>
			<div id="copyright-pro">
				<div class="width-container-pro">
					
					<?php include( get_template_directory() . '/template-parts/footer-icons.php'); ?>
					
					<div id="copyright-text">
						<?php echo wp_kses(get_theme_mod( 'progression_studios_footer_copyright', 'Copyright Progression Studios' ), true); ?>
					</div>					
					<div class="clearfix-pro"></div>
					
				</div>
			</div><!-- close #copyright-pro -->
			<?php endif; ?>
			
		</footer>

	</div><!-- close #boxed-layout-pro -->
	<a href="#0" id="pro-scroll-top"><?php esc_html_e( 'Scroll to top', 'protege-progression' ); ?></a>
<?php wp_footer(); ?>
</body>
</html>