<header class="header-mobile-4 d-block d-md-none mb-3">
    <div class="header-mobile-wrapper">
        <div class="menu-container">
            <span class="menu-handler">
                <?php get_template_part('themeplat/responsive/header/menu-mobile', 'header'); ?>
            </span>
            <?php
                $display_search_header  = ot_get_option('display_search_header', false);
                if ($display_search_header  == 'on') :
            ?>
            <span class="menu-handler">
                <div class="search search-btn">
                    <a href="#search">
                        <i class="fal fa-search"></i>
                    </a>
                </div>
            </span>
        </div>
        <?php endif; ?>
        <div class="logo-container">
            <a href="<?php echo get_home_url(); ?>" title="<?php echo bloginfo('name'); ?>">
                <img src="<?php echo ot_get_option('logo_blog_barsa'); ?>">
            </a>
        </div>
    </div>
</header>
<header class="header_7 d-none d-md-block">
    <div class="container">
        <div class="row">
            <div class="col-2">
                <?php
                get_template_part('themeplat/responsive/header/menu-mobile', 'header');
                if (ot_get_option('logo_blog_barsa')) :
                ?>
                <div class="site-branding">
                    <a href="<?php echo get_home_url(); ?>" title="<?php echo bloginfo('name'); ?>">
                        <img src="<?php echo ot_get_option('logo_blog_header_7'); ?>">
                    </a>
                    </a>
                </div>
                <?php endif; ?>
            </div>
            <div class="col-8">
                <div class="themBannerArea">
                <?php
                if (ot_get_option('select_baner_7')) : ?>
                <a href="<?php echo ot_get_option('select_link_baner_7'); ?>" rel="nofollow" target="_blank">
                    <img src="<?php echo ot_get_option('select_baner_7'); ?>">
                </a>
                <?php endif; ?>
                </div>
            </div>
            <div class="col-2">
                <ul class="le-main-nav left">
                    <li class="search_heade">
                        <a href="#search">
                            <i class="fal fa-search"></i>
                        </a>
                    </li>
                <?php
                $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>
</header>
<nav class="site-navigation d-none d-md-block mb-3">
    <div class="container">
        <div class="row">
            <div class="col-8">
                <div class="cd-main-nav mobile-menu-wrapperr right d-none d-lg-block">
                    <?php wp_nav_menu(array('theme_location' => 'main-menu', 'walker' => new ASG_Megamenu_Walker())); ?>
                </div>
            </div>
            <div class="col-4">
            <?php if (has_nav_menu('suggestion-menu')):?>
                <div class="cat_suggestion">
                    <div class="name_cat">
                        <strong>
                            <?php
                            $locations = get_nav_menu_locations();
                            $menu = wp_get_nav_menu_object($locations['suggestion-menu']);
                            echo $menu->name ,':'; // name of the menu
                            ?>
                        </strong>
                    </div>
                    <div class="cd-main-nav mobile-menu-wrapperr right d-none d-lg-block">
                        <?php wp_nav_menu(array('theme_location' => 'suggestion-menu', 'walker' => new ASG_Megamenu_Walker())); ?>
                    </div>
                </div>
                <?php endif; ?>
            </div>
        </div>
    </div>
</nav>
<?php get_template_part('themeplat/login/register', 'header'); 
get_template_part('themeplat/search/search-pop', 'search');?>