{% extends '_templates/base.twig' %}

{% block head %}
    <meta name="cs:page" content="search">
{% endblock %}

{% block title %}
    {{ page.page_title }}
{% endblock %}

{% block style %}
{% endblock %}

{% block content %}
    {% include '_templates/includes/header.twig' %}

    <section class="main aereo">
        {% include 'aereo/submenu.twig' %}

        {% include '_templates/includes/preloader.twig' %}

        <div data-b2c-content style="display: none">

            {% include 'aereo/aereo.twig' %}
        </div>
        <div data-b2c-pagina-error style="display: none">
            <div style="text-align: center;width: 100%;font-size: 20px;margin-top: 10%;" class="conteudo">
                {{ __('nenhumResultadoEncontrado') }}
            </div>
        </div>
    </section>

    {% include '_templates/includes/footer.twig' %}

{% endblock %}

{% block scripts %}
    <script type="text/javascript">
        /* <![CDATA[ */
        var motorBusca = new MotorBusca(CHAVE_MOTOR, Object.assign(motorConfig, {
            quarto: {value: '{{ params.config }}'}
        }));
        motorBusca.motorAereo('.pnlMotor.aereo');
        /*]]>*/
    </script>
    <script>
        $(function () {
            $('[data-toggle="tooltip"]').tooltip()
        });
        (function () {
            B2C.aereo.init();
        })();
    </script>
{% endblock %}