
<div class="mobile_menu_wrapper">
    <a id="close_mobile_menu" href="javascript:;"><i class="fa fa-close"></i></a>

    <form role="search" method="get" name="searchform" id="searchform" action="index.html">
        <div>
            <input type="text" value="" name="s" id="s" autocomplete="off" placeholder="Search..." />
            <button>
                <i class="fa fa-search"></i>

            </button>
        </div>
        <div id="autocomplete"></div>
    </form>

    <div class="menu-side-menu-container">
        <ul id="mobile_main_menu" class="mobile_main_nav">
            <li class="menu-item current-menu-item"><a href="{{ path('homepage') }}">{% trans %}Home{% endtrans %}</a></li>
            <li class="menu-item"><a href="{{ path('gallery') }}">{% trans %}Gallery{% endtrans %}</a></li>
            <li class="menu-item"><a href="{{ path('website_menu') }}">{% trans %}Group Options{% endtrans %}</a></li>
            <li class="menu-item"><a href="{{ path('find_us') }}">{% trans %}Where to find us{% endtrans %}</a></li>
            <li class="menu-item"><a href="{{ path('blog') }}">{% trans %}News{% endtrans %}</a></li>
            <li class="menu-item"><a href="tel:+351-914-232-906">{% trans %}Call Us{% endtrans %}</a></li>
            <li class="menu_item">


                {% set params = app.request.attributes.get('_route_params')|merge(app.request.query.all()) %}
                {% set arParams = params|merge({'_locale': 'en'}) %}
                {% set enParams = params|merge({'_locale': 'pt'}) %}

                <a href="{{ path(app.request.attributes.get('_route'), arParams) }}"><img src="{{ asset('images/en.png') }}" style=" width: 25px;height: 25px;"></a>

                <a href="{{ path(app.request.attributes.get('_route'), enParams) }}"><img src="{{ asset('images/pt.png') }}" style=" width: 25px; height: 25px;"></a>



                {#                <a href="{{ path(app.request.attributes.get('_route'), app.request.query.all|merge({'_locale': 'en'})) }}" ></a>#}
{#                <a href="{{ path(app.request.attributes.get('_route'), app.request.query.all|merge({'_locale': 'pt'})) }}" ></a>#}

            </li>
            <li>
                <a href="{{ path('covid19') }}" style="  margin-left: 35px; background-color: #a00000; padding-left: 15px; padding-right: 15px; font-size: 15px;">COVID - 19</a>
            </li>
        </ul>
    </div>
    <!-- Begin Reservation -->
    <a href="javascript:;" id="tg_sidemenu_reservation" class="button ">{% trans %}Reservation{% endtrans %}</a>
    <!-- End Reservation -->

    <!-- Begin side menu sidebar -->
    <div class="page_content_wrapper">
        <div class="sidebar_wrapper">
            <div class="sidebar">

                <div class="content">

                </div>

            </div>
        </div>
    </div>
    <!-- End side menu sidebar -->
</div>

<div class="header_style_wrapper">

    <!-- Begin top bar -->
    <div class="above_top_bar">
        <div class="page_content_wrapper">

            <div class="social_wrapper">
                <ul>

                    <li class="facebook"><a target="_blank" href="https://www.facebook.com/OTelheiroDoInfante/"><i class="fa fa-facebook"></i></a></li>
                    <li>      <a href="{{ path('covid19') }}" style="  margin-left: 35px; background-color: #a00000; padding-left: 15px; padding-right: 15px; font-size: 15px;">COVID - 19</a></li>
                </ul>
            </div>
            <div class="extend_top_contact_info top_contact_info">
                <span id="top_contact_address"><i class="fa fa-map-marker"></i>Praia da Mareta, 8650-361 Sagres</span>
                <span id="top_contact_number"><a href="tel:+65.4566743"><i class="fa fa-phone"></i>+351-914-232-906</a></span>
            </div>
        </div>
    </div>
    <!-- End top bar -->

    <div class="top_bar  ">

        <div id="menu_wrapper">

            <!-- Begin logo -->
            <div id="logo_normal" class="logo_container">
                <div class="logo_align">
                    <a id="custom_logo" class="logo_wrapper default" href="{{ path('homepage') }}">
                        <img src="{{ asset('images/logo-telheiro.png') }}" alt="Grand Restaurant | Restaurant Theme" width="101" height="54" style="width:101px;height:54px;" />
                    </a>
                </div>
            </div>

            <div id="logo_transparent" class="logo_container">
                <div class="logo_align">
                    <a id="custom_logo_transparent" class="logo_wrapper hidden" href="{{ path('homepage') }}">
                        <img src="{{ asset('images/logo-telheiro.png') }}" alt="Grand Restaurant | Restaurant Theme" width="101" height="54" style="width:101px;height:54px;" />
                    </a>
                </div>
            </div>
            <!-- End logo -->

            <!-- Begin side menu button -->
            <div class="menu_buttons_container">
                <div class="menu_buttons_content">
                    <!-- Begin Reservation -->

                    <a href="javascript:;" id="tg_reservation" class="button ">{% trans %}Reservation{% endtrans %}</a>
                    <!-- End Reservation -->

                    <!-- Begin side menu -->
                    <a href="javascript:;" id="mobile_nav_icon"></a>
                    <!-- End side menu -->

                </div>
            </div>
            <!-- End side menu button -->

            <!-- Begin main nav -->
            <div id="nav_wrapper">
                <div class="nav_wrapper_inner">
                    <div id="menu_border_wrapper">
                        <div class="menu-main-menu-container">
                            <ul id="main_menu" class="nav">
                                <li class="menu-item current-menu-item"><a href="{{ path('homepage') }}">{% trans %}Home {% endtrans %}</a></li>
                                <li class="menu-item"><a href="{{ path('gallery') }}">{% trans %}Gallery{% endtrans %}</a></li>
                                <li class="menu-item"><a href="{{ path('website_menu') }}">{% trans %}Group Options{% endtrans %}</a></li>
                                <li class="menu-item"><a href="{{ path('find_us') }}">{% trans %}Where to find us{% endtrans %}</a></li>
                                <li class="menu-item"><a href="{{ path('blog') }}">{% trans %}News{% endtrans %}</a></li>
                                <li class="menu-item"><a href="tel:+351-914-232-906">{% trans %}Call Us{% endtrans %}</a></li>
                                <li class="menu_item">
                                    <a href="{{ path(app.request.attributes.get('_route'), arParams) }}"><img src="{{ asset('images/en.png') }}" style=" width: 25px;height: 25px;"></a>

                                    <a href="{{ path(app.request.attributes.get('_route'), enParams) }}"><img src="{{ asset('images/pt.png') }}" style=" width: 25px; height: 25px;"></a>


                                    {#                                    <a href="{{ path(app.request.attributes.get('_route'), app.request.query.all|merge({'_locale': 'en'})) }}" ><img src="{{ asset('images/en.png') }}" style=" width: 25px;height: 25px;"></a>#}
{#                                    <a href="{{ path(app.request.attributes.get('_route'), app.request.query.all|merge({'_locale': 'pt'})) }}" ><img src="{{ asset('images/pt.png') }}" style=" width: 25px; height: 25px;"></a>#}

                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
            <!-- End main nav -->

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

<div id="reservation_wrapper">
    <div class="reservation_content">
        <div class="reservation_form">
            <div class="reservation_form_wrapper">
                <a id="reservation_cancel_btn" href="javascript:;"><i class="fa fa-close"></i></a>


                <h2 class="ppb_title"><span class="ppb_title_first" >Table</span>Booking</h2>
                <div id="1570355777904681258" class="alert_box success sucess_send_booking"><i class="fa fa-flag alert_icon"></i>
                    <div class="alert_box_msg">{% trans %}Thank You for your reservation, see you soon.{% endtrans %}</div><a href="#" class="close_alert" data-target="1570355777904681258"><i class="fa fa-times"></i></a>
                </div>
                <div id="reponse_msg">
                    <ul></ul>
                </div>

                    <input type="hidden" id="action" name="action" value="tg_reservation_mailer" />

                    <div class="one_third">
                        <label for="your_name">Name*</label>
                        <input id="name_booking" name="your_name" type="text" class="required_field" />
                    </div>

                    <div class="one_third">
                        <label for="email">Email*</label>
                        <input id="email_booking" name="email" type="text" class="required_field" />
                    </div>

                    <div class="one_third last">
                        <label for="phone">Phone*</label>
                        <input id="phone_booking" name="phone" type="text" class="required_field" />
                    </div>

                    <br class="clear" />
                    <br/>

                    <div class="one_third">
                        <label for="date" class="hidden">Date*</label>
                        <input type="text" class="pp_date required_field" id="date_booking" name="date">
                    </div>

                    <div class="one_third">
                        <label for="time">Time*</label>
                        <select id="time_booking" name="time" class="required_field" style="width:99%">
                            <option value="12:00" style=" background-color: #000;">12:00</option>
                            <option value="12:30" style=" background-color: #000;">12:30</option>
                            <option value="13:00" style=" background-color: #000;">13:00</option>
                            <option value="13:30" style=" background-color: #000;">13:30</option>
                            <option value="14:00" style=" background-color: #000;">14:00</option>
                            <option value="14:30" style=" background-color: #000;">14:30</option>
                            <option value="15:00" style=" background-color: #000;">15:00</option>
                            <option value="15:30" style=" background-color: #000;">15:30</option>
                            <option value="16:00" style=" background-color: #000;">16:00</option>
                            <option value="16:30" style=" background-color: #000;">16:30</option>
                            <option value="17:00" style=" background-color: #000;">17:00</option>
                        </select>
                        
                    </div>

                    <div class="one_third last">
                        <label for="seats">Seats*</label>
                        <select id="seats_booking" name="seats" class="required_field" style="width:99%">
                            <option value="1" style=" background-color: #000;">1 person</option>
                            <option value="2" style=" background-color: #000;">2 people</option>
                            <option value="3" style=" background-color: #000;">3 people</option>
                            <option value="4" style=" background-color: #000;">4 people</option>
                            <option value="5" style=" background-color: #000;">5 people</option>
                            <option value="6" style=" background-color: #000;">6 people</option>
                            <option value="7" style=" background-color: #000;">7 people</option>
                            <option value="8" style=" background-color: #000;">8 people</option>
                            <option value="9" style=" background-color: #000;">9 people</option>
                            <option value="10" style=" background-color: #000;">10 people</option>
                            <option value="11" style=" background-color: #000;">11 people</option>
                            <option value="12" style=" background-color: #000;">12 people</option>
                            <option value="13" style=" background-color: #000;">13 people</option>
                            <option value="14" style=" background-color: #000;">14 people</option>
                            <option value="15" style=" background-color: #000;">15 people</option>
                            <option value="16" style=" background-color: #000;">16 people</option>
                            <option value="17" style=" background-color: #000;">17 people</option>
                            <option value="18" style=" background-color: #000;">18 people</option>
                            <option value="19" style=" background-color: #000;">19 people</option>
                            <option value="20" style=" background-color: #000;">20+ people</option>
                        </select>
                    </div>

                    <br class="clear" />
                    <br/>

                    <div class="one">
                        <label for="message">Special Requests</label>
                        <textarea id="message_booking" name="message" rows="7" cols="10"></textarea>
                    </div>

                    <br class="clear" />
                    <br/>

                    <div class="one">
                        <p>
                            <input id="reservation_submit_btn" type="submit" value="Book Now" />
                        </p>
                    </div>

                    <br class="clear" />

            </div>
        </div>
    </div>
    <div class="parallax_overlay_header"></div>
</div>
<script src='{{ asset('js/jquery.js') }}'></script>
<script src='{{ asset('js/jquery-migrate.min.js') }}'></script>
<script>
    var $=jQuery.noConflict();

            $('.sucess_send_booking').hide();

            $(document).ready(function(){
            $('#reservation_submit_btn').click(function () {

                var name_booking = $('#name_booking').val();
                var email_booking = $('#email_booking').val();
                var phone_booking = $('#phone_booking').val();
                var date_booking = $('#date_booking').val();
                var time_booking = $('#time_booking').val();
                var seats_booking = $('#seats_booking').val();
                var message_booking = $('#message_booking').val();


                $('.sucess_send_booking').show();

                $.ajax({
                    url: '{{ path('send_booking') }}', // name of the file which we will be creating soon
                    method: "POST",
                    data: {name_booking: name_booking, email_booking:email_booking, phone_booking: phone_booking, date_booking:date_booking, time_booking:time_booking, seats_booking:seats_booking, message_booking:message_booking},

                    beforeSend: function(){

                    },
                    success: function (data) {

                    }, error: function (data) {

                    }
                })

            });
        });



</script>