<?php

/* @particles/portfolio.html.twig */
class __TwigTemplate_39a93b469f414a4de1e2456990a7d56314cff9c8bb99c9fef66cd21d682f909a extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        // line 1
        $this->parent = $this->loadTemplate("@nucleus/partials/particle.html.twig", "@particles/portfolio.html.twig", 1);
        $this->blocks = array(
            'particle' => array($this, 'block_particle'),
            'javascript_footer' => array($this, 'block_javascript_footer'),
        );
    }

    protected function doGetParent(array $context)
    {
        return "@nucleus/partials/particle.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        // line 3
        $context["attr_extra"] = "";
        // line 4
        if ($this->getAttribute(($context["particle"] ?? null), "extra", array())) {
            // line 5
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["particle"] ?? null), "extra", array()));
            foreach ($context['_seq'] as $context["_key"] => $context["attributes"]) {
                // line 6
                $context['_parent'] = $context;
                $context['_seq'] = twig_ensure_traversable($context["attributes"]);
                foreach ($context['_seq'] as $context["key"] => $context["value"]) {
                    // line 7
                    $context["attr_extra"] = (((((($context["attr_extra"] ?? null) . " ") . twig_escape_filter($this->env, $context["key"])) . "=\"") . twig_escape_filter($this->env, $context["value"], "html_attr")) . "\"");
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['key'], $context['value'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['attributes'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
        }
        // line 12
        ob_start();
        // line 13
        echo "\t<div class=\"g-particle-intro\">
\t\t";
        // line 14
        if ($this->getAttribute(($context["particle"] ?? null), "mainheading", array())) {
            // line 15
            echo "\t\t\t<h3 class=\"g-title g-main-title\">";
            echo $this->getAttribute(($context["particle"] ?? null), "mainheading", array());
            echo "</h3>
\t\t\t<div class=\"g-title-separator ";
            // line 16
            if (($this->getAttribute(($context["particle"] ?? null), "introtext", array()) == false)) {
                echo "no-intro-text";
            }
            echo "\"></div>
\t\t";
        }
        // line 17
        echo "\t
\t\t";
        // line 18
        if ($this->getAttribute(($context["particle"] ?? null), "introtext", array())) {
            echo "<p class=\"g-introtext\">";
            echo $this->getAttribute(($context["particle"] ?? null), "introtext", array());
            echo "</p>";
        }
        // line 19
        echo "\t</div>
";
        $context["particleheading"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
        // line 22
        $context["filterid"] = twig_random($this->env);
        // line 24
        ob_start();
        // line 25
        echo "\t<ul id=\"g-portfolio-filter_";
        echo twig_escape_filter($this->env, ($context["filterid"] ?? null), "html", null, true);
        echo "\" class=\"g-portfolio-filter uk-subnav uk-subnav-pill\">
\t\t<li class=\"uk-active\" data-uk-filter=\"all\"><a href=\"\">";
        // line 26
        echo (($this->getAttribute(($context["particle"] ?? null), "filterall", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "filterall", array()), "All")) : ("All"));
        echo "</a></li>
\t\t";
        // line 27
        if ($this->getAttribute(($context["particle"] ?? null), "filter1", array())) {
            echo "<li data-uk-filter=\"filter1_";
            echo twig_escape_filter($this->env, ($context["filterid"] ?? null), "html", null, true);
            echo "\"><a href=\"\">";
            echo $this->getAttribute(($context["particle"] ?? null), "filter1", array());
            echo "</a></li>";
        }
        // line 28
        echo "\t\t";
        if ($this->getAttribute(($context["particle"] ?? null), "filter2", array())) {
            echo "<li data-uk-filter=\"filter2_";
            echo twig_escape_filter($this->env, ($context["filterid"] ?? null), "html", null, true);
            echo "\"><a href=\"\">";
            echo $this->getAttribute(($context["particle"] ?? null), "filter2", array());
            echo "</a></li>";
        }
        // line 29
        echo "\t\t";
        if ($this->getAttribute(($context["particle"] ?? null), "filter3", array())) {
            echo "<li data-uk-filter=\"filter3_";
            echo twig_escape_filter($this->env, ($context["filterid"] ?? null), "html", null, true);
            echo "\"><a href=\"\">";
            echo $this->getAttribute(($context["particle"] ?? null), "filter3", array());
            echo "</a></li>";
        }
        // line 30
        echo "\t\t";
        if ($this->getAttribute(($context["particle"] ?? null), "filter4", array())) {
            echo "<li data-uk-filter=\"filter4_";
            echo twig_escape_filter($this->env, ($context["filterid"] ?? null), "html", null, true);
            echo "\"><a href=\"\">";
            echo $this->getAttribute(($context["particle"] ?? null), "filter4", array());
            echo "</a></li>";
        }
        // line 31
        echo "\t\t";
        if ($this->getAttribute(($context["particle"] ?? null), "filter5", array())) {
            echo "<li data-uk-filter=\"filter5_";
            echo twig_escape_filter($this->env, ($context["filterid"] ?? null), "html", null, true);
            echo "\"><a href=\"\">";
            echo $this->getAttribute(($context["particle"] ?? null), "filter5", array());
            echo "</a></li>";
        }
        // line 32
        echo "\t</ul>
";
        $context["portfolio_filter"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
        // line 35
        ob_start();
        // line 36
        echo "\t";
        $context["all_items"] = 0;
        // line 37
        echo "\t";
        $context["filter1"] = 0;
        // line 38
        echo "\t";
        $context["filter2"] = 0;
        // line 39
        echo "\t";
        $context["filter3"] = 0;
        // line 40
        echo "\t";
        $context["filter4"] = 0;
        // line 41
        echo "\t";
        $context["filter5"] = 0;
        // line 42
        echo "\t";
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["particle"] ?? null), "items", array()));
        foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
            // line 43
            echo "\t\t";
            $context["all_items"] = (($context["all_items"] ?? null) + 1);
            // line 44
            echo "\t\t";
            if ($this->getAttribute($context["item"], "filter1", array())) {
                $context["filter1"] = (($context["filter1"] ?? null) + 1);
            }
            // line 45
            echo "\t\t";
            if ($this->getAttribute($context["item"], "filter2", array())) {
                $context["filter2"] = (($context["filter2"] ?? null) + 1);
            }
            // line 46
            echo "\t\t";
            if ($this->getAttribute($context["item"], "filter3", array())) {
                $context["filter3"] = (($context["filter3"] ?? null) + 1);
            }
            // line 47
            echo "\t\t";
            if ($this->getAttribute($context["item"], "filter4", array())) {
                $context["filter4"] = (($context["filter4"] ?? null) + 1);
            }
            // line 48
            echo "\t\t";
            if ($this->getAttribute($context["item"], "filter5", array())) {
                $context["filter5"] = (($context["filter5"] ?? null) + 1);
            }
            // line 49
            echo "\t";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 50
        echo "\t<ul id=\"g-portfolio-filter_";
        echo twig_escape_filter($this->env, ($context["filterid"] ?? null), "html", null, true);
        echo "\" class=\"g-portfolio-filter uk-subnav uk-subnav-pill\">
\t\t<li class=\"uk-active\" data-uk-filter=\"all\"><a href=\"\">";
        // line 51
        echo (($this->getAttribute(($context["particle"] ?? null), "filterall", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "filterall", array()), "All")) : ("All"));
        echo " (";
        echo twig_escape_filter($this->env, ($context["all_items"] ?? null), "html", null, true);
        echo ")</a></li>
