
<!DOCTYPE html>
<html lang="en-US" data-menu="classicmenu">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>

        <link rel="shortcut icon" href="upload/TG-Thumb.png"/>
        <title>{% block title %}Telheiro do Infante!{% endblock %}</title>
        {% block stylesheets %}

            <link rel='stylesheet' href='{{ asset('css/settings.css') }}' type='text/css' media='all'/>
            <link rel='stylesheet' href='{{ asset('css/reset.css') }}' type='text/css' media='all'/>
            <link rel='stylesheet' href='{{ asset('css/wordpress.css') }}' type='text/css' media='all'/>
            <link rel='stylesheet' href='{{ asset('css/animation.css') }}' type='text/css' media='all'/>
            <link rel='stylesheet' href='{{ asset('css/magnific-popup.css') }}' type='text/css' media='all'/>
            <link rel='stylesheet' href='{{ asset('css/ui-custom.css') }}' type='text/css' media='all'/>
            <link rel='stylesheet' href='{{ asset('css/mediaelementplayer-legacy.min.css') }}' type='text/css' media='all'/>
            <link rel='stylesheet' href='{{ asset('css/flexslider.css') }}' type='text/css' media='all'/>
            <link rel='stylesheet' href='{{ asset('css/tooltipster.css') }}' type='text/css' media='all'/>
            <link rel='stylesheet' href='{{ asset('css/odometer-theme-minimal.css') }}' type='text/css' media='all'/>
            <link rel='stylesheet' href='{{ asset('css/hw-parallax.css') }}' type='text/css' media='all'/>
            <link rel='stylesheet' href='{{ asset('css/screen.css') }}' type='text/css' media='all'/>
            <link rel='stylesheet' href='{{ asset('css/font-awesome.min.css') }}' type='text/css' media='all'/>
            <link rel='stylesheet' href='{{ asset('css/kirki-styles.css') }}' type='text/css' media='all'/>
            <link rel='stylesheet' href='{{ asset('css/grid.css') }}' type='text/css' media='all'/>
            <link rel='stylesheet' href='{{ asset('css/datepicker.css') }}' type='text/css' media='all'/>
            <link rel='stylesheet' href='{{ asset('css/style.css') }}' type='text/css' media='all'/>



            <link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Playfair+Display%3A400%2C700%2C400italic&#038;subset=latin%2Ccyrillic-ext%2Cgreek-ext%2Ccyrillic' type='text/css' media='all'/>
            <link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Lato%3A100%2C200%2C300%2C400%2C600%2C700%2C800%2C900%2C400italic&#038;subset=latin%2Ccyrillic-ext%2Cgreek-ext%2Ccyrillic' type='text/css' media='all'/>
            <link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Kristi%3A100%2C200%2C300%2C400%2C600%2C700%2C800%2C900%2C400italic&#038;subset=latin%2Ccyrillic-ext%2Cgreek-ext%2Ccyrillic' type='text/css' media='all'/>
            <link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Lato%7CKristi&#038;subset' type='text/css' media='all'/>
            <link href="http://fonts.googleapis.com/css?family=Kristi:400%7CLato:300%2C400" rel="stylesheet" property="stylesheet" type="text/css" media="all">
        {% endblock %}
    </head>
    <body class="home page-template-default page page-id-2">


        {% include "header.html.twig" %}
        <!-- Begin template wrapper -->
        <div id="wrapper">
        {% block body %}{% endblock %}

         {% include "footer.html.twig" %}
        </div>
        <div id="overlay_background"></div>
        {% block javascripts %}

            <script src='{{ asset('js/jquery.js') }}'></script>
            <script src='{{ asset('js/jquery-migrate.min.js') }}'></script>
            <script src='{{ asset('js/jquery.themepunch.tools.min.js') }}'></script>
            <script src='{{ asset('js/jquery.themepunch.revolution.min.js') }}'></script>
            <script src="{{ asset('js/revolution.extension.slideanims.min.js') }}"></script>
            <script src="{{ asset('js/revolution.extension.layeranimation.min.js') }}"></script>
            <script src="{{ asset('js/revolution.extension.kenburn.min.js') }}"></script>
            <script src="{{ asset('js/revolution.extension.navigation.min.js') }}"></script>
            <script src="{{ asset('js/revolution.extension.parallax.min.js') }}"></script>
            <script src="{{ asset('js/revolution.extension.actions.min.js') }}"></script>
            <script src="{{ asset('js/revolution.extension.video.min.js') }}"></script>
            <script src='{{ asset('js/jquery.blockUI.min.js') }}'></script>
            <script src='{{ asset('js/jquery.cookie.min.js') }}'></script>
            <script src='{{ asset('js/jquery.magnific-popup.js') }}'></script>
            <script src='{{ asset('js/jquery.easing.js') }}'></script>
            <script src='{{ asset('js/waypoints.min.js') }}'></script>
            <script src='{{ asset('js/jquery.isotope.js') }}'></script>
            <script src='{{ asset('js/jquery.masory.js') }}'></script>
            <script src='{{ asset('js/jquery.tooltipster.min.js') }}'></script>
            <script src='{{ asset('js/hw-parallax.js') }}'></script>
            <script src='{{ asset('js/jquery.stellar.min.js') }}'></script>
            <script src='{{ asset('js/jquery.resizeimagetoparent.min.js') }}'></script>
            <script src='{{ asset('js/custom_plugins.js') }}'></script>
            <script src='{{ asset('js/custom.js') }}'></script>
            <script src='{{ asset('js/core.min.js') }}'></script>
            <script src='{{ asset('js/datepicker.min.js') }}'></script>
            <script src='{{ asset('js/custom-date.js') }}'></script>
            <script src='{{ asset('js/jquery.timepicker.js') }}'></script>
            <script src='{{ asset('js/custom-time.js') }}'></script>
            <script src='{{ asset('js/jquery.flexslider-min.js') }}'></script>
            <script src='{{ asset('js/jquery.validate.js') }}'></script>
            <script src='{{ asset('js/custom_onepage.js') }}'></script>
            <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBCmVhK5ZjYRjzAe-e9ZKS1mA3NBPuViwQ"></script>
            <script src='{{ asset('js/jquery.simplegmaps.min.js') }}'></script>
            <script src='{{ asset('js/script-map.js') }}'></script>
            <script src="{{ asset('js/uikit.min.js') }}"></script>
            <script type='text/javascript'>
                var $=jQuery.noConflict();
                /* <![CDATA[ */
                var tgAjax = {
                    "ajaxurl": "#",
                    "ajax_nonce": "c5281db0c2"
                };
                /* ]]> */
            </script>
            <script type='text/javascript'>
                jQuery(window).load(function(){
                    jQuery('.slider_wrapper').flexslider({
                        animation: "fade",
                        animationLoop: true,
                        itemMargin: 0,
                        minItems: 1,
                        maxItems: 1,
                        slideshow: false,
                        controlNav: false,
                        smoothHeight: false,
                        slideshowSpeed: 5000,
                        move: 1
                    });

                    jQuery('.slider_wrapper.portfolio .slides li').each( function() {
                        var height = jQuery(this).height();
                        var imageHeight = jQuery(this).find('img').height();

                        var offset = (height - imageHeight) / 2;

                        jQuery(this).find('img').css('margin-top', offset + 'px');

                    });
                });
            </script>


            <script type="text/javascript">
                function setREVStartSize(e) {
                    try {
                        var i = jQuery(window).width(),
                            t = 9999,
                            r = 0,
                            n = 0,
                            l = 0,
                            f = 0,
                            s = 0,
                            h = 0;
                        if (e.responsiveLevels && (jQuery.each(e.responsiveLevels, function(e, f) {
                            f > i && (t = r = f, l = e), i > f && f > r && (r = f, n = e)
                        }), t > r && (l = n)), f = e.gridheight[l] || e.gridheight[0] || e.gridheight, s = e.gridwidth[l] || e.gridwidth[0] || e.gridwidth, h = i / s, h = h > 1 ? 1 : h, f = Math.round(h * f), "fullscreen" == e.sliderLayout) {
                            var u = (e.c.width(), jQuery(window).height());
                            if (void 0 != e.fullScreenOffsetContainer) {
                                var c = e.fullScreenOffsetContainer.split(",");
                                if (c) jQuery.each(c, function(e, i) {
                                    u = jQuery(i).length > 0 ? u - jQuery(i).outerHeight(!0) : u
                                }), e.fullScreenOffset.split("%").length > 1 && void 0 != e.fullScreenOffset && e.fullScreenOffset.length > 0 ? u -= jQuery(window).height() * parseInt(e.fullScreenOffset, 0) / 100 : void 0 != e.fullScreenOffset && e.fullScreenOffset.length > 0 && (u -= parseInt(e.fullScreenOffset, 0))
                            }
                            f = u
                        } else void 0 != e.minHeight && f < e.minHeight && (f = e.minHeight);
                        e.c.closest(".rev_slider_wrapper").css({
                            height: f
                        })
                    } catch (d) {
                        console.log("Failure at Presize of Slider:" + d)
                    }
                };
            </script>
            <script>
                var htmlDiv = document.getElementById("rs-plugin-settings-inline-css");
                var htmlDivCss = ".tp-caption.title-first-word,.title-first-word{font-size:60px;line-height:50px;font-family:Kristi;color:#cfa670;text-decoration:none;background-color:transparent;border-width:0px;border-color:rgb(0,0,0);border-style:none;text-shadow:none}.tp-caption.title,.title{font-size:65px;font-weight:300;font-family:Lato;color:rgb(26,56,83);text-decoration:none;background-color:transparent;border-width:0px;border-color:rgb(0,0,0);border-style:none;text-shadow:none;text-transform:uppercase;letter-spacing:-3px}.tp-caption.sub-title-center,.sub-title-center{font-size:20px;line-height:24px;font-weight:400;font-family:Lato;color:rgb(26,56,83);text-decoration:none;background-color:transparent;border-width:0px;border-color:rgb(0,0,0);border-style:none;text-shadow:none;text-transform:uppercase;letter-spacing:-1px}";
                if (htmlDiv) {
                    htmlDiv.innerHTML = htmlDiv.innerHTML + htmlDivCss;
                } else {
                    var htmlDiv = document.createElement("div");
                    htmlDiv.innerHTML = "<style>" + htmlDivCss + "</style>";
                    document.getElementsByTagName("head")[0].appendChild(htmlDiv.childNodes[0]);
                }
            </script>
            <script type="text/javascript">
                setREVStartSize({
                    c: jQuery('#rev_slider_1_1'),
                    gridwidth: [1425],
                    gridheight: [600],
                    sliderLayout: 'auto'
                });

                var revapi1,
                    tpj = jQuery;
                tpj.noConflict();
                tpj(document).ready(function() {
                    if (tpj("#rev_slider_1_1").revolution == undefined) {
                        revslider_showDoubleJqueryError("#rev_slider_1_1");
                    } else {
                        revapi1 = tpj("#rev_slider_1_1").show().revolution({
                            sliderType: "standard",
                            jsFileLocation: "js/plugins/revslider/public/assets/js/",
                            sliderLayout: "auto",
                            dottedOverlay: "none",
                            delay: 7000,
                            navigation: {
                                keyboardNavigation: "off",
                                keyboard_direction: "horizontal",
                                mouseScrollNavigation: "off",
                                mouseScrollReverse: "default",
                                onHoverStop: "off",
                                touch: {
                                    touchenabled: "on",
                                    touchOnDesktop: "off",
                                    swipe_threshold: 75,
                                    swipe_min_touches: 1,
                                    swipe_direction: "horizontal",
                                    drag_block_vertical: false
                                }
                            },
                            visibilityLevels: [1240, 1024, 778, 480],
                            gridwidth: 1425,
                            gridheight: 600,
                            lazyType: "none",
                            shadow: 0,
                            spinner: "spinner3",
                            stopLoop: "off",
                            stopAfterLoops: -1,
                            stopAtSlide: -1,
                            shuffle: "off",
                            autoHeight: "off",
                            disableProgressBar: "on",
                            hideThumbsOnMobile: "off",
                            hideSliderAtLimit: 0,
                            hideCaptionAtLimit: 0,
                            hideAllCaptionAtLilmit: 0,
                            debugMode: false,
                            fallbacks: {
                                simplifyAll: "off",
                                nextSlideOnWindowFocus: "off",
                                disableFocusListener: false,
                            }
                        });
                    }

                }); /*ready*/
            </script>
            <script>
                var htmlDivCss = '  #rev_slider_1_1_wrapper .tp-loader.spinner3 div { background-color: #444444 !important; } ';
                var htmlDiv = document.getElementById('rs-plugin-settings-inline-css');
                if (htmlDiv) {
                    htmlDiv.innerHTML = htmlDiv.innerHTML + htmlDivCss;
                } else {
                    var htmlDiv = document.createElement('div');
                    htmlDiv.innerHTML = '<style>' + htmlDivCss + '</style>';
                    document.getElementsByTagName('head')[0].appendChild(htmlDiv.childNodes[0]);
                }
            </script>



        {% endblock %}
    </body>
</html>
