<?php

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

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

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

    protected function doDisplay(array $context, array $blocks = array())
    {
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }

    // line 3
    public function block_particle($context, array $blocks = array())
    {
        // line 4
        echo "
\t<div class=\"g-gridcontent ";
        // line 5
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "class", array()));
        echo "\">
\t\t<div class=\"g-grid\">
\t\t\t<div class=\"g-block g-gridcontent-title-desc\">
\t\t\t\t";
        // line 8
        if ($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "title", array())) {
            echo "<h2 class=\"g-title\">";
            echo $this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "title", array());
            echo "</h2>";
        }
        echo "\t
\t\t\t\t";
        // line 9
        if ($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "desc", array())) {
            echo "<div class=\"g-gridcontent-desc\">";
            echo $this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "desc", array());
            echo "</div>";
        }
        echo "\t\t\t
\t\t\t</div>
\t\t\t<div class=\"g-block g-gridcontent-readmore\">
\t\t\t\t";
        // line 12
        if ($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "readmore", array())) {
            echo "<a href=\"";
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "readmorelink", array()));
            echo "\" class=\"button ";
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "readmoreclass", array()));
            echo "\">";
            echo $this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "readmore", array());
            echo "</a>";
        }
        // line 13
        echo "\t\t\t</div>\t\t\t
\t\t</div>
\t\t
\t\t<div class=\"g-gridcontent-wrapper ";
        // line 16
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "cols", array()));
        echo "\">
\t\t\t";
        // line 17
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["particle"]) ? $context["particle"] : null), "gridcontentitems", array()));
        foreach ($context['_seq'] as $context["_key"] => $context["gridcontentitem"]) {
            // line 18
            echo "\t\t\t    <div class=\"g-gridcontent-item\">
\t\t\t    \t<div class=\"g-gridcontent-item-wrapper ";
            // line 19
            echo twig_escape_filter($this->env, $this->getAttribute($context["gridcontentitem"], "textstyle", array()));
            echo "\">
\t\t\t\t       ";
            // line 20
            if ($this->getAttribute($context["gridcontentitem"], "link", array())) {
                echo "<a class=\"g-gridcontent-link\" href=\"";
                echo twig_escape_filter($this->env, $this->getAttribute($context["gridcontentitem"], "link", array()));
                echo "\">";
            }
            // line 21
            echo "\t\t\t\t        \t<i class=\"";
            echo twig_escape_filter($this->env, $this->getAttribute($context["gridcontentitem"], "icon", array()));
            echo "\"></i>
\t\t\t\t        \t<span class=\"g-gridcontent-item-text1\">";
            // line 22
            echo twig_escape_filter($this->env, $this->getAttribute($context["gridcontentitem"], "text1", array()));
            echo "</span>
\t\t\t\t        \t<span class=\"g-gridcontent-item-text2\">";
            // line 23
            echo twig_escape_filter($this->env, $this->getAttribute($context["gridcontentitem"], "text2", array()));
            echo "</span>
\t\t\t\t        \t";
            // line 24
            if ($this->getAttribute($context["gridcontentitem"], "desc", array())) {
                echo "<div class=\"g-gridcontent-item-desc\">";
                echo $this->getAttribute($context["gridcontentitem"], "desc", array());
                echo "</div>";
            }
            // line 25
            echo "\t\t\t\t        ";
            if ($this->getAttribute($context["gridcontentitem"], "link", array())) {
                echo "</a>";
            }
            echo "\t\t\t    \t\t
\t\t\t    \t</div>
\t\t\t    </div>\t
\t\t\t";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['gridcontentitem'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 28
        echo " 
\t\t</div>

\t</div>\t

";
    }

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  126 => 28,  113 => 25,  107 => 24,  103 => 23,  99 => 22,  94 => 21,  88 => 20,  84 => 19,  81 => 18,  77 => 17,  73 => 16,  68 => 13,  58 => 12,  48 => 9,  40 => 8,  34 => 5,  31 => 4,  28 => 3,  11 => 1,);
    }
}
/* {% extends '@nucleus/partials/particle.html.twig' %}*/
/* */
/* {% block particle %}*/
/* */
/* 	<div class="g-gridcontent {{ particle.class|e }}">*/
/* 		<div class="g-grid">*/
/* 			<div class="g-block g-gridcontent-title-desc">*/
/* 				{% if particle.title %}<h2 class="g-title">{{ particle.title|raw }}</h2>{% endif %}	*/
/* 				{% if particle.desc %}<div class="g-gridcontent-desc">{{ particle.desc|raw }}</div>{% endif %}			*/
/* 			</div>*/
/* 			<div class="g-block g-gridcontent-readmore">*/
/* 				{% if particle.readmore %}<a href="{{ particle.readmorelink|e }}" class="button {{ particle.readmoreclass|e }}">{{ particle.readmore|raw }}</a>{% endif %}*/
/* 			</div>			*/
/* 		</div>*/
/* 		*/
/* 		<div class="g-gridcontent-wrapper {{ particle.cols|e }}">*/
/* 			{% for gridcontentitem in particle.gridcontentitems %}*/
/* 			    <div class="g-gridcontent-item">*/
/* 			    	<div class="g-gridcontent-item-wrapper {{ gridcontentitem.textstyle|e }}">*/
/* 				       {% if gridcontentitem.link %}<a class="g-gridcontent-link" href="{{ gridcontentitem.link|e }}">{% endif %}*/
/* 				        	<i class="{{ gridcontentitem.icon|e }}"></i>*/
/* 				        	<span class="g-gridcontent-item-text1">{{ gridcontentitem.text1|e }}</span>*/
/* 				        	<span class="g-gridcontent-item-text2">{{ gridcontentitem.text2|e }}</span>*/
/* 				        	{% if gridcontentitem.desc %}<div class="g-gridcontent-item-desc">{{ gridcontentitem.desc|raw }}</div>{% endif %}*/
/* 				        {% if gridcontentitem.link %}</a>{% endif %}			    		*/
/* 			    	</div>*/
/* 			    </div>	*/
/* 			{% endfor %} */
/* 		</div>*/
/* */
/* 	</div>	*/
/* */
/* {% endblock %}*/
