<header>
    <div class="container">
        <div class="">
            <div class="container">
                <div class="row" style="padding: 20px 0">
                    <div class="col-sm-8 col-xs-12">
                        <h1><a href="<?php echo base_url('') ?>"><img src="<?php echo base_url('resources/images/branding/new_logo.png');  ?>" style="max-width: 400px" alt="ANJOS &amp; ASSOCIADOS"></a></h1>
                    </div>
                    <div class="col-sm-4 col-xs-12">
                        <ul class="lang">
                            <li><a href="<?php echo base_url('site/portuguese') ?>" class="pt">PT</a></li>
                            <li><a href="<?php echo base_url('site/english') ?>" class="uk">EN</a></li>
                            <li><a href="<?php echo base_url('site/spanish') ?>" class="es">ES</a></li>
                        </ul>
                    </div>
                </div>

            </div>
        </div>
        <div class="gray">
            <div class="container">
                <div class="row">
                    <div class="col-md-11 col-lg-11 col-md-offset-1 col-lg-offset-1">
                        <nav>
                            <ul>
                                <li><a href="<?php echo base_url('') ?>" class="<?php echo $this->uri->segment(1) == '' ? 'active' : '' ?>"><?php echo $this->lang->line('Início') ?></a></li>
                                <li >
                                    <a class="<?php echo $this->uri->segment(1) == 'a-aafb' || $this->uri->segment(1) == 'quadros' || $this->uri->segment(1) == 'atuacao' ? 'active' : '' ?>"
                                       href="<?php echo base_url('a-aafb'); ?>"><?php echo $this->lang->line('Sobre_Nós') ?></a>
                                    <ul>
                                        <li><a href="<?php echo base_url('a-aafb'); ?>"><?php echo $this->lang->line('Quem_somos') ?></a></li>
                                        <li><a href="<?php echo base_url('quadros'); ?>"><?php echo $this->lang->line('Quadros_da_Sociedade') ?></a></li>
                                        <li><a href="<?php echo base_url('atuacao'); ?>"><?php echo $this->lang->line('A_nossa_atuação') ?></a></li>
                                    </ul>
                                </li>
                                <li><a class="<?php echo $this->uri->segment(1) == 'servicos' ? 'active' : '' ?>"
                                       href="<?php echo base_url('servicos'); ?>"><?php echo $this->lang->line('Serviços') ?></a>
                                </li>
                                <li><a class="<?php echo $this->uri->segment(1) == 'oportunidades' || $this->uri->segment(1) == 'candidaturas' ? 'active' : '' ?>"
                                       href="<?php echo base_url('candidaturas'); ?>"><?php echo $this->lang->line('Recrutamento') ?></a>
                                    <ul>
                                        <li><a href="<?php echo base_url('oportunidades'); ?>"><?php echo $this->lang->line('Oportunidades') ?></a></li>
                                        <li><a href="<?php echo base_url('candidaturas'); ?>"><?php echo $this->lang->line('Candidaturas') ?></a></li>
                                    </ul>
                                </li>
                                <li><a class="<?php echo $this->uri->segment(1) == 'clientes' ? 'active' : '' ?>"
                                       href="<?php echo base_url('clientes'); ?>"><?php echo $this->lang->line('Os_nossos_Clientes') ?></a></li>
                                <li>
                                    <a class="<?php echo substr($this->uri->segment(1), 0, 5) === "links" ? 'active' : '' ?>"
                                       href="<?php echo base_url('links-auditoria'); ?>"><?php echo $this->lang->line('Links') ?></a>
                                    <ul class="links">
                                        <li><a href="<?php echo base_url('links-auditoria'); ?>"><?php echo $this->lang->line('Auditoria_links') ?></a></li>
                                        <li><a href="<?php echo base_url('links-contabilidade'); ?>"><?php echo $this->lang->line('Contabilidade') ?></a></li>
                                        <li><a href="<?php echo base_url('links-mercado-valores-mobiliarios'); ?>"><?php echo $this->lang->line('Mercado_de_Valores_Mobiliários') ?></a></li>
                                        <li><a href="<?php echo base_url('links-institutos-profissionais'); ?>"><?php echo $this->lang->line('Institutos_Profissionais') ?></a></li>
                                        <li><a href="<?php echo base_url('links-comissao-europeia-organismos-internacionais'); ?>"><?php echo $this->lang->line('Comissao_Europeia_e_Organismos_internacionais') ?></a></li>
                                        <li><a href="<?php echo base_url('links-ministerios-organismos-publicos'); ?>"><?php echo $this->lang->line('Ministerios_e_Organismos_Publicos') ?></a></li>
                                        <li><a href="<?php echo base_url('links-impostos'); ?>"><?php echo $this->lang->line('Impostos') ?></a></li>
                                        <li><a href="<?php echo base_url('links-motores-busca'); ?>"><?php echo $this->lang->line('Motores_de_Busca') ?></a></li>
                                    </ul>
                                </li>
                                <li><a class="<?php echo $this->uri->segment(1) == 'contactos' ? 'active' : '' ?>"
                                       href="<?php echo base_url('contactos'); ?>"><?php echo $this->lang->line('Contactos') ?></a></li>
                                <li><a class="<?php echo $this->uri->segment(1) == 'newsletters' ? 'active' : '' ?>"
                                       href="<?php echo base_url('newsletters'); ?>">Newsletters</a></li>
                                       <li><a class="<?php echo $this->uri->segment(1) == 'flash-news' ? 'active' : '' ?>"
                                       href="<?php echo base_url('flash-news'); ?>">Flash News</a></li>
                            </ul>
                        </nav>
                    </div>
                </div>
            </div>
        </div>
</header>