<?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
 */
?>
<?php 
	if( get_theme_mod('sec_footerseTmargin',true) ) {
		$sec_footerseTmargin = 'padding-top:'.esc_attr(get_theme_mod('sec_footerseTmargin')).';';
	}
	if( get_theme_mod('sec_footersebottommargin',true) ) {
		$sec_footersebottommargin = 'padding-bottom:'.esc_attr(get_theme_mod('sec_footersebottommargin')).';';
	}

	if( get_theme_mod('sec_bottomareaTmargin',true) ) {
			$sec_bottomareaTmargin = 'padding-top:'.esc_attr(get_theme_mod('sec_bottomareaTmargin')).';';
		}
		if( get_theme_mod('sec_bottomareabottommargin',true) ) {
			$sec_bottomareabottommargin = 'padding-bottom:'.esc_attr(get_theme_mod('sec_bottomareabottommargin')).';';
		}
?>		
<footer class="footer-area" id="footer">
	<?php
		$footercopyright = get_theme_mod('footer_area_copyrighttext', '- 2024 Excavator All Rights Reserved -');
	?>
	<?php if(is_active_sidebar('luzuk-footer1') || is_active_sidebar('luzuk-footer2') || is_active_sidebar('luzuk-footer3') || is_active_sidebar('luzuk-footer4') || is_active_sidebar('luzuk-footer5') ){ ?>
		<!-- <div class="container-fluid"> -->
			<div class="fbox">
				<!-- <div class="s-footer col-lg-4 col-md-3 col-sm-6 col-xs-12 single-footer-1 ">	 -->
				<div class="row mr-0"> 	
					<div class="f-fbx1">
						<div class="s-footer single-footer-1 ">
							<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  single-footer-2">
							<div class="single-footer wow zoomIn" data-wow-duration="1.5s" >
								<?php if(is_active_sidebar('luzuk-footer2')): 
									dynamic_sidebar('luzuk-footer2');
								endif;
								?>	
								<?php if( $footercopyright  ){ ?>
								<div class="bottom-area " style="<?php echo esc_attr($sec_bottomareaTmargin); ?>" "<?php echo esc_attr($sec_bottomareabottommargin); ?>">
									<div class="row mr-0">
										<div class="col-md-12 col-sm-12 col-xs-12 pd-0">
											<div class="footer-text">
												<?php if($footercopyright){ ?>
														<?php echo $footercopyright;?>
												<?php } ?>
											</div>
										</div>
										
									</div>
								</div>
								<?php } ?>
							</div>
						</div>
					</div>
					<div class="f-fbx2">
						<div class="f-fbx2inn1">
							<div class="s-footer single-footer-3 ">
								<div class="single-footer wow zoomIn"  data-wow-duration="1.4s" >
									<?php if(is_active_sidebar('luzuk-footer3')): 
										dynamic_sidebar('luzuk-footer3');
									endif;
									?>	
								</div>
							</div>
						</div>
						<div class="f-fbx2inn2">
							<div class="row">
								<div class="s-footer  single-footer-4 " >
									<div class="single-footer wow zoomIn" data-wow-duration="1.8s" >
										<?php if(is_active_sidebar('luzuk-footer4')): 
											dynamic_sidebar('luzuk-footer4');
										endif;
										?>	
									</div>
								</div>

								<div class="s-footer  single-footer-5" >
									<div class="single-footer wow zoomIn" data-wow-duration="2s" >
										<?php if(is_active_sidebar('luzuk-footer5')): 
											dynamic_sidebar('luzuk-footer5');
										endif;
										?>	
									</div>
								</div>
								<div class="s-footer  single-footer-6" >
									<div class="single-footer wow zoomIn" data-wow-duration="2.1s" >
										<?php if(is_active_sidebar('luzuk-footer6')): 
											dynamic_sidebar('luzuk-footer6');
										endif;
										?>	
									</div>
								</div>
							</div>
						</div>
					</div>
				</div> 
			</div>
			<div class="clearfix"></div>
		<!-- </div> -->
	<?php } ?>
</footer>

<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(); ?>

	<!-- <a id="back2Top" title="Back to top" href="#"> &#10148; </a> -->

	<div id="back2Top" title="Back to top" >
		<svg fill="#000000" height="200px" width="200px" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 325 325" xml:space="preserve"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"> <path d="M294.165,179.832L167.599,2.818C166.538,1.128,164.663,0,162.521,0c-0.001,0-0.001,0-0.002,0 c-0.232,0-0.46,0.017-0.686,0.042c-0.076,0.009-0.15,0.022-0.226,0.034c-0.139,0.021-0.276,0.045-0.412,0.075 c-0.099,0.022-0.196,0.048-0.294,0.075c-0.105,0.029-0.208,0.06-0.31,0.096c-0.114,0.038-0.227,0.078-0.338,0.123 c-0.069,0.028-0.136,0.06-0.204,0.09c-0.957,0.43-1.804,1.1-2.432,1.976L30.831,179.83c-1.028,1.439-1.365,3.26-0.929,4.974 c0.437,1.714,1.61,3.149,3.202,3.92c0.156,0.076,15.811,7.766,31.189,24.292c19.01,20.429,29.274,44.705,30.568,72.232H77.327 c-3.313,0-6,2.687-6,6V319c0,3.314,2.687,6,6,6h170.342c3.314,0,6-2.686,6-6v-27.752c0-3.313-2.686-6-6-6h-17.532 c1.295-27.527,11.559-51.804,30.567-72.231c15.378-16.526,31.031-24.216,31.179-24.287c1.598-0.768,2.773-2.201,3.213-3.918 C295.536,183.096,295.195,181.273,294.165,179.832z M141.882,183.328c0.003-10.869,9.254-19.714,20.621-19.717 c5.548,0,10.751,2.075,14.652,5.843c3.844,3.714,5.96,8.637,5.959,13.862c-0.002,10.867-9.252,19.71-20.621,19.713l-0.004,6l0.001-6 C151.127,203.028,141.882,194.189,141.882,183.328z M241.669,313H83.327v-15.752h158.342V313z M252.261,204.476 c-14.867,15.86-32.45,42.5-34.137,80.772l-111.25-0.002c-1.687-38.271-19.271-64.91-34.139-80.771 c-10.871-11.598-21.711-19.126-28.248-23.111L156.514,24.688l-0.033,127.477c-15.114,2.758-26.595,15.679-26.599,31.162 c0,17.479,14.628,31.701,32.607,31.703c0,0,0.007,0,0.008,0c17.982-0.005,32.615-14.23,32.617-31.71 c0.002-8.511-3.415-16.5-9.622-22.496c-4.713-4.552-10.609-7.53-17.012-8.677l0.033-127.417l111.995,156.635 C273.972,185.35,263.133,192.878,252.261,204.476z"></path> </g></svg>
		<!-- <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><defs><style>.cls-1{fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px}</style></defs><path class="cls-1" d="M20 21 37 4l5 5M42.25 9.17l-1.71 1.44-.72 2.13-1.71 1.44-.71 2.12-1.71 1.45-.72 2.12-1.71 1.45-.71 2.12-1.72 1.45-.72 2.12-1.7 1.45-.73 2.13-1.71 1.45-.72 2.13"/><path class="cls-1" d="m25 34-4-4a2.12 2.12 0 0 1 0-3h0v-5l-2-2-2 2L6 33l11 11 9-9zM12 32l6 6"/><path class="cls-1" d="M-554-78h680v680h-680z"/></svg> -->
	</div>

</body>
</html>
