{% extends twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Search/General/search_index.html.twig') %}
{% set home_slider = '1' %}
{% block head_meta_label %}
{{parent()}}
<meta name="robots" content="index, follow">
{% endblock head_meta_label %}
{% block body_style %}
<style>
.page-head__bg__video.bg-vid_sunset{
top: 47% !important;
}
</style>
{% endblock %}
{% block search_content %}
<div class="search__light wrapper">
<div class="search__light--box">
{% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Search/Package/packageSearch_engine.html.twig') %}
</div>
</div>
{% endblock %}
{% block promo_content %}
{% if homePromos is defined %}
{% if app.session.has('officeId') != 1 %}
<div class="wrapper">
{{ parent() }}
{% if homePromos is defined and homePromos != null and home_slider == '1'%}
{% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Edition/Default/content_homePromoSlider.html.twig') %}
{% endif %}
{% if home_slider == '1'%}
{% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Edition/Default/content_homePromoBanner.html.twig') %}
{% else %}
{% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Edition/Default/content_homePromo.html.twig') %}
{% endif %}
</div>
{% endif %}
{% if app.user != "" and (is_granted('ROLE_AVIATUR_ADMIN_ADMIN_PROMO_PRODUCT_EDIT_' ~ app.session.get('agencyId')) or is_granted('ROLE_AVIATUR_ADMIN_ADMIN_PROMO_PRODUCT_CREATE_' ~ app.session.get('agencyId')) or is_granted('ROLE_AVIATUR_ADMIN_ADMIN_PROMO_PRODUCT_DELETE_' ~ app.session.get('agencyId')) or is_granted('ROLE_SUPER_ADMIN') ) %}
{% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Search/General/mainSearch_editModal.html.twig') %}
{% endif %}
{% endif %}
{% if app.session.has('officeId') != 1 and app.session.has('whitemark') != 1%}
<div class="wrapper">
{{ parent() }}
{# {% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Search/Package/packageSearch_promo.html.twig') %} #}
</div>
{% endif %}
{% endblock %}