<?php $options = get_option('manufacto'.'_theme_options');?>
	
	<div class="clearfix"></div>
	
	<!--Main Footer-->
    <footer class="main-footer style-two" style="background-image:url('<?php echo esc_url(manufacto_set($options, 'bg_img'));?>')">
    	<?php if ( is_active_sidebar( 'footer-sidebar' ) ) { ?>
			<?php if(!(manufacto_set($options, 'hide_upper_footer'))):?>
                <div class="auto-container">
                <!--Widgets Section-->
                    <div class="widgets-section">
                        <div class="row clearfix">
                           <?php dynamic_sidebar( 'footer-sidebar' ); ?> 
                        </div>
                    </div>
                </div>
            <?php endif;?>
        <?php } ?>
        
        <?php if(!(manufacto_set($options, 'hide_bottom_footer'))):?>
        <!--Footer Bottom-->
        <div class="footer-bottom">
        	<div class="auto-container">
            	<div class="copyright"><?php echo wp_kses_post(manufacto_set($options, 'copyright'));?></div>
            </div>
        </div>
        <?php endif;?>
    </footer>
    
</div>    
<!--End pagewrapper-->

<!--Scroll to top-->
<div class="scroll-to-top scroll-to-target" data-target="html"><span class="icon fa fa-angle-double-up"></span></div>

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