<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
    <div class="container">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header">
            <button type="button" id="navbar-toggle" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <div id="header-sroll">
            	<a class="navbar-brand" href="<?php echo base_url(); ?>"><img src="<?php echo base_url(); ?>img/pesquisa/logo_labir.png" class="img-responsive"></a>
            </div>
        </div>
        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav navbar-right">
                <li>
                    <a href="<?php echo base_url(); ?>" class="active">HOME</a>
                </li>
                <li>
                    <a href="http://www.homeroreis.com/">IR PARA O SITE HRC</a>
                </li>
                
                <?php  if($logado == false) { ?>
                
                <li id="panel-login" class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown"><b>ENTRAR</b><span class="caret"></span></a>
                    <ul id="login-dp" class="dropdown-menu">
                        <li>
                            <div class="row">
                                <div class="col-md-12">
                                    <div id="form-acesso">
                                        
                                        <p id="acesso"><i class="fa fa-lock" aria-hidden="true"></i> Acesso</p>
                                        
                                        <div id="content-error"></div>
                                        
                                        <form class="form" role="form" name="acesso" method="post" action="<?php echo base_url().'pesquisa/login'; ?>" id="login-form" accept-charset="UTF-8" id="login-nav">
                                            <div class="form-group">
                                                <label class="sr-only" for="email-login">E-mail</label>
                                                <input type="email" name="email" class="form-control" id="email-login" placeholder="E-mail" required>
                                            </div>
                                            <div class="form-group">
                                                <label class="sr-only" for="senha-login">Senha</label>
                                                <input type="password" name="password" class="form-control" id="senha-login" placeholder="Senha" required>
                                            </div>
                                            
                                            <div class="checkbox">
                                                <label><input type="checkbox" name="lembrar" value="1">Mantenha-me conectado</label>
                                            </div>
                                            <div class="form-group">
                                                <button type="submit" class="btn btn-primary btn-block">Entrar</button>
                                            </div>
                                            <div class="help-block text-right"><a href="#" id="click-esq-senha">Esqueceu a senha?</a></div>
                                        </form>
                                    </div>
                                    <div id="form-esq-senha">
                                        
                                        <p id="acesso"><i class="fa fa-paper-plane" aria-hidden="true"></i> Reenvio de Senha</p>
                                        
                                        <div id="content-error-email"></div>
                                        
                                        <form class="form" role="form" name="esq-senha" method="post" action="" id="recover-form" accept-charset="UTF-8" id="login-nav">
                                            <div class="form-group">
                                                <label class="sr-only" for="email-login2">E-mail</label>
                                                <input type="email" class="form-control" id="email-login2" name="email-login2" placeholder="E-mail" required>
                                            </div>
                                            <div class="form-group">
                                                <button type="submit" class="btn btn-primary btn-block">Enviar</button>
                                            </div>
                                            <div class="help-block text-right"><a href="#" id="click-voltar">Voltar</a></div>
                                        </form>
                                    </div>
                                </div>
                                <div class="bottom text-center">
                                    Novo aqui? <a href="#" id="click-junte-se"><b>Junte-se a nós</b></a>
                                </div>
                            </div>
                        </li>
                    </ul>
                </li>
                <?php } else {?>
                 <li>
                    <a href="<?php echo base_url().'pesquisa/login/logout' ?>" class="active">SAIR</a>
                </li>
                <?php } ?>
            </ul>
        </div>
        <!-- /.navbar-collapse -->
    </div>
    <!-- /.container -->
</nav>