<!DOCTYPE html>
<html lang="<?= $this->language ?>"<?php if ($this->isRTL): ?> dir="rtl"<?php endif; ?>>
<head>
<?php $this->block('head'); ?>
<meta charset="<?= $this->charset ?>">
<title><?= $this->title ?></title>
<base href="<?= $this->base ?>">
<?php $this->block('meta'); ?>
<meta name="robots" content="<?= $this->robots ?>">
<meta name="description" content="<?= $this->description ?>">
<meta name="generator" content="Contao Open Source CMS">
<?php $this->endblock(); ?>
<?= $this->viewport ?>
<?= $this->framework ?>
<?= $this->stylesheets ?>
<?= $this->mooScripts ?>
<?= $this->head ?>
<?= $this->encoreStylesheets; ?>
<?= $this->encoreHeadScripts; ?>
<?php $this->endblock(); ?>
</head>
<body id="top"<?php if ($this->class): ?> class="<?= $this->class ?>"<?php endif; ?><?php if ($this->onload): ?> onload="<?= $this->onload ?>"<?php endif; ?> itemscope itemtype="http://schema.org/WebPage">
<?php if ('UA-XXXXX-X' != $GoogleAnalyticsId && !BE_USER_LOGGED_IN && !$this->hasAuthenticatedBackendUser()): ?>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WJQ4TCT"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<?php endif; ?>
<?php $this->block('body'); ?>
<?php $this->sections('top'); ?>
<div id="wrapper">
<?php $this->block('header'); ?>
<?php if ($this->header): ?>
<!-- <header id="header" data-sticky-class="is-sticky" data-sticky-wrap="true" DISABLED-data-sticky-for="779" data-margin-top="0"> -->
<header id="header">
<div class="inside">
<?= $this->header ?>
</div>
</header>
<?php endif; ?>
<?php $this->endblock(); ?>
<?php $this->sections('before'); ?>
<?php $this->block('container'); ?>
<div id="container">
<?php $this->block('main'); ?>
<main id="main">
<div class="inside">
<?= $this->main ?>
</div>
<?php $this->sections('main'); ?>
</main>
<?php $this->endblock(); ?>
<?php $this->block('left'); ?>
<?php if ($this->left): ?>
<aside id="left">
<div class="inside">
<?= $this->left ?>
</div>
</aside>
<?php endif; ?>
<?php $this->endblock(); ?>
<?php $this->block('right'); ?>
<?php if ($this->right): ?>
<aside id="right">
<div class="inside">
<?= $this->right ?>
</div>
</aside>
<?php endif; ?>
<?php $this->endblock(); ?>
</div>
<?php $this->endblock(); ?>
<?php $this->sections('after'); ?>
<?php $this->block('footer'); ?>
<?php if ($this->footer): ?>
<footer id="footer">
<div class="inside">
<?= $this->footer ?>
</div>
</footer>
<?php endif; ?>
<?php $this->endblock(); ?>
</div>
<?php $this->sections('bottom'); ?>
<?php $this->endblock(); ?>
<?= $this->encoreScripts; ?>
<?= $this->mootools ?>
</body>
</html>