<?php
/**
 * Displays top header
 *
 * @package Curtains Fabric
 */
?>

<div class="top-info text-right py-2">
	<div class="container">
		<div class="row">
			<div class="col-lg-10 col-md-10 col-sm-12 align-self-center">
				<div class="row">
					<div class="col-lg-4 col-md-6 col-sm-6 align-self-center">
						<?php if ( get_theme_mod('curtains_fabric_topbar_location_text') != "" ) {?>
					        <div class=" text-center py-2">
					            <p class="location m-0"><i class="fas fa-map-marker-alt me-2"></i><?php echo esc_html(get_theme_mod('curtains_fabric_topbar_location_text')); ?></p>  
					        </div>
				        <?php }?>
					</div>
					<div class="col-lg-2 col-md-6 col-sm-6 align-self-center">
						<?php if ( get_theme_mod('curtains_fabric_topbar_phone_text') != "" ) {?>
					        <div class=" text-center py-2">
					            <p class="location m-0"><i class="fas fa-phone-volume me-2"></i><?php echo esc_html(get_theme_mod('curtains_fabric_topbar_phone_text')); ?></p>  
					        </div>
				        <?php }?>
					</div>
					<div class="col-lg-3 col-md-6 col-sm-6 align-self-center">
						<?php if ( get_theme_mod('curtains_fabric_topbar_mail_text') != "" ) {?>
					        <div class=" text-center py-2">
					            <p class="location m-0"><i class="fas fa-envelope me-2"></i><?php echo esc_html(get_theme_mod('curtains_fabric_topbar_mail_text')); ?></p>  
					        </div>
				        <?php }?>
					</div>
					<div class="col-lg-3 col-md-6 col-sm-6 align-self-center">
						<?php if ( get_theme_mod('curtains_fabric_topbar_timing_text') != "" ) {?>
					        <div class=" text-center py-2">
					            <p class="location m-0"><i class="fas fa-clock me-2"></i><?php echo esc_html(get_theme_mod('curtains_fabric_topbar_timing_text')); ?></p>  
					        </div>
				        <?php }?>
					</div>
				</div>
			</div>
			<div class="col-lg-2 col-md-2 col-sm-12 align-self-center">
				<span class="text-center translate-btn">
                    <?php if(class_exists('GTranslate')){ ?>
                        <?php echo do_shortcode('[gtranslate]', 'curtains-fabric');?>
                    <?php }?>
                </span>
			</div>
		</div>
	</div>
</div>