<?php $bauen_options = get_option('bauen'); ?>		
		<!-- Footer -->
		<footer class="main-footer">
		    <?php if (Bauen_AfterSetupTheme::return_thme_option('en_footer_contact_opt')=='st2'){ ?>
			<div class="sub-footer2">
				<div class="container">
					<div class="row">
						<?php if(!empty($bauen_options['footer_phone_title'])):?>
						<div class="col-md-4 mb-30">
							<div class="item fotcont">
								<div class="fothead">
									<h6><?php echo esc_html(Bauen_AfterSetupTheme::return_thme_option('footer_phone_title',''));?></h6> 
								</div>
								<?php if(!empty($bauen_options['ft_phn_number1'])):?>
									<p><a href="tel:<?php echo esc_attr(Bauen_AfterSetupTheme::return_thme_option('ft_phn_number1',''));?>"><?php echo esc_html(Bauen_AfterSetupTheme::return_thme_option('ft_phn_number1',''));?></a></p>
								<?php endif;?> 
								<?php if(!empty($bauen_options['ft_phn_number2'])):?>
									<p><a href="tel:<?php echo esc_attr(Bauen_AfterSetupTheme::return_thme_option('ft_phn_number2',''));?>"><?php echo esc_html(Bauen_AfterSetupTheme::return_thme_option('ft_phn_number2',''));?></a></p>
								<?php endif;?> 							
							</div>
						</div>
						<?php endif;?> 
						<?php if(!empty($bauen_options['footer_email_title'])):?>
						<div class="col-md-4 mb-30">
							<div class="item fotcont">
								<div class="fothead">
									<h6><?php echo esc_html(Bauen_AfterSetupTheme::return_thme_option('footer_email_title',''));?></h6> 								
								</div>
								<?php if(!empty($bauen_options['ft_email_address1'])):?>
								   <p><a href="mailto:<?php echo esc_attr(Bauen_AfterSetupTheme::return_thme_option('ft_email_address1',''));?>"><?php echo esc_html(Bauen_AfterSetupTheme::return_thme_option('ft_email_address1',''));?></a></p>
								<?php endif;?> 
								<?php if(!empty($bauen_options['ft_email_address2'])):?>
									<p><a href="mailto:<?php echo esc_attr(Bauen_AfterSetupTheme::return_thme_option('ft_email_address2',''));?>"><?php echo esc_html(Bauen_AfterSetupTheme::return_thme_option('ft_email_address2',''));?></a></p>
								<?php endif;?> 							
							</div>
						</div>
						<?php endif;?> 
						<?php if(!empty($bauen_options['footer_address_title'])):?>
						<div class="col-md-4 mb-30">
							<div class="item fotcont">
								<div class="fothead">
									<h6><?php echo esc_html(Bauen_AfterSetupTheme::return_thme_option('footer_address_title',''));?></h6> 
								</div>
								<?php if (Bauen_AfterSetupTheme::return_thme_option('ft_address_link_target')=='st2'){ ?>  
									<?php $bauen_footer_address_link_target = '_blank';?>		
								<?php } else { ?> 
									<?php $bauen_footer_address_link_target = '_self';?>
								<?php } ;?>								
								<?php if(!empty($bauen_options['ft_address1'])):?>							
								<p>
									<?php if(!empty($bauen_options['ft_address1_link_url'])):?>
										<a href="<?php echo esc_url($bauen_options['ft_address1_link_url']);?>" target="<?php echo esc_attr($bauen_footer_address_link_target);?>"><?php echo esc_html(Bauen_AfterSetupTheme::return_thme_option('ft_address1',''));?></a>
									<?php else : ?> 
										 <?php echo esc_html(Bauen_AfterSetupTheme::return_thme_option('ft_address1',''));?>
									<?php endif;?> 
								</p>
								<?php endif;?>	
								<?php if(!empty($bauen_options['ft_address2'])):?>
								<p class="mt-8">
									<?php if(!empty($bauen_options['ft_address2_link_url'])):?>
										<a href="<?php echo esc_url($bauen_options['ft_address2_link_url']);?>" target="<?php echo esc_attr($bauen_footer_address_link_target);?>"><?php echo esc_html(Bauen_AfterSetupTheme::return_thme_option('ft_address2',''));?></a>
									<?php else : ?> 
										<?php echo esc_html(Bauen_AfterSetupTheme::return_thme_option('ft_address2',''));?>
									<?php endif;?> 
								</p>	
								<?php endif;?>  							
							</div>
						</div>
						<?php endif;?>	
					</div>
				</div>
			</div>
			<?php } ;?>
			<div class="sub-footer">
				<div class="container">
					<div class="row">
						<div class="col-md-4">
							<div class="text-left">
								<?php $bauen_copy = Bauen_AfterSetupTheme::return_thme_option('copyright');
							        echo apply_filters('the_content',$bauen_copy);
							    ?>
							</div>
						</div>
						<div class="col-md-4 abot">
						    <?php if (Bauen_AfterSetupTheme::return_thme_option('en_footer_social_opt')=='st2'){ ?>
							<div class="social-icon">
								<?php if(!empty($bauen_options['facebook'])):?> 
								<a href="<?php echo esc_url($bauen_options['facebook']); ?>" target="_blank"><i class="ti-facebook"></i></a>
								<?php endif;?>

								<?php if(!empty($bauen_options['twitter'])):?> 
								<a href="<?php echo esc_url($bauen_options['twitter']); ?>" target="_blank"><i class="ti-twitter"></i></a>
								<?php endif;?>

								<?php if(!empty($bauen_options['google-plus'])):?> 
								<a href="<?php echo esc_url($bauen_options['google-plus']); ?>" target="_blank"><i class="ti-google"></i></a>
								<?php endif;?>		

								<?php if(!empty($bauen_options['linkedin'])):?> 
								<a href="<?php echo esc_url($bauen_options['linkedin']); ?>" target="_blank"><i class="ti-linkedin"></i></a>
								<?php endif;?>	

								<?php if(!empty($bauen_options['instagram'])):?> 
								<a href="<?php echo esc_url($bauen_options['instagram']); ?>" target="_blank"><i class="ti-instagram"></i></a>
								<?php endif;?>	

								<?php if(!empty($bauen_options['pinterest'])):?> 
								<a href="<?php echo esc_url($bauen_options['pinterest']); ?>" target="_blank"><i class="ti-pinterest"></i></a>
								<?php endif;?>	

								<?php if(!empty($bauen_options['soundcloud'])):?> 
								<a href="<?php echo esc_url($bauen_options['soundcloud']); ?>" target="_blank"><i class="ti-soundcloud"></i></a>
								<?php endif;?>			

								<?php if(!empty($bauen_options['skype'])):?> 
								<a href="<?php echo esc_url($bauen_options['skype']); ?>" target="_blank"><i class="ti-skype"></i></a>
								<?php endif;?>	
					
								<?php if(!empty($bauen_options['dribbble'])):?> 
								<a href="<?php echo esc_url($bauen_options['dribbble']); ?>" target="_blank"><i class="ti-dribbble"></i></a>
								<?php endif;?>				

								<?php if(!empty($bauen_options['youtube'])):?> 
								<a href="<?php echo esc_url($bauen_options['youtube']); ?>" target="_blank"><i class="ti-youtube"></i></a>
								<?php endif;?>	

								<?php if(!empty($bauen_options['vimeo'])):?> 
								<a href="<?php echo esc_url($bauen_options['vimeo']); ?>" target="_blank"><i class="ti-vimeo"></i></a>
								<?php endif;?>
					
								<?php if(!empty($bauen_options['dropbox'])):?> 
								<a href="<?php echo esc_url($bauen_options['dropbox']); ?>" target="_blank"><i class="ti-dropbox"></i></a>
								<?php endif;?>	

								<?php if(!empty($bauen_options['github'])):?> 
								<a href="<?php echo esc_url($bauen_options['github']); ?>" target="_blank"><i class="ti-github"></i></a>
								<?php endif;?>	
								
								<?php if(!empty($bauen_options['tumblr'])):?> 
								<a href="<?php echo esc_url($bauen_options['tumblr']); ?>" target="_blank"><i class="ti-tumblr-alt"></i></a>
								<?php endif;?>

								<?php if(!empty($bauen_options['email'])):?> 
								<a href="mailto:<?php echo esc_attr($bauen_options['email']); ?>" target="_blank"><i class="ti-email"></i></a>
								<?php endif;?>

								<?php
								$bauen_more_social = Bauen_AfterSetupTheme::return_thme_option('opt_add_more_social','');
								if ( ! empty( $bauen_more_social ) ) {
								foreach ( $bauen_more_social as $bauen_more_socials ) { ;?>
								<?php echo balanceTags($bauen_more_socials);?>
								<?php } } ;?> 				
								
							</div>  						
							<?php } ;?> 
						</div>
						<?php if(!empty($bauen_options['footer_menu_title'])):?>
						<div class="col-md-4">
							<?php if (Bauen_AfterSetupTheme::return_thme_option('ft_menu_link_target')=='st2'){ ?>  
								<?php $bauen_footer_menu_link_target = '_blank';?>		
							<?php } else { ?> 
								<?php $bauen_footer_menu_link_target = '_self';?>
							<?php } ;?>							
							<p class="right">
								<?php if(!empty($bauen_options['ft_menu_link_url'])):?>
									<a href="<?php echo esc_url($bauen_options['ft_menu_link_url']);?>" target="<?php echo esc_attr($bauen_footer_menu_link_target);?>"><?php echo esc_html(Bauen_AfterSetupTheme::return_thme_option('footer_menu_title',''));?></a>
								<?php else : ?> 
									 <?php echo esc_html(Bauen_AfterSetupTheme::return_thme_option('footer_menu_title',''));?>
								<?php endif;?> 							
							</p>
						</div>
						<?php endif;?>	
					</div>
				</div>
			</div>
		</footer>