<?php
	$address_section = get_theme_mod( 'vw_book_store_pro_footer_contact_enable' );
	if ( 'Disable' == $address_section ) {
		return;
	}
	$img_bg = get_theme_mod('vw_book_store_pro_custom_footer_image_bg');
	if( get_theme_mod('vw_book_store_pro_custom_footer_section_bgcolor') ) {
	  $about_backg = 'background-color:'.esc_attr(get_theme_mod('vw_book_store_pro_custom_footer_section_bgcolor')).';';
	}elseif( get_theme_mod('vw_book_store_pro_custom_footer_section_bgimage') ){
	  $about_backg = 'background-image:url(\''.esc_url(get_theme_mod('vw_book_store_pro_custom_footer_section_bgimage')).'\')';
	}else{
	  $about_backg = '';
	}
?>
<div class="container footer-contact <?php echo esc_attr($img_bg); ?>">		
	<div class="row">
	<?php if( get_theme_mod('vw_book_store_pro_footer_contact_address') != ''){ ?>
	<div class="col-lg-4 col-md-4 col-sm-12">
		<div class="media">
		  <i class="me-md-3 <?php echo esc_html(get_theme_mod('vw_book_store_pro_footer_contact_address_icon')); ?>"></i>
		  <div class="media-body">
		    <p><a href="http://maps.google.com/?q=1200 <?php echo esc_html(get_theme_mod('vw_book_store_pro_footer_contact_address'));  ?>" target="_blank"><?php echo esc_html(get_theme_mod('vw_book_store_pro_footer_contact_address'));  ?></a></p>
		  </div>
		</div>
	</div>
	<?php }?>
	<?php if ( get_theme_mod('vw_book_store_pro_footer_mobile1') != "" ) { ?>
	<div class="col-lg-4 col-md-3 col-sm-12">
		<div class="media">
		  <i class="me-md-3 <?php echo esc_html(get_theme_mod('vw_book_store_pro_footer_mobile_icon')); ?>"></i>
		  <div class="media-body">
		    <p><a href="tel:<?php echo esc_html(get_theme_mod('vw_book_store_pro_footer_mobile1')); ?>"><?php echo esc_html(get_theme_mod('vw_book_store_pro_footer_mobile1')); ?></a></p>
				<p><a href="tel:<?php echo esc_html(get_theme_mod('vw_book_store_pro_footer_mobile2')); ?>"><?php echo esc_html(get_theme_mod('vw_book_store_pro_footer_mobile2')); ?></a></p>
		  </div>
		</div>
	</div>
	<?php }?>
	<?php if ( get_theme_mod('vw_book_store_pro_footer_email1') != "" ) { ?>
	<div class="col-lg-4 col-md-5 col-sm-12">
		<div class="media">
		  <i class="me-md-3 <?php echo esc_html(get_theme_mod('vw_book_store_pro_footer_email1_icon')); ?>"></i>
		  <div class="media-body">
		    <p><a href="mailto:<?php echo esc_html(get_theme_mod('vw_book_store_pro_footer_email1')); ?>"><?php echo esc_html(get_theme_mod('vw_book_store_pro_footer_email1')); ?></a></p>
				<p><a href="mailto:<?php echo esc_html(get_theme_mod('vw_book_store_pro_footer_email2')); ?>"><?php echo esc_html(get_theme_mod('vw_book_store_pro_footer_email2')); ?></a></p>
		  </div>
		</div>
	</div>
	<?php }?>
	</div>
</div>