<header class="header_nin_5">
    <div class="tab_bar_5">
        <div class="container">
            <div class="row">
                <div class="col-4 col-lg-5">
                    <?php get_template_part('themeplat/responsive/header/menu-mobile', 'header'); ?>

                    <div class="section-menu cd-main-nav d-none d-lg-block">
                        <?php wp_nav_menu(array('theme_location' => 'menu-bar-head', 'walker' => new ASG_Megamenu_Walker())); ?>
                    </div>
                </div>
                <div class="col-4 col-lg-2">
                    <div class="cd-logo">
                        <?php if (ot_get_option('logo_blog_barsa')) : ?>
                            <a href="<?php echo get_home_url(); ?>" title="<?php echo bloginfo('name'); ?>">
                                <img src="<?php echo ot_get_option('logo_blog_barsa'); ?>">
                            </a>
                        <?php endif; ?>
                    </div>
                </div>
                <div class="col-4 col-lg-5">
                    <ul class="tool_header5 left">
                    <?php
                        $display_search_header  = ot_get_option('display_search_header', false);
                        if ($display_search_header  == 'on') :
                    ?>
                        <li class="search_heade">
                            <a href="#search">
                                <i class="fal fa-search"></i>
                            </a>
                        </li>
                        <?php
                        endif;
                        $profile_header  = ot_get_option('profile_header', false);
                        if ($profile_header  == 'on') :
                            get_template_part('themeplat/login/blo-but-login', 'button');
                        endif;
                        ?>
                    </ul>
                </div>
            </div>
        </div>
    </div>
    <div class="main_menu_5 d-none d-lg-block">
        <div class="container">
            <div class="row">
                <div class="col-12">
                    <nav class="cd-main-nav">
                        <?php wp_nav_menu(array('theme_location' => 'main-menu', 'walker' => new ASG_Megamenu_Walker())); ?>
                    </nav>
                </div>
            </div>
        </div>
    </div>
</header>
<div style="padding-bottom:2rem;"></div>
<?php
get_template_part('themeplat/search/search-pop', 'search');
get_template_part('themeplat/login/register', 'header');
?>