\t\t";
        // line 52
        if ($this->getAttribute(($context["particle"] ?? null), "filter1", array())) {
            echo "<li data-uk-filter=\"filter1_";
            echo twig_escape_filter($this->env, ($context["filterid"] ?? null), "html", null, true);
            echo "\"><a href=\"\">";
            echo $this->getAttribute(($context["particle"] ?? null), "filter1", array());
            echo " (";
            echo twig_escape_filter($this->env, ($context["filter1"] ?? null), "html", null, true);
            echo ")</a></li>";
        }
        // line 53
        echo "\t\t";
        if ($this->getAttribute(($context["particle"] ?? null), "filter2", array())) {
            echo "<li data-uk-filter=\"filter2_";
            echo twig_escape_filter($this->env, ($context["filterid"] ?? null), "html", null, true);
            echo "\"><a href=\"\">";
            echo $this->getAttribute(($context["particle"] ?? null), "filter2", array());
            echo " (";
            echo twig_escape_filter($this->env, ($context["filter2"] ?? null), "html", null, true);
            echo ")</a></li>";
        }
        // line 54
        echo "\t\t";
        if ($this->getAttribute(($context["particle"] ?? null), "filter3", array())) {
            echo "<li data-uk-filter=\"filter3_";
            echo twig_escape_filter($this->env, ($context["filterid"] ?? null), "html", null, true);
            echo "\"><a href=\"\">";
            echo $this->getAttribute(($context["particle"] ?? null), "filter3", array());
            echo " (";
            echo twig_escape_filter($this->env, ($context["filter3"] ?? null), "html", null, true);
            echo ")</a></li>";
        }
        // line 55
        echo "\t\t";
        if ($this->getAttribute(($context["particle"] ?? null), "filter4", array())) {
            echo "<li data-uk-filter=\"filter4_";
            echo twig_escape_filter($this->env, ($context["filterid"] ?? null), "html", null, true);
            echo "\"><a href=\"\">";
            echo $this->getAttribute(($context["particle"] ?? null), "filter4", array());
            echo " (";
            echo twig_escape_filter($this->env, ($context["filter4"] ?? null), "html", null, true);
            echo ")</a></li>";
        }
        // line 56
        echo "\t\t";
        if ($this->getAttribute(($context["particle"] ?? null), "filter5", array())) {
            echo "<li data-uk-filter=\"filter5_";
            echo twig_escape_filter($this->env, ($context["filterid"] ?? null), "html", null, true);
            echo "\"><a href=\"\">";
            echo $this->getAttribute(($context["particle"] ?? null), "filter5", array());
            echo " (";
            echo twig_escape_filter($this->env, ($context["filter5"] ?? null), "html", null, true);
            echo ")</a></li>";
        }
        // line 57
        echo "\t</ul>
";
        $context["portfolio_filter_s2"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
        // line 60
        ob_start();
        // line 61
        echo "\t";
        $context["all_items"] = 0;
        // line 62
        echo "\t";
        $context["filter1"] = 0;
        // line 63
        echo "\t";
        $context["filter2"] = 0;
        // line 64
        echo "\t";
        $context["filter3"] = 0;
        // line 65
        echo "\t";
        $context["filter4"] = 0;
        // line 66
        echo "\t";
        $context["filter5"] = 0;
        // line 67
        echo "\t";
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["particle"] ?? null), "items", array()));
        foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
            // line 68
            echo "\t\t";
            $context["all_items"] = (($context["all_items"] ?? null) + 1);
            // line 69
            echo "\t\t";
            if ($this->getAttribute($context["item"], "filter1", array())) {
                $context["filter1"] = (($context["filter1"] ?? null) + 1);
            }
            // line 70
            echo "\t\t";
            if ($this->getAttribute($context["item"], "filter2", array())) {
                $context["filter2"] = (($context["filter2"] ?? null) + 1);
            }
            // line 71
            echo "\t\t";
            if ($this->getAttribute($context["item"], "filter3", array())) {
                $context["filter3"] = (($context["filter3"] ?? null) + 1);
            }
            // line 72
            echo "\t\t";
            if ($this->getAttribute($context["item"], "filter4", array())) {
                $context["filter4"] = (($context["filter4"] ?? null) + 1);
            }
            // line 73
            echo "\t\t";
            if ($this->getAttribute($context["item"], "filter5", array())) {
                $context["filter5"] = (($context["filter5"] ?? null) + 1);
            }
            // line 74
            echo "\t";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 75
        echo "\t<ul id=\"g-portfolio-filter_";
        echo twig_escape_filter($this->env, ($context["filterid"] ?? null), "html", null, true);
        echo "\" class=\"g-portfolio-filter uk-subnav uk-subnav-pill\">
\t\t<li class=\"uk-active\" data-uk-filter=\"all\"><a href=\"\" data-uk-tooltip=\"{cls: 'g-portfolio-tooltip'}\" title=\"";
        // line 76
        echo twig_escape_filter($this->env, ($context["all_items"] ?? null), "html", null, true);
        echo "\">";
        echo (($this->getAttribute(($context["particle"] ?? null), "filterall", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "filterall", array()), "All")) : ("All"));
        echo "</a></li>
