<?php 
/*
* Display Top Bar
*/
?>
<?php if( get_theme_mod('multipurpose_corporate_show_topbar', false) != ''){ ?>
  <?php if( get_theme_mod( 'multipurpose_corporate_timming','' ) != '' || get_theme_mod( 'multipurpose_corporate_call','' ) != '' || get_theme_mod( 'multipurpose_corporate_mail','' ) != '' || get_theme_mod( 'multipurpose_corporate_facebook_url','' ) != '' || get_theme_mod( 'multipurpose_corporate_twitter_url','' ) != '' || get_theme_mod( 'multipurpose_corporate_instagram_url','' ) != '' || get_theme_mod( 'multipurpose_corporate_youtube_url','' ) != '' || get_theme_mod( 'multipurpose_corporate_pint_url','' ) != '') { ?>
    <div class="top-header">
      <div class="container">
        <div class="row">
          <div class="col-lg-9 col-md-8">
            <div class="row">
              <div class="col-lg-4 col-md-4 timebox text-lg-start text-md-start text-center py-2">
                <?php if( get_theme_mod( 'multipurpose_corporate_timming','' ) != '') { ?>
                  <i class="fas fa-map-marker-alt"></i><span class="phone ms-2"><?php echo esc_html( get_theme_mod('multipurpose_corporate_timming','' )); ?></span>
                 <?php } ?>
              </div>
              <div class="call col-lg-4 col-md-3 text-lg-start text-md-start text-center py-2">
                <?php if( get_theme_mod( 'multipurpose_corporate_call','' ) != '') { ?>
                  <i class="fas fa-mobile-alt"></i><a href="tel:<?php echo esc_url( get_theme_mod('multipurpose_corporate_call','' )); ?>" class="ms-2"><?php echo esc_html( get_theme_mod('multipurpose_corporate_call','') ); ?><span class="screen-reader-text"><?php echo esc_html( get_theme_mod('multipurpose_corporate_call','') ); ?></a>
                <?php } ?>
              </div>
              <div class="email col-lg-4 col-md-5 text-lg-start text-md-start text-center py-2">
                <?php if( get_theme_mod( 'multipurpose_corporate_mail','' ) != '') { ?>
                  <i class="far fa-envelope"></i><a href="mailto:<?php echo esc_url( get_theme_mod('multipurpose_corporate_mail','') ); ?>" class="ms-2"><?php echo esc_html( get_theme_mod('multipurpose_corporate_mail','') ); ?><span class="screen-reader-text"><?php echo esc_html( get_theme_mod('multipurpose_corporate_mail','') ); ?></span></a>
                <?php } ?>
              </div>
            </div>
          </div>
          <div class="col-lg-3 col-md-4 p-0">
            <div class="social-media text-lg-end text-md-end text-center py-2">
              <?php if( get_theme_mod( 'multipurpose_corporate_facebook_url') != '') { ?>
                <a href="<?php echo esc_url( get_theme_mod( 'multipurpose_corporate_facebook_url','' ) ); ?>"><i class="fab fa-facebook-f"></i><span class="screen-reader-text"><?php esc_html_e( 'Facebook','multipurpose-corporate' );?></span></a>
              <?php } ?>
              <?php if( get_theme_mod( 'multipurpose_corporate_twitter_url') != '') { ?>
                <a href="<?php echo esc_url( get_theme_mod( 'multipurpose_corporate_twitter_url','' ) ); ?>"><i class="fab fa-twitter"></i><span class="screen-reader-text"><?php esc_html_e( 'Twitter','multipurpose-corporate' );?></span></a>
              <?php } ?>
              <?php if( get_theme_mod( 'multipurpose_corporate_instagram_url' ) != '') { ?>
                <a href="<?php echo esc_url( get_theme_mod( 'multipurpose_corporate_instagram_url','' ) ); ?>"><i class="fab fa-instagram"></i><span class="screen-reader-text"><?php esc_html_e( 'Instagram','multipurpose-corporate' );?></span></a>
              <?php } ?>
              <?php if( get_theme_mod( 'multipurpose_corporate_youtube_url') != '') { ?>
                <a href="<?php echo esc_url( get_theme_mod( 'multipurpose_corporate_youtube_url','' ) ); ?>"><i class="fab fa-youtube"></i><span class="screen-reader-text"><?php esc_html_e( 'Youtube','multipurpose-corporate' );?></span></a>
              <?php } ?>
              <?php if( get_theme_mod( 'multipurpose_corporate_pint_url') != '') { ?>
                <a href="<?php echo esc_url( get_theme_mod( 'multipurpose_corporate_pint_url','' ) ); ?>"><i class="fab fa-pinterest"></i><span class="screen-reader-text"><?php esc_html_e( 'Pinterest','multipurpose-corporate' );?></span></a>
              <?php } ?>
              <?php if( get_theme_mod( 'multipurpose_corporate_linkedin_url') != '') { ?>
                <a href="<?php echo esc_url( get_theme_mod( 'multipurpose_corporate_linkedin_url','' ) ); ?>"><i class="fab fa-linkedin-in"></i><span class="screen-reader-text"><?php esc_html_e( 'LinedIn','multipurpose-corporate' );?></span></a>
              <?php } ?>
            </div>
          </div>
          <div class="clearfix"></div>
        </div>
      </div>
    </div>
  <?php }?>
<?php }?>