<?php 
	if ( ! defined( 'ABSPATH' ) ) exit;
	if ( ! function_exists( 'avril_lite_info' ) ) :
	function avril_lite_info() {
	$avril_aera_info_hs				= get_theme_mod('hs_info','1');		
	$avril_aera_info_first_icon_setting= get_theme_mod('info_first_icon_setting','fa-clock-o'); 
	$avril_aera_info_title				= get_theme_mod('info_title','Opening Hours');
	$avril_aera_info_description		= get_theme_mod('info_description','Monday-Friday: 09:00-22:00');
	$avril_aera_info_link				= get_theme_mod('info_link','#');
	
	$avril_aera_info_second_icon_setting= get_theme_mod('info_second_icon_setting','fa-home'); 
	$avril_aera_info_title2			= get_theme_mod('info_title2','Our Location');
	$avril_aera_info_description2		= get_theme_mod('info_description2','California Floor, USA 1208');
	$avril_aera_info_link2				= get_theme_mod('info_link2','#');
	
	$avril_aera_info_third_icon_setting= get_theme_mod('info_third_icon_setting','fa-calendar');	
	$avril_aera_info_title3			= get_theme_mod('info_title3','Booking Now');
	$avril_aera_info_description3		= get_theme_mod('info_description3','+00-245-152-5500'); 
	$avril_aera_info_link3				= get_theme_mod('info_link3','#');	 
if($avril_aera_info_hs == '1') {		
?> 
<div id="info-section" class="info-section">
    <div class="av-container">
        <div class="av-columns-area">
            <div class="av-column-12">
                <div class="info-area">
                    <div class="svg-clip-art">
                        <svg xmlns="http://www.w3.org/2000/svg" width="100%" viewBox="0 0 100 100" version="1.1" preserveAspectRatio="none"><path stroke-width="0" d="M0 0 C50 100 50 100 100 0 L100 100 0 100"></path></svg>
                    </div>
                    <ul class="info-wrapper wow fadeInUp">
                        <li class="info-first">
                            <aside class="widget widget-contact">
                                <div class="contact-area">
                                    <div class="contact-icon">
                                        <i class="fa <?php echo esc_attr( $avril_aera_info_first_icon_setting ); ?>"></i>
                                    </div>
                                    <a href="<?php echo esc_url( $avril_aera_info_link ); ?>" class="contact-info">
                                        <span class="text"><?php echo esc_html($avril_aera_info_title); ?></span>
                                        <span class="title"><?php echo esc_html($avril_aera_info_description); ?></span>
                                    </a>
									<?php if ( ! empty( $avril_aera_info_link ) ) : ?>
										<div class="contact-more">
											<a class="btn-arrow" href="<?php echo esc_url( $avril_aera_info_link ); ?>"><?php esc_html_e('Read More','clever-fox'); ?></a>
										</div>
									<?php endif; ?>	
                                </div>
                            </aside>
                        </li>
                        <li class="info-second">
                            <aside class="widget widget-contact">
                                <div class="contact-area">
                                    <div class="contact-icon">
                                        <i class="fa <?php echo esc_attr( $avril_aera_info_second_icon_setting ); ?>"></i>
                                    </div>
                                    <a href="<?php echo esc_url( $avril_aera_info_link2 ); ?>" class="contact-info">
                                        <span class="text"><?php  echo esc_html($avril_aera_info_title2); ?></span>
                                        <span class="title"><?php echo esc_html($avril_aera_info_description2); ?></span>
                                    </a>
									<?php if ( ! empty( $avril_aera_info_link2 ) ) : ?>
										<div class="contact-more">
											<a class="btn-arrow" href="<?php echo esc_url( $avril_aera_info_link2 ); ?>"><?php esc_html_e('Read More','clever-fox'); ?></a>
										</div>
									<?php endif; ?>	
                                </div>
                            </aside>
                        </li>
                        <li class="info-third">
                            <aside class="widget widget-contact">
                                <div class="contact-area">
                                    <div class="contact-icon">
                                        <i class="fa <?php echo esc_attr( $avril_aera_info_third_icon_setting ); ?>"></i>
                                    </div>
                                    <a href="<?php echo esc_url( $avril_aera_info_link3 ); ?>" class="contact-info">
                                        <span class="text"><?php echo esc_html($avril_aera_info_title3); ?></span>
                                        <span class="title"><?php echo esc_html($avril_aera_info_description3); ?></span>
                                    </a>
									<?php if ( ! empty( $avril_aera_info_link3 ) ) : ?>
										<div class="contact-more">
											<a class="btn-arrow" href="<?php echo esc_url( $avril_aera_info_link3 ); ?>"><?php esc_html_e('Read More','clever-fox'); ?></a>
										</div>
									<?php endif; ?>		
                                </div>
                            </aside>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</div>
<?php	
}} endif; 
if ( function_exists( 'avril_lite_info' ) ) {
	$cleverfox_section_priority = apply_filters( 'avril_section_priority', 12, 'avril_lite_info' );
	add_action( 'avril_sections', 'avril_lite_info', absint( $cleverfox_section_priority ) );
}