<?php
/**
 * The template part for top header
 *
 * @package VW Education Academy 
 * @subpackage vw_education_academy
 * @since VW Education Academy 1.0
 */
?>
<?php if (get_theme_mod('vw_education_academy_hide_show_topbar_section', true) == 1 || get_theme_mod( 'vw_education_academy_resp_topbar_hide_show', true) == 1) {  ?>
  <div id="topbar">
    <div class="container">
      <div class="row">
        <div class="col-lg-2 offset-lg-3 col-md-4">
          <?php if( get_theme_mod( 'vw_education_academy_header_call') != '') { ?>
            <span><i class="<?php echo esc_attr(get_theme_mod('vw_education_academy_call_icon','fas fa-phone')); ?>"></i><a href="tel:<?php echo esc_attr( get_theme_mod('vw_education_academy_header_call','') ); ?>"><?php echo esc_html(get_theme_mod('vw_education_academy_header_call',''));?></a></span>
          <?php }?>
        </div>
        <div class="col-lg-3 col-md-4">
          <?php if( get_theme_mod( 'vw_education_academy_header_email') != '') { ?>
            <span><i class="<?php echo esc_attr(get_theme_mod('vw_education_academy_email_icon','fas fa-envelope-open')); ?>"></i><a href="mailto:<?php echo esc_attr(get_theme_mod('vw_education_academy_header_email',''));?>"><?php echo esc_html(get_theme_mod('vw_education_academy_header_email',''));?></a></span>
          <?php }?>
        </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://instagram.com" target="_blank"><i class="fab fa-instagram"></i></a></li> 
                  <li><a href="https://linkedin.com" target="_blank"><i class="fab fa-linkedin"></i></a></li> 
                  <li><a href="https://pinterest.com" target="_blank"><i class="fab fa-pinterest"></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 }?>  