\t\t";
        // line 77
        if ($this->getAttribute(($context["particle"] ?? null), "filter1", array())) {
            echo "<li data-uk-filter=\"filter1_";
            echo twig_escape_filter($this->env, ($context["filterid"] ?? null), "html", null, true);
            echo "\"><a href=\"\" data-uk-tooltip=\"{cls: 'g-portfolio-tooltip'}\" title=\"";
            echo twig_escape_filter($this->env, ($context["filter1"] ?? null), "html", null, true);
            echo "\">";
            echo $this->getAttribute(($context["particle"] ?? null), "filter1", array());
            echo "</a></li>";
        }
        // line 78
        echo "\t\t";
        if ($this->getAttribute(($context["particle"] ?? null), "filter2", array())) {
            echo "<li data-uk-filter=\"filter2_";
            echo twig_escape_filter($this->env, ($context["filterid"] ?? null), "html", null, true);
            echo "\"><a href=\"\" data-uk-tooltip=\"{cls: 'g-portfolio-tooltip'}\" title=\"";
            echo twig_escape_filter($this->env, ($context["filter2"] ?? null), "html", null, true);
            echo "\">";
            echo $this->getAttribute(($context["particle"] ?? null), "filter2", array());
            echo "</a></li>";
        }
        // line 79
        echo "\t\t";
        if ($this->getAttribute(($context["particle"] ?? null), "filter3", array())) {
            echo "<li data-uk-filter=\"filter3_";
            echo twig_escape_filter($this->env, ($context["filterid"] ?? null), "html", null, true);
            echo "\"><a href=\"\" data-uk-tooltip=\"{cls: 'g-portfolio-tooltip'}\" title=\"";
            echo twig_escape_filter($this->env, ($context["filter3"] ?? null), "html", null, true);
            echo "\">";
            echo $this->getAttribute(($context["particle"] ?? null), "filter3", array());
            echo "</a></li>";
        }
        // line 80
        echo "\t\t";
        if ($this->getAttribute(($context["particle"] ?? null), "filter4", array())) {
            echo "<li data-uk-filter=\"filter4_";
            echo twig_escape_filter($this->env, ($context["filterid"] ?? null), "html", null, true);
            echo "\"><a href=\"\" data-uk-tooltip=\"{cls: 'g-portfolio-tooltip'}\" title=\"";
            echo twig_escape_filter($this->env, ($context["filter4"] ?? null), "html", null, true);
            echo "\">";
            echo $this->getAttribute(($context["particle"] ?? null), "filter4", array());
            echo "</a></li>";
        }
        // line 81
        echo "\t\t";
        if ($this->getAttribute(($context["particle"] ?? null), "filter5", array())) {
            echo "<li data-uk-filter=\"filter5_";
            echo twig_escape_filter($this->env, ($context["filterid"] ?? null), "html", null, true);
            echo "\"><a href=\"\" data-uk-tooltip=\"{cls: 'g-portfolio-tooltip'}\" title=\"";
            echo twig_escape_filter($this->env, ($context["filter5"] ?? null), "html", null, true);
            echo "\">";
            echo $this->getAttribute(($context["particle"] ?? null), "filter5", array());
            echo "</a></li>";
        }
        // line 82
        echo "\t</ul>
";
        $context["portfolio_filter_s3"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
        // line 85
        ob_start();
        // line 86
        echo "\t";
        $context["portfolioid"] = twig_random($this->env);
        // line 87
        echo "\t";
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable(twig_array_batch($this->getAttribute(($context["particle"] ?? null), "items", array()), twig_escape_filter($this->env, (($this->getAttribute(($context["particle"] ?? null), "columns", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "columns", array()), "3")) : ("3")))));
        foreach ($context['_seq'] as $context["_key"] => $context["row"]) {
            // line 88
            echo "\t\t";
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($context["row"]);
            foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
                // line 89
                echo "\t\t\t";
                $context["attr_extra_item"] = "";
                // line 90
                echo "\t\t\t";
                $context['_parent'] = $context;
                $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["item"], "extra", array()));
                foreach ($context['_seq'] as $context["_key"] => $context["extra"]) {
                    // line 91
                    echo "\t\t\t\t";
                    $context["attr_extra_item"] = (((((($context["attr_extra_item"] ?? null) . " ") . twig_escape_filter($this->env, twig_first($this->env, twig_get_array_keys_filter($context["extra"])))) . "=\"") . twig_escape_filter($this->env, twig_first($this->env, $this->env->getExtension('Gantry\Component\Twig\TwigExtension')->valuesFilter($context["extra"])), "html_attr")) . "\"");
                    // line 92
                    echo "\t\t\t";
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['_key'], $context['extra'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 93
                echo "
\t\t\t";
                // line 94
                ob_start();
                // line 95
                echo "\t\t\t\t";
                if (((($this->getAttribute(($context["particle"] ?? null), "filters", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "filters", array()), "disabled")) : ("disabled")) != "disabled")) {
                    // line 96
                    echo "\t\t\t\t\tdata-uk-filter=\"all";
                    if ($this->getAttribute($context["item"], "filter1", array())) {
                        echo ", filter1_";
                        echo twig_escape_filter($this->env, ($context["filterid"] ?? null), "html", null, true);
                    }
                    if ($this->getAttribute($context["item"], "filter2", array())) {
                        echo ", filter2_";
                        echo twig_escape_filter($this->env, ($context["filterid"] ?? null), "html", null, true);
                    }
                    if ($this->getAttribute($context["item"], "filter3", array())) {
                        echo ", filter3_";
                        echo twig_escape_filter($this->env, ($context["filterid"] ?? null), "html", null, true);
                    }
                    if ($this->getAttribute($context["item"], "filter4", array())) {
                        echo ", filter4_";
                        echo twig_escape_filter($this->env, ($context["filterid"] ?? null), "html", null, true);
                    }
                    if ($this->getAttribute($context["item"], "filter5", array())) {
                        echo ", filter5_";
                        echo twig_escape_filter($this->env, ($context["filterid"] ?? null), "html", null, true);
                    }
                    echo "\"
\t\t\t\t";
                }
                // line 98
                echo "\t\t\t";
                $context["filtertags"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
                // line 99
                echo "
\t\t\t";
                // line 100
                ob_start();
                // line 101
                echo "\t\t\t\t<div class=\"g-portfolio-image\">
\t\t\t\t\t";
                // line 102
                if ((((($this->getAttribute(($context["particle"] ?? null), "lightbox", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "lightbox", array()), "enable")) : ("enable")) == "enable") || ((($this->getAttribute(($context["particle"] ?? null), "lightbox", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "lightbox", array()), "enable")) : ("enable")) == "disable"))) {
                    // line 103
                    echo "\t\t\t\t\t\t";
                    if (((($this->getAttribute(($context["particle"] ?? null), "lightbox", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "lightbox", array()), "enable")) : ("enable")) == "enable")) {
                        // line 104
                        echo "\t\t\t\t\t\t\t";
                        if ($this->getAttribute($context["item"], "video", array())) {
                            // line 105
                            echo "\t\t\t\t\t\t\t\t<a href=\"";
                            echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "video", array()));
                            echo "\" class=\"uk-overlay uk-overlay-hover\" data-uk-lightbox=\"{group:'";
                            echo twig_escape_filter($this->env, ($context["portfolioid"] ?? null), "html", null, true);
                            echo "'}\">
