<?php
/**
 * The template part for top header
 *
 * @package Travel Tourism 
 * @subpackage travel-tourism
 * @since travel-tourism 1.0
 */
?>
<?php if (get_theme_mod('travel_tourism_hide_show_topbar_section', true) == 1 || get_theme_mod( 'travel_tourism_resp_topbar_hide_show', true) == 1) {  ?>
  <div class="top-bar">
    <div class="container">
      <div class="row">
        <div class="col-lg-8 col-md-8">
          <div class="row">
            <div class="col-lg-4 col-md-4">
              <?php if( get_theme_mod( 'travel_tourism_phone_number') != '') { ?>
                <p><i class="<?php echo esc_attr(get_theme_mod('travel_tourism_phone_icon','fas fa-phone-volume')); ?>"></i><a href="tel:<?php echo esc_attr( get_theme_mod('travel_tourism_phone_number','') ); ?>"><?php echo esc_html(get_theme_mod('travel_tourism_phone_number',''));?></a></p>
              <?php } ?>
            </div>
            <div class="col-lg-4 col-md-4">
              <?php if( get_theme_mod( 'travel_tourism_email_address') != '') { ?>
                <p><i class="<?php echo esc_attr(get_theme_mod('travel_tourism_email_icon','fas fa-envelope')); ?>"></i><a href="mailto:<?php echo esc_attr(get_theme_mod('travel_tourism_email_address',''));?>"><?php echo esc_html(get_theme_mod('travel_tourism_email_address',''));?></a></p>
              <?php } ?>
            </div>
            <div class="col-lg-4 col-md-4">
              <?php if( get_theme_mod( 'travel_tourism_opening_time') != '') { ?>
                <p><i class="<?php echo esc_attr(get_theme_mod('travel_tourism_time_icon','fas fa-clock')); ?>"></i><?php echo esc_html(get_theme_mod('travel_tourism_opening_time',''));?></p>
              <?php } ?>
            </div>
          </div>
        </div>
        <div class="col-lg-4 col-md-4">
          <?php if (is_active_sidebar('social-links')) : ?>
            <?php dynamic_sidebar('social-links'); ?>
          <?php else : ?>
            <!-- Default Social Icons Widgets -->
              <div class="widget">
                  <ul class="custom-social-icons" >
                      <li><a href="https://facebook.com" target="_blank"><i class="fab fa-facebook"></i></a></li>
                      <li><a href="https://twitter.com" target="_blank"><i class="fab fa-twitter"></i></a></li>
                      <li><a href="https://linkedin.com" target="_blank"><i class="fab fa-linkedin"></i></a></li>
                      <li><a href="https://youtube.com" target="_blank"><i class="fab fa-youtube"></i></a></li>                      
                  </ul>
              </div>
          <?php endif; ?>   
        </div>
      </div>
    </div>
  </div>
<?php }?>  