<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">
                <li class="share-alt-head">
                    <a title="<?php _e('share', 'liosa'); ?>" 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"      => "fab fa-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.com"        => "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
                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="padding_bottom_header_blog" style="padding-bottom:10rem;"></div>
<?php get_template_part('themeplat/login/register', 'header'); ?>