\t\t\t\t\t\t\t";
                        } else {
                            // line 107
                            echo "\t\t\t\t\t\t\t\t<a href=\"";
                            echo twig_escape_filter($this->env, $this->env->getExtension('Gantry\Component\Twig\TwigExtension')->urlFunc($this->getAttribute($context["item"], "image", array()), false, 0), "html", null, true);
                            echo "\" class=\"uk-overlay uk-overlay-hover\" data-uk-lightbox=\"{group:'";
                            echo twig_escape_filter($this->env, ($context["portfolioid"] ?? null), "html", null, true);
                            echo "'}\">
\t\t\t\t\t\t\t";
                        }
                        // line 109
                        echo "\t\t\t\t\t\t\t";
                        if (((($this->getAttribute(($context["particle"] ?? null), "style", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "style", array()), "style1")) : ("style1")) == "style1")) {
                            // line 110
                            echo "\t\t\t\t\t\t\t\t<span class=\"uk-overlay-panel uk-overlay-background uk-overlay-icon uk-overlay-fade\"></span>
\t\t\t\t\t\t\t";
                        }
                        // line 112
                        echo "\t\t\t\t\t\t";
                    }
                    // line 113
                    echo "\t\t\t\t\t\t\t<img alt=\"";
                    echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "alt", array()));
                    echo "\" src=\"";
                    echo twig_escape_filter($this->env, $this->env->getExtension('Gantry\Component\Twig\TwigExtension')->urlFunc($this->getAttribute($context["item"], "image", array())), "html", null, true);
                    echo "\" ";
                    echo $this->env->getExtension('Gantry\Component\Twig\TwigExtension')->imageSize($this->getAttribute($context["item"], "image", array()));
                    echo ">
\t\t\t\t\t\t";
                    // line 114
                    if (((($this->getAttribute(($context["particle"] ?? null), "lightbox", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "lightbox", array()), "enable")) : ("enable")) == "enable")) {
                        // line 115
                        echo "\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t";
                    }
                    // line 117
                    echo "\t\t\t\t\t";
                }
                // line 118
                echo "
\t\t\t\t\t";
                // line 119
                if (((($this->getAttribute(($context["particle"] ?? null), "lightbox", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "lightbox", array()), "enable")) : ("enable")) == "disablelink")) {
                    // line 120
                    echo "\t\t\t\t\t\t";
                    if ($this->getAttribute($context["item"], "link", array())) {
                        echo "<a target=\"";
                        echo twig_escape_filter($this->env, (($this->getAttribute($context["item"], "target", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "target", array()), "_parent")) : ("_parent")));
                        echo "\" href=\"";
                        echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "link", array()));
                        echo "\">";
                    }
                    // line 121
                    echo "\t\t\t\t\t\t\t<img alt=\"";
                    echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "alt", array()));
                    echo "\" src=\"";
                    echo twig_escape_filter($this->env, $this->env->getExtension('Gantry\Component\Twig\TwigExtension')->urlFunc($this->getAttribute($context["item"], "image", array())), "html", null, true);
                    echo "\" ";
                    echo $this->env->getExtension('Gantry\Component\Twig\TwigExtension')->imageSize($this->getAttribute($context["item"], "image", array()));
                    echo ">
\t\t\t\t\t\t";
                    // line 122
                    if ($this->getAttribute($context["item"], "link", array())) {
                        echo "</a>";
                    }
                    // line 123
                    echo "\t\t\t\t\t";
                }
                // line 124
                echo "\t\t\t\t</div>
\t\t\t";
                $context["image"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
                // line 126
                echo "
\t\t\t";
                // line 127
                ob_start();
                // line 128
                echo "\t\t\t\t<h4 class=\"g-portfolio-title\">";
                // line 129
                if ($this->getAttribute($context["item"], "link", array())) {
                    // line 130
                    echo "<a target=\"";
                    echo twig_escape_filter($this->env, (($this->getAttribute($context["item"], "target", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "target", array()), "_parent")) : ("_parent")));
                    echo "\" href=\"";
                    echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "link", array()));
                    echo "\">";
                }
                // line 132
                echo $this->getAttribute($context["item"], "title", array());
                // line 133
                if ($this->getAttribute($context["item"], "link", array())) {
                    // line 134
                    echo "</a>";
                }
                // line 136
                echo "</h4>
\t\t\t";
                $context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
                // line 138
                echo "
\t\t\t";
                // line 139
                ob_start();
                // line 140
                echo "\t\t\t\t<div class=\"g-item-details\">
\t\t\t\t\t<span class=\"date\"><i class=\"fa fa-clock-o\"></i>";
                // line 141
                echo $this->getAttribute($context["item"], "date", array());
                echo "</span>
\t\t\t\t</div>
\t\t\t";
                $context["date"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
                // line 144
                echo "
\t\t\t";
                // line 145
                ob_start();
                // line 146
                echo "\t\t\t\t<div class=\"g-portfolio-desc\">";
                // line 147
                echo $this->getAttribute($context["item"], "description", array());
                // line 148
                echo "</div>
\t\t\t";
                $context["description"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
                // line 150
                echo "
\t\t\t";
                // line 151
                ob_start();
                // line 152
                echo "\t\t\t\t<div class=\"g-portfolio-special\">";
                // line 153
                if ($this->getAttribute($context["item"], "icon", array())) {
                    // line 154
                    echo "<i class=\"";
                    echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "icon", array()));
                    echo "\"></i>";
                }
                // line 156
                echo $this->getAttribute($context["item"], "specialtext", array());
                // line 157
                echo "</div>
\t\t\t";
                $context["specialtext"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
                // line 159
                echo "
\t\t\t";
                // line 160
                ob_start();
                // line 161
                echo "\t\t\t\t<div class=\"g-portfolio-link\">
\t\t\t\t\t<a target=\"";
                // line 162
                echo twig_escape_filter($this->env, (($this->getAttribute($context["item"], "target", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "target", array()), "_parent")) : ("_parent")));
                echo "\" href=\"";
                echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "link", array()));
                echo "\">";
                // line 163
                echo $this->getAttribute($context["item"], "bottomlink", array());
                // line 164
                echo "<i class=\"fa fa-long-arrow-right\"></i>
\t\t\t\t\t</a>
\t\t\t\t</div>
\t\t\t";
                $context["bottomlink"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
                // line 168
                echo "
\t\t\t";
                // line 169
                ob_start();
                // line 170
                echo "\t\t\t\t<div class=\"g-portfolio-item-container";
                if ($this->getAttribute($context["item"], "class", array())) {
                    echo " ";
                    echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "class", array()));
                }
                echo "\" ";
                echo twig_escape_filter($this->env, ($context["filtertags"] ?? null), "html", null, true);
                echo ">
