﻿@import url("font-awesome.css");
/*@import url(//fonts.googleapis.com/css?family=Open+Sans:300,400,700);*/
@import url(https://fonts.googleapis.com/css?family=Roboto+Slab:300,400,700);
/*
    HTML
*/
html, body { height: 100%; font-family: 'Roboto Slab', Helvetica Arial, sans-serif; font-weight: 300; font-size: 1em; -webkit-text-stroke: 1px rgba(0, 0, 0, 0.1); }
    body:before { content: ""; height: 100%; float: left; width: 0; margin-top: -32767px; }
a { outline: none; color: #385ab5; font-weight: 500; /*#3C43A0;*/ /* color: #0077AA; */ }
    a:hover, a:active { color: #1C3370; text-decoration: underline; text-shadow: none; -webkit-text-decoration-color: black; -moz-text-decoration-color: black; /* Code for Firefox */ text-decoration-color: black; }

    a:focus, button:focus {color: #1C3370; outline: none; /*outline: thin dotted #333; outline: 2px solid #0098db; outline: 5px auto -webkit-focus-ring-color; outline-offset: -2px;*/ text-decoration: none; }
button { color: #932f2c; }
blockquote { border-left: 5px solid #e3dfd5; }
div:focus { outline: 0; }
dl { margin-top: 5px; }
h1, h2, h3, h4, h5, h6 { margin: 20px 0; }
    h1 i, h2 i, h3 i, h4 i, h5 i, h6 i { margin-right: 7px; }

iframe { width: 90vw; height: 50vw; max-width: 1170px; max-height: 658px; background: white; }

footer { font-size: small; clear: both; }
hr { border-color: #999999; }
iframe { border: 0; }
img { max-width: 100%; height: auto; }
input::-webkit-input-placeholder { color: rgba(0, 0, 0, 0.6) !important; }
input::-moz-placeholder { color: #000 !important; }
input:-moz-placeholder { color: #000 !important; }
input:-ms-input-placeholder { color: rgba(0, 0, 0, 0.6) !important; }
.label { font-weight: 500; padding-bottom: 3px; }
li { line-height: 1.5; }
#Estrutura { display: none; }
/*
    Genéricos
*/
.clear { clear: both; }
.small, a.small { font-size: small; }
.x-small, a.x-small { font-size: x-small; }
.bold { font-weight: bold; }
.larger { font-size: 1.28571em; line-height: 1.5; font-weight: 700; }
.center { margin: 0 auto; float: none; }
/*.conteudo { margin-top: 90px; }*/
.container { padding: 0; margin: 0 auto; }
#content { margin-bottom: 20px; }
.top { margin-top: 0; }
.margin-bottom-30 { margin-bottom: 30px; }
.margin-container-block { margin-top: 30px; margin-bottom: 50px; }
.margemTop10 { margin-top: 10px; }

/* Botões accessibilidade */
.btnAcessibilidade:hover { cursor: pointer; }
#fontMenor { font-size: small; }
#fontMaior { font-size: large; }
.conteudoAcessibilidade { display:block; position: absolute; left: 0; top: 0; z-index: -100; }

/* Antigo base */
.small-square { color: #5f574f; position: absolute; top: 0; margin: 0 0 0 -15px; content: '\25AA'; }
#content ul { padding-left: 0; }
#content h3 a,
#content h4 a { text-decoration: none; }


/* CLASSES DE LINKS*/
a.linkPDF::after { font-family: 'FontAwesome'; content: '\F1C1'; margin: 0 5px; }
a.linkDOC::after { font-family: 'FontAwesome'; content: '\F1C2'; margin: 0 5px; }
a.linkExcel::after { font-family: 'FontAwesome'; content: '\F1C3'; margin: 0 5px; }
a.linkPowerPoint::after { font-family: 'FontAwesome'; content: '\F1C4'; margin: 0 5px; }
a.linkZIP::after { font-family: 'FontAwesome'; content: '\F1C6'; margin: 0 5px; }
a.linkExterno::after { font-family: 'FontAwesome'; content: '\F08E'; margin: 0 5px; }
a.linkVideo::after { font-family: 'FontAwesome'; content: '\f1c8'; margin: 0 5px; }
a.linkFileGenerico::after { font-family: 'FontAwesome'; content: '\f016'; margin: 0 5px; }
a.linkPreto { color: black; }
/* Index */


/* Menu */
#MenuTopo * { text-shadow: none; }
.navbar { margin-bottom: 0px; background-color: #0c2340; min-height: 120px; }
.navbar > .container .navbar-brand, .navbar > .container-fluid .navbar-brand { margin-left: -5px; height: 120px; }
.navbar-nav > li  > a { color: white; }
.navbar-nav > li.btnEsquerda  > a { padding-top: 52px; height: 120px; color: white; }
.navbar-nav .aPrincipal { font-size: 75%; font-weight: 200; color: white; }
.navbar-custom .navbar-nav > li > a { color: white; border: none; }
.navbar-custom, .navbar { border: none; border-radius: 0; }
    .navbar-nav > li > a:hover, .navbar-nav > li > a:active, .navbar-nav > li > a:focus, .navbar-default .navbar-nav > .active, .nav .open > a, .nav .open > a:hover, .nav .open > a:focus, .nav .open > a:active, .dropdown .open a, .dropdown .open a:hover, .dropdown .open a:active, .open > a, .open > a:hover, .open > a:focus, .open > a:active, .navbar-custom .navbar-nav > li.open > a { background-color: white; color: #0c2340; }
.navbar-brand { padding: 0px 0px; margin: 0 15px 0px 0; }
.navbar-brand img { max-height: 105px; height: 105px; margin-top: 10px; }
.navbar-header .icon-bar { background-color: white; }
.navbar-right .item-menu-direita { font-size: 91%; width: 32px; height: 120px; margin-top: 0px; text-align:center; vertical-align:middle; padding: 50px 0px;}
ul.nav li.dropdown:hover > ul.dropdown-menu { display: block; border: none; }


/* Abrir menu on mouse hover */
.dropdown .dropdown-menu { margin-right: -15px; }
.yamm-content, .dropdown-menu { border: 1px solid white; border-radius: 0; }
    .yamm-content div { line-height: 1.5; }
    .yamm-content strong { font-size: 105%; }
    .yamm-content ul { margin: 2px 0; padding: 0; }
        .yamm-content ul li { padding: 1px 5px 2px 15px; list-style: none; }
    .yamm-content li:before { font-family: 'FontAwesome'; content: '\F105'; margin: 0 7px 0 -15px; }
    .yamm-content .input-medium { border: 1px solid #999; padding: 3px; height: 35px; background-color: #EEE; }
        .yamm-content .input-medium:focus { background-color: #d9d9d9; }
#BotaoPesquisar { color: #0c2340; height: 35px; position: relative; top: -1px; }
.maisProcurados { margin-top: 10px; }


/*  Eventos */
#event-list h3, #event-list h4 { margin-bottom: 0; }
#event-list .event-date { vertical-align: top; width: 60px; padding: 0 20px 0 0; }
    #event-list .event-date .event-month { padding: 0px 4px; font-weight: 300; font-size: 1em; background-color: #0c2340; color: white; text-transform: uppercase; display: block; text-align: center; line-height: 1.5; letter-spacing: 1px; border-radius: 3px; }
    #event-list .event-date .event-day { padding: 3px 3px; font-weight: 300; display: block; text-align: center; font-size: 1.2em; color: #666; line-height: .8; }
#event-list .event-text h3 { padding: 0; margin: 0 0 0 5px; }
#event-list .more-link { padding-left: 57px; }
#event-list .event-title a { font-size: 90%; }
    #event-list .event-title a:hover { color: #0077AA; -webkit-text-decoration-color: #0077AA; -moz-text-decoration-color: #0077AA; /* Code for Firefox */ text-decoration-color: #0077AA; }
#event-list .timestamp,
#event-list .event .local { color: #999; font-size: 90%; display:none; }
.evento ul.entidades { list-style: none; display: block; width: 100%; margin: 0 0 10px 0; padding: 0; }
.evento ul.entidades li.entidade{ display: inline-block; margin-right: 15px; }
article.entidade .eventos .link:last-child { display: none; }
.categoriasEventos { display: block; }

.blocoEvento { border-top: 1px solid #ccc; padding: 0.6em 1em; background-color: #EfEfEf;  }


/* Eventos Calendario Index */
.postcard-left, .postcard-right { clear: both; display: table; margin-bottom: 5px; position: relative; }
    .postcard-left > div, .postcard-right > div { display: table-cell; position: relative; }
    .postcard-left .postcard-image img, .postcard-right .postcard-image img { display: block; max-width: 100%; height: auto; }


/* Calendario */
.calendario { width: 100%; }
    .calendario td { padding: 5px 7px; }


/* Healines */
.headline { display: block; margin: 40px 0 30px 0; /*border-bottom: 1px solid #bbb;*/ }
    .headline h1,
    .headline h2,
    .headline h3,
    .headline h4 { font-size: 1.5em; font-weight: 300; margin: 0 0 -2px 0; padding-right: 10px; display: inline-block; color: #000; }
        .headline h1 a span, .headline h2 a span, .headline h3 a span, .headline h4 a span { position: relative; bottom: 3px; font-size: 60%; }


/* Destaques/noticias */
#news { padding: 0; }
  #news .news-item:nth-child(3n+1) {  clear: left; }
  #news .news-item .caption { display:none; }
    .news-item { margin-bottom: 40px; }
    .news-item .news-img { position: relative; display: block;  }
    .news-item .news-img img { border-radius: 5px;}
    .news-item .news-topic { display: none; clear: both; margin: 5px 0; font-size: 70%; }
    .news-item .news-text { padding-top: 10px; }
    .news-item .news-text .titulo { margin: 10px 0 0 0; padding: 0; line-height: 1.5; }

        /*.news-item .news-text .titulo a { color: black; }*/

.noticia ul.entidades { list-style: none; display: block; width: 100%; margin: 0 0 10px 0; padding: 0; float:left; }
    .noticia ul.entidades li.entidade{ display: inline-block; margin-right: 15px;  }
    .noticia .blkFicheiro .caption { margin-top: 1vh; }
    .noticia .blkFicheiro .caption .fa { display: none; }

.galeriadeimagens td * { font-size: 75%; font-weight: 300; }


/* Outras Notícias */
.more-news h4 { text-transform: uppercase; font-size: 1em; font-weight: 700; margin: 0px 0 15px 0; }
.more-news ul { margin: 0 0 10px -15px; }
    .more-news ul li { list-style-type: none; margin-bottom: 15px; line-height: 1.5; }
        .more-news ul li a { text-decoration: none; }
        .more-news ul li:before { font-family: 'FontAwesome'; content: '\F105'; margin: 0 5px 0 -15px; font-size: 13px; }
.more-news .blkDireita { margin: 10px; }

.more-link { height: 1.2em; }
    .more-link a, a.more-link { font-weight: 700; font-size: .9em; padding: 2px 20px 5px 0; text-transform: uppercase; text-decoration: none; color: #5f574f; text-align: right; float: right; }
        .more-link a:hover span, a.more-link:hover span { color: #0c2340; text-decoration: underline; }
        .more-link a i, a.more-link i { color: #0c2340; font-size: 1.1em; }



/* Social */
#social-feature { font-family: "Source Sans Pro", Arial; margin: 0; padding: 0; color: #2e2d29; overflow: hidden; }
    #social-feature .item { background-color: #EEE; border-radius: 5px; margin: 15px 0; padding: 15px; min-height: 60px; }
        #social-feature .item div { width: 90%; }
    #social-feature a { color: #0c2340; text-decoration: none; }
        #social-feature a:hover { text-decoration: underline; color: #0c2340; }

#social-icons { text-align: center; }
    #social-icons ul { margin-top: 20px; margin-left: 0; list-style: none; }
        #social-icons ul li { display: inline; }
    #social-icons img { width: 33px; }
    #social-icons a:hover img { opacity: .6; -webkit-transition: all .4s ease-in-out; transition: all .4s ease-in-out; }
.fa.CienciaVitae { color: #C5D762 !important; }




/* subMenu Rapido */
.subMenu ul { padding: 5px 0; }
.subMenu li { display: inline-block; margin: 20px 5px; }
    .subMenu li a { padding: 10px 0px; background-color: #0c2340; color: white; border: 1px solid #0c2340; text-decoration: none; text-transform: uppercase; }
        .subMenu li a:hover { border: 1px solid white; background-color: #666666; }
        .subMenu li a.active { position: relative; }
            .subMenu li a.active:after { content: ""; position: absolute; bottom: -10px; /* value = - border-top-width - border-bottom-width */ left: 10px; /* controls horizontal position */ border-width: 10px 10px 0; /* vary these values to change the angle of the vertex */ border-style: solid; border-color: #0c2340 transparent; /* reduce the damage in FF3.0 */ display: block; width: 0; }


/* SubMenu Vertical */
.subMenuVertical { float: right; clear: both; background-color: #0c2340; color: #FFF; font-weight: normal; max-width: 260px; margin-bottom: 30px; }
    .subMenuVertical ul { margin: 0; padding: 0 20px; }
        .subMenuVertical ul li { padding: 15px 5px 10px 15px; list-style: none; }
            .subMenuVertical ul li:before { font-family: 'FontAwesome'; content: '\F105'; margin: 0 5px 0 -15px; }
            .subMenuVertical ul li a { color: #FFF; font-weight: 300; }
                .subMenuVertical ul li a:hover { }
    .subMenuVertical .cursosMenu { float: left; }


/* SubMenu Entidade */
.subMenuEntidade { background-color: #0c2340; color: #FFF; font-weight: normal; clear: both; }
    .subMenuEntidade:last-of-type { margin: 0 0 30px 0; }
    .subMenuEntidade ul { margin: 0; padding: 10px 30px; list-style: none; }
        .subMenuEntidade ul li { padding: 15px 5px 0px 15px; list-style: none; }
            .subMenuEntidade ul li:last-child { padding-bottom: 15px; }
            .subMenuEntidade ul li:before { font-family: 'FontAwesome'; content: '\F105'; margin: 0 5px 0 -15px; }
            .subMenuEntidade ul li a { color: #FFF; font-weight: 300; font-size: 1.1em; }
                .subMenuEntidade ul li a:hover { text-decoration: underline; }
    .subMenuEntidade ul li:has(a.indentMenuUnita) {
         margin-left: 1.5em; 
    }

.subMenuTitulo { padding: 10px 10px 0 15px; font-weight: bold; }




/* subPaginas (article com header, section, footer) */
article { }
    article h3 { font-weight: 500; }
    article .urlAutoPagina { display: inline-block; margin: -40px 0 30px 0; padding: 10px; border: 1px solid #ddd; background-color: #f3f3f3; border-radius: 3px; }
        article .urlAutoPagina:hover { border: 1px solid #ccc; background-color: #f9f9f9; }
    article section { margin: 30px 0; }
        article section:first-child { margin: 0; }
    article ul { margin: 5px; }
    article table td { padding: 3px 5px; border: none; }
    article .lead, article .texto { margin: 20px 0; line-height: 1.5; }
    article .logotipo { float: left; float: left; padding: 0 30px 30px 0; }
        article .logotipo img { max-width: 300px; }

    article .texto { -webkit-column-count: 2; /* Chrome, Safari, Opera */ -moz-column-count: 2; /* Firefox */ column-count: 2; -webkit-column-gap: 40px; /* Chrome, Safari, Opera */ -moz-column-gap: 40px; /* Firefox */ column-gap: 40px; }
    article .texto { /* max-width: 680px; */ text-align: left; -webkit-column-count: 1; /* Chrome, Safari, Opera */ -moz-column-count: 1; /* Firefox */ column-count: 1; -webkit-column-gap: 0; /* Chrome, Safari, Opera */ -moz-column-gap: 0; /* Firefox */ column-gap: 0; }
    article.entidade .texto, article.entidade .coluna1 { float: left; max-width: 850px; }
        article.entidade .texto ol, article.entidade .texto ul { display: table-cell; margin-left: 10px; }

    article .footer, .dtUltimaAtualizacao { margin-top: 30px; font-size: 80%; text-align: right; }

.comMenu section.conteudo { float: left; width: 73%; text-align: left; }
    .comMenu section.conteudo h1 { margin: 0 0 30px 0; }
    .comMenu section.conteudo .texto { -webkit-column-count: 1; /* Chrome, Safari, Opera */ -moz-column-count: 1; /* Firefox */ column-count: 1; }

.parceriasBiblioteca img { float: left; margin: 0 30px 30px 0; }

.colunaNome .categoriaAcademica,.colunaNome .categoriaProfissional { position:relative; top: -15px; }
.coluna2 { border-left: 1px solid #DEDEDE; }

/* Tabs */
#tabs { margin: 30px 0 20px 0; }
    #tabs > li a { font-weight: 700; }
    #tabs > li a { border-top: 3px solid white; }
    #tabs > li.active a { border-top: 3px solid #0c2340; }
.content { padding: 30px 0; }
.nav-tabs > li > a { border-radius: 0; }

.ui-icon { float: right; font-size: 1.6em; color: #999; margin: 0; }


/* Listas */
.lista { }
    .lista h4 { padding: 0; margin: 10px 0; }
    .lista li { list-style: none; position: relative; margin-bottom: 35px; }
    .lista img { width: 100%; }
    .lista li .caption { display: none; }
    .lista li .titulo { margin: 5px 0; text-align: left; position: relative; }
    .lista li .data { font-size: 80%; color: #999; }


/* Cursos */
.curso {
    font-size: 90%;
}
.cursoInfo td:first-child {
    width: 27%;
}
.listaAcordosErasmus {
    list-style: circle; padding: 0; margin: 0 0 0 17px;
}



/* ListaAZ */
.listaAZ ul {
    margin: 0;
    padding: 0 20px;
    list-style: none;
}
    .listaAZ ul li { padding: 5px; list-style: none; }
.listaAZ li:before { font-family: 'FontAwesome'; content: '\F105'; margin: 0 5px 0 -15px; }


/* Lista de Itens */
.listaItens ul { margin: 0; }
    .listaItens ul ul { margin-left: 10px; }
.listaItens ul { list-style: none; }
    .listaItens ul li:before { font-family: 'FontAwesome'; content: '\F105'; margin: 0 5px 0 -15px; font-size: 13px; }



/* refeitório em ementas */
.refeitorios { font-size: 80%; }
#Ementas table { background-color: #eee; } 
#Ementas table thead { background-color: #e6e6e6; }
    #Ementas table td, #Ementas table th { border: none; width: 15%; }
    #Ementas table td:first-child, #Ementas table th:first-child { width: 10%; }

/* Search Procurar */
.searchResults .small { padding: 3px 5px; background-color: #EEE; border-radius: 2px; }


/* Tabela Contactos*/
.tabela { width: 100%; }
    .tabela td { padding: 10px 5px; text-align: left; vertical-align: middle; }
.contactos tr:first-child { border-top: none; }
.contactos td:first-child { width: 100px; }
.contactos tr { border-bottom: 1px solid #EEE; border-top: none; }
.contactos > tbody > tr > td { vertical-align: middle; text-align: left; }
.contactos td { height: 60px; vertical-align: middle; text-align: left; }
.contactos tr td:last-child { text-align: right; vertical-align: middle; }
.contactos img { height: 60px; }


/* Contatos, Presidente, Secretariado
.presidente td:nth-child(3), .secretariado td:nth-child(3) { display:none; } */
.presidente td:nth-child(1), .secretariado td:nth-child(1) { width: 100px; }
.presidente .contactos tr, .secretariado .contactos tr { border: none; }
.presidente .table-striped > tbody > tr:nth-child(odd) > td, .presidente .table-striped > tbody > tr:nth-child(odd) > th, .secretariado .table-striped > tbody > tr:nth-child(odd) > td, .secretariado .table-striped > tbody > tr:nth-child(odd) > th { background-color: white; }


/* Ficheiros */
.ficheiro { margin: 10px 0; }
    .ficheiro img { }
.blkFicheiro { display: block; }
    .blkFicheiro img { width: auto; max-width: 100%; }
    .blkFicheiro .caption {  font-size: 75%; }
.ficheiroNoticia { float: right; }


td.colunaFoto {max-width : 150px; min-width: 150px; }
/*.img-circular { width: 70px; height: 70px; overflow: hidden; display: block; border-radius: 35px; -webkit-border-radius: 35px; -moz-border-radius: 35px; }
    .img-circular img { width: 100%; height: auto; position: relative; top: -5px; }*/
.img-circular {
    width: 80px;
    height: 80px;
    overflow: hidden;
    display: block;
    border-radius: 40px;
    -webkit-border-radius: 40px;
    -moz-border-radius: 40px;
}

    .img-circular img {
        width: 100%;
        height: auto;
        position: relative;
    }

/* Caminho */
ul.caminho, ol.caminho { clear: both; display: block; padding: 5px 10px 5px 0; text-align: left; margin-left: 5px; }
    ul.caminho li, ol.caminho li { display: inline-block; padding: 3px 10px 3px 0; font-size: small; }
        ul .caminho li:before, ol.caminho li:before { font-family: FontAwesome; content: "\f105"; padding-right: 10px; }
        ul.caminho li:first-child:before, ol.caminho li:first-child:before { content: "\f105"; padding-right: 10px; }


/* Botao Editar*/
a.btnEditar { float: right; position: relative; top: -20px; }


/* Paginas */

/* Paginacao */
.paginacao { clear: both; margin: 0 auto; text-align: center; }
    .paginacao a, .paginacao .active { padding: 5px 7px; margin: 5px; background-color: #eee; border: 1px solid #eee; text-decoration: none; }
        .paginacao a:hover { background-color: white; }
    .paginacao .active { border: 1px solid #aaa; }


/* DropDowns */
select.dropdown { margin: 10px 0; padding: 5px 10px; border: 1px solid #EEE; }
    select.dropdown option { padding: 3px 5px; }


/* Partilhar/SocialShares */
#SocialShares { padding: 10px; margin: 0; }
    #SocialShares li { float: left; display: inline-block; list-style: none; padding: 10px 5px; vertical-align: bottom; }


/* 
    Blocos 
*/
.bloco { clear: both; display: inline-block; width: 100%; float: none; margin: 0px 0 30px 0; list-style: none; }

.blocos { list-style: none; max-width: 100%; }
    .blocos h2 { padding: 10px 0; font-weight: 600; border-top: 1px solid #eee; }
    .blocos .blkItem { display: block; clear: both; padding-top: 60px; padding: 10px 0; margin: 10px 0; }
        .blocos .blkItem .ficheiroSubPagina { margin-right: 30px; float: left; }

/*.blocos .blkItem:nth-child(2n) .ficheiroSubPagina { margin-right: 30px; float:left; }
    .blocos .blkItem:nth-child(2n+1) .ficheiroSubPagina { margin-left: 30px; float:right; }*/
.blocos .blkItem p { display: block; width: 100%; float: none; margin: 5px 0; }
.blocos .blkItem ul { margin-left: 10px; list-style: none; }
    .blocos .blkItem ul li { padding: 5px 0; list-style: none; }
        .blocos .blkItem ul li:before { font-family: 'FontAwesome'; content: '\F105'; margin: 0 5px 0 -15px; }

.blkDireita { width: 100%; border-radius: 5px; background-color: #EEE; margin-top: 15px; }
    .blkDireita .hide { display: none; }
    .blkDireita ul li { padding: 10px; }

.tblLista tr { padding: 5px 0; }

.espacoInterior { margin: 15px; padding: 5px 0 15px 0; }


/* 
    Contactos 
*/
#Contacto div { padding: 5px 0; }
.table .contactos * { display: none;}



/*
    Paginação
*/
#dataTable_length { float: right; }
#dataTable_filter { float: left; }
    #dataTable_filter::before { content: ""; font-weight: bold; }
#dataTable_wrapper { display: block; }
#dataTable { clear: both; border-collapse: collapse; }
    #dataTable thead tr { background-color: #ddd; }
        #dataTable thead tr td:hover { background-color: #eee; cursor: pointer; }
        #dataTable thead tr td:first-child { width: 10%; }
    #dataTable .btn-group { text-wrap: none; }
#dataTable_info, #dataTable_paginate { margin: 5px auto; text-align: center; }
    #dataTable_paginate a { padding: 8px 12px; background-color: #DDD; color: #888; cursor: pointer; font-weight: bold; }
        #dataTable_paginate a:hover { background-color: #EEE; }
    #dataTable_paginate > a:first-child { border-top-left-radius: 5px; border-bottom-left-radius: 5px; border-right: 1px solid #EFEFEF; }
    #dataTable_paginate > a:last-child { border-top-right-radius: 5px; border-bottom-right-radius: 5px; border-left: 1px solid #EFEFEF; }
#dataTable .tdMiddle { vertical-align: middle; }
.escolhas { display: block; background-color: #EEE; margin-bottom: 20px; padding: 5px 0; border-top: 1px solid #CCC; border-bottom: 1px solid #CCC; }


/* Footer (Primeira Página) */
.headerInformacoes { text-align: center; }
#footer-menu { padding: 25px 0; position: relative; clear: both; background-color: #f0f0f0; border-top: 1px solid #DDD; }
    #footer-menu .block { padding: 20px 0; }
    #footer-menu ul { padding-left: 0; margin: 0 auto; list-style: none; }
        #footer-menu ul.footer-list { padding-bottom: .4em; }
            #footer-menu ul.footer-list li {  }
    #footer-menu h3 { margin: 5px 0; padding: 5px 0; /*border-bottom: 1px solid #ccc;*/  font-size: 19px; }
        #footer-menu h3 i { font-weight: 300; }
        #footer-menu h3, #footer-menu h3 a { color: #0c2340; text-transform: uppercase; text-transform: uppercase;  }
    #footer-menu p, #footer-menu a {  }
    #footer-menu div:nth-child(4n+1) { clear: both; }
    /*         #footer-menu a:hover { color: #0077AA; -webkit-text-decoration-color: #0077AA; -moz-text-decoration-color: #0077AA; text-decoration-color: #0077AA; }
     #footer-menu a:hover, 
        #footer-menu a:active { text-decoration: underline; -webkit-transition: all .4s ease-in-out; transition: all .4s ease-in-out; }
*/
    /* Menu Rodape (UBI)  */
    .global-footer {
        position: relative;
        padding: 75px 0;
        clear: both;
        background-color: #0c2340;
        color: #efefef;
    }
    .global-footer a { color: #efefef; }
    .global-footer #bottom-logo img { height: 75px; margin: 0 0 10px 10px; }
    .global-footer .rodapeHeader { margin: 0; padding: 1px 0; text-transform: uppercase; color: white; border-bottom: 1px solid white; }
    .global-footer ul { margin: 10px 0; padding: 0; line-height: 1.5;  }
        .global-footer ul li { list-style: none; }
            .global-footer ul li a { line-height: 1.5; }
    .global-footer p { margin: 3px 0; padding: 0 15px; }
        .global-footer p.copyright { color: #eee; margin: 0; line-height: 1.5; text-align: left; }
    .global-footer ul.social { margin-left: 10px; }
        .global-footer ul.social li { display: inline-block; margin-right: 5px; }
        .global-footer ul.social img { height: 20px; }        
    .globalFooter .organizacao { display: block; }



/* ParceriasFooter */
#ParceriasFooter { background-color: white; padding: 50px 0; margin: 0 auto; text-align: center; }
    #ParceriasFooter ul { margin: 0; padding: 0; }
        #ParceriasFooter ul li { display: inline; }
            #ParceriasFooter ul li img { border: 0; padding: 5px 10px; height: 50px; }


/* Cookie */
#cookieBar { display: block; position: fixed; bottom: 0; text-align: center; font-size: 1em; width: 100%; background-color: #EEE; padding: 10px 0; z-index: 10000; border-top: 1px solid #CCC; }
    #cookieBar p { color: black; }
    #cookieBar * { display: inline; }
    #cookieBar .fechar { color: white; background-color: #333; margin-left: 10px; padding: 2px 8px; }


/* SlideShow*/
#feature-banner { clear: both; position: relative; margin: 0 auto; margin-bottom: 10px; max-height: 350px; width: auto; overflow: hidden; }
    #feature-banner .carousel-inner { text-align: center; display:flex;  }
    #feature-banner span.screen-reader { display: none; }
    #feature-banner .item { align-items: center; justify-content: center; max-height: 350px; height: 350px; width: 100%;  }
    #feature-banner .item img { overflow: hidden; margin-left: auto; margin-right: auto; height: 348px; width: auto; max-width: fit-content; }
    #feature-banner .item a { color: white; cursor: pointer; }
    #feature-banner .item .carousel-caption-box { position: relative; bottom: 0px; }
    #feature-banner .item .carousel-caption { position: absolute; height: auto; margin: 0 auto; color: inherit; padding: 0;  text-align: center; }
        #feature-banner .item .carousel-caption h3 { color: white; font-weight: 700; letter-spacing: 2px; text-shadow: 1px 1px 1px black; margin: 10px; }
        #feature-banner .item .carousel-caption p { padding: 0 10px; color: white; font-weight: 400; text-shadow: 1px 1px 1px black; }
        #feature-banner .item .carousel-caption .white { color: #fbfbf9; }
        #feature-banner .item .carousel-caption .clay { color: #5f574f; }
        #feature-banner .item .carousel-caption .sandstone { color: #ddcf99; }
        #feature-banner .item .carousel-caption .sandstone50 { color: #eee6cb; }
        #feature-banner .item .carousel-caption .sandstone25 { color: #f6f3e5; }
        #feature-banner .item .carousel-caption .red { color: #1c3e94; }
        /* #feature-banner .item .carousel-caption.bg-dark { background-color: #2e2d29; opacity: .8; }
        #feature-banner .item .carousel-caption.bg-white { background-color: #e9e9e9; opacity: .9; }*/
        #feature-banner .item .carousel-caption.left-top { top: 18px; bottom: inherit; }
        #feature-banner .item .carousel-caption.right { right: 18px; left: inherit; }
        #feature-banner .item .carousel-caption.right-top { right: 18px; left: inherit; top: 18px; bottom: inherit; }
    #feature-banner .item .videoblock { position: absolute; width: auto; height: 339px; z-index: 2; }
        #feature-banner .item .videoblock iframe,
        #feature-banner .item .video-container object,
        #feature-banner .item .video-container embed { position: absolute; top: 0; right: 0; width: 100%; height: 100%; border: 1px solid #aaaaaa; }
    #feature-banner .carousel-indicators { bottom: auto; top: 10px; margin: 0 auto; text-align: center; width: 100%; left: auto; /*top: 5px; left: auto; right: 15px; text-align: right; */ z-index: 1000 !important; }
        #feature-banner .carousel-indicators li { position: relative; margin: 3px; height: 12px; width: 12px; background-color: transparent; border: 0; }
            #feature-banner .carousel-indicators li.active button { background-color: #CCC /*#1c3e94*/; }
            #feature-banner .carousel-indicators li button { position: absolute; top: 0; left: 0; height: 12px; width: 12px; border-radius: 50%; border: 1px solid #EEE; background-color: #fff; margin: 2px; padding: 0; }
                #feature-banner .carousel-indicators li button:hover { background-color: #DDD; }
                #feature-banner .carousel-indicators li button:focus { outline-offset: 0; }
    #feature-banner .carousel-control { background: none repeat scroll 0 0 #2e2d29; border: 0; color: #fff; height: 100%; left: 0px; opacity: 0; top: 0; width: 100px; text-decoration: none; font-size: 2em; z-index: 1000 !important; }
        #feature-banner .carousel-control:hover { opacity: 0.5; }
        #feature-banner .carousel-control.right { right: 0; left: auto; }
        #feature-banner .carousel-control:focus { outline: 2px solid #0098db; }



/*===================================================================================*/
/*	GO TO TOP / SCROLL UP
/*===================================================================================*/

#scrollUp {
    bottom: 20px;
    right: 20px;
    font-size: 36px;
    line-height: 100%;
    color: #FFF;
    background-color: #506A85;
    padding: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    opacity: .5;
}

    #scrollUp:hover {
        color: white;
        opacity: 1;
    }

/* Teste */
.teste, .teste .navbar { background-color: #990D02; /* #993129;*/ }
.teste .aPrincipal { padding-left: 10px; padding-right: 10px; }


@media(max-width:767px) {
    
    body { padding: 0; }
    .size-detect-xs { display: inline; } 
    .navbar { min-height: 75px; }
    .navbar > .container .navbar-brand { height: 75px; }
    .navbar-nav > li > a { padding: 10px 0; max-height: 40px;}
    .navbar-brand { height: 50px; }
    .navbar-brand img { height: 60px; margin-left: 20px;}
    .navbar-right .item-menu-direita { padding: 10px 10px; float: left; width: 48px; height: 48px;}

    .navbar-toggle {margin-top: 20px; }
    /*.conteudo { margin-top: 50px; }*/
    .aPrincipal .caret, .open .dropdown-menu {
        display: none;
    }
    .dropdown-menu { padding: 0; width: 100%; }
    /*.yamm-content > div { padding: 10px; }
    .yamm-content, .yamm-content * { background-color: white; }*/
    
    .yamm  .yamm-content { display: none !important; }
    #body .container { padding: 0 20px; }
        #body .container:first-child { padding: 0; }
    #header .container { padding: 0 10px; }
    .blocos .blkItem:nth-child(2n+1) .ficheiroSubPagina, .blocos .blkItem:nth-child(2n) .ficheiroSubPagina { margin: 0 auto; float: none; }
    .blocos .blkItem .caption { font-size: small; margin-bottom: 10px; }
      
    
    #feature-banner .item { align-items: center; justify-content: center; max-height: 250px; height: 250px; width: 100%;  }
    #feature-banner .item img { overflow: hidden; margin-left: auto; margin-right: auto; height: 248px; width: auto; max-width: fit-content; }
    .carousel-caption { width: 99%; position: relative; margin: 0 auto; left: 0; right: 0; bottom: 0; }
        .carousel-caption * { font-size: 1.2em; }
    #news-item { margin-top: 10px; }
    .news-text { margin-bottom: 30px; }
    .more-news { margin-top: 15px; }
    #news .headline { margin: 0 0 30px 0; }
    .global-footer { text-align: center; }
    .global-footer .rodapeHeader { border-top: 1px solid white; border-bottom: none; }
    .global-footer #bottom-logo img { display: block; margin: 0 auto; }
    .global-footer p.copyright { float: none; margin: 0 auto; text-align: center; }
    .global-footer .social { float: none; margin: 0 auto; text-align: center; }
    .global-footer #bottom-text ul li { display: inline-block; margin-right: 15px; }
    .coluna2 { border-left: none; }
}

@media(max-width:1199px) {

    #feature-banner .item img { margin: 0 -50%; }

    .container { padding: 0 15px; }
    .navbar-collapse { padding-left: 0px; padding-right: 0px;  }
    .navbar-header { float: none; }    
    .navbar-nav { margin: 0; padding: 0; font-size: 100%; }
    .navbar-nav > li.btnEsquerda  > a { padding: 12px 7px 10px 7px;  }
    .dropdown .dropdown-menu { margin-right: -0px; }
    .yamm-content, .yamm-content * { background-color: white; }

    article .texto { -webkit-column-count: 1; /* Chrome, Safari, Opera */ -moz-column-count: 1; /* Firefox */ column-count: 1; }
    
    .subMenuVertical { float: none; max-width: 100%; width: 100%; }
    .comMenu section.conteudo { float: none; width: 100%; /*margin-top: 50px;*/ }

    #footer-menu .row div:nth-child(2n+1) { clear: both; }

    #ListaCalendario ul { margin-left: -40px; }
}

@media(min-width:768px) {
    .global-footer .clear { clear: none; }
    .global-footer #bottom-logo { margin: -5px 0 0 0; }
    .global-footer #bottom-text { margin-top: 2px; }
        .global-footer #bottom-text ul li { width: auto; margin: 0 15px 3px 0; padding: 0; float: none; clear: left; display: inline-block; }
}

@media(min-width:768px) and (max-width:1199px) {    
    
    .navbar > .container .navbar-brand { height: 65px; }
    .navbar-nav > li > a { padding: 10px 0; max-height: 40px;}
    .navbar-brand { height: 50px; }
    .navbar-brand img { height: 55px; margin-left: 20px;}
    .navbar-right .item-menu-direita { padding: 10px 10px; float: left; width: 48px; height: 48px;}
   
    #btnIcons { position: absolute; top: 0; right: 0; }
    .headline h2, .headline h3, .headline h4 { font-size: 1.2em; }
    .col-sm-1-4 { float: left; width: 18%; margin-right: 2%; }
    
    #social-feature button { width: 50%; margin: 5px 0; padding: 0; }
    #social-feature p { vertical-align: middle; font-size: 1.1em; }
        #social-feature p.social-timestamp { padding: 10px 0 10px 10px; font-size: .9em; }
    .more-news ul { margin: 0; }
        .more-news ul li { font-size: 1em; }
            .more-news ul li:before { content: none; }


    #ListaCalendario .lista li:nth-child(4n+1) { clear: none; }
    #ListaCalendario .lista li:nth-child(3n+1) { clear: none; }
    #ListaCalendario .lista li:nth-child(2n+1) { clear: both; }
}

@media(min-width:992px) {

    #gateways li a:hover { border-bottom: solid 2px #5f574f; color: inherit; }
    #gateways li:last-child { padding-right: 0; }
    .two-column { -moz-column-count: 2; -moz-column-gap: 20px; -webkit-column-count: 2; -webkit-column-gap: 20px; column-count: 2; column-gap: 20px; }
    .image-caption.overlay { opacity: 0; filter: alpha(opacity=0); transition: all .3s linear; position: absolute; bottom: 0; left: 0; color: #F9F9F9; background-color: rgba(0, 0, 0, 0.6); }
        .image-caption.overlay h4, .image-caption.overlay p { color: #0c2340; }
    #naUBI a { text-decoration: none; }
    #social-icons img { width: 25px; }
    #social-feature p.social-timestamp { margin: -10px 0 0; }
    #mini-alert,
    #default-alert { background-color: #fbfbf9; }
        #mini-alert h3,
        #default-alert h3 { display: block; padding-right: 0; }
        #mini-alert p,
        #default-alert p { display: block; }
    #ListaCalendario .lista li:nth-child(4n+1) { clear: none; }
    #ListaCalendario .lista li:nth-child(3n+1) { clear: both; }
}

/*@media(min-width:992px) and (max-width:1199px) {*/
    /*.navbar-nav > li > a {  }*/
    /*.conteudo { margin-top: 80px; }*/
    /*.navbar-nav  { font-size: 78%; }*/
    /*.headline h2, .headline h3, .headline h4 { font-size: 1.3em; }
    .size-detect-md { display: inline; }
    #social-feature #social_info { margin: 10px 0; }
    #social-feature p.social-timestamp { margin: 0; }
    .lista li:nth-child(3n+1) { clear: both; }
}*/

@media(min-width:1200px) {
    .size-detect-lg { display: inline; }
    #social-icons li { margin-right: 5px; }
    .postcard-left .postcard-image { width: 100px; }
    .postcard-left .postcard-text { padding-left: 10px; }
    .lista li:nth-child(4n+1) { clear: both; }
}

@media(min-width:1440px) {
    #Conteudo { font-size: 120%; }
}

@media print {
    .no-print, .noprint, .animationend {
        display: none;
    }
}