﻿html {
    font-size: 15px;
}

body {
    font-family: 'Arimo', sans-serif;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    -ms-font-smoothing: antialiased;
    -o-font-smoothing: antialiased;
    font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default
input,
select,
textarea {
    max-width: 280px;
}*/

a {
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
    color: #333333;
    text-decoration: none;
}

    a:hover, a:focus, a:active {
        color: #000000;
        text-decoration: none;
    }

.alinks:hover {
    filter: Alpha(Opacity=70);
    -moz-opacity: 0.7;
    -khtml-opacity: 0.7;
    opacity: 0.7;
    color: #333333;
}

.has-error .help-block {
    font-size: 0.7em;
    color: red;
    margin: 0 15px 0 15px;
    background-color: white;
    padding: 0 5px 0 10px;
    border: #a94442 1px solid;
    border-top: none;
    -webkit-border-bottom-right-radius: 10px;
    -webkit-border-bottom-left-radius: 10px;
    -moz-border-radius-bottomright: 10px;
    -moz-border-radius-bottomleft: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

/*.has-error .control-label {
    color: white;
}*/

/* ------------------------------------------------ */

/* MISC STUFF */

.topInfo {
    background-color: #008699;
    color: white;
    padding: 15px 10px 10px 10px;
    display: inline-block;
    float: right;
    -webkit-border-bottom-right-radius: 10px;
    -webkit-border-bottom-left-radius: 10px;
    -moz-border-radius-bottomright: 10px;
    -moz-border-radius-bottomleft: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

.topInfo a {
    color: white;
}

.topInfo a:hover {
    text-decoration: underline;
}

div#loginSection {
    z-index: 1035;
    position: fixed;
    top: -10px;
}

#loginPartial {
    padding: 3px;
}

/* UL das Langs */
ul#lang {
    display: inline-block;
    padding-left: 0;
}

    ul#lang li {
        display: inline;
    }

#social {
}

@media (min-width: 768px) {
    #social {
    }
}

#social a {
    color: #6b6b6b;
    margin-left: 5px;
    text-decoration: none;
}

    #social a:hover {
        color: black;
    }

div#footer {
    padding-top: 30px;
    padding-bottom: 30px;
    background-color: #012b7f;
    color: white;
}

    div#footer a {
        color: white
    }

        div#footer a:hover {
            text-decoration: underline;
        }

.bottomContacts {
    position: relative;
    margin-bottom: 65px;
}


.bottomContacts div.bottomItem {
    border-right: 2px solid #008699;
    float: left;
    padding-right: 30px;
    padding-left: 30px;
    line-height: 1.3em;
}

.bottomContacts div.bottomItem:first-child {
    padding-left: 0;
}

.bottomContacts div.bottomItem:nth-child(3) {
    border-right: none;
    padding-right: 0;
}

.bottomContacts div span {
    color: #008699;
    font-weight: 700;
}

.overText {
    margin-top: 10%;
    color: #008699;
    font-size: 2.2em;
    position: absolute;
    font-weight: 700;
    z-index: 1;
    line-height: 1.2em;
}

@media (min-width: 768px) {
    .overText {
        font-size: 2.8em;
    }
}

@media (min-width: 992px) {
    .overText {
        font-size: 3.6em;
    }
}

/* /misc stuff */

/* ------------------------------------------------ */

/* NAVBAR default CUSTOM STYLES */
.navbar {
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
}

.navbar-brand {
    padding-left: 0;
    padding-right: 0;
    margin-top: 10px;
    margin-bottom: 60px;
}

    .navbar-brand > img {
        /*top: -63px;*/
        position: relative;
    }

.navbar-nav {
    position: relative;
    top: 0;
    right: 10px;
    clear: right;
}

@media (min-width: 768px) {
    .navbar-nav {
        position: relative;
        margin-top: 45px;
        right: 0;
    }
}

.navbar-default {
    background-color: #ffffff;
    background-color: rgba(255, 255, 255, 1);
    border: none;
    /*margin-bottom: 50px;*/
}

#navbar.in, #navbar.collapsing {
    background-color: rgba(255, 255, 255, 1);
    padding-right: 15px;
    text-align: right;
}

.navbar-default .navbar-toggle {
    /*margin-top: 45px;*/
    margin-top: 18px;
    margin-bottom: 16px;
}

/* Items */
.navbar-default .navbar-nav > li {
    padding-left: 20px;
}

    .navbar-default .navbar-nav > li > a {
        color: #012b7f;
        border: 2px solid transparent;
        font-size: 1em;
        padding: 5px 8px 5px 8px;
        text-transform: uppercase;
    }

