<?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')).';';
        }
        if( get_theme_mod('app_Opacity',true) ) {
	        $app_Opacity = 'opacity:'.esc_attr(get_theme_mod('app_Opacity')).';';
	      }

	    if( get_theme_mod('app_Opacityrhs',true) ) {
	        $app_Opacityrhs = 'opacity:'.esc_attr(get_theme_mod('app_Opacityrhs')).';';
	      }

	?>
	<div id="appointment">	
		<div class="overlay"></div>	
		<!-- <div class="app-cir"></div> -->
		<div class="container">
			<?php
				$appform_maintitle = get_theme_mod('appform_maintitle', 'CONTACT US -');
				$appform_subtitle = get_theme_mod('appform_subtitle', 'WE ARE HERE TO HELP');
				$luzuk_inquiry_shortcode = get_theme_mod('luzuk_inquiry_shortcode', '[Add Form shortcode]');
			?>	
			<div class="app-inn">	
				<?php
					$infphtitle = get_theme_mod('infphtitle', 'PHONE');
					$infphtxt = get_theme_mod('infphtxt', '+111 222 1111');
					$infphtxt2 = get_theme_mod('infphtxt2', '+2222 111 333 77');

					$inftitle = get_theme_mod('inftitle', 'ADDRESS');
					$inftxt = get_theme_mod('inftxt', '869 U.S. 62 Business Mountain Home Arizona United States');

					$infemiltitle = get_theme_mod('infemiltitle', 'E-MAIL');
					$infemiltxt = get_theme_mod('infemiltxt', 'plumberWork@fakmail.com');
					$infemiltxt2 = get_theme_mod('infemiltxt2', 'workplumber@nfamail.com');
				?>
				<div class="row mr-0">	
					<div class="app-form ">
						<div class="ht-inquiry-member-wrap" >
							
							<?php if($appform_maintitle ){ ?>
								<div class="app-title">
						          <h2><?php echo ($appform_maintitle);  ?> <span><?php echo ($appform_subtitle);  ?></span></h2> 
						      </div> 
					        <?php }?>
							
												
							<?php echo do_shortcode($luzuk_inquiry_shortcode);?>
						</div>
						<div class="clearfix"></div>
					</div>
					<?php if(!empty( $infphtxt || $infphtitle || $infphtxt2  || $inftxt || $inftitle || $infemiltitle ||  $infemiltxt || $infemiltxt2)){ ?>

					<div class="app-detail ">
						<div class="app-detailbxinn">
							<div class="row mr-0">
							<?php if(!empty(  $infphtxt || $infphtitle || $infphtxt2 )){ ?>
							<div class="col-lg-4">
								<div class="info-txt">
									<div class="row ">
										<div class="col-lg-2 col-md-2 col-sm-2 col-2 ">
											<div class="icnbx">
												<a><i class="fa fa-phone"></i></a>
											</div>

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


							<?php if(!empty( $inftxt || $inftitle)){ ?>
							<div class="col-lg-4">
								<div class="info-txt t-box">
									<div class="row">
										<div class="col-lg-2 col-md-2 col-sm-2 col-2">
											<div class="icnbx">
												<i class="fa fa-map-marker"></i>
											</div>
										</div>
										<div class="col-lg-10 col-md-10 col-sm-10 col-10 infoinnbx">
											<h4><?php echo $inftitle;?></h4>							
											<p><?php echo ($inftxt);  ?></p>
											<div class="clearfix"></div>
										</div>
									</div>
								</div>
							</div>
							<?php }?> 

							<?php if(!empty( $infemiltitle ||  $infemiltxt || $infemiltxt2 )){ ?>
							<div class="col-lg-4">
								<div class="info-txt s-box">
									<div class="row">
										<div class="col-lg-2 col-md-2 col-sm-2 col-2 ">
											<div class="icnbx m-icnbx">
												<a><i class="fa fa-envelope"></i></a>
											</div>
										</div>
										<div class="col-lg-10 col-md-10  col-sm-10 col-10 infoinnbx">
											<h4><?php echo $infemiltitle;?></h4>
											<a href="mailto:<?php echo $infemiltxt;?>"><?php echo $infemiltxt;?></a>
											<a href="mailto:<?php echo $infemiltxt2;?>"><?php echo $infemiltxt2;?></a>
											<div class="clearfix"></div>
										</div>
									</div>
								</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 } 