<?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" style="<?php echo esc_attr($appoinmentsection_toppadding); ?>" "<?php echo esc_attr($appoinmentsection_bottompadding); ?>">	
		<!-- <div class="container"> -->
			<div class="app-inn">	
				<?php
					$infphtxt = get_theme_mod('infphtxt', '+000 111 222');
					$infphtxt2 = get_theme_mod('infphtxt2', '+111 222 333');
					$infemiltxt = get_theme_mod('infemiltxt', 'info@yourmail.com');
					$inftxt = get_theme_mod('inftxt', '10917 NE 4th Plain Rd , US');
				?>
				<div class="row row-eq-height">	
			
					<div class="col-lg-6 col-md-6 app-detail ">
						<div class="app-detailbxinn">
						<div class="app-cir"></div>
							<div class="app-dbx">
								<?php if(!empty(  $infphtxt || $infphtxt2)){ ?>
								<div class="info-txt f-box">
									<div class="row">
										<div class="col-lg-2 col-md-12 col-sm-12 ">
											<div class="icnbx">
												<i class="fa fa-phone"></i>
											</div>

										</div>
										<div class="col-lg-10 col-md-12 col-sm-12 infoinnbx">
											<li><a href="tel:<?php echo $infphtxt;?>"><?php echo ($infphtxt);  ?></a></li> 
											<li><a href="tel:<?php echo $infphtxt2;?>"><?php echo ($infphtxt2);  ?></a></li>
										</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-2 col-md-12 col-sm-12 ">
											<div class="icnbx ">
												<i class="fa fa-envelope"></i>
											</div>
										</div>
										<div class="col-lg-10 col-md-12 col-sm-12 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-2 col-md-12 col-sm-12">
											<div class="icnbx">
												<i class="fa fa-map-marker"></i>
											</div>
										</div>
										<div class="col-lg-10 col-md-12 col-sm-12 infoinnbx">
											<p><?php echo ($inftxt);  ?></p>
										</div>
										<div class="clearfix"></div>
									</div>
								</div>
								<?php }?> 				    
								<div class="clearfix"></div>
								<?php 
									$facebook = get_theme_mod('app_fb', '//facebook.com/');
									$instagram = get_theme_mod('app_insta', 'https://www.instagram.com/');
									$twitter = get_theme_mod('app_tw', '//twitter.com/');
									$youtube = get_theme_mod('app_ytube', 'https://www.youtube.com/');
									
								?>
								<div class="s-media">
									<?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-brands fa-x-twitter"></i></a></li>
									<?php }?>

									<?php if(!empty($youtube)){ ?>
										<li><a href="<?php echo $youtube ?>" title="Youtube" class="site-button sharp" target="_blank"><i class="fa fa-youtube-play"></i></a></li>
									<?php }?>
									<div class="clearfix"></div>
								</div>
							</div>
						</div>
						<div class="clearfix"></div>
						
					</div> 
			
					<div class="col-lg-6 col-md-6 app-form ">
						<?php
							$appform_maintitle = get_theme_mod('appform_maintitle', 'CONTACT US');
							$luzuk_inquiry_shortcode = get_theme_mod('luzuk_inquiry_shortcode', '[Add Form shortcode]');
						?>
						<div class="ht-inquiry-member-wrap" >
							<div class="overlay"></div>	
							<div class=" justify-content-center">
								<?php if($appform_maintitle ){ ?>
									<div class="app-title">
							          <h2><?php echo ($appform_maintitle);  ?></h2> 
							      </div> 
						        <?php }?>
							</div>
												
							<?php echo do_shortcode($luzuk_inquiry_shortcode);?>
						</div>
						<div class="clearfix"></div>
					</div>
					<div class="clearfix"></div>
				</div>
			</div>
		<!-- </div>   -->
		<div class="clearfix"></div>
	</div>
<?php } 