<style>


    .modal-body{
        height: 500px;
        width: 700px;
    }
    .modal-content{
        width: 700px;
    }

    .modal_cons_fatt.modal-body{
        width: 100%;
        height: auto;
    }
    .modal_cons_fatt.modal-content{
        width: 80%;
        height:auto;
    }


</style>
</head>
<body>
    <div class="modal fade modal-wide" id="pippo" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabelWait" aria-hidden="true" data-backdrop="static" data-keyboard="false">
        <div class="modal-dialog modal-sm">
            <div class="modal-content">
                <div class="modal-body" align="center"> 
                    <img src="<?php // echo base_url('assets/img/loading.gif');         ?>" id="loading-indicator" />
                </div>
            </div><!-- /.modal-content -->
        </div><!-- /.modal-dialog -->
    </div><!-- /.modal -->

    <?php
    $style = 'style="background-color: #5bc0de"';
    if ($this->uri->segment(2) !== 'login') { //$this->bitauth->logged_in()) { 
        ?>
        <nav class="navbar navbar-expand-lg navbar-light bg-light">  
            <a class="navbar-brand" href="#"><img style="height: 80px; margin-top: 5px;" src="<?php echo base_url('assets/img/logo.jpg'); ?>"></a>
            
            <!-- Bandiere selezione lingua -->
            <div class="ml-auto flex-nowrap">
                <a href="#" class="language-btn" data-lang="it">
                    <img src="<?php echo base_url('assets/img/it_flag.png');?>" alt="Lingua Italiana">
                </a>
                <a href="#" class="language-btn" data-lang="en">
                    <img src="<?php echo base_url('assets/img/eng_flag.png');?>" alt="English Language">
                </a>
            </div>
        </nav>

        <div class="row container-fluid">
            <div class="nav-item <?php if ($this->uri->segment(1) == 'Consultazione_report_macchinario') echo 'tipo-etintore-selezionato'; ?>">
                <a data-translate="lbl1" class="nav-link" href="<?php echo base_url('consultazione_report_macchinario/index'); ?>">POLVERE</a>
            </div>
            <div class="nav-item <?php if ($this->uri->segment(1) == 'Consultazione_co2') echo 'tipo-etintore-selezionato'; ?>">
                <a data-translate="lbl2" class="nav-link" href="<?php echo base_url('Consultazione_co2/index'); ?>">CO2</a>
            </div>
            <div class="nav-item <?php if ($this->uri->segment(1) == 'Consultazione_schiuma') echo 'tipo-etintore-selezionato'; ?>">
                <a data-translate="lbl3" class="nav-link" href="<?php echo base_url('consultazione_schiuma/index'); ?>">SCHIUMA</a>
            </div>
            <div class="nav-item <?php if ($this->uri->segment(1) == 'Consultazione_sva') echo 'tipo-etintore-selezionato'; ?>">
                <a data-translate="lbl21" class="nav-link" href="<?php echo base_url('consultazione_sva/index'); ?>">SVA</a>
            </div>
        </div>

    <?php } ?>


    <div class="modal fade" id="myModalWait" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-body text-center">
                    <img src="<?php echo base_url('assets/img/loading.gif'); ?>" id="loading-indicator" />
                </div>
            </div>
        </div>
    </div>