@media (max-width: 767px) {
    .navbar-default .navbar-nav > li > a {
        padding: 10px 10px 5px 10px;
    }
}

        /* Items activos/selecionados */

        .navbar-default .navbar-nav > .active > a,
        .navbar-default .navbar-nav > .active > a:hover,
        .navbar-default .navbar-nav > .active > a:focus,
        .navbar-default .navbar-nav > li > a:hover,
        .navbar-default .navbar-nav > li > a:focus,
        .navbar-default .navbar-nav > li.active a {
            color: #012b7f;
            border: 2px solid #cde9ed;
            position: relative;
            background-color: transparent;
        }


/*
@media (min-width: 997px) {

    .navbar-nav > li > a {
        font-size: 2rem;
    }
}
*/

/*.navbar-text {
    font-size: 2rem;
    margin-top: 14px;
    margin-bottom: 6px;
    margin-left: 16px;
}*/

.navbar-collapse {
    padding-right: 0;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: rgba(255,255,255,0.4);
}

.navbar-toggle {
    padding: 10px 10px;
}
/* /navbar */

/* ------------------------------------------------ */

.menuStick-fixed-top {
    position: fixed;
    top: 0;
    z-index: 1031;
    right: 0;
    left: 0;
}

.mapa iframe{
    pointer-events: none;
}


.degrad {
    background: #000000; /* Old browsers */
    background: -moz-linear-gradient(top, #000000 0%, #3f3f3f 51%, #000000 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #000000 0%,#3f3f3f 51%,#000000 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #000000 0%,#3f3f3f 51%,#000000 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#000000',GradientType=0 ); /* IE6-9 */
}

/* VARIAS SECTIONS */

section {
    /*padding-top: 107px;*/
    padding-bottom: 60px;
}

    section#backofficeMenu {
        padding-top: 50px;
        /*padding-bottom: 50px;*/
    }

section#firstNoticias {
    
}

.titulo {
    margin-bottom: 50px;
    text-align: center;
    font-size: 1.6em;
    color: #012b7f;
    font-weight: 700;
}

.noticiaImage {
    padding-right: 0;
    border-right: none;
    margin-bottom: 30px;
}

.noticiaImage img {
    width: 100%;
}

@media (min-width: 768px) {
    .noticiaImage {
        margin-right: -15px;
        padding-right: 30px;
        border-right: 2px dashed #008699;
    }
    .noticiaImage img {
        width: 100%;
    }
    .noticiaTexto {
        margin-left: -15px;
        padding-left: 30px;
    }
    
}

@media (min-width: 768px) {
    section#firstNoticias .noticiaImage {
        max-height: 250px;
        overflow: hidden;
    }
}

.tituloNoticia {
    color: #012b7f;
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: 15px;
}

.noticiasWrapper {
    margin-bottom: 50px;
}

.noticiaBody a {
    color: #008699;
    font-weight: 700;
}

section#aEmpresa .texto strong {
    color: #008699;

}

section#aEmpresa .texto strong:before {
    content: "\2022   ";
}

section#servicos .titulo {
    margin-bottom: 10px;
}

section#servicos .subTitulo {
    margin-bottom: 50px;
    text-align: center;
    font-size: 1.6em;
    color: #012b7f;
}

.imagemServicos {
    width: 100%;
    position: relative;
}

.imagemServicos img {
    margin: 0 auto;
}

.textoServicos {
    margin-top: 30px;
    margin-bottom: 30px;
    color: white;
    background-color: #008699;
    padding: 10px 15px 15px 10px;
    text-align: center;

    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;

    /*height: 193px;*/
}

@media (min-width: 768px) {
.textoServicos {
    height: 172px;
	}
}
@media (min-width: 992px) {
.textoServicos {
    height: 256px;
	}
}
@media (min-width: 1200px) {
.textoServicos {
    height: 193px;
	}
}

section#legislacao .subTitulo {
    margin-bottom: 50px;
}

.legBox {
    color: white;
    background-color: #008699;
    padding: 5px 10px 5px 10px;
    margin-bottom: 15px;
    line-height: 1.2em;

    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.legBox:hover {
    background-color: #7fc2cb;
}

.morada {
    margin-bottom: 40px;
}

.morada span {
    color: #008699;
    font-weight: 700;
}

.voltar {
    margin-bottom: 20px;
}

.legislacaoVerTopic {
    color: #008699;
    background-color: #eeeeec;
    padding: 5px 10px 5px 10px;
    margin-bottom: 30px;
    line-height: 1.2em;

    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
