<!DOCTYPE html>
<html <?php echo Theme::htmlAttributes(); ?>>
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=5, user-scalable=1" name="viewport"/>

        <style>
            :root {
                --color-primary: <?php echo e($primaryColor = theme_option('primary_color', '#5869DA')); ?>;
                --primary-color: <?php echo e($primaryColor); ?>;
                --color-secondary: <?php echo e(theme_option('secondary_color', '#2d3d8b')); ?>;
                --color-danger: <?php echo e(theme_option('danger_color', '#e3363e')); ?>;
                --color-warning: #ab5f1b;
            }
        </style>

        <?php echo Theme::header(); ?>

    </head>
    <body <?php echo Theme::bodyAttributes(); ?>>
        <?php echo apply_filters(THEME_FRONT_BODY, null); ?>

        <div id="alert-container"></div>
        <div class="scroll-progress primary-bg"></div>
        <?php if(theme_option('preloader_enabled', 'no') == 'yes'): ?>
            <div class="preloader text-center">
                <div class="circle"></div>
            </div>
        <?php endif; ?>

        <?php if(is_plugin_active('blog') && theme_option('panel_sidebar_enabled', 'yes') == 'yes'): ?>
            <aside id="sidebar-wrapper" class="custom-scrollbar offcanvas-sidebar" data-load-url="<?php echo e(route('theme.ajax-get-panel-inner')); ?>">
                <button class="off-canvas-close" title="Close"><i class="elegant-icon icon_close"></i></button>
                <div class="sidebar-inner">
                    <div class="sidebar-inner-loading">
                        <div class="half-circle-spinner">
                            <div class="circle circle-1"></div>
                            <div class="circle circle-2"></div>
                        </div>
                    </div>
                </div>
            </aside>
        <?php endif; ?>
        <header class="main-header header-style-1 font-heading">
            <?php if(is_plugin_active('language')): ?>
                <?php if($languages = Theme::partial('language-switcher')): ?>
                    <div class="header-select-language d-block d-sm-none">
                        <div class="container">
                            <div class="language-wrapper d-block d-sm-none">
                                <span><?php echo e(__('Language')); ?>:</span> <?php echo $languages; ?>

                            </div>
                        </div>
                    </div>
                <?php endif; ?>
            <?php endif; ?>
            <div class="header-top">
                <div class="container">
                    <div class="row pt-20 pb-20">
                        <div class="col-md-3 col-6">
                            <a href="<?php echo e(BaseHelper::getHomepageUrl()); ?>">
                                <?php echo Theme::getLogoImage(['class' => 'logo']); ?>

                            </a>
                        </div>
                        <div class="col-md-9 col-6 text-right header-top-right">
                            <?php echo Menu::renderMenuLocation('header-menu', [
                                'view'    => 'top-menu',
                                'options' => ['class' => 'list-inline nav-topbar d-none d-md-inline'],
                            ]); ?>

                            <?php if(is_plugin_active('language')): ?>
                                <div class="language-wrapper d-none d-md-inline">
                                    <?php echo $languages; ?>

                                </div>
                                <?php if(trim($languages)): ?>
                                    <span class="vertical-divider mr-20 ml-20 d-none d-md-inline"></span>
                                <?php endif; ?>
                            <?php endif; ?>
                            <button class="search-icon d-inline"><span class="mr-15 text-muted font-small text-nowrap"><i class="elegant-icon icon_search mr-5"></i><?php echo e(__('Search')); ?></span></button>
                            <?php if(theme_option('action_button_text') && theme_option('action_button_url')): ?>
                                <a href="<?php echo e(url(theme_option('action_button_url'))); ?>" class="btn btn-radius bg-primary text-white ml-15 font-small box-shadow text-nowrap"><?php echo e(theme_option('action_button_text')); ?></a>
                            <?php endif; ?>
                        </div>
                    </div>
                </div>
            </div>
            <div class="header-sticky">
                <div class="container align-self-center">
                    <div class="mobile_menu d-lg-none d-block"></div>
                    <div class="main-nav d-none d-lg-block float-left">
                        <nav>
                            <?php echo Menu::renderMenuLocation('main-menu', [
                                'view'    => 'menu',
                                'options' => ['class' => 'main-menu d-none d-lg-inline font-small'],
                            ]); ?>


                            <?php echo Menu::renderMenuLocation('main-menu', [
                                'view'    => 'menu',
                                'options' => ['class' => 'd-block d-lg-none text-muted', 'id' => 'mobile-menu', 'data-label' => __('Menu')],
                            ]); ?>

                        </nav>
                    </div>
                    <div class="float-right header-tools text-muted font-small">
                        <?php echo Theme::partial('social-links', ['cssClass' => 'header-social-network d-inline-block list-inline mr-15']); ?>


                        <?php if(is_plugin_active('blog') && theme_option('panel_sidebar_enabled', 'yes') == 'yes'): ?>
                            <div class="off-canvas-toggle-cover d-inline-block">
                                <div class="off-canvas-toggle hidden d-inline-block" id="off-canvas-toggle">
                                    <span></span>
                                </div>
                            </div>
                        <?php endif; ?>
                    </div>
                    <div class="clearfix"></div>
                </div>
            </div>
        </header>
        <div class="main-search-form">
            <div class="container">
                <div class="pt-50 pb-50 ">
                    <div class="row mb-20">
                        <div class="col-12 align-self-center main-search-form-cover m-auto">
                            <p class="text-center"><span class="search-text-bg"><?php echo e(__('Search')); ?></span></p>
                            <form action="<?php echo e(is_plugin_active('blog') ? route('public.search') : '#'); ?>" class="search-header">
                                <div class="input-group w-100">
                                    <input type="text" name="q" class="form-control" placeholder="<?php echo e(__('Search stories, places and people')); ?>">
                                    <div class="input-group-append">
                                        <button class="btn btn-search bg-white" type="submit" title="Search">
                                            <i class="elegant-icon icon_search"></i>
                                        </button>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <main>
<?php /**PATH /home/webfvhtq/public_html/platform/themes/stories/partials/header.blade.php ENDPATH**/ ?>