\t\t\t\t\t<div class=\"g-portfolio-item\">
\t\t\t\t\t\t";
                // line 172
                if ($this->getAttribute($context["item"], "image", array())) {
                    // line 173
                    echo "\t\t\t\t\t\t\t";
                    echo twig_escape_filter($this->env, ($context["image"] ?? null), "html", null, true);
                    echo "
\t\t\t\t\t\t";
                }
                // line 175
                echo "
\t\t\t\t\t\t";
                // line 176
                if (($this->getAttribute($context["item"], "title", array()) || $this->getAttribute($context["item"], "description", array()))) {
                    // line 177
                    echo "\t\t\t\t\t\t\t<div class=\"g-info-container\">
\t\t\t\t\t\t\t\t";
                    // line 178
                    if ($this->getAttribute($context["item"], "title", array())) {
                        // line 179
                        echo "\t\t\t\t\t\t\t\t\t";
                        echo twig_escape_filter($this->env, ($context["title"] ?? null), "html", null, true);
                        echo "
\t\t\t\t\t\t\t\t";
                    }
                    // line 181
                    echo "
\t\t\t\t\t\t\t\t";
                    // line 182
                    if ($this->getAttribute($context["item"], "date", array())) {
                        // line 183
                        echo "\t\t\t\t\t\t\t\t\t";
                        echo twig_escape_filter($this->env, ($context["date"] ?? null), "html", null, true);
                        echo "
\t\t\t\t\t\t\t\t";
                    }
                    // line 185
                    echo "
\t\t\t\t\t\t\t\t";
                    // line 186
                    if ($this->getAttribute($context["item"], "description", array())) {
                        // line 187
                        echo "\t\t\t\t\t\t\t\t\t";
                        echo twig_escape_filter($this->env, ($context["description"] ?? null), "html", null, true);
                        echo "
\t\t\t\t\t\t\t\t";
                    }
                    // line 189
                    echo "
\t\t\t\t\t\t\t\t";
                    // line 190
                    if (($this->getAttribute($context["item"], "specialtext", array()) || $this->getAttribute($context["item"], "bottomlink", array()))) {
                        // line 191
                        echo "\t\t\t\t\t\t\t\t\t<div class=\"g-bottom-info clearfix";
                        if (($this->getAttribute($context["item"], "specialtext", array()) == false)) {
                            echo " no-special";
                        }
                        if (($this->getAttribute($context["item"], "bottomlink", array()) == false)) {
                            echo " no-link";
                        }
                        echo "\">
\t\t\t\t\t\t\t\t\t\t";
                        // line 192
                        if ($this->getAttribute($context["item"], "specialtext", array())) {
                            // line 193
                            echo "\t\t\t\t\t\t\t\t\t\t\t";
                            echo twig_escape_filter($this->env, ($context["specialtext"] ?? null), "html", null, true);
                            echo "
\t\t\t\t\t\t\t\t\t\t";
                        }
                        // line 195
                        echo "
\t\t\t\t\t\t\t\t\t\t";
                        // line 196
                        if ($this->getAttribute($context["item"], "bottomlink", array())) {
                            // line 197
                            echo "\t\t\t\t\t\t\t\t\t\t\t";
                            echo twig_escape_filter($this->env, ($context["bottomlink"] ?? null), "html", null, true);
                            echo "
\t\t\t\t\t\t\t\t\t\t";
                        }
                        // line 199
                        echo "\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t";
                    }
                    // line 201
                    echo "\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t";
                }
                // line 203
                echo "\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t";
                $context["style1"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
                // line 206
                echo "
\t\t\t";
                // line 207
                ob_start();
                // line 208
                echo "\t\t\t\t<div class=\"g-portfolio-item-container";
                if ($this->getAttribute($context["item"], "class", array())) {
                    echo " ";
                    echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "class", array()));
                }
                echo "\" ";
                echo twig_escape_filter($this->env, ($context["filtertags"] ?? null), "html", null, true);
                echo ">
\t\t\t\t\t<div class=\"g-portfolio-item uk-overlay uk-overlay-hover\">
\t\t\t\t\t\t";
                // line 210
                if ($this->getAttribute($context["item"], "image", array())) {
                    // line 211
                    echo "\t\t\t\t\t\t\t";
                    echo twig_escape_filter($this->env, ($context["image"] ?? null), "html", null, true);
                    echo "
\t\t\t\t\t\t";
                }
                // line 213
                echo "
\t\t\t\t\t\t";
                // line 214
                if (($this->getAttribute($context["item"], "title", array()) || $this->getAttribute($context["item"], "description", array()))) {
                    // line 215
                    echo "\t\t\t\t\t\t\t<div class=\"g-info-container-style2 uk-overlay-panel uk-overlay-background uk-overlay-bottom uk-overlay-slide-bottom\">
\t\t\t\t\t\t\t\t";
                    // line 216
                    if ($this->getAttribute($context["item"], "title", array())) {
                        // line 217
                        echo "\t\t\t\t\t\t\t\t\t";
                        echo twig_escape_filter($this->env, ($context["title"] ?? null), "html", null, true);
                        echo "
\t\t\t\t\t\t\t\t";
                    }
                    // line 219
                    echo "
\t\t\t\t\t\t\t\t";
                    // line 220
                    if ($this->getAttribute($context["item"], "date", array())) {
                        // line 221
                        echo "\t\t\t\t\t\t\t\t\t";
                        echo twig_escape_filter($this->env, ($context["date"] ?? null), "html", null, true);
                        echo "
\t\t\t\t\t\t\t\t";
                    }
                    // line 223
                    echo "
\t\t\t\t\t\t\t\t";
                    // line 224
                    if ($this->getAttribute($context["item"], "description", array())) {
                        // line 225
                        echo "\t\t\t\t\t\t\t\t\t";
                        echo twig_escape_filter($this->env, ($context["description"] ?? null), "html", null, true);
                        echo "
\t\t\t\t\t\t\t\t";
                    }
                    // line 227
                    echo "
\t\t\t\t\t\t\t\t";
                    // line 228
                    if (($this->getAttribute($context["item"], "specialtext", array()) || $this->getAttribute($context["item"], "bottomlink", array()))) {
                        // line 229
                        echo "\t\t\t\t\t\t\t\t\t<div class=\"g-bottom-info clearfix";
                        if (($this->getAttribute($context["item"], "specialtext", array()) == false)) {
                            echo " no-special";
                        }
                        if (($this->getAttribute($context["item"], "bottomlink", array()) == false)) {
                            echo " no-link";
                        }
                        echo "\">
\t\t\t\t\t\t\t\t\t\t";
                        // line 230
                        if ($this->getAttribute($context["item"], "specialtext", array())) {
                            // line 231
                            echo "\t\t\t\t\t\t\t\t\t\t\t";
                            echo twig_escape_filter($this->env, ($context["specialtext"] ?? null), "html", null, true);
                            echo "
\t\t\t\t\t\t\t\t\t\t";
                        }
                        // line 233
                        echo "
\t\t\t\t\t\t\t\t\t\t";
                        // line 234
                        if ($this->getAttribute($context["item"], "bottomlink", array())) {
                            // line 235
                            echo "\t\t\t\t\t\t\t\t\t\t\t";
                            echo twig_escape_filter($this->env, ($context["bottomlink"] ?? null), "html", null, true);
                            echo "
\t\t\t\t\t\t\t\t\t\t";
                        }
                        // line 237
                        echo "\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t";
                    }
                    // line 239
                    echo "\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t";
                }
                // line 241
                echo "\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t";
                $context["style2"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
                // line 244
                echo "
\t\t\t";
                // line 245
                ob_start();
                // line 246
                echo "\t\t\t\t<div class=\"g-portfolio-item-container";
                if ($this->getAttribute($context["item"], "class", array())) {
                    echo " ";
                    echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "class", array()));
                }
                echo "\" ";
                echo twig_escape_filter($this->env, ($context["filtertags"] ?? null), "html", null, true);
                echo ">
