<?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 Luzuk Premium
 */

?>
	<footer class="footer-area" id="footer">
		<div class="footer-bg"></div>

	<div class="<?php if(get_theme_mod('dinero_footer_section_width','Box Width') == 'Box Width'){ ?>container <?php } elseif(get_theme_mod('dinero_footer_section_width','Box Width') == 'Full Width'){ ?> container-fluid <?php }?>">	

	<?php if(is_active_sidebar('luzuk-footer1') || is_active_sidebar('luzuk-footer2') || is_active_sidebar('luzuk-footer3') || is_active_sidebar('luzuk-footer4') ){ ?>
		
			<div class="top-area">
				<div class="s-footer col-md-3 col-lg-3 col-md-3 col-sm-6 single-footer-1 <?php echo esc_attr(get_theme_mod('dinero_footer_onload_effects','wow zoomIn')); ?>" data-wow-duration="2s" style="text-align : <?php if(get_theme_mod('dinero_footer_box_align','Left') == 'Left'){ ?> left <?php } elseif(get_theme_mod('dinero_footer_box_align','Center') == 'Center'){ ?> center <?php } elseif(get_theme_mod('dinero_footer_box_align','Right') == 'Right'){ ?> right <?php } ?> ">
					<div class="single-footer wow zoomIn" data-wow-duration="1s" >
						<?php if(is_active_sidebar('luzuk-footer1')): 
							dynamic_sidebar('luzuk-footer1');
						endif;
						?>	
					</div>
				</div>

				<div class="s-footer col-md-3 col-lg-3 col-md-3 col-sm-6 single-footer-2 <?php echo esc_attr(get_theme_mod('dinero_footer_onload_effects','wow zoomIn')); ?>" data-wow-duration="2s" style="text-align : <?php if(get_theme_mod('dinero_footer_box_align','Left') == 'Left'){ ?> left <?php } elseif(get_theme_mod('dinero_footer_box_align','Center') == 'Center'){ ?> center <?php } elseif(get_theme_mod('dinero_footer_box_align','Right') == 'Right'){ ?> right <?php } ?> ">
					<div class="single-footer wow zoomIn" data-wow-duration="1.5s" >
						<?php if(is_active_sidebar('luzuk-footer2')): 
							dynamic_sidebar('luzuk-footer2');
						endif;
						?>	
						</div>
					</div>

				<div class="s-footer col-md-3 col-lg-3 col-md-3 col-sm-6 single-footer-3 <?php echo esc_attr(get_theme_mod('dinero_footer_onload_effects','wow zoomIn')); ?>" data-wow-duration="2s" style="text-align : <?php if(get_theme_mod('dinero_footer_box_align','Left') == 'Left'){ ?> left <?php } elseif(get_theme_mod('dinero_footer_box_align','Center') == 'Center'){ ?> center <?php } elseif(get_theme_mod('dinero_footer_box_align','Right') == 'Right'){ ?> right <?php } ?> ">
					<div class="single-footer wow zoomIn"  data-wow-duration="2s" >
						<?php if(is_active_sidebar('luzuk-footer3')): 
							dynamic_sidebar('luzuk-footer3');
						endif;
						?>	
					</div>
				</div>

				<div class="s-footer col-md-3 col-lg-3 col-md-3 col-sm-6 single-footer-4 <?php echo esc_attr(get_theme_mod('dinero_footer_onload_effects','wow zoomIn')); ?>" data-wow-duration="2s" style="text-align : <?php if(get_theme_mod('dinero_footer_box_align','Left') == 'Left'){ ?> left <?php } elseif(get_theme_mod('dinero_footer_box_align','Center') == 'Center'){ ?> center <?php } elseif(get_theme_mod('dinero_footer_box_align','Right') == 'Right'){ ?> right <?php } ?> ">
					<div class="single-footer wow zoomIn" data-wow-duration="2.5s" >
						<?php if(is_active_sidebar('luzuk-footer4')): 
							dynamic_sidebar('luzuk-footer4');
						endif;
						?>	
					</div>
				</div>
			<div class="clearfix"></div>
		</div>
	<?php } ?>

	<div class="clearfix"></div>
		<?php
		$footercopyright = get_theme_mod('dinero_footer_copyrighttext', '© 2021 Business All Rights Reserved');
		?>	
		<div class="bottom-area wow zoomIn">

			<div class="col-md-6 col-sm-12 col-xs-12 pd-0">
				<div class="footer-text  <?php echo esc_attr(get_theme_mod('dinero_footer_onload_effects','wow zoomIn')); ?>" data-wow-duration="2s" style="text-align : <?php if(get_theme_mod('dinero_footer_copyright_align','Left') == 'Left'){ ?> left <?php } elseif(get_theme_mod('dinero_footer_copyright_align','Center') == 'Center'){ ?> center <?php } elseif(get_theme_mod('dinero_footer_copyright_align','Right') == 'Right'){ ?> right <?php } ?> ">
					<?php if($footercopyright){ ?>
						<?php echo $footercopyright;?>
					<?php } ?>
				</div>
			</div>
			<div class="col-md-6 col-sm-12 col-xs-12 pd-0">
			<?php if( get_theme_mod('footersocial_button_display','show' ) == 'show') :
    			?>
				<?php

					$dinero_footer_facebook = get_theme_mod('dinero_footer_fb', '//facebook.com/');
					$dinero_footer_twitter = get_theme_mod('dinero_footer_tw', '//twitter.com/');
					$dinero_footer_linkedIn = get_theme_mod('dinero_footer_in', '//linkedin.com/');
					$dinero_footer_youtube = get_theme_mod('dinero_footer_youtube', '');
					$dinero_footer_instagram = get_theme_mod('dinero_footer_instagram', '');
					$dinero_footer_whatsapp = get_theme_mod('dinero_footer_whatsapp', '');
					$dinero_footer_pinterest = get_theme_mod('dinero_footer_pinterest', 'https://www.pinterest.com');
				?>

				<div class="footer-share"> 
					
					<div class="footer-share-btn  <?php echo esc_attr(get_theme_mod('dinero_footer_onload_effects','wow zoomIn')); ?>" data-wow-duration="2s">
						<ul class="clearfix">
							<?php if(!empty($dinero_footer_facebook)){ ?>
								<li><a href="<?php echo $dinero_footer_facebook ?>" title="Facebook" class="site-button sharp" target="_blank"><i class="fa fa-facebook"></i></a></li>
							<?php }?>

							<?php if(!empty($dinero_footer_twitter)){ ?>
								<li><a href="<?php echo $dinero_footer_twitter ?>" title="Twitter" class="site-button sharp" target="_blank"><i class="fa fa-twitter"></i></a></li>
							<?php }?>

							<?php if(!empty($dinero_footer_linkedIn)){ ?>
								<li><a href="<?php echo $dinero_footer_linkedIn ?>" title="LinkedIn" class="site-button sharp" target="_blank"><i class="fa fa-linkedin"></i></a></li>
							<?php }?>
							<?php if(!empty($dinero_footer_pinterest)){ ?>
								<li><a href="<?php echo $dinero_footer_pinterest ?>" title="LinkedIn" class="site-button sharp" target="_blank"><i class="fa fa-pinterest"></i></a></li>
							<?php }?>
							<?php if(!empty($dinero_footer_youtube)){ ?>
								<li><a href="<?php echo $dinero_footer_youtube ?>" title="Youtube" class="site-button sharp" target="_blank"><i class="fa fa-youtube"></i></a></li>
							<?php }?>
							<?php if(!empty($dinero_footer_instagram)){ ?>
								<li><a href="<?php echo $dinero_footer_instagram ?>" title="Instagram" class="site-button sharp" target="_blank"><i class="fa fa-instagram"></i></a></li>
							<?php }?>
							<?php if(!empty($dinero_footer_whatsapp)){ ?>
								<li><a href="<?php echo $dinero_footer_whatsapp ?>" title="Whats App" class="site-button sharp" target="_blank"><i class="fa fa-whatsapp"></i></a></li>
							<?php }?>

						</ul>
					</div>
				</div>
			<?php endif ?> 
			</div>
	</div>
</div>
</footer><!-- #colophon -->
<script type="text/javascript">
	if(jQuery(window).width() >= 1170){
		new WOW().init();
	}
</script>
<script>
	$(window).scroll(function() {
		var height = $(window).scrollTop();
		if (height > 100) {
			$('#back2Top').fadeIn();
		} else {
			$('#back2Top').fadeOut();
		}
	});
	$(document).ready(function() {
		$("#back2Top").click(function(event) {
			event.preventDefault();
			$("html, body").animate({ scrollTop: 0 }, "slow");
			return false;
		});

	});
</script>


<?php wp_footer(); ?>
   <?php
    if(get_theme_mod('back_top_btn_on_off') != 'on' ){
  ?>
<a id="back2Top" title="Back to top" href="#"> &#10148; </a>
 <?php } ?> 
</body>
</html>