<?php
if(get_theme_mod('appoi_disable') != 'on' ){ ?>
	<?php 
		if( get_theme_mod('appoinmentsection_toppadding',true) ) {
            $appoinmentsection_toppadding = 'padding-top:'.esc_attr(get_theme_mod('appoinmentsection_toppadding')).';';
        }
        if( get_theme_mod('appoinmentsection_bottompadding',true) ) {
            $appoinmentsection_bottompadding = 'padding-bottom:'.esc_attr(get_theme_mod('appoinmentsection_bottompadding')).';';
        }
	?>
	<div id="appointment" style="<?php echo esc_attr($appoinmentsection_toppadding); ?>" "<?php echo esc_attr($appoinmentsection_bottompadding); ?>">
		<div class="container">
			<?php
				$appheading = get_theme_mod('appheading', 'Get In Touch');
				$appsubheading = get_theme_mod('appsubheading', 'Nulla eleifend volutpat felis, a volutpat nibh. Phasellus ullamcorper felis a sagittis finibus. Suspendisse neque nulla, gravida vitae tortor vel, ultricies blandit dolor.');
				$infphtxt = get_theme_mod('infphtxt', '+023 1234 564');
				$infemiltxt = get_theme_mod('infemiltxt', 'info@tfgdaeyhjuiikkmail.com');
				$inftxt = get_theme_mod('inftxt', '21 Main St Lockport North Dakota 14094 (716) 434-0500 United States.');

				$appform_maintitle = get_theme_mod('appform_maintitle', 'Contact Form');
				$luzuk_inquiry_shortcode = get_theme_mod('luzuk_inquiry_shortcode', '[Add Form shortcode]');

				$facebook = get_theme_mod('app_fb', '//facebook.com/');
				$instagram = get_theme_mod('app_insta', 'instagram.com/');
				$twitter = get_theme_mod('app_tw', '//twitter.com/');
				$pinterest = get_theme_mod('app_pint', 'https://in.pinterest.com/');
			?>	
			<div class="app-inn">	
				<div class="row">						
					<div class="col-lg-6 col-md-12">
						<div class="app-detail">			
							<div class="app-title"><h2><?php echo ($appheading);  ?></h2></div>
							<div class="section-subtitle"><h3><?php echo ($appsubheading);  ?></h3></div>
							<?php if(!empty( $infphtxt || $infemiltxt || $inftxt)){ ?>
							<div class="app-detailbxinn">
								<?php if(!empty($infphtxt )){ ?>
								<div class="info-txt f-box">
									<div class="row">
										<div class="col-lg-1 col-md-1 col-sm-1 col-2 ">
											<div class="icnbx">
												<i class="fa fa-phone"></i>
											</div>

										</div>
										<div class="col-lg-11 col-md-11 col-sm-11 col-10 infoinnbx">
											<a href="tel:<?php echo $infphtxt;?>"><?php echo ($infphtxt);  ?>, </a>
										</div>
										<div class="clearfix"></div>
									</div>
								</div>
								<?php }?> 

								<?php if(!empty($infemiltxt)){ ?>
								<div class="info-txt s-box">
									<div class="row">
										<div class="col-lg-1 col-md-1 col-sm-1 col-2 ">
											<div class="icnbx m-icnbx">
												<a href="mailto:<?php echo $infemiltxt;?>"><i class="fa fa-envelope-o" ></i></a>
											</div>
										</div>
										<div class="col-lg-11 col-md-11 col-sm-11 col-10 infoinnbx">
											<a href="mailto:<?php echo $infemiltxt;?>"><?php echo $infemiltxt;?></a>	
										</div>
										<div class="clearfix"></div>
									</div>
								</div>
								<?php }?> 

								<?php if(!empty( $inftxt)){ ?>
								<div class="info-txt t-box">
									<div class="row">
										<div class="col-lg-1 col-md-1 col-sm-1 col-2 ">
											<div class="icnbx">
												<i class="fa fa-map-marker"></i>
											</div>
										</div>
										<div class="col-lg-11 col-md-11 col-sm-11 col-10 infoinnbx">
											<p><?php echo ($inftxt);  ?></p>
										</div>
										<div class="clearfix"></div>
									</div>
								</div>
								<?php }?> 				    
								<div class="clearfix"></div>
							</div>
							<?php }?> 
							<div class="clearfix"></div>
						</div>
					</div> 
					<?php if($facebook || $instagram || $twitter || $pinterest ||$appform_maintitle || $luzuk_inquiry_shortcode ){ ?>
					<div class="col-lg-6 col-md-12 app-form">
						<div class="ht-inquiry-member-wrap" >
								<?php if($appform_maintitle ){ ?>
									<div class="section-hdtitle">
							          <h2><?php echo ($appform_maintitle);  ?></h2>
							          <div class="fmtitlbg"></div> 
							          <div class="fmtitlbgcorn"></div> 
							      </div> 
						        <?php }?>
							
							<div class="inquiry-formbx">
								<?php echo do_shortcode($luzuk_inquiry_shortcode);?>

								<?php if($facebook || $instagram || $twitter || $pinterest){ ?>
								<div class="soci-icn">	
									<?php if(!empty($facebook)){ ?>
										<li><a href="<?php echo $facebook ?>" title="Facebook" class="site-button sharp" target="_blank"><i class="fa fa-facebook"></i></a></li>
									<?php }?>		

									<?php if(!empty($instagram)){ ?>
										<li><a href="<?php echo $instagram ?>" title="Instagram" class="site-button sharp" target="_blank"><i class="fa fa-instagram" aria-hidden="true"></i></a></li>
									<?php }?>

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

									<?php if(!empty($pinterest)){ ?>
										<li><a href="<?php echo $pinterest ?>" title="pinterest" class="site-button sharp" target="_blank"><i class="fa fa-pinterest-p" aria-hidden="true"></i></a></li>
									<?php }?>
									<div class="clearfix"></div>
								</div>
							 	<?php }?>
							 	<div class="clearfix"></div>
							</div>	

							
						</div>
						<div class="clearfix"></div>
					</div>
					<?php }?>
					<div class="clearfix"></div>
				</div>
			</div>
		</div>  
		<div class="clearfix"></div>
	</div>

<?php } 