\t\t\t\t\t<div class=\"g-portfolio-item\">
\t\t\t\t\t\t";
                // line 248
                if ($this->getAttribute($context["item"], "image", array())) {
                    // line 249
                    echo "\t\t\t\t\t\t\t";
                    echo twig_escape_filter($this->env, ($context["image"] ?? null), "html", null, true);
                    echo "
\t\t\t\t\t\t";
                }
                // line 251
                echo "
\t\t\t\t\t\t";
                // line 252
                if (($this->getAttribute($context["item"], "title", array()) || $this->getAttribute($context["item"], "description", array()))) {
                    // line 253
                    echo "\t\t\t\t\t\t\t<div class=\"g-info-container\">
\t\t\t\t\t\t\t\t";
                    // line 254
                    if ($this->getAttribute($context["item"], "title", array())) {
                        // line 255
                        echo "\t\t\t\t\t\t\t\t\t";
                        echo twig_escape_filter($this->env, ($context["title"] ?? null), "html", null, true);
                        echo "
\t\t\t\t\t\t\t\t";
                    }
                    // line 257
                    echo "
\t\t\t\t\t\t\t\t";
                    // line 258
                    if ($this->getAttribute($context["item"], "date", array())) {
                        // line 259
                        echo "\t\t\t\t\t\t\t\t\t";
                        echo twig_escape_filter($this->env, ($context["date"] ?? null), "html", null, true);
                        echo "
\t\t\t\t\t\t\t\t";
                    }
                    // line 261
                    echo "
\t\t\t\t\t\t\t\t";
                    // line 262
                    if ($this->getAttribute($context["item"], "description", array())) {
                        // line 263
                        echo "\t\t\t\t\t\t\t\t\t";
                        echo twig_escape_filter($this->env, ($context["description"] ?? null), "html", null, true);
                        echo "
\t\t\t\t\t\t\t\t";
                    }
                    // line 265
                    echo "
\t\t\t\t\t\t\t\t";
                    // line 266
                    if (($this->getAttribute($context["item"], "specialtext", array()) || $this->getAttribute($context["item"], "bottomlink", array()))) {
                        // line 267
                        echo "\t\t\t\t\t\t\t\t\t<div class=\"g-bottom-info clearfix";
                        if (($this->getAttribute($context["item"], "specialtext", array()) == false)) {
                            echo " no-special";
                        }
                        if (($this->getAttribute($context["item"], "bottomlink", array()) == false)) {
                            echo " no-link";
                        }
                        echo "\">
\t\t\t\t\t\t\t\t\t\t";
                        // line 268
                        if ($this->getAttribute($context["item"], "specialtext", array())) {
                            // line 269
                            echo "\t\t\t\t\t\t\t\t\t\t\t";
                            echo twig_escape_filter($this->env, ($context["specialtext"] ?? null), "html", null, true);
                            echo "
\t\t\t\t\t\t\t\t\t\t";
                        }
                        // line 271
                        echo "
\t\t\t\t\t\t\t\t\t\t";
                        // line 272
                        if ($this->getAttribute($context["item"], "bottomlink", array())) {
                            // line 273
                            echo "\t\t\t\t\t\t\t\t\t\t\t";
                            echo twig_escape_filter($this->env, ($context["bottomlink"] ?? null), "html", null, true);
                            echo "
\t\t\t\t\t\t\t\t\t\t";
                        }
                        // line 275
                        echo "\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t";
                    }
                    // line 277
                    echo "\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t";
                }
                // line 279
                echo "\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t";
                $context["style3"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
                // line 282
                echo "
\t\t\t";
                // line 283
                ob_start();
                // line 284
                echo "\t\t\t\t<div class=\"g-portfolio-item-container";
                if ($this->getAttribute($context["item"], "class", array())) {
                    echo " ";
                    echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "class", array()));
                }
                echo "\" ";
                echo twig_escape_filter($this->env, ($context["filtertags"] ?? null), "html", null, true);
                echo ">
\t\t\t\t\t<div class=\"g-portfolio-item uk-overlay\">
\t\t\t\t\t\t";
                // line 286
                if ($this->getAttribute($context["item"], "image", array())) {
                    // line 287
                    echo "\t\t\t\t\t\t\t";
                    echo twig_escape_filter($this->env, ($context["image"] ?? null), "html", null, true);
                    echo "
\t\t\t\t\t\t";
                }
                // line 289
                echo "
