<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;

/* _index */
class __TwigTemplate_72e9adaa6b3739d2010fb462d473414349de1a02509140026804fff7f315c833 extends Template
{
    private $source;
    private $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->blocks = [
            'content' => [$this, 'block_content'],
        ];
    }

    protected function doGetParent(array $context)
    {
        // line 1
        return "layouts/_main.twig";
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $macros = $this->macros;
        craft\helpers\Template::beginProfile("template", "_index");
        $this->parent = $this->loadTemplate("layouts/_main.twig", "_index", 1);
        $this->parent->display($context, array_merge($this->blocks, $blocks));
        craft\helpers\Template::endProfile("template", "_index");
    }

    // line 3
    public function block_content($context, array $blocks = [])
    {
        $macros = $this->macros;
        craft\helpers\Template::beginProfile("block", "content");
        // line 4
        echo "
    <div class=\"hero\">
      <div class=\"hero-slide\">

        ";
        // line 8
        $context["imgA"] = craft\helpers\Template::attribute($this->env, $this->source, craft\helpers\Template::attribute($this->env, $this->source, (isset($context["entry"]) || array_key_exists("entry", $context) ? $context["entry"] : (function () { throw new RuntimeError('Variable "entry" does not exist.', 8, $this->source); })()), "heroImages", []), "all", [], "method");
        // line 9
        echo "
        ";
        // line 10
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["imgA"]) || array_key_exists("imgA", $context) ? $context["imgA"] : (function () { throw new RuntimeError('Variable "imgA" does not exist.', 10, $this->source); })()));
        foreach ($context['_seq'] as $context["_key"] => $context["img"]) {
            // line 11
            echo "          ";
            $context["imgUrl"] = craft\helpers\Template::attribute($this->env, $this->source, $context["img"], "getUrl", [], "method");
            // line 12
            echo "            <div class=\"img overlay\" style=\"background-image: url('";
            echo twig_escape_filter($this->env, (isset($context["imgUrl"]) || array_key_exists("imgUrl", $context) ? $context["imgUrl"] : (function () { throw new RuntimeError('Variable "imgUrl" does not exist.', 12, $this->source); })()), "html", null, true);
            echo "')\">
            </div>
        ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['img'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 15
        echo "      </div>

      <div class=\"container\">
        <div class=\"row justify-content-center align-items-center\">
          <div class=\"col-lg-9 text-center\">
            <h1 class=\"heading\" data-aos=\"fade-up\">
              ";
        // line 21
        echo twig_escape_filter($this->env, craft\helpers\Template::attribute($this->env, $this->source, (isset($context["entry"]) || array_key_exists("entry", $context) ? $context["entry"] : (function () { throw new RuntimeError('Variable "entry" does not exist.', 21, $this->source); })()), "homeTitle", []), "html", null, true);
        echo "
            </h1>
            <form
              action=\"#\"
              class=\"narrow-w form-search d-flex align-items-stretch mb-3\"
              data-aos=\"fade-up\"
              data-aos-delay=\"200\"
            >
              <input
                type=\"text\"
                class=\"form-control px-4\"
                placeholder=\"Your ZIP code or City. e.g. New York\"
              />
              <button type=\"submit\" class=\"btn btn-primary\">Search</button>
            </form>
          </div>
        </div>
      </div>
    </div>

    
    ";
        // line 42
        $this->loadTemplate("_index/_property", "_index", 42)->display($context);
        // line 43
        echo "
    ";
        // line 44
        $this->loadTemplate("_index/_services", "_index", 44)->display($context);
        // line 45
        echo "    
    ";
        // line 46
        $this->loadTemplate("_index/_contact", "_index", 46)->display($context);
        // line 47
        echo "
";
        craft\helpers\Template::endProfile("block", "content");
    }

    public function getTemplateName()
    {
        return "_index";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  125 => 47,  123 => 46,  120 => 45,  118 => 44,  115 => 43,  113 => 42,  89 => 21,  81 => 15,  71 => 12,  68 => 11,  64 => 10,  61 => 9,  59 => 8,  53 => 4,  48 => 3,  35 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("{% extends \"layouts/_main.twig\" %}

{% block content %}

    <div class=\"hero\">
      <div class=\"hero-slide\">

        {% set imgA = entry.heroImages.all() %}

        {% for img in imgA %}
          {% set imgUrl = img.getUrl() %}
            <div class=\"img overlay\" style=\"background-image: url('{{ imgUrl}}')\">
            </div>
        {% endfor %}
      </div>

      <div class=\"container\">
        <div class=\"row justify-content-center align-items-center\">
          <div class=\"col-lg-9 text-center\">
            <h1 class=\"heading\" data-aos=\"fade-up\">
              {{ entry.homeTitle}}
            </h1>
            <form
              action=\"#\"
              class=\"narrow-w form-search d-flex align-items-stretch mb-3\"
              data-aos=\"fade-up\"
              data-aos-delay=\"200\"
            >
              <input
                type=\"text\"
                class=\"form-control px-4\"
                placeholder=\"Your ZIP code or City. e.g. New York\"
              />
              <button type=\"submit\" class=\"btn btn-primary\">Search</button>
            </form>
          </div>
        </div>
      </div>
    </div>

    
    {% include '_index/_property' %}

    {% include '_index/_services' %}
    
    {% include '_index/_contact' %}

{% endblock %}", "_index", "/home/addons/atweb.space/sub/craft-demo/cms/templates/_index.html");
    }
}
