<div class="wrapper">
        <?php 
            /**
            *
            * copyright (c) 2013-2022 Heliac Technologies
            * license http://opensource.org/licenses/gpl-license.php GNU GPL v3 
            *
            * linee guida per l'utilizzo del logo http://www.geecom.org/index.php?alias=linee-guida-per-luso-del-logo-geecom
            */
            include"template/include/aspetto/{$aspettoSito["cartellaMenu"]}/menuPrincipale.php"; 
        ?>
    <div id="content" class="d-flex flex-column">
            <button id="sidebarCollapse" class="hamburger" type="button" aria-label="Menu" aria-controls="navbarCollapse">
                <span class="hamburger-box">
                    <span class="hamburger-inner"></span>
                </span>
            </button>
            <div class="page-wrapper">
                <header>
                <?php 
                    if($impostazioni["attivaBarraSuperiore"]=="si") {
                        include "template/include/aspetto/{$aspettoSito["cartellaMenu"]}/barraSuperiore.php";
                    }
                ?>
                </header>
                <main>
                    <a class="navbar-brand d-md-none" href="<?= $impostazioni["urlSito"]; ?>">
                        <img class="img-fluid" src="<?= $configurazioneAspetto["logo"]; ?>" alt="logo">
                    </a>
                    
                    <section id="" class="text-white h40 d-flex justify-content-center align-items-center header jarallax" style="background-image:url('<?= $contenuto["foto"]; ?>')">
                        <div class="container">
                            <div class="row my-5">
                                <div class="col-sm-6 mx-auto text-center" data-aos="zoom-in">
                                    <?php
                                        if($contenuto["mostraTitolo"]=="si") {
                                    ?>
                                            <h1 class="mb-0" style="text-align: center;"><?php echo $contenuto["titolo"]; ?></h1>
                                    <?php
                                        }
                                    ?>
                                </div>
                            </div>
                        </div>
                    </section>

                    <?php 
                        include "template/include/contenuti/breadCrumb.php";
                        
                        UtilTemplate::stampaComponenti($geecomDb, $gestoreJavascript, $impostazioni, $contenuto["id"],$gestoreTraduzioni,$lingua);
                    ?>
                </main>
            </div>
        <?php
            include "template/include/aspetto/{$aspettoSito["cartellaFooter"]}/footer.php";
            echo $inclusioni["footer"];
        ?>
    </div>
    </div>
<div class="overlay"></div>
<?php
    $gestoreJavascript->aggiungiJavascript("<script src=\"https://cdnjs.cloudflare.com/ajax/libs/malihu-custom-scrollbar-plugin/3.1.5/jquery.mCustomScrollbar.concat.min.js\"></script>
    <script type=\"text/javascript\">
        $(document).ready(function () {
            $(\"#sidebar\").mCustomScrollbar({
                theme: \"minimal\"
            });

            $('#dismiss, .overlay').on('click', function () {
                $('#sidebar').removeClass('active');
                $('.overlay').removeClass('active');
            });

            $('#sidebarCollapse').on('click', function () {
                $('#sidebar').addClass('active');
                $('.overlay').addClass('active');
                $('.collapse.in').toggleClass('in');
                $('a[aria-expanded=true]').attr('aria-expanded', 'false');
            });
        });
    </script>");