\t\t\t\t\t\t";
                // line 290
                if (($this->getAttribute($context["item"], "title", array()) || $this->getAttribute($context["item"], "description", array()))) {
                    // line 291
                    echo "\t\t\t\t\t\t\t<div class=\"g-info-container-style2 uk-overlay-panel uk-overlay-background uk-overlay-bottom\">
\t\t\t\t\t\t\t\t";
                    // line 292
                    if ($this->getAttribute($context["item"], "title", array())) {
                        // line 293
                        echo "\t\t\t\t\t\t\t\t\t";
                        echo twig_escape_filter($this->env, ($context["title"] ?? null), "html", null, true);
                        echo "
\t\t\t\t\t\t\t\t";
                    }
                    // line 295
                    echo "
\t\t\t\t\t\t\t\t";
                    // line 296
                    if ($this->getAttribute($context["item"], "date", array())) {
                        // line 297
                        echo "\t\t\t\t\t\t\t\t\t";
                        echo twig_escape_filter($this->env, ($context["date"] ?? null), "html", null, true);
                        echo "
\t\t\t\t\t\t\t\t";
                    }
                    // line 299
                    echo "
\t\t\t\t\t\t\t\t";
                    // line 300
                    if ($this->getAttribute($context["item"], "description", array())) {
                        // line 301
                        echo "\t\t\t\t\t\t\t\t\t";
                        echo twig_escape_filter($this->env, ($context["description"] ?? null), "html", null, true);
                        echo "
\t\t\t\t\t\t\t\t";
                    }
                    // line 303
                    echo "
\t\t\t\t\t\t\t\t";
                    // line 304
                    if (($this->getAttribute($context["item"], "specialtext", array()) || $this->getAttribute($context["item"], "bottomlink", array()))) {
                        // line 305
                        echo "\t\t\t\t\t\t\t\t\t<div class=\"g-bottom-info clearfix";
                        if (($this->getAttribute($context["item"], "specialtext", array()) == false)) {
                            echo " no-special";
                        }
                        if (($this->getAttribute($context["item"], "bottomlink", array()) == false)) {
                            echo " no-link";
                        }
                        echo "\">
\t\t\t\t\t\t\t\t\t\t";
                        // line 306
                        if ($this->getAttribute($context["item"], "specialtext", array())) {
                            // line 307
                            echo "\t\t\t\t\t\t\t\t\t\t\t";
                            echo twig_escape_filter($this->env, ($context["specialtext"] ?? null), "html", null, true);
                            echo "
\t\t\t\t\t\t\t\t\t\t";
                        }
                        // line 309
                        echo "
\t\t\t\t\t\t\t\t\t\t";
                        // line 310
                        if ($this->getAttribute($context["item"], "bottomlink", array())) {
                            // line 311
                            echo "\t\t\t\t\t\t\t\t\t\t\t";
                            echo twig_escape_filter($this->env, ($context["bottomlink"] ?? null), "html", null, true);
                            echo "
\t\t\t\t\t\t\t\t\t\t";
                        }
                        // line 313
                        echo "\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t";
                    }
                    // line 315
                    echo "\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t";
                }
                // line 317
                echo "\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t";
                $context["style4"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
                // line 320
                echo "
\t\t\t";
                // line 321
                if (((($this->getAttribute(($context["particle"] ?? null), "style", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "style", array()), "style1")) : ("style1")) == "style1")) {
                    echo twig_escape_filter($this->env, ($context["style1"] ?? null), "html", null, true);
                }
                // line 322
                echo "\t\t\t";
                if (((($this->getAttribute(($context["particle"] ?? null), "style", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "style", array()), "style1")) : ("style1")) == "style2")) {
                    echo twig_escape_filter($this->env, ($context["style2"] ?? null), "html", null, true);
                }
                // line 323
                echo "\t\t\t";
                if (((($this->getAttribute(($context["particle"] ?? null), "style", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "style", array()), "style1")) : ("style1")) == "style3")) {
                    echo twig_escape_filter($this->env, ($context["style3"] ?? null), "html", null, true);
                }
                // line 324
                echo "\t\t\t";
                if (((($this->getAttribute(($context["particle"] ?? null), "style", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "style", array()), "style1")) : ("style1")) == "style4")) {
                    echo twig_escape_filter($this->env, ($context["style4"] ?? null), "html", null, true);
                }
                // line 325
                echo "
\t\t";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 327
            echo "\t";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['row'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        $context["portfolio_items"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
        // line 1
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }

    // line 330
    public function block_particle($context, array $blocks = array())
    {
        // line 331
        echo "
\t<div class=\"g-portfolio ";
        // line 332
        echo twig_escape_filter($this->env, (($this->getAttribute(($context["particle"] ?? null), "style", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "style", array()), "style1")) : ("style1")));
        if ($this->getAttribute($this->getAttribute(($context["particle"] ?? null), "css", array()), "class", array())) {
            echo " ";
            echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["particle"] ?? null), "css", array()), "class", array()));
        }
        if (((($this->getAttribute(($context["particle"] ?? null), "filters", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "filters", array()), "disabled")) : ("disabled")) != "disabled")) {
            echo " filters-enabled";
        } else {
            echo " filters-disabled";
        }
        if (((($this->getAttribute(($context["particle"] ?? null), "gutter", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "gutter", array()), "enabled")) : ("enabled")) == "enabled")) {
            echo " gutter-enabled";
        } else {
            echo " gutter-disabled";
        }
        echo "\" ";
        if ($this->getAttribute(($context["particle"] ?? null), "extra", array())) {
            echo ($context["attr_extra"] ?? null);
        }
        echo ">
\t\t";
        // line 333
        if (($this->getAttribute(($context["particle"] ?? null), "mainheading", array()) || $this->getAttribute(($context["particle"] ?? null), "introtext", array()))) {
            // line 334
            echo "\t\t\t";
            echo twig_escape_filter($this->env, ($context["particleheading"] ?? null), "html", null, true);
            echo "
\t\t";
        }
        // line 336
        echo "
\t\t";
        // line 337
        if (((($this->getAttribute(($context["particle"] ?? null), "filters", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "filters", array()), "disabled")) : ("disabled")) == "enabled")) {
            echo twig_escape_filter($this->env, ($context["portfolio_filter"] ?? null), "html", null, true);
        }
        // line 338
        echo "\t\t";
        if (((($this->getAttribute(($context["particle"] ?? null), "filters", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "filters", array()), "disabled")) : ("disabled")) == "enabled2")) {
            echo twig_escape_filter($this->env, ($context["portfolio_filter_s2"] ?? null), "html", null, true);
        }
        // line 339
        echo "\t\t";
        if (((($this->getAttribute(($context["particle"] ?? null), "filters", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "filters", array()), "disabled")) : ("disabled")) == "enabled3")) {
            echo twig_escape_filter($this->env, ($context["portfolio_filter_s3"] ?? null), "html", null, true);
        }
        // line 340
        echo "
\t\t<div class=\"uk-grid-width-small-1-2 uk-grid-width-medium-1-3 uk-grid-width-large-1-";
        // line 341
        echo twig_escape_filter($this->env, (($this->getAttribute(($context["particle"] ?? null), "columns", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "columns", array()), "3")) : ("3")));
        echo "\" data-uk-grid=\"{ ";
        if (((($this->getAttribute(($context["particle"] ?? null), "gutter", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "gutter", array()), "enabled")) : ("enabled")) == "enabled")) {
            echo "gutter: 30,";
        }
        if (((($this->getAttribute(($context["particle"] ?? null), "filters", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "filters", array()), "disabled")) : ("disabled")) != "disabled")) {
            echo "controls: '#g-portfolio-filter_";
            echo twig_escape_filter($this->env, ($context["filterid"] ?? null), "html", null, true);
            echo "'";
        }
        echo " }\">
