protected function doDisplay(array $context, array $blocks = array())
 {
     // line 1
     echo "<section class=\"section-text\">\n  <div class=\"container\">\n    ";
     // line 3
     echo $this->getAttribute(isset($context["page"]) ? $context["page"] : null, "content", array());
     echo "\n    ";
     // line 4
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(twig_array_batch($this->getAttribute($this->getAttribute(isset($context["page"]) ? $context["page"] : null, "header", array()), "text", array()), 2));
     foreach ($context['_seq'] as $context["_key"] => $context["row"]) {
         // line 5
         echo "    <div class=\"row p-y-lg\">\n      ";
         // line 6
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable($context["row"]);
         $context['loop'] = array('parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true);
         if (is_array($context['_seq']) || is_object($context['_seq']) && $context['_seq'] instanceof Countable) {
             $length = count($context['_seq']);
             $context['loop']['revindex0'] = $length - 1;
             $context['loop']['revindex'] = $length;
             $context['loop']['length'] = $length;
             $context['loop']['last'] = 1 === $length;
         }
         foreach ($context['_seq'] as $context["_key"] => $context["text"]) {
             // line 7
             echo "      <div class=\"col-md-5 ";
             if (!$this->getAttribute($context["loop"], "first", array())) {
                 echo "col-md-offset-2 separator-x";
             }
             echo "\">\n        <p class=\"wp ";
             // line 8
             if ($this->getAttribute($context["text"], "css_suffix", array())) {
                 echo $this->getAttribute($context["text"], "css_suffix", array());
             }
             echo "\">\n          ";
             // line 9
             echo $this->getAttribute($context["text"], "content", array());
             echo "\n        </p>\n      </div>\n      ";
             ++$context['loop']['index0'];
             ++$context['loop']['index'];
             $context['loop']['first'] = false;
             if (isset($context['loop']['length'])) {
                 --$context['loop']['revindex0'];
                 --$context['loop']['revindex'];
                 $context['loop']['last'] = 0 === $context['loop']['revindex0'];
             }
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['text'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 13
         echo "    </div>\n    ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['row'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 15
     echo "  </div>\n</div>\n</section>\n";
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     // line 1
     echo "<section class=\"wrapper style3 container special\">\n\n    <header class=\"major\">\n        <h2>";
     // line 4
     echo $this->getAttribute($this->getAttribute(isset($context["page"]) ? $context["page"] : null, "header", array()), "title", array());
     echo "</h2>\n    </header>\n\n    ";
     // line 7
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(twig_array_batch($this->getAttribute($this->getAttribute(isset($context["page"]) ? $context["page"] : null, "header", array()), "portfolio", array()), 2));
     foreach ($context['_seq'] as $context["_key"] => $context["row"]) {
         // line 8
         echo "        <div class=\"row\">\n            ";
         // line 9
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable($context["row"]);
         foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
             // line 10
             echo "                <div class=\"6u 12u(narrower)\">\n                    <section>\n                        <a href=\"";
             // line 12
             echo $this->getAttribute($context["item"], "image_link", array());
             echo "\" class=\"image featured\"><img src=\"";
             echo $this->getAttribute($this->getAttribute($this->getAttribute(isset($context["page"]) ? $context["page"] : null, "media", array()), $this->getAttribute($context["item"], "image", array()), array(), "array"), "url", array());
             echo "\" alt=\"\" /></a>\n                        <header>\n                            <h3>";
             // line 14
             echo $this->getAttribute($context["item"], "title", array());
             echo "</h3>\n                        </header>\n                        <p>";
             // line 16
             echo $this->getAttribute($context["item"], "text", array());
             echo "</p>\n                    </section>\n                </div>\n            ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 20
         echo "        </div>\n    ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['row'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 22
     echo "\n    <footer class=\"major\">\n        <ul class=\"buttons\">\n            ";
     // line 25
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable($this->getAttribute($this->getAttribute(isset($context["page"]) ? $context["page"] : null, "header", array()), "buttons", array()));
     foreach ($context['_seq'] as $context["_key"] => $context["button"]) {
         // line 26
         echo "                <li><a href=\"";
         echo $this->getAttribute($context["button"], "url", array());
         echo "\" class=\"button\">";
         echo $this->getAttribute($context["button"], "text", array());
         echo "</a></li>\n            ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['button'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 28
     echo "        </ul>\n    </footer>\n\n</section>    ";
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     // line 1
     echo "<section class=\"dark-bg text-center section-padding contact-wrap\" id=\"get_in_touch\">\n  <a href=\"#top\" class=\"up-btn\"><i class=\"fa fa-chevron-up\"></i></a>\n  <div class=\"container\">\n    <div class=\"row\">\n      <div class=\"col-md-12\">\n        ";
     // line 6
     echo $this->getAttribute(isset($context["page"]) ? $context["page"] : null, "content", array());
     echo "\n      </div>\n    </div>\n\n    ";
     // line 10
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(twig_array_batch($this->getAttribute($this->getAttribute(isset($context["page"]) ? $context["page"] : null, "header", array()), "boxes", array()), 3));
     foreach ($context['_seq'] as $context["_key"] => $context["row"]) {
         // line 11
         echo "    <div class=\"row contact-details\">\n      ";
         // line 12
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable($context["row"]);
         foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
             // line 13
             echo "      <div class=\"col-md-4\">\n        <div class=\"light-box box-hover\">\n          <h2><i class=\"fa fa-";
             // line 15
             echo $this->getAttribute($context["item"], "icon", array());
             echo "\"></i><span>";
             echo $this->getAttribute($context["item"], "title", array());
             echo "</span></h2>\n          <p>";
             // line 16
             echo $this->getAttribute($context["item"], "description", array());
             echo "</p>\n        </div>\n      </div>\n      ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 20
         echo "    </div>\n    ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['row'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 22
     echo "\n    <div class=\"row\">\n      <div class=\"col-md-12\">\n        <ul class=\"social-buttons\">\n          ";
     // line 26
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable($this->getAttribute($this->getAttribute(isset($context["page"]) ? $context["page"] : null, "header", array()), "social", array()));
     foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
         // line 27
         echo "          <li><a href=\"";
         echo $this->getAttribute($context["item"], "url", array());
         echo "\" class=\"social-btn\"><i class=\"fa fa-";
         echo $this->getAttribute($context["item"], "icon", array());
         echo "\"></i></a></li>\n          ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 29
     echo "        </ul>\n      </div>\n    </div>\n  </div>\n</section>\n";
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     // line 1
     echo "<section class=\"portfolio text-center section-padding\" id=\"portfolio\">\n  <div class=\"container\">\n    <div class=\"row\">\n      ";
     // line 4
     echo $this->getAttribute(isset($context["page"]) ? $context["page"] : null, "content", array());
     echo "\n      <h1> ";
     // line 5
     echo $this->getAttribute(isset($context["page"]) ? $context["page"] : null, "title", array());
     echo " </h1>\n      <div id=\"portfolioSlider\">\n        <ul class=\"slides\">\n          ";
     // line 8
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(twig_array_batch($this->getAttribute($this->getAttribute(isset($context["page"]) ? $context["page"] : null, "header", array()), "portfolio", array()), 3));
     foreach ($context['_seq'] as $context["_key"] => $context["row"]) {
         // line 9
         echo "          <li>\n            ";
         // line 10
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable($context["row"]);
         foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
             // line 11
             echo "            <div class=\"col-md-4 wp4 ";
             if ($this->getAttribute($context["item"], "delay", array())) {
                 echo "delay-";
                 echo $this->getAttribute($context["item"], "delay", array());
                 echo "s";
             }
             echo "\">\n              <div class=\"overlay-effect effects clearfix\">\n                <div class=\"img\">\n                  <img src=\"";
             // line 14
             echo $this->getAttribute($this->getAttribute($this->getAttribute(isset($context["page"]) ? $context["page"] : null, "media", array()), $this->getAttribute($context["item"], "img", array()), array(), "array"), "url", array());
             echo "\" alt=\"Portfolio Item\">\n                  <div class=\"overlay\">\n                    <a href=\"";
             // line 16
             echo $this->getAttribute($context["item"], "img_url", array());
             echo "\" class=\"expand\"><i class=\"fa fa-search\"></i><br>";
             echo $this->getAttribute($context["item"], "img_text", array());
             echo "</a>\n                    <a class=\"close-overlay hidden\">x</a>\n                  </div>\n                </div>\n              </div>\n              <h2>";
             // line 21
             echo $this->getAttribute($context["item"], "title", array());
             echo "</h2>\n              <p>";
             // line 22
             echo $this->getAttribute($context["item"], "content", array());
             echo "</p>\n            </div>\n            ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 25
         echo "          </li>\n          ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['row'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 27
     echo "        </ul>\n      </div>\n    </div>\n  </div>\n</section>\n";
 }
 public function block_body($context, array $blocks = array())
 {
     $__internal_f086e18a5f37f4999c5c7eb13a05784a61b22ac25a620d81896ba18769d3b232 = $this->env->getExtension("native_profiler");
     $__internal_f086e18a5f37f4999c5c7eb13a05784a61b22ac25a620d81896ba18769d3b232->enter($__internal_f086e18a5f37f4999c5c7eb13a05784a61b22ac25a620d81896ba18769d3b232_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "body"));
     // line 4
     echo "    <h1>Project list</h1>\n\n\n    ";
     // line 7
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(twig_array_batch(isset($context["projects"]) ? $context["projects"] : $this->getContext($context, "projects"), 3));
     foreach ($context['_seq'] as $context["_key"] => $context["row"]) {
         // line 8
         echo "        <div class=\"row\" align=\"center\">\n            ";
         // line 9
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable($context["row"]);
         foreach ($context['_seq'] as $context["_key"] => $context["project"]) {
             // line 10
             echo "                <a href=\"";
             echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("projects_show", array("id" => $this->getAttribute($context["project"], "id", array()))), "html", null, true);
             echo "\">\n                    <div class=\"col-md-4 project\">\n                        <br>\n                        <br>\n                        <br>\n                        <br>\n                        <br>\n                        <h2>";
             // line 17
             echo twig_escape_filter($this->env, $this->getAttribute($context["project"], "name", array()), "html", null, true);
             echo "</h2>\n                    </div>\n                </a>\n            ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['project'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 21
         echo "        </div>\n    ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['row'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 23
     echo "\n";
     $__internal_f086e18a5f37f4999c5c7eb13a05784a61b22ac25a620d81896ba18769d3b232->leave($__internal_f086e18a5f37f4999c5c7eb13a05784a61b22ac25a620d81896ba18769d3b232_prof);
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     // line 1
     echo "<section id=\"news\" class=\"section-news\">\n  <div class=\"container\">\n    <h3 class=\"sr-only\">";
     // line 3
     echo $this->getAttribute($this->getAttribute(isset($context["page"]) ? $context["page"] : null, "header", array()), "title", array());
     echo "</h3>\n    <div class=\"bg-inverse\">\n      ";
     // line 5
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(twig_array_batch($this->getAttribute($this->getAttribute(isset($context["page"]) ? $context["page"] : null, "header", array()), "news", array()), 2));
     $context['loop'] = array('parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true);
     if (is_array($context['_seq']) || is_object($context['_seq']) && $context['_seq'] instanceof Countable) {
         $length = count($context['_seq']);
         $context['loop']['revindex0'] = $length - 1;
         $context['loop']['revindex'] = $length;
         $context['loop']['length'] = $length;
         $context['loop']['last'] = 1 === $length;
     }
     foreach ($context['_seq'] as $context["_key"] => $context["row"]) {
         // line 6
         echo "      ";
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable($context["row"]);
         $context['loop'] = array('parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true);
         if (is_array($context['_seq']) || is_object($context['_seq']) && $context['_seq'] instanceof Countable) {
             $length = count($context['_seq']);
             $context['loop']['revindex0'] = $length - 1;
             $context['loop']['revindex'] = $length;
             $context['loop']['length'] = $length;
             $context['loop']['last'] = 1 === $length;
         }
         foreach ($context['_seq'] as $context["_key"] => $context["news"]) {
             // line 7
             echo "      <div class=\"row\">\n        ";
             // line 8
             if ($this->getAttribute($context["news"], "image", array())) {
                 // line 9
                 echo "        <div class=\"";
                 if ($this->getAttribute($context["loop"], "first", array())) {
                     echo "col-md-6 p-r-0";
                 } else {
                     echo "col-md-6 col-md-push-6 p-l-0";
                 }
                 echo "\">\n          <figure class=\"has-light-mask m-b-0 image-effect\">\n            <img src=\"";
                 // line 11
                 echo $this->getAttribute($this->getAttribute($this->getAttribute(isset($context["page"]) ? $context["page"] : null, "media", array()), $this->getAttribute($context["news"], "image", array()), array(), "array"), "url", array());
                 echo "\" alt=\"Article thumbnail\" class=\"img-responsive\">\n          </figure>\n        </div>\n        ";
             }
             // line 15
             echo "        <div class=\"";
             if ($this->getAttribute($context["loop"], "first", array())) {
                 echo "col-md-6 p-l-0";
             } else {
                 echo "col-md-6 col-md-pull-6 p-r-0";
             }
             echo "\">\n          <article class=\"center-block\">\n            ";
             // line 17
             if ($this->getAttribute($context["news"], "label", array())) {
                 // line 18
                 echo "            <span class=\"label label-info\">";
                 echo $this->getAttribute($context["news"], "label", array());
                 echo "</span>\n            <br>\n            ";
             }
             // line 21
             echo "            ";
             if ($this->getAttribute($context["news"], "title", array())) {
                 // line 22
                 echo "            <h5><a href=\"";
                 echo $this->getAttribute($context["news"], "url", array());
                 echo "\">";
                 echo $this->getAttribute($context["news"], "title", array());
                 echo " <span class=\"icon-arrow-right\"></span></a></h5>\n            ";
             }
             // line 24
             echo "            <p class=\"m-b-0\">\n              ";
             // line 25
             if ($this->getAttribute($context["news"], "tags", array())) {
                 // line 26
                 echo "              <a href=\"#\"><span class=\"label label-default text-uppercase\"><span class=\"icon-tag\"></span>";
                 $context['_parent'] = $context;
                 $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["news"], "tags", array()));
                 foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
                     echo $context["item"];
                     echo " ";
                 }
                 $_parent = $context['_parent'];
                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
                 $context = array_intersect_key($context, $_parent) + $_parent;
                 echo "</span></a>\n              ";
             }
             // line 28
             echo "              ";
             if ($this->getAttribute($context["news"], "time", array())) {
                 // line 29
                 echo "              <a href=\"#\"><span class=\"label label-default text-uppercase\"><span class=\"icon-time\"></span> ";
                 echo $this->getAttribute($context["news"], "time", array());
                 echo "</span></a>\n              ";
             }
             // line 31
             echo "            </p>\n          </article>\n        </div>\n      </div>\n      ";
             ++$context['loop']['index0'];
             ++$context['loop']['index'];
             $context['loop']['first'] = false;
             if (isset($context['loop']['length'])) {
                 --$context['loop']['revindex0'];
                 --$context['loop']['revindex'];
                 $context['loop']['last'] = 0 === $context['loop']['revindex0'];
             }
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['news'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 36
         echo "      ";
         ++$context['loop']['index0'];
         ++$context['loop']['index'];
         $context['loop']['first'] = false;
         if (isset($context['loop']['length'])) {
             --$context['loop']['revindex0'];
             --$context['loop']['revindex'];
             $context['loop']['last'] = 0 === $context['loop']['revindex0'];
         }
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['row'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 37
     echo "    </div>\n  </div>\n</section>\n";
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     // line 1
     echo "<section class=\"team text-center section-padding\" id=\"team\">\n  <div class=\"container\">\n    <div class=\"row\">\n      <div class=\"col-md-12\">\n        ";
     // line 5
     echo $this->getAttribute(isset($context["page"]) ? $context["page"] : null, "content", array());
     echo "\n      </div>\n    </div>\n    <div class=\"row\">\n      <div class=\"team-wrapper\">\n        <div id=\"teamSlider\">\n          <ul class=\"slides\">\n            ";
     // line 12
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(twig_array_batch($this->getAttribute($this->getAttribute(isset($context["page"]) ? $context["page"] : null, "header", array()), "team", array()), 3));
     foreach ($context['_seq'] as $context["_key"] => $context["row"]) {
         // line 13
         echo "            <li>\n              ";
         // line 14
         $context['_parent'] = $context;
         $context['_seq'] = twig_ensure_traversable($context["row"]);
         foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
             // line 15
             echo "              <div class=\"col-md-4 wp5 ";
             if ($this->getAttribute($context["item"], "delay", array())) {
                 echo "delay-";
                 echo $this->getAttribute($context["item"], "delay", array());
                 echo "s";
             }
             echo "\">\n                <img src=\"";
             // line 16
             echo $this->getAttribute($this->getAttribute($this->getAttribute(isset($context["page"]) ? $context["page"] : null, "media", array()), $this->getAttribute($context["item"], "img", array()), array(), "array"), "url", array());
             echo "\" alt=\"Team\">\n                <h2>";
             // line 17
             echo $this->getAttribute($context["item"], "title", array());
             echo "</h2>\n                <p>";
             // line 18
             echo $this->getAttribute($context["item"], "content", array());
             echo "</p>\n\n                <div class=\"social\">\n                  <ul class=\"social-buttons\">\n                    ";
             // line 22
             $context['_parent'] = $context;
             $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["item"], "social", array()));
             foreach ($context['_seq'] as $context["_key"] => $context["icon"]) {
                 // line 23
                 echo "                    <li><a href=\"";
                 echo $this->getAttribute($context["icon"], "url", array());
                 echo "\" class=\"social-btn\"><i class=\"fa fa-";
                 echo $this->getAttribute($context["icon"], "icon", array());
                 echo "\"></i></a></li>\n                    ";
             }
             $_parent = $context['_parent'];
             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['icon'], $context['_parent'], $context['loop']);
             $context = array_intersect_key($context, $_parent) + $_parent;
             // line 25
             echo "                  </ul>\n                </div>\n\n              </div>\n              ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 30
         echo "            </li>\n            ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['row'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 32
     echo "          </ul>\n        </div>\n      </div>\n    </div>\n  </div>\n</section>\n";
 }