<header id="page-topbar">
    <div class="navbar-header">
        <div class="d-flex">
            <!-- LOGO -->
            <div class="navbar-brand-box">
                <a href="{{ path('home') }}" class="logo logo-dark">
                    <span class="logo-sm">
                        <img src="/images/logo.svg" alt="" height="22">
                    </span>
                    <span class="logo-lg">
                        <img src="/images/logo-dark.png" alt="" height="17">
                    </span>
                </a>

                <a href="{{ path('home') }}" class="logo logo-light">
                    <span class="logo-sm">
                        <img src="/images/logo-light.svg" alt="" height="22">
                    </span>
                    <span class="logo-lg">
                        <img src="/images/logo-light.png" alt="" height="19">
                    </span>
                </a>
            </div>

            <button type="button" class="btn btn-sm px-3 font-size-16 header-item waves-effect" id="vertical-menu-btn">
                <i class="fa fa-fw fa-bars"></i>
            </button>

            <!-- App Search-->
            <form class="app-search d-none d-lg-block">
                <div class="position-relative">
                    <input type="text" class="form-control" placeholder="{% trans %}Search{% endtrans %}...">
                    <span class="bx bx-search-alt"></span>
                </div>
            </form>

            <div class="dropdown dropdown-mega d-none d-lg-block ms-2">
                <button type="button" class="btn header-item waves-effect" data-bs-toggle="dropdown" aria-haspopup="false" aria-expanded="false">
                    <span key="t-megamenu">{% trans %}Mega Menu{% endtrans %}</span>
                    <i class="mdi mdi-chevron-down"></i> 
                </button>
                <div class="dropdown-menu dropdown-megamenu">
                    <div class="row">
                        <div class="col-sm-8">
    
                            <div class="row">
                                <div class="col-md-4">
                                    <h5 class="font-size-14" key="t-ui-components">{% trans %}UI Components{% endtrans %}</h5>
                                    <ul class="list-unstyled megamenu-list">
                                        <li>
                                            <a href="javascript:void(0);" key="t-lightbox">{% trans %}Lightbox{% endtrans %}</a>
                                        </li>
                                        <li>
                                            <a href="javascript:void(0);" key="t-range-slider">{% trans %}Range Slider{% endtrans %}</a>
                                        </li>
                                        <li>
                                            <a href="javascript:void(0);" key="t-sweet-alert">{% trans %}Sweet-Alert{% endtrans %}</a>
                                        </li>
                                        <li>
                                            <a href="javascript:void(0);" key="t-rating">{% trans %}Rating{% endtrans %}</a>
                                        </li>
                                        <li>
                                            <a href="javascript:void(0);" key="t-forms">{% trans %}Forms{% endtrans %}</a>
                                        </li>
                                        <li>
                                            <a href="javascript:void(0);" key="t-tables">{% trans %}Tables{% endtrans %}</a>
                                        </li>
                                        <li>
                                            <a href="javascript:void(0);" key="t-charts">{% trans %}Charts{% endtrans %}</a>
                                        </li>
                                    </ul>
                                </div>

                                <div class="col-md-4">
                                    <h5 class="font-size-14" key="t-applications">{% trans %}Applications{% endtrans %}</h5>
                                    <ul class="list-unstyled megamenu-list">
                                        <li>
                                            <a href="javascript:void(0);" key="t-ecommerce">{% trans %}Ecommerce{% endtrans %}</a>
                                        </li>
                                        <li>
                                            <a href="javascript:void(0);" key="t-calendar">{% trans %}Calendar{% endtrans %}</a>
                                        </li>
                                        <li>
                                            <a href="javascript:void(0);" key="t-email">{% trans %}Email{% endtrans %}</a>
                                        </li>
                                        <li>
                                            <a href="javascript:void(0);" key="t-projects">{% trans %}Projects{% endtrans %}</a>
                                        </li>
                                        <li>
                                            <a href="javascript:void(0);" key="t-tasks">{% trans %}Tasks{% endtrans %}</a>
                                        </li>
                                        <li>
                                            <a href="javascript:void(0);" key="t-contacts">{% trans %}Contacts{% endtrans %}</a>
                                        </li>
                                    </ul>
                                </div>

                                <div class="col-md-4">
                                    <h5 class="font-size-14" key="t-extra-pages">{% trans %}Extra Pages{% endtrans %}</h5>
                                    <ul class="list-unstyled megamenu-list">
                                        <li>
                                            <a href="javascript:void(0);" key="t-light-sidebar">{% trans %}Light Sidebar{% endtrans %}</a>
                                        </li>
                                        <li>
                                            <a href="javascript:void(0);" key="t-compact-sidebar">{% trans %}Compact Sidebar{% endtrans %}</a>
                                        </li>
                                        <li>
                                            <a href="javascript:void(0);" key="t-horizontal">{% trans %}Horizontal Layout{% endtrans %}</a>
                                        </li>
                                        <li>
                                            <a href="javascript:void(0);" key="t-maintenance">{% trans %}Maintenance{% endtrans %}</a>
                                        </li>
                                        <li>
                                            <a href="javascript:void(0);" key="t-coming-soon">{% trans %}Coming Soon{% endtrans %}</a>
                                        </li>
                                        <li>
                                            <a href="javascript:void(0);" key="t-timeline">{% trans %}Timeline{% endtrans %}</a>
                                        </li>
                                        <li>
                                            <a href="javascript:void(0);" key="t-faqs">{% trans %}FAQs{% endtrans %}</a>
                                        </li>
                            
                                    </ul>
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-4">
                            <div class="row">
                                <div class="col-sm-6">
                                    <h5 class="font-size-14" key="t-ui-components">{% trans %}UI Components{% endtrans %}</h5>
                                    <ul class="list-unstyled megamenu-list">
                                        <li>
                                            <a href="javascript:void(0);" key="t-lightbox">{% trans %}Lightbox{% endtrans %}</a>
                                        </li>
                                        <li>
                                            <a href="javascript:void(0);" key="t-range-slider">{% trans %}Range Slider{% endtrans %}</a>
                                        </li>
                                        <li>
                                            <a href="javascript:void(0);" key="t-sweet-alert">{% trans %}Sweet-Alert{% endtrans %}</a>
                                        </li>
                                        <li>
                                            <a href="javascript:void(0);" key="t-rating">{% trans %}Rating{% endtrans %}</a>
                                        </li>
                                        <li>
                                            <a href="javascript:void(0);" key="t-forms">{% trans %}Forms{% endtrans %}</a>
                                        </li>
                                        <li>
                                            <a href="javascript:void(0);" key="t-tables">{% trans %}Tables{% endtrans %}</a>
                                        </li>
                                        <li>
                                            <a href="javascript:void(0);" key="t-charts">{% trans %}Charts{% endtrans %}</a>
                                        </li>
                                    </ul>
                                </div>

                                <div class="col-sm-5">
                                    <div>
                                        <img src="/images/megamenu-img.png" alt="" class="img-fluid mx-auto d-block">
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                </div>
            </div>
        </div>

        <div class="d-flex">

            <div class="dropdown d-inline-block d-lg-none ms-2">
                <button type="button" class="btn header-item noti-icon waves-effect" id="page-header-search-dropdown"
                data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                    <i class="mdi mdi-magnify"></i>
                </button>
                <div class="dropdown-menu dropdown-menu-lg dropdown-menu-end p-0"
                    aria-labelledby="page-header-search-dropdown">
        
                    <form class="p-3">
                        <div class="form-group m-0">
                            <div class="input-group">
                                <input type="text" class="form-control" placeholder="{% trans %}Search{% endtrans %}..." aria-label="Recipient's username">
                                <div class="input-group-append">
                                    <button class="btn btn-primary" type="submit"><i class="mdi mdi-magnify"></i></button>
                                </div>
                            </div>
                        </div>
                    </form>
                </div>
            </div>

            <div class="dropdown d-inline-block">
                <button type="button" class="btn header-item waves-effect"
                data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                    {% if app.request.locale == 'en' %}
                       <img class="header-lang-img" src="/images/flags/us.jpg" alt="Header Language" height="16">
                    {% elseif app.request.locale == 'es' %}
                       <img class="header-lang-img" src="/images/flags/spain.jpg" alt="Header Language" height="16">
                    {% elseif app.request.locale == 'de' %}
                        <img class="header-lang-img" src="/images/flags/germany.jpg" alt="Header Language" height="16">
                    {% elseif app.request.locale == 'it' %}
                        <img class="header-lang-img" src="/images/flags/italy.jpg" alt="Header Language" height="16">
                    {% elseif app.request.locale == 'ru' %}
                        <img class="header-lang-img" src="/images/flags/russia.jpg" alt="Header Language" height="16">
                    {% else %}
                       <img class="header-lang-img" src="/images/flags/us.jpg" alt="Header Language" height="16">
                    {% endif %}
                </button>
                <div class="dropdown-menu dropdown-menu-end">

                    {% if app.request.locale != 'en' %}
                    <!-- item-->
                    <a href="lang/en" class="dropdown-item notify-item language" data-lang="eng">
                        <img src="/images/flags/us.jpg" alt="user-image" class="me-1" height="12"> <span class="align-middle">English</span>
                    </a>
                    {% endif %}

                    {% if app.request.locale != 'es' %}
                    <!-- item-->
                    <a href="lang/es" class="dropdown-item notify-item language" data-lang="sp">
                        <img src="/images/flags/spain.jpg" alt="user-image" class="me-1" height="12"> <span class="align-middle">Spanish</span>
                    </a>
                    {% endif %}
                    
                    {% if app.request.locale != 'de' %}
                    <!-- item-->
                    <a href="lang/de" class="dropdown-item notify-item language" data-lang="gr">
                        <img src="/images/flags/germany.jpg" alt="user-image" class="me-1" height="12"> <span class="align-middle">German</span>
                    </a>
                    {% endif %}

                    {% if app.request.locale != 'it' %}
                    <!-- item-->
                    <a href="lang/it" class="dropdown-item notify-item language" data-lang="it">
                        <img src="/images/flags/italy.jpg" alt="user-image" class="me-1" height="12"> <span class="align-middle">Italian</span>
                    </a>
                    {% endif %}

                    {% if app.request.locale != 'ru' %}
                    <!-- item-->
                    <a href="lang/ru" class="dropdown-item notify-item language" data-lang="ru">
                        <img src="/images/flags/russia.jpg" alt="user-image" class="me-1" height="12"> <span class="align-middle">Russian</span>
                    </a>
                    {% endif %}

                </div>
            </div>

            <div class="dropdown d-none d-lg-inline-block ms-1">
                <button type="button" class="btn header-item noti-icon waves-effect"
                data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                    <i class="bx bx-customize"></i>
                </button>
                <div class="dropdown-menu dropdown-menu-lg dropdown-menu-end">
                    <div class="px-lg-2">
                        <div class="row g-0">
                            <div class="col">
                                <a class="dropdown-icon-item" href="#">
                                    <img src="/images/brands/github.png" alt="Github">
                                    <span>GitHub</span>
                                </a>
                            </div>
                            <div class="col">
                                <a class="dropdown-icon-item" href="#">
                                    <img src="/images/brands/bitbucket.png" alt="bitbucket">
                                    <span>Bitbucket</span>
                                </a>
                            </div>
                            <div class="col">
                                <a class="dropdown-icon-item" href="#">
                                    <img src="/images/brands/dribbble.png" alt="dribbble">
                                    <span>Dribbble</span>
                                </a>
                            </div>
                        </div>

                        <div class="row g-0">
                            <div class="col">
                                <a class="dropdown-icon-item" href="#">
                                    <img src="/images/brands/dropbox.png" alt="dropbox">
                                    <span>Dropbox</span>
                                </a>
                            </div>
                            <div class="col">
                                <a class="dropdown-icon-item" href="#">
                                    <img src="/images/brands/mail_chimp.png" alt="mail_chimp">
                                    <span>Mail Chimp</span>
                                </a>
                            </div>
                            <div class="col">
                                <a class="dropdown-icon-item" href="#">
                                    <img src="/images/brands/slack.png" alt="slack">
                                    <span>Slack</span>
                                </a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="dropdown d-none d-lg-inline-block ms-1">
                <button type="button" class="btn header-item noti-icon waves-effect" data-bs-toggle="fullscreen">
                    <i class="bx bx-fullscreen"></i>
                </button>
            </div>

            <div class="dropdown d-inline-block">
                <button type="button" class="btn header-item noti-icon waves-effect" id="page-header-notifications-dropdown"
                data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                    <i class="bx bx-bell bx-tada"></i>
                    <span class="badge bg-danger rounded-pill">3</span>
                </button>
                <div class="dropdown-menu dropdown-menu-lg dropdown-menu-end p-0"
                    aria-labelledby="page-header-notifications-dropdown">
                    <div class="p-3">
                        <div class="row align-items-center">
                            <div class="col">
                                <h6 class="m-0" key="t-notifications"> {% trans %}Notifications{% endtrans %} </h6>
                            </div>
                            <div class="col-auto">
                                <a href="#!" class="small" key="t-view-all"> {% trans %}View All{% endtrans %}</a>
                            </div>
                        </div>
                    </div>
                    <div data-simplebar style="max-height: 230px;">
                        <a href="javascript: void(0);" class="text-reset notification-item">
                            <div class="d-flex">
                                <div class="avatar-xs me-3">
                                    <span class="avatar-title bg-primary rounded-circle font-size-16">
                                        <i class="bx bx-cart"></i>
                                    </span>
                                </div>
                                <div class="flex-grow-1">
                                    <h6 class="mb-1" key="t-your-order">{% trans %}Your order is placed{% endtrans %}</h6>
                                    <div class="font-size-12 text-muted">
                                        <p class="mb-1" key="t-grammer">{% trans %}If several languages coalesce the grammar{% endtrans %}</p>
                                        <p class="mb-0"><i class="mdi mdi-clock-outline"></i> <span key="t-min-ago">{% trans %}3 min ago{% endtrans %}</span></p>
                                    </div>
                                </div>
                            </div>
                        </a>
                        <a href="javascript: void(0);" class="text-reset notification-item">
                            <div class="d-flex">
                                <img src="/images/users/avatar-3.jpg"
                                    class="me-3 rounded-circle avatar-xs" alt="user-pic">
                                <div class="flex-grow-1">
                                    <h6 class="mb-1">James Lemire</h6>
                                    <div class="font-size-12 text-muted">
                                        <p class="mb-1" key="t-simplified">{% trans %}It will seem like simplified English.{% endtrans %}</p>
                                        <p class="mb-0"><i class="mdi mdi-clock-outline"></i> <span key="t-hours-ago">{% trans %}1 hour ago{% endtrans %}</span></p>
                                    </div>
                                </div>
                            </div>
                        </a>
                        <a href="javascript: void(0);" class="text-reset notification-item">
                            <div class="d-flex">
                                <div class="avatar-xs me-3">
                                    <span class="avatar-title bg-success rounded-circle font-size-16">
                                        <i class="bx bx-badge-check"></i>
                                    </span>
                                </div>
                                <div class="flex-grow-1">
                                    <h6 class="mb-1" key="t-shipped">{% trans %}Your item is shipped{% endtrans %}</h6>
                                    <div class="font-size-12 text-muted">
                                        <p class="mb-1" key="t-grammer">{% trans %}If several languages coalesce the grammar{% endtrans %}</p>
                                        <p class="mb-0"><i class="mdi mdi-clock-outline"></i> <span key="t-min-ago">{% trans %}3 min ago{% endtrans %}</span></p>
                                    </div>
                                </div>
                            </div>
                        </a>

                        <a href="javascript: void(0);" class="text-reset notification-item">
                            <div class="d-flex">
                                <img src="/images/users/avatar-4.jpg"
                                    class="me-3 rounded-circle avatar-xs" alt="user-pic">
                                <div class="flex-grow-1">
                                    <h6 class="mb-1">Salena Layfield</h6>
                                    <div class="font-size-12 text-muted">
                                        <p class="mb-1" key="t-occidental">{% trans %}As a skeptical Cambridge friend of mine occidental.{% endtrans %}</p>
                                        <p class="mb-0"><i class="mdi mdi-clock-outline"></i> <span key="t-hours-ago">{% trans %}5 hours ago{% endtrans %}</span></p>
                                    </div>
                                </div>
                            </div>
                        </a>
                    </div>
                    <div class="p-2 border-top d-grid">
                        <a class="btn btn-sm btn-link font-size-14 text-center" href="javascript:void(0)">
                            <i class="mdi mdi-arrow-right-circle me-1"></i> <span key="t-view-more">{% trans %}View More{% endtrans %}..</span> 
                        </a>
                    </div>
                </div>
            </div>

            <div class="dropdown d-inline-block">
                <button type="button" class="btn header-item waves-effect" id="page-header-user-dropdown"
                data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                    <img class="rounded-circle header-profile-user" src="/images/users/avatar-1.jpg"
                        alt="Header Avatar">
                    <span class="d-none d-xl-inline-block ms-1" key="t-henry">Henry</span>
                    <i class="mdi mdi-chevron-down d-none d-xl-inline-block"></i>
                </button>
                <div class="dropdown-menu dropdown-menu-end">
                    <!-- item-->
                    <a class="dropdown-item" href="#"><i class="bx bx-user font-size-16 align-middle me-1"></i> <span key="t-profile">{% trans %}Profile{% endtrans %}</span></a>
                    <a class="dropdown-item" href="#"><i class="bx bx-wallet font-size-16 align-middle me-1"></i> <span key="t-my-wallet">{% trans %}My Wallet{% endtrans %}</span></a>
                    <a class="dropdown-item d-block" href="#"><span class="badge bg-success float-end">11</span><i class="bx bx-wrench font-size-16 align-middle me-1"></i> <span key="t-settings">{% trans %}Settings{% endtrans %}</span></a>
                    <a class="dropdown-item" href="#"><i class="bx bx-lock-open font-size-16 align-middle me-1"></i> <span key="t-lock-screen">{% trans %}Lock screen{% endtrans %}</span></a>
                    <div class="dropdown-divider"></div>
                    <a class="dropdown-item text-danger" href="#"><i class="bx bx-power-off font-size-16 align-middle me-1 text-danger"></i> <span key="t-logout">{% trans %}Sign out{% endtrans %}</span></a>
                </div>
            </div>

            <div class="dropdown d-inline-block">
                <button type="button" class="btn header-item noti-icon right-bar-toggle waves-effect">
                    <i class="bx bx-cog bx-spin"></i>
                </button>
            </div>

        </div>
    </div>
</header>