{#
/**
 * @file
 * Theme implementation to display a single page.
 *
 * The doctype, html, head and body tags are not in this template. Instead they
 * can be found in the html.html.twig template normally located in the
 * core/modules/system directory.
 *
 * Available variables:
 *
 * General utility variables:
 * - base_path: The base URL path of the Drupal installation. Will usually be
 *   "/" unless you have installed Drupal in a sub-directory.
 * - is_front: A flag indicating if the current page is the front page.
 * - logged_in: A flag indicating if the user is registered and signed in.
 * - is_admin: A flag indicating if the user has permission to access
 *   administration pages.
 *
 * Site identity:
 * - front_page: The URL of the front page. Use this instead of base_path when
 *   linking to the front page. This includes the language domain or prefix.
 *
 * Page content (in order of occurrence in the default page.html.twig):
 * - node: Fully loaded node, if there is an automatically-loaded node
 *   associated with the page and the node ID is the second argument in the
 *   page's path (e.g. node/12345 and node/12345/revisions, but not
 *   comment/reply/12345).
 *
 * Regions:
 * - page.page_top: System region.
 * - page.topreg: Items for the top region.
 * - page.header: Items for the header region.
 * - page.primary_menu: Items for the primary menu region.
 * - page.secondary_menu: Items for the secondary menu region.
 * - page.breadcrumb: Items for the breadcrumb region.
 * - page.user1: Items for the first featured upper region.
 * - page.user2: Items for the second featured upper region.
 * - page.user3: Items for the third featured upper region.
 * - page.user4: Items for the fourth featured upper region.
 * - page.sidebar_first: Items for the first sidebar.
 * - page.sidebar_second: Items for the second sidebar.
 * - page.help: Items for the help region.
 * - page.highlighted: Items for the highlighted region.
 * - page.content_above: Items for the content above region.
 * - page.content: The main content of the current page.
 * - page.content_below: Items for the content below region.
 * - page.user5: Items for the first featured bottom region.
 * - page.user6: Items for the second featured bottom region.
 * - page.user7: Items for the third featured bottom region.
 * - page.user8: Items for the fourth featured bottom region.
 * - page.footer: Items for the footer region.
 * - page.footer_right: Items for the footer right region.
 * - page.page_bottom: System region.
 *
 * @see template_preprocess_page()
 * @see html.html.twig
 */
#}
<div id="pgwp">
<div id="top_bg">
<div class="sizer0 clearfix"{% if wrapper %} style="max-width: {{ wrapper }}"{% endif %}>
<div id="top_left">
<div id="top_right">
<div id="headimg">

<header id="header" class="clearfix">
{% if page.topreg %}
  {{ page.topreg }}
{% endif %}
{% if page.header %}
  {{ page.header }}
{% endif %}
{% if page.primary_menu %}
<div id="menu">
<div class="menuband clearfix">
  {{ page.primary_menu }}
</div>
</div>
{% endif %}
</header>

</div></div></div></div></div><!-- Header -->

<div id="body_bg">
<div class="sizer0 clearfix"{% if wrapper %} style="max-width: {{ wrapper }}"{% endif %}>
<div id="body_left">
<div id="body_right" class="clearfix">

{% if slideshow_display %}
{% if is_front or slideshow_all %}
{% include '@zeropoint/includes/slider.html.twig' %}
{% endif %}
{% endif %}

{% if page.secondary_menu %}
<div id="submenu">
  {{ page.secondary_menu }}
</div>
{% endif %}

<div class="clearfix">{% if is_front %}{{ devlk|raw }}{% endif %}
{% if breadcrumb_display %}
<div id="breadcrumb" class="clearfix">{{ page.breadcrumb }}</div>
{% endif %}
</div>

{% if page.user1 or page.user2 or page.user3 or page.user4 %}
<div id="section1" class="sections pure-g">
{% if page.user1 %}<div class="{{ section_class_1 }}"><div class="u1">{{ page.user1 }}</div></div>{% endif %}
{% if page.user2 %}<div class="{{ section_class_1 }}"><div class="u2 {{ divider }}">{{ page.user2 }}</div></div>{% endif %}
{% if page.user3 %}<div class="{{ section_class_1 }}"><div class="u3 {{ divider }}">{{ page.user3 }}</div></div>{% endif %}
{% if page.user4 %}<div class="{{ section_class_1 }}"><div class="u4 {{ divider }}">{{ page.user4 }}</div></div>{% endif %}
</div>
{% endif %}

<div id="middlecontainer" class="pure-g">

{% if page.sidebar_first %}
<div class="{{ first_width }}">
  <aside id="sidebar-left">{{ page.sidebar_first }}</aside>
</div>
{% endif %}

  <div class="{{ cont_class }}">
    <main id="main">
      {{ page.help }}
      {% if page.highlighted %}
        <div id="mission">{{ page.highlighted }}</div>
      {% endif %}
      {% if page.content_above %}
        <div id="content-above">{{ page.content_above }}</div>
      {% endif %}
      <a id="main-content" tabindex="-1"></a>{# link is in html.html.twig #}
      <div class="layout-content">{{ page.content }}</div>{# /.layout-content #}
      {% if page.content_below %}
        <div id="content-below">{{ page.content_below }}</div>
      {% endif %}
    </main>
  </div>

{% if page.sidebar_second %}
<div class="{{ second_width }}">
  <aside id="sidebar-right">{{ page.sidebar_second }}</aside>
</div>
{% endif %}

</div>

{% if page.user5 or page.user6 or page.user7 or page.user8 %}
<div id="section2" class="sections pure-g">
{% if page.user5 %}<div class="{{ section_class_2 }}"><div class="u5">{{ page.user5 }}</div></div>{% endif %}
{% if page.user6 %}<div class="{{ section_class_2 }}"><div class="u6 {{ divider }}">{{ page.user6 }}</div></div>{% endif %}
{% if page.user7 %}<div class="{{ section_class_2 }}"><div class="u7 {{ divider }}">{{ page.user7 }}</div></div>{% endif %}
{% if page.user8 %}<div class="{{ section_class_2 }}"><div class="u8 {{ divider }}">{{ page.user8 }}</div></div>{% endif %}
</div>
{% endif %}

{% if page.tertiary_menu %}
<div id="menu2">
  {{ page.tertiary_menu }}
</div>
{% endif %}

</div></div></div></div><!-- Middle page -->

<div id="bottom_bg">
<div class="sizer0 clearfix"{% if wrapper %} style="max-width: {{ wrapper }}"{% endif %}>
<div id="bottom_left">
<div id="bottom_right">

<div id="footer" class="pure-g" role="contentinfo">
<div class="pure-u-1 pure-u-md-1-5">
{% if social_links_display %}
{% include '@zeropoint/includes/social_links.html.twig' %}
{% endif %}
</div>
<div class="pure-u-1 pure-u-md-3-5">{% if page.footer %}{{ page.footer }}{% endif %}</div>
<div class="pure-u-1 pure-u-md-1-5">{% if page.footer_right %}{{ page.footer_right }}{% endif %}</div>
<div class="footer-below">{% if page.footer_below %}{{ page.footer_below }}{% endif %}</div>
</div>

<div id="brand"></div>

</div></div></div></div></div>
