<?php
/**
 * Template part for displaying default header
 */
?>
<div class="header-default">
    <div class="rs-container">
        <div class="rs-row">
            <div class="rs-d-flex rs-align-items-center rs-col-6">
                <div class="d-logo-wrap">
                    <a id="site-logo" href="<?php echo esc_url(home_url('/')); ?>">
						<?php
						bloginfo('name');
						?>
                    </a>
                </div>
                <div class="d-nav-wrap">
					<?php
					if ( has_nav_menu( 'primary_menu' ) ) {
						?>
                        <nav class="rivax-header-nav-wrapper hover-style-1">
							<?php    // Menu
							wp_nav_menu( array(
								'theme_location' => 'primary_menu',
								'link_before' => '<span>',
								'link_after'=>'</span>',
								'fallback_cb' => false,
								'container' => false,
								'menu_class' => 'rivax-header-nav',
							) );
							?>
                        </nav>
						<?php
					}
					?>
                </div>
                <div class="d-search-wrap">
					<?php get_template_part('elementor/templates/search/search'); ?>
                </div>
            </div>
        </div>
    </div>
</div>
