<?php if((get_theme_mod('andaman_top_contact') || get_theme_mod('andaman_menu_soc')) == true)  { ?>
<div class="header style2">  
  <div class="top_bar">
    <div class="container">
      <div class="row">
        <div class="col-md-9 hidden-sm hidden-xs">
          <?php if(get_theme_mod('andaman_top_contact') == true)  { ?>
            <ul class="contacts-top">
              <?php if(get_theme_mod('andaman_top_contact_address', 'enable') == true)  { ?><li><?php echo esc_attr(get_theme_mod('andaman_top_contact_address', '455 Martinson, Los Angeles')); ?></li><?php }; ?> 
              <?php if(get_theme_mod('andaman_top_contact_phone', 'enable') == true)  { ?><li><a href="tel:<?php echo preg_replace('/\s+/', '',get_theme_mod('andaman_top_contact_phone', '+1 (043) 567-8930')); ?>"><?php echo esc_attr(get_theme_mod('andaman_top_contact_phone', '+1 (043) 567-8930')); ?></a></li><?php }; ?> 
              <?php if(get_theme_mod('andaman_top_contact_hours', 'enable') == true)  { ?><li><?php echo esc_attr(get_theme_mod('andaman_top_contact_hours', 'Mon-Sut: 10 AM-8 PM')); ?></li><?php }; ?> 
            </ul>
          <?php }; ?> 
        </div>
        <div class="col-md-3 col-sm-12 col-xs-12">
          <ul class="soc-top pull-right">
            <?php if(get_theme_mod('andaman_menu_soc') == true)  { ?>
              <?php if(get_theme_mod('andaman_menu_soc_facebook', 'enable') == true) {?><li><a target="_blank" href="<?php echo esc_url(stripslashes(get_theme_mod('andaman_menu_soc_facebook'))) ?>"><i class="fab fa-facebook-f"></i></a></li><?php }; ?> 
              <?php if(get_theme_mod('andaman_menu_soc_twitter', 'enable') == true) {?><li><a target="_blank" href="<?php echo esc_url(stripslashes(get_theme_mod('andaman_menu_soc_twitter'))) ?>"><i class="fab fa-twitter"></i></a></li><?php }; ?> 
              <?php if(get_theme_mod('andaman_menu_soc_googleplus', 'enable') == true) {?><li><a target="_blank" href="<?php echo esc_url(stripslashes(get_theme_mod('andaman_menu_soc_googleplus'))) ?>"><i class="fab fa-google-plus-g"></i></a></li><?php }; ?> 
              <?php if(get_theme_mod('andaman_menu_soc_linkedin', 'enable') == true) {?><li><a target="_blank" href="<?php echo esc_url(stripslashes(get_theme_mod('andaman_menu_soc_linkedin'))) ?>"><i class="fab fa-linkedin-in"></i></a></li><?php }; ?> 
              <?php if(get_theme_mod('andaman_menu_soc_dribbble') == true) {?><li><a target="_blank" href="<?php echo esc_url(stripslashes(get_theme_mod('andaman_menu_soc_dribbble'))) ?>"><i class="fab fa-dribbble"></i></a></li><?php }; ?> 
              <?php if(get_theme_mod('andaman_menu_soc_instagram') == true) {?><li><a target="_blank" href="<?php echo esc_url(stripslashes(get_theme_mod('andaman_menu_soc_instagram'))) ?>"><i class="fab fa-instagram"></i></a></li><?php }; ?> 
              <?php if(get_theme_mod('andaman_menu_soc_youtube') == true) {?><li><a target="_blank" href="<?php echo esc_url(stripslashes(get_theme_mod('andaman_menu_soc_youtube'))) ?>"><i class="fab fa-youtube"></i></a></li><?php }; ?>   
              <?php if(get_theme_mod('andaman_menu_soc_flickr') == true) {?><li><a target="_blank" href="<?php echo esc_url(stripslashes(get_theme_mod('andaman_menu_soc_flickr'))) ?>"><i class="fab fa-flickr"></i></a></li><?php }; ?>   
              <?php if(get_theme_mod('andaman_menu_soc_tumblr') == true) {?><li><a target="_blank" href="<?php echo esc_url(stripslashes(get_theme_mod('andaman_menu_soc_tumblr'))) ?>"><i class="fab fa-tumblr"></i></a></li><?php }; ?>   
              <?php if(get_theme_mod('andaman_menu_soc_foursquare') == true) {?><li><a target="_blank" href="<?php echo esc_url(stripslashes(get_theme_mod('andaman_menu_soc_foursquare'))) ?>"><i class="fab fa-foursquare"></i></a></li><?php }; ?>  
              <?php if(get_theme_mod('andaman_menu_soc_vk') == true) {?><li><a target="_blank" href="<?php echo esc_url(stripslashes(get_theme_mod('andaman_menu_soc_vk'))) ?>"><i class="fab fa-vk"></i></a></li><?php }; ?>   
              <?php if(get_theme_mod('andaman_menu_soc_behance') == true) {?><li><a target="_blank" href="<?php echo esc_url(stripslashes(get_theme_mod('andaman_menu_soc_behance'))) ?>"><i class="fab fa-behance"></i></a></li><?php }; ?>   
              <?php if(get_theme_mod('andaman_menu_soc_pinterest') == true) {?><li><a target="_blank" href="<?php echo esc_url(stripslashes(get_theme_mod('andaman_menu_soc_pinterest'))) ?>"><i class="fab fa-pinterest-p"></i></a></li><?php }; ?>
            <?php }; ?>
          </ul>
        </div>
      </div>
    </div>
  </div>
<?php } else { ?>
  <div class="header style2 no-bar">
<?php };?>
<div class="sticky-menu">
  <div class="container">
    <div class="menu-flex">
      <div class="logo">
        <a href="<?php echo esc_url(home_url('/')); ?>" title="<?php bloginfo( 'name' ); ?>" rel="home">
          <?php if(get_theme_mod('andaman_logo_upload', 'enable') == true)  { ?>
            <img src="<?php echo esc_url(get_theme_mod('andaman_logo_upload', get_template_directory_uri() . '/assets/images/logo.png')); ?>" alt="<?php the_title_attribute(); ?>" style="height: <?php echo esc_attr(get_theme_mod('andaman_logo_height', '45px')); ?>;">
          <?php } else { ?>
            <h1 style="margin:0;"><?php echo the_title(); ?></h1>
          <?php } ?>
        </a>
      </div>
       <?php if(get_theme_mod('andaman_menu_select', 'standard') == 'standard')  { ?> 
                  <div class="menu-responsive desktop">
                    <div class="navbar-main-collapse pull-left responsive-menu">
                            <?php wp_nav_menu( array(
                              'theme_location' => 'menu',
                              'container' => false,
                              'menu_class' => 'nav navbar-nav',
                              'sort_column' => 'menu_order',
                              'walker' => new Andaman_My_Walker_Nav_Menu(),
                              'fallback_cb' => 'andaman_MenuFallback'
                            )); ?> 
                    </div>
                  </div>
                  <div class="menu-responsive mobile">
                    <div class="burger_andaman_normal_holder"><a href="#" class="nav-icon3" id="open-button"><span></span><span></span><span></span><span></span><span></span><span></span></a></div>
                      <div class="burger_andaman_menu_overlay_normal">
                        <div class="burger_andaman_menu_vertical">
                          <?php wp_nav_menu( array(
                            'theme_location' => 'menu',
                            'menu_class' => 'burger_andaman_main_menu',
                            'depth' => 3,
                          )); ?>
                        </div>
                      </div>
                  </div>
              <?php } else { ?>
                  <div class="menu-responsive desktop">
                    <div class="navbar-main-collapse pull-left responsive-menu">
                            <?php wp_nav_menu( array(
                              'theme_location' => 'onepage-menu',
                              'container' => false,
                              'menu_class' => 'nav navbar-nav share-class',
                              'menu_id' => 'menu-onepage',
                              'sort_column' => 'menu_order',
                              'walker' => new Andaman_My_Walker_Nav_Menu(),
                              'fallback_cb' => 'andaman_MenuFallback'
                            )); ?> 
                    </div>
                  </div>
                  <div class="menu-responsive mobile">
                    <div class="burger_andaman_normal_holder"><a href="#" class="nav-icon3" id="open-button"><span></span><span></span><span></span><span></span><span></span><span></span></a></div>
                      <div class="burger_andaman_menu_overlay_normal">
                        <div class="burger_andaman_menu_vertical">
                          <?php wp_nav_menu( array(
                            'theme_location' => 'onepage-menu',
                            'menu_class' => 'burger_andaman_main_menu share-class',
                            'menu_id' => 'menu-onepage',
                            'depth' => 1,
                          )); ?>
                        </div>
                      </div>
                  </div>
              <?php } ?>
          </div>
      </div>
  </div>
</div>