<header class="hed-menu-bar header-3" style="height: auto;">
    <?php get_template_part('themeplat/header/menu/menu-bar', 'top-menu'); ?>
    <div class="container">
        <?php
        get_template_part('themeplat/responsive/header/menu-mobile', 'header');
        if (ot_get_option('logo_blog_barsa')) :
        ?>
            <div class="cd-logo">
                <a href="<?php echo get_home_url(); ?>" title="<?php echo bloginfo('name'); ?>">
                    <img src="<?php echo ot_get_option('logo_blog_barsa'); ?>">
                </a>
            </div>
        <?php endif ?>
        <nav class="cd-main-nav-wrapper">
            <ul 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())); ?>
            </ul>
            <?php get_template_part('themeplat/responsive/header/nav-item', 'nav item'); ?>
            <ul class="le-main-nav left">
                <?php 
                    $display_share_header  = ot_get_option('display_share_header', false);
                    if ($display_share_header  == 'on') :
                ?>
                <li class="share-alt-head">
                    <a title="<?php _e('share', 'leora'); ?>" href="#">
                        <i class="fal fa-share-alt"></i>
                        <?php
                        if (!empty($title))
                            echo $args['before_title'] . $title . $args['after_title'];
                        if (function_exists('ot_get_option')) {
                            $social_media_channels = array(
                                "facebook"      => "fab fa-facebook-f",
                                "twitter"      => "fa-brands fa-x-twitter",
                                "instagram"     => "fab fa-instagram",
                                "google+"       => "fab fa-google-plus-g",
                                "linkedin"      => "fab fa-linkedin-in",
                                "pinterest"     => "fab fa-pinterest",
                                "youtube"       => "fab fa-youtube",
                                "dribbble"      => "fal fa-digging",
                                "github"        => "fab fa-github",
                                "forrst"        => "fal fa-tree",
                                "digg"          => "fab fa-digg",
                                "delicious"     => "fab fa-delicious",
                                "tumblr"        => "fab fa-tumblr",
                                "skype"         => "fab fa-skype",
                                "soundCloud"    => "fab fa-soundcloud",
                                "vimeo"         => "fab fa-vimeo-v",
                                "flickr"        => "fab fa-flickr",
                                "vk"        => "fab fa-vk",
                                "telegram"      => "fab fa-telegram",
                                "apple"         => "fab fa-apple",
                                "android"       => "fab fa-android",
                            );
                            $social_media_icons = ot_get_option('social_links');
                        };
                        ?>
                        <?php if ($social_media_icons) { ?>
                            <ul class="social_links_hed">
                                <?php
                                foreach ($social_media_icons as $key => $icon) {
                                    if ($social_media_channels[$icon['name']]) {
                                        echo "<li class='social-media-icon'><a target='_blank' href='" . $icon['href'] . "'><i class='" . $social_media_channels[$icon['name']] . "'></i></a></li>";
                                    }
                                }
                                ?>
                            </ul>
                        <?php } ?>

                    </a>
                </li>
                <?php
                endif;
                get_template_part('themeplat/search/search-tm', 'search');
                get_template_part('themeplat/search/search-pop', 'search');
                $profile_header  = ot_get_option('profile_header', false);
                if ($profile_header  == 'on') :
                    get_template_part('themeplat/login/blo-but-login', 'button');
                endif;
                ?>
            </ul>
        </nav>
    </div>
</header>
<div class="zoomii padding_bottom_header_blog" style="padding-bottom:2rem;"></div>
<?php get_template_part('themeplat/login/register', 'header'); ?>