<div class="contacts-page container">
    <div class="row">
        <div class="col-md-offset-1 col-lg-offset-1">

            <h2><?php echo $this->lang->line('Contactos') ?></h2>

            <div class="row contacts-text">
                <div class="col-sm-6 col-md-6 col-lg-6">
                    <h6><?php echo $this->lang->line('Sede') ?></h6>
                    <p>Rua do Campo Alegre, nº 1306, 2º Andar, Salas 207 e 210<br/> Edifício Botânico<br/> 4150-174 Porto - Portugal</p>
                    <p><b>TEL:</b> + 351 226 007 796; + 351 934 156 377; + 351 910 492 802<br/> <b>FAX:</b> + 351 226 007 797<br/> <b>E-MAIL:</b> <a href="mailto:geral@aafbsroc.pt">geral@aafbsroc.pt</a></p>
                </div>
                <div class="col-sm-6 col-md-6 col-lg-6">
                    <h6><?php echo $this->lang->line('Delegações') ?></h6>
                    <p>Rua Comandante Amorim, Apartado 130<br/> 3701-908 Arrifana Vila da Feira<br/> Portugal</p>
                    <p>Avenida Campo das Laranjeiras, n.º 24, 1.º Andar<br/>
                        4580-058 Paredes<br/>
                        Portugal</p>

                </div>
            </div>

        </div>
    </div>
</div>
<div class="container">
    <div class="contacts-page gray-area">

        <div class="row">
            <div class="col-md-offset-1 col-lg-offset-1">
                <h2><?php echo $this->lang->line('Formulário_de_contacto') ?></h2>
                <?php echo form_open('contactos/submeter_contacto', array('id' => 'form_contacto')); ?>
                <fieldset>
                    <div class="row field-wrapper">
                        <div class="col-md-1 col-lg-1">
                            <label><?php echo $this->lang->line('Nome') ?>*</label>
                        </div>
                        <div class="col-md-2 col-lg-2">
                            <input type="text" name="nome" value="<?php echo set_value('nome') ?>" required=""/>
                        </div>
                        <div class="col-md-1 col-lg-1">
                            <label>Tel.*</label>
                        </div>
                        <div class="col-md-2 col-lg-2">
                            <input type="text" name="telefone" value="<?php echo set_value('telefone') ?>" required=""/>
                        </div>
                    </div>
                    <div class="row field-wrapper">
                        <div class="col-md-1 col-lg-1">
                            <label>E-mail*</label>
                        </div>
                        <div class="col-md-3 col-lg-3">
                            <input type="text" name="email" value="<?php echo set_value('email') ?>" required=""/>
                        </div>
                    </div>
                    <div class="row field-wrapper">
                        <div class="col-md-1 col-lg-1">
                            <label><?php echo $this->lang->line('Mensagem') ?></label>
                        </div>
                        <div class="col-md-5 col-lg-5">
                            <textarea name="mensagem" required=""><?php echo set_value('mensagem') ?></textarea>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-1 col-lg-1">
                        </div>
                        <div class="actions col-md-11 col-lg-11">
                            <input type="submit" value="<?php echo $this->lang->line('Enviar') ?>">
                        </div>
                    </div>
                    <div class="row success_message" style="margin-top: 20px;">
                        <div class="col-xs-6  alert alert-success"><?php echo $this->lang->line('Mensagem-sucesso'); ?></div>
                    </div>
                </fieldset>
                </form>
            </div>
        </div>
    </div>
</div>
<div class="contacts-page location container">
    <div class="row">
        <div class="col-xs-12">
            <h2><?php echo $this->lang->line('Localização') ?></h2>
            <div id="map-block"></div>
        </div>
    </div>
</div>

<script>

    $(document).ready(function(){

        $("#map-block").gmap3(
        { 
            action: 'addMarker',
            latLng: [41.154462,-8.643596],
            map:{
                center: true,
                zoom: 15
            },

            marker:{
                options:{
                    draggable: false
                }
            }

        });
        

    });
</script>