<?php
/**
 * Displays Top header
 *
 * @package Ambulance Paramedics
 */
?>
<div class="top-header py-3">
	<div class="container">
		<div class="row">
			<div class="col-lg-7 col-md-7 align-self-center">
				<div class="phone-email">
					<?php if(get_theme_mod('ambulance_paramedics_phone_number') != '') {?>
						<a href="tel:<?php echo esc_attr(get_theme_mod('ambulance_paramedics_phone_number')); ?>"><i class="fas fa-phone me-2"></i><?php echo esc_html(get_theme_mod('ambulance_paramedics_phone_number')); ?></a>
					<?php }?>
					<?php if(get_theme_mod('ambulance_paramedics_email_address') != '') {?>
						<a href="mailto:<?php echo esc_attr(get_theme_mod('ambulance_paramedics_email_address')); ?>"><i class="fas fa-envelope me-2"></i><?php echo esc_html(get_theme_mod('ambulance_paramedics_email_address')); ?></a>
					<?php }?>
				</div>
			</div>
			<div class="col-lg-5 col-md-5 align-self-center text-md-end text-center">
				<?php if(get_theme_mod('ambulance_paramedics_location') != ''){?>
					<p class="location mb-0"><i class="fas fa-map-marker-alt me-2"></i><?php echo esc_html(get_theme_mod('ambulance_paramedics_location')); ?></p>
				<?php }?>
			</div>
		</div>
	</div>
</div>