\t\t\t";
        // line 342
        echo twig_escape_filter($this->env, ($context["portfolio_items"] ?? null), "html", null, true);
        echo "
\t\t</div>
\t</div>
";
    }

    // line 347
    public function block_javascript_footer($context, array $blocks = array())
    {
        // line 348
        echo "\t";
        $this->displayParentBlock("javascript_footer", $context, $blocks);
        echo "
\t<script type=\"text/javascript\">
\t\t(function(\$) {
\t\t\t\$(document).ready(function() { 
\t\t\t\t\$(\"[data-uk-filter]\").on(\"click\", function() {
\t\t\t\t\tfunction gridAfterFilter() {
\t\t\t\t\t\t\$('[data-uk-grid]').trigger('display.uk.check');
\t\t\t\t\t}
\t\t\t\t\tsetTimeout(gridAfterFilter, 450);
\t\t\t\t})
\t\t\t});

\t\t\t\$(window).load(function() {
\t\t\t\tvar portfolioConteiner = \$(\".g-portfolio.style3 .info-container-top .g-info-container\");
\t\t\t\tvar portfolioConteinerHeight = \$(portfolioConteiner).outerHeight();

\t\t\t\t\$(portfolioConteiner).css({
\t\t\t\t\t'top' : -(portfolioConteinerHeight - 1) + 'px'
\t\t\t\t});
\t\t\t});
\t\t})(jQuery);
\t</script>
";
    }

    public function getTemplateName()
    {
        return "@particles/portfolio.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  1211 => 348,  1208 => 347,  1200 => 342,  1187 => 341,  1184 => 340,  1179 => 339,  1174 => 338,  1170 => 337,  1167 => 336,  1161 => 334,  1159 => 333,  1137 => 332,  1134 => 331,  1131 => 330,  1127 => 1,  1120 => 327,  1113 => 325,  1108 => 324,  1103 => 323,  1098 => 322,  1094 => 321,  1091 => 320,  1086 => 317,  1082 => 315,  1078 => 313,  1072 => 311,  1070 => 310,  1067 => 309,  1061 => 307,  1059 => 306,  1049 => 305,  1047 => 304,  1044 => 303,  1038 => 301,  1036 => 300,  1033 => 299,  1027 => 297,  1025 => 296,  1022 => 295,  1016 => 293,  1014 => 292,  1011 => 291,  1009 => 290,  1006 => 289,  1000 => 287,  998 => 286,  987 => 284,  985 => 283,  982 => 282,  977 => 279,  973 => 277,  969 => 275,  963 => 273,  961 => 272,  958 => 271,  952 => 269,  950 => 268,  940 => 267,  938 => 266,  935 => 265,  929 => 263,  927 => 262,  924 => 261,  918 => 259,  916 => 258,  913 => 257,  907 => 255,  905 => 254,  902 => 253,  900 => 252,  897 => 251,  891 => 249,  889 => 248,  878 => 246,  876 => 245,  873 => 244,  868 => 241,  864 => 239,  860 => 237,  854 => 235,  852 => 234,  849 => 233,  843 => 231,  841 => 230,  831 => 229,  829 => 228,  826 => 227,  820 => 225,  818 => 224,  815 => 223,  809 => 221,  807 => 220,  804 => 219,  798 => 217,  796 => 216,  793 => 215,  791 => 214,  788 => 213,  782 => 211,  780 => 210,  769 => 208,  767 => 207,  764 => 206,  759 => 203,  755 => 201,  751 => 199,  745 => 197,  743 => 196,  740 => 195,  734 => 193,  732 => 192,  722 => 191,  720 => 190,  717 => 189,  711 => 187,  709 => 186,  706 => 185,  700 => 183,  698 => 182,  695 => 181,  689 => 179,  687 => 178,  684 => 177,  682 => 176,  679 => 175,  673 => 173,  671 => 172,  660 => 170,  658 => 169,  655 => 168,  649 => 164,  647 => 163,  642 => 162,  639 => 161,  637 => 160,  634 => 159,  630 => 157,  628 => 156,  623 => 154,  621 => 153,  619 => 152,  617 => 151,  614 => 150,  610 => 148,  608 => 147,  606 => 146,  604 => 145,  601 => 144,  595 => 141,  592 => 140,  590 => 139,  587 => 138,  583 => 136,  580 => 134,  578 => 133,  576 => 132,  569 => 130,  567 => 129,  565 => 128,  563 => 127,  560 => 126,  556 => 124,  553 => 123,  549 => 122,  540 => 121,  531 => 120,  529 => 119,  526 => 118,  523 => 117,  519 => 115,  517 => 114,  508 => 113,  505 => 112,  501 => 110,  498 => 109,  490 => 107,  482 => 105,  479 => 104,  476 => 103,  474 => 102,  471 => 101,  469 => 100,  466 => 99,  463 => 98,  438 => 96,  435 => 95,  433 => 94,  430 => 93,  424 => 92,  421 => 91,  416 => 90,  413 => 89,  408 => 88,  403 => 87,  400 => 86,  398 => 85,  394 => 82,  383 => 81,  372 => 80,  361 => 79,  350 => 78,  340 => 77,  334 => 76,  329 => 75,  323 => 74,  318 => 73,  313 => 72,  308 => 71,  303 => 70,  298 => 69,  295 => 68,  290 => 67,  287 => 66,  284 => 65,  281 => 64,  278 => 63,  275 => 62,  272 => 61,  270 => 60,  266 => 57,  255 => 56,  244 => 55,  233 => 54,  222 => 53,  212 => 52,  206 => 51,  201 => 50,  195 => 49,  190 => 48,  185 => 47,  180 => 46,  175 => 45,  170 => 44,  167 => 43,  162 => 42,  159 => 41,  156 => 40,  153 => 39,  150 => 38,  147 => 37,  144 => 36,  142 => 35,  138 => 32,  129 => 31,  120 => 30,  111 => 29,  102 => 28,  94 => 27,  90 => 26,  85 => 25,  83 => 24,  81 => 22,  77 => 19,  71 => 18,  68 => 17,  61 => 16,  56 => 15,  54 => 14,  51 => 13,  49 => 12,  38 => 7,  34 => 6,  30 => 5,  28 => 4,  26 => 3,  11 => 1,);
    }

    /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
    public function getSource()
    {
        @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);

        return $this->getSourceContext()->getCode();
    }

    public function getSourceContext()
    {
        return new Twig_Source("", "@particles/portfolio.html.twig", "/home/isfmp/public_html/welthaus/templates/it_construction/particles/portfolio.html.twig");
    }
}
