<?php

if(get_theme_mod('appoi_disable') != 'on' ){ ?>
	<?php 
		if( get_theme_mod('contactsection_toppadding',true) ) {
            $contactsection_toppadding = 'padding-top:'.esc_attr(get_theme_mod('contactsection_toppadding')).';';
        }
        if( get_theme_mod('contactsection_bottompadding',true) ) {
            $contactsection_bottompadding = 'padding-bottom:'.esc_attr(get_theme_mod('contactsection_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" class="" style="<?php echo esc_attr($contactsection_toppadding); ?>" "<?php echo esc_attr($contactsection_bottompadding); ?>">	
		<div class="container"> 
			<?php
				$appform_maintitle = get_theme_mod('appform_maintitle', 'Contact From');
				//$apphedingtxt = get_theme_mod('apphedingtxt', 'It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout.');
				$luzuk_inquiry_shortcode = get_theme_mod('luzuk_inquiry_shortcode', '[Add Form shortcode]');

				$app_rhstitle = get_theme_mod('app_rhstitle', 'Contact Info');
			?>	
		<!-- <div class="row row-eq-height"> -->
			<div class="app-inn row row-eq-height">
				<div class="col-xl-6 col-md-6 pd-0 app-rhsbx">
					<div class="olyinn"></div>
					<div class="app-rhsbxinn">
						<div class="col-md-12 pd-0">
							<h5><?php echo ($app_rhstitle);  ?></h5>
						</div>
						<div class="clearfix"></div>
						<?php
							$infemiltxt = get_theme_mod('infemiltxt', 'yourmailhere@gmail.com');
							$infphtxt = get_theme_mod('infphtxt', '+91 800 8569 321');
							$inftxt = get_theme_mod('inftxt', ' 380 St Kilda Road, Melbourne, Australia');
						?>

							<?php if(!empty($infemiltxt)){ ?>
								<div class='info-txt'>
								<div class="col-md-2 col-sm-2">
									<div class="icnbx">
										<i class="fa fa-envelope"></i>
									</div>
								</div>
								<div class="col-md-10 col-sm-10">
									<a href="mailto:<?php echo $infemiltxt;?>"><?php echo $infemiltxt;?></a>
								</div>
									<div class="clearfix"></div>
								</div>
							<?php }?> 
							<div class="clearfix"></div>
							<?php if(!empty($infphtxt)){ ?>
								<div class='info-txt'>
									<div class="col-md-2 col-sm-2">
										<div class="icnbx">
											<i class="fa fa-phone"></i>
										</div>
									</div>
									<div class="col-md-10 col-sm-10">
										<a href="tel:<?php echo $infphtxt;?>"><?php echo ($infphtxt);  ?></a>
									</div>
									<div class="clearfix"></div>
								</div>
							<?php }?> 
							<div class="clearfix"></div>
							<?php if(!empty($inftxt)){ ?>
								<div class='info-txt'>
									<div class="col-md-2 col-sm-2">
										<div class="icnbx">
											<i class="fa fa-map-marker"></i>
										</div>
									</div>
									<div class="col-md-10 col-sm-10">
										<p><?php echo ($inftxt);  ?></p>
									</div>
									<div class="clearfix"></div>
								</div>
							<?php }?> 

							<div class="clearfix"></div>
						</div>
						<div class="clearfix"></div>
				</div> 
				<div class="col-xl-6 col-md-6 pd-0">
					<div class="ht-inquiry-member-wrap">
						<div class="overlay"></div>	
						<div class=" justify-content-center">
							<?php if($appform_maintitle ){ ?>
								<div class="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 class="clearfix"></div>
		</div> 
	</div>
<?php } 