<?php
/**
 * The template for displaying the footer
 *
 * @subpackage Recycling Energy
 * @since 1.0
 */

?>
	<footer id="colophon" class="site-footer" role="contentinfo">
		<?php if( get_option('recycling_energy_footer_widgets_show_hide', false) !== 'off'){ ?>
			<div class="copyright">
				<div class="container footer-content wow slideInDown">
					<?php get_template_part( 'template-parts/footer/footer', 'widgets' ); ?>			
				</div>
			</div>
		<?php }?>
		<?php get_template_part( 'template-parts/footer/site', 'info' ); ?>
		<div class="scroll-top">
			<button type=button id="recycling-energy-scroll-to-top" class="scrollup">
				<i class="<?php echo esc_html(get_theme_mod('recycling_energy_scroll_top_icon','fas fa-chevron-up')); ?>"></i>
			</button>
		</div>
	</footer>

	<?php if (get_option('recycling_energy_enable_custom_cursor', false) !== 'off') : ?>
	    <!-- Custom cursor -->
	    <div class="custom-cursor"></div>
	    <!-- .Custom cursor -->
	<?php endif; ?>
	
<?php wp_footer(); ?>

</body>
</html>