<header{% if editmode %} class="editmode--header" %}{% endif %}>
{% if not document is defined or not document %}
{% set document = pimcore_document(1) %}
{% endif %}
{% set mainNavigation = app_navigation_data_links(document, pimcore_document(1)) %}
<div class="inner">
<div class="row between-lg between-md between-sm between-xs middle-lg middle-md middle-sm middle-xs">
<div class="col-lg-3 col-md-3 col-sm-3 col-xs-5">
<a href="/">
{{ source("@torq_static/img/logo.svg") }}
</a>
</div>
<div class="hamburger-container col-lg-9 col-md-9 col-sm-9 col-xs-7 row middle-lg middle-md middle-sm middle-xs">
<nav class="nav">
<ul>
{% for page in mainNavigation %} {% set navigationDocument = page.getDocument() %}
{% if page.isVisible() %}
{% if page.hasPages() %}
<li style="margin-bottom:0;">
<div tabindex="0" class="dropdown" style="margin-left:0;">
<button class="dropbtn">
{{ page.getTitle() }}
<i style="display: block" class="fa fa-caret-down"></i>
</button>
<div tabindex="1" class="dropdown-content">
<div class="row">
<div class="column">
<div class="padding-2em cta-box text-align-center border-radius-10">
<h3 style="margin-bottom: 0; color: #fff;">Ready to get started?</h3>
<a href="{% if torqService is defined and not torqService.getShowForm() %}/contact{% else %}#contact{% endif %}" class="btn light--ghost text-align-center" style="align-self: flex-start">Talk to an expert</a>
</div>
</div>
{% set navigationDocumentChildPages = page.getPages() %}
{% for navigationDocumentChildPage in navigationDocumentChildPages %}
{% if navigationDocumentChildPage.isVisible() %}
<div class="column">
{% if navigationDocumentChildPage.getUri() is not empty %}
<a href="{{ navigationDocumentChildPage.getUri() }}">
<h3>{{ navigationDocumentChildPage.getLabel() }}</h3>
</a>
{% else %}
<h3>{{ navigationDocumentChildPage.getLabel() }}</h3>
{% endif %}
{% if navigationDocumentChildPage.hasPages() %}
<ul>
{% for navigationDocumentChildChildPage in navigationDocumentChildPage.getPages() %}
{% if navigationDocumentChildChildPage.isVisible() %}
<li>
<a href="{{ navigationDocumentChildChildPage.getUri() }}">
{{ navigationDocumentChildChildPage.getLabel() }}
</a>
</li>
{% endif %}
{% endfor %}
</ul>
{% endif %}
</div>
{% endif %}
{% endfor %}
</div>
</div>
</div>
</li>
{% else %}
<li style="margin-bottom: 12px;">
<a href="{{ page.getUri() }}">{{ page.getLabel() }}</a>
</li>
{% endif %}
{% endif %}
{% endfor %}
</ul>
</nav>
<div class="theme-toggle" style="display: none;">
<button class="light-theme-button">
<i class="fa fa-sun-o" title="Light Theme"></i>
</button>
<button class="dark-theme-button active">
<i class="fa fa-moon-o" title="Dark Theme"></i>
</button>
</div>
<!-- MOBILE HAMBURGER ICON -->
<div class="hamburger-icon" id="icon">
<div class="icon-1" id="a"></div>
<div class="icon-2" id="b"></div>
<div class="icon-3" id="c"></div>
<div class="clear">
</div>
<!-- / MOBILE HAMBURGER ICON -->
</div>
</div>
</div>
</header>
</header>