﻿/* CSS Document*/
body {
    background-color: var(--main-bg-color-list);
}
#conteudo a.alinks, #conteudo a.alinks:hover, #linguas a, #linguas a:hover {
    text-decoration: none;
}

.content ul li strong {
    font-weight: normal;
    letter-spacing: normal;
}

.content > h2 {
    font-size: 2.1rem;
    line-height: 3rem;
    margin-top: 3rem;
    margin-bottom: 2.5rem;
}

.content > h3 {
    font-size: 1.4rem;
    letter-spacing: .05em;
    line-height: 2rem;
}

 #conteudo > header > h1 {
    margin: 0 0 1em;
}

 .content ul li {
    margin-bottom: 2.5rem;
}

     .content ul li strong {
        color: #cccabf;
        display: block;
        margin: 0 0 1rem;
        text-transform: uppercase;
    }

 .content p {
    margin-bottom: 1rem;
}

     .content p + img {
        margin-top: 2rem;
    }

 .content .highlighted {
    color: #cccabf;
    text-transform: uppercase;
}

 form .errors,  form .success {
    padding: 1.5rem;
}

 form .errors {
    position: relative;
    top: 1px;
}

     form .errors ul {
        column-count: 1;
        margin-top: 1.5rem;
    }

     form .errors li {
        display: block !important;
        margin-bottom: 0;
    }

 form {
    color: #404040;
}

     form .field {
        position: relative;
    }

     form .field-text:not(.visuallyhidden),  form .field-email {
        border-bottom: 1px solid #cccccc;
    }

     form .field-text:not(.visuallyhidden) label,  form .field-email label {
        left: 0;
        position: absolute;
        width: 12rem;
    }

 form input[type=checkbox] {
    position: absolute;
    left: -1000%;
}

     form input[type=checkbox]:before {
        border: 1px solid #cccccc;
        content: '';
        display: inline-block;
        font-size: 1.5em;
        height: 1.5rem;
        left: 1000%;
        line-height: 1.5rem;
        margin-right: 1rem;
        position: absolute;
        text-align: center;
        top: 0;
        width: 1.5rem;
    }

     form input[type=checkbox]:checked:before {
        content: "x";
    }

.-ms-  form input[type=checkbox] {
    left: 0;
    width: 1.5rem;
    height: 1.5rem;
}

    .-ms-  form input[type=checkbox]:before {
        content: none !important;
    }

 form .field-checkboxlist {
    position: absolute;
}

     form .field-checkboxlist .checkboxList label {
        padding-left: 2.5rem;
    }

 form input:not([type=submit]),  form input:not([type=reset]), form textarea {
    line-height: 1.4em;
    display: block;
    padding: 0.3rem;
    margin-bottom: 1em;
    margin-right:0.5em;
}

 form textarea {
    resize: vertical;
}

     #slider {
        font-weight: lighter;
        left: 0;
        position: absolute;
        right: 0;
    }

     #slider .slide {
        left: 0;
        opacity: 0;
        position: absolute;
        top: 0;
        transition: opacity 600ms ease-in-out;
    }

         #slider .slide.active {
            opacity: 1;
            position: relative;
            z-index: 1;
        }

     #slider .slider-arrows, section .container #slider .content {
        height: 0;
        position: absolute;
        left: 0;
        width: 100%;
    }

         #slider .slider-arrows div, section .container #slider .content div {
            max-width: 1360px;
            margin: 0 auto;
            visibility: hidden;
        }

         #slider .slider-arrows a {
            position: relative;
            top: -1em;
            visibility: visible;
            cursor: pointer;
            height: 27px;
            width: 17px;
            display: block;
            z-index: 100;
        }

             #slider .slider-arrows a:hover {
                background-position: center bottom;
            }

       section .container #slider .content div div {
            float: right;
            margin-right: 2rem;
        }


     .content > p {
        text-transform: uppercase;
    }

     .content > p:first-child,  .content > p:nth-child(2) {
        background: #cccabf;
        color: #fff;
        margin: 0;
        padding: 1.5rem;
    }

     .content > p:first-child {
        font-size: 2em;
        letter-spacing: normal;
        line-height: 2.5rem;
    }

 .content img {
    padding-top: 1rem;
}

/*header.container*/
.divmenub {
    color: #bcbdc0;
    height:1.5em;
    width: 1.5em;
    float: left;
    padding-left:1%;
    position: relative;
}

    .divmenub img {
        height: 1.5em;
        border: none;
    }

/* Idioma */
#linguas {
    top: 2em;
    right: 0em;
    float: right;
    padding-right: 20px;
    position: absolute;
    z-index: 99999;
}

    #linguas a {
        color: #000000;
        text-decoration: none;
        height: 1em;
        float: left;
    }

#linguas a:hover {
	color: #b40200;
    text-decoration: none;
    height: 1em;
    float: left;
}

        #linguas a, #linguas a:hover, #linguas a:visited, #linguas a:link, #linguas a:active {
            text-decoration: none;
        }
/* Texto */
.two_texto {
    text-align: left;
    font-weight: normal;
	font-style: normal;
    font-size: 1.2em;
    padding-bottom: 1em;
}

.three_texto {
    text-align: left;
}

.roxo {
    color: #6f2213;
}

 p.preface1,  span.preface1 {
    font-size: 1.2em;
    line-height: 1.5rem;
    color: #000000;
    max-width: 60rem;
    text-align: left;
    font-size: 1em;
}

.vermelho {
    color: #bc3c19;
}

.class_img {
    width: 100%;
}

.sem_margem {
    margin-bottom: 0px!important;
}

#bt_voltar {
    position: absolute;
    top: 20px;
}

#divvoltar {
    margin: auto;
    max-width:1280px;
}
    #divvoltar a {
        display: block;
        width:101px;
        height: 31px;
    }

      #slider .content > div {
            margin: 0 auto;
        }

       #slider .slider-controls {
        height: 0;
        position: absolute;
        right: 1em;
        width: 100%;
        top: 1em;
        z-index:2;
    }
         #slider .slider-controls ul {
            margin: 0 auto;
            max-width: 1360px;
            text-align: right;
        }

         #slider .slider-controls li {
            display: inline-block;
            padding: 0;
        }

          #slider .slider-controls li span {
                background-color: rgba(255,255,255,0.2);
            }
             #slider .slider-controls li.active span {
                background-color: rgba(255,255,255,1);
            }

         #slider .slider-controls a {
            display: block;
            cursor: pointer;
            padding: .4rem 0 .4rem .4rem;
            height: 18px;
        }

         #slider .slider-controls span {
            display: block;
            background-color: rgba(255,255,255,0.2);
            height: 0.5rem;
            width: 0.5rem;
        }

           #slider .content > div {
            display: table-cell;
            vertical-align: bottom;
        }

         #slider .slide {
            min-height: inherit;
            height: inherit;
            width: 100%;
        }

         #slider .links {
            background: transparent;
            position: relative;
            right: 0;
            z-index: 100;
            bottom: 3em;
            float: right;
        }
         #slider .links a img {
            position: relative;
            margin-right: 9em;
        }

/* Menu lateral*/
#menulat {
    float:left;
    position:absolute;
    left:0;
    display:none;
    z-index:1000;
    background-color: #ffffff;
    height: 100px;
}

.divmenu {
   position:absolute;
   z-index:1001;
   top:0px;
   background-color: #666666;
   padding: 5px;
   border: 1px solid #666666!important;
}

.divmenu a {
    color: #bcbdc0;
}
        .divmenu a.active, .divmenu a:hover, .divmenu a:focus {
            color: #b20303;
            border: none;
            outline: none;
        }
.divtopL {
    width:250px;
    height:20px;
    margin: 10px 5px 5px 5px;
    line-height: 20px;
}

    div.divtopL a {
        display: block;
        text-align: left;
        color: #ffffff;
        text-transform: uppercase;
        line-height: 20px;
    }

     div.divtopL a.active, div.divtopL a:hover, div.divtopL a:focus {
            color: #ffffff!important;
            background-color: #999999;
        }

.openML {
    width:40px;
    height:25px;
}

.square {
    display: block;
    height: 20px;
    width: 20px;
    float: left;
    margin-right: 5px;
    padding: 5px;
    line-height: 20px;
}
.square2 {
    background-color: #b40200;
}
.square3 {
    background-color: #059fc3;
}
.square4 {
    background-color: #3cca9a;
}
.square5 {
    background-color: #f29715;
}
.square6 {
    background-color: #6acde4;
}
.square7 {
    background-color: #b5c80c;
}
.square8 {
    background-color: #b132b2;
}
.square9 {
    background-color: #a978f5;
}

/* Video */
.embed_container {
    position: relative;
    padding-bottom: 45%; /* 16/9 ratio */
    padding-top: 0px; /* IE6 workaround*/
    height: 0;
    overflow: hidden;
}
.embed_container iframe,
.embed_container object,
.embed_container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* MAPA */
#mapdiv {
    background-color: #D9D9D9;
}

#map_canvas {
    width: 100%;
}

    #map_canvas_ficha
    {
        width: 100%;
        height: 250px;
    }
    #map_canvas .info_window {
        min-height: 100px;
        overflow-x: hidden;
    }

    .mapa_img img {
        width: 100%;
        height: auto;
    }
.infomap {
    width: 27px;
    height: auto;
}

.imgcredit {
    font-style: italic;
}

.gm-ui-hover-effect {
    min-width: 1em;
}

.infowindowtit {
    font-weight: bold;
    padding: 5px 0;
    font-size: 16px;
}

#lblInfMapa {
    float: left;
    width: 40%;
    height: auto;
    padding: 0 1% 0 5%;
    overflow: hidden;
    overflow: auto;
    overflow-x: hidden;
    margin-bottom: 3%;
}

/*    #lblInfMapa a {
        text-decoration: none;
        color: #000;
    }*/

.divmap {
    padding-bottom: 10px;
}
    .divmap a {
        text-decoration: none;
        color: #000;
        height: 30px;
        display: block;
    }
    .divmap img {
        float: left;
        line-height: 30px;
        height: 30px;
        padding-right: 10px;
    }
    .divmap div {
        float: left;
        height: 30px;
        vertical-align: middle;
    }

a.alink1
,a.alink1:focus
,a.alink1:visited {
    text-decoration: none;
    display: block;
    line-height: 20px;
    height: 20px;
    padding: 2px 5px;
    color: #ffffff!important;
    border-bottom: none!important;
}

a.alink2, a.alink3,a.alink4,a.alink5,a.alink6,a.alink7
a.alink2:focus, a.alink3:focus,a.alink4:focus,a.alink5:focus,a.alink6:focus,a.alink7:focus
,a.alink2:visited, a.alink3:visited,a.alink4:visited,a.alink5:visited,a.alink6:visited,a.alink7:visited {
    text-decoration: none;
    display: block;
    line-height: 20px;
    height: 20px;
    width: 60px;
    padding: 2px 5px;
    color: #ffffff!important;
    border-bottom: none!important;
}

    a.alink1:hover {
        border-bottom: #b40200;
        color:#ffffff!important;
    }

a.alink2 {
    background-color: #b40200;
}
    a.alink2:hover {
        border-bottom: #b40200;
        color:#ffffff!important;
    }

a.alink3 {
    background-color: #2aaa7f;
}
    a.alink3:hover {
        border-bottom: #2aaa7f;
    color:#ffffff!important;
    }

a.alink4 {
    background-color: #f29715;
}
    a.alink4:hover {
        border-bottom: #f29715;
        color:#ffffff!important;
    }

a.alink5 {
    background-color: #6acde4;
}
    a.alink5:hover {
        border-bottom: #6acde4;
        color:#ffffff;
    }

a.alink6 {
    background-color: #b5c80c;
}
    a.alink6:hover {
        border-bottom: #b5c80c;
        color:#ffffff;
    }

a.alink7 {
    background-color: #a978f5;
}
    a.alink7:hover {
        border-bottom: #a978f5;
    color:#ffffff;
    }

#one {
    position: relative;
}

#two {
    display: inline-block;
    position: absolute;
    float: right;
    right: 0px;
    bottom: 0px;
    background-color: #b40200;
}
​   #two:hover, #two1:hover {
        background-color: #000;
    }

#one1 {
    position: relative;
    margin-bottom:20px;
}

#two1 {
    display: inline-block;
    position: absolute;
    float: right;
    left: 0%;
    bottom: 0px;
    background-color: #b40200;
}


 #three {
    display: inline-block;
    position: absolute;
    float: right;
    right: 20px;
    bottom:10px;
}​

.carousellink {
   padding: 2px 5px;

}

    .carousellink a, #two a, #three a {
        display: block;
        color: #ffffff;
        text-decoration: none;
        border-bottom: none;
        padding: 5px 10px;
        text-transform: uppercase;
    }

.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    height: auto;
}

    .embed-container iframe, .embed-container object, .embed-container embed {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

iframe {
    max-width: 100% !important;
}

ul#cmenuh {
    margin: 5px 0px;
    padding: 0 1em;
    list-style-type: none;
    text-align: left;
    height: 40px;
}

    ul#cmenuh li {
        display: inline;
        line-height: 40px;
        float: left;
        padding: .2em 1em;
    }

        ul#cmenuh li:first-child {
            padding-left: 0px;
        }

        ul#cmenuh li a {
            text-decoration: none;
        }

a.noselec:hover, a.aselect1:hover, a.aselect2:hover, a.aselect3:hover, a.aselect4:hover, a.aselect5:hover, a.aselect6:hover, a.aselect7:hover, a.aselect8:hover {
    border-bottom: none !important;
}

ul#cmenuh li a.noselec {
    color: #818181;
}

    ul#cmenuh li a.noselec span {
        color: #818181;
    }

#listagem,.cmenut span {
    float: right;
}

#listagem span {
  margin-right: 5px;
  height: 23px;
}

.cmenut {
  height: 23px;
  width: 110px;
  text-align: right;
}

a.li1 {
    text-decoration: none;
    display: block;
    line-height: 20px;
    height: 20px;
    width: 50px;
    padding: 2px 5px!important;
}

/* CRONOLOGIA */
.vco-slider, .vco-slider .slider-item {
    min-height: 200px !important;
    max-height: 350px !important;
}

#timeline-embed {
    min-height: 200px !important;
    max-height: 600px !important;
}

.vco-slider .slider-item .content .content-container .text .container p {
    line-height: 1.5em!important;
}

/* Detalhe */
#conteudo {
    margin: 0 auto;
    background-color: #ffffff;
    width: 97%;
    margin-top: 2em;
}

    #conteudo a {
        text-decoration: none;
    }

    #conteudo a.alink /*, footer.container a.alink*/
     {
        color: #b40200!important;
    }
    #conteudo a.alink:hover /*, footer.container a.alink:hover*/{
        border-bottom: 1px solid #b40200!important;
    }
        #conteudo a:hover img, a.alink img:hover {
            border: none;
        }

#content a.alinki /*link na equipa */ {
    color: #333333 !important;
}

    #content a.alinki:hover /*link na equipa a.alink:hover*/ {
        border-bottom: 1px solid #333333 !important;
    }

    #conteudo a.alinks/*, footer.container a.alinks*/
     {
        color: #000!important;
    }

        #conteudo a.alinks:hover/*, footer.container a.alinks:hover*/ {
            border-bottom: 1px solid #666666 !important;
        }
        #conteudo a:hover img, a.alinks img:hover {
            border: none;
        }
     #conteudo .cesquerda
    {
	    width: 40%;
        min-width:450px;
	    float: left;
        height: auto;
        margin-bottom: 20px;
    }

         #conteudo .cesquerda a
        {
	        text-decoration: none;
        }

     #conteudo .cdireita
    {
	    width: 55%;
	    float: left;
        margin-bottom: 20px;
    }
    #conteudo .cdireita .cdireitacentro{
        margin-right:2%;
        margin-left:4%;
    }

     #conteudo .cdireita a
    {
	    text-decoration: none;
        height: 100%;
        border-bottom: 0px!important;
    }

        #conteudo .cdireita a:hover {
            height: 100%;
            border-bottom: 1px solid #333333;
        }

    #conteudo img {
        border:none;
    }
#detalheb {
    width: 100%;
    height: 100%;
    display: block;
}

#titulo
{
    font-size: 24px;
    line-height: 30px;
    margin-top: 10px;
}

.titulo1 {
    color: #012d98 !important;
}
.titulo2 {
    color: #012d98 !important;
}
.titulo3 {
    color: #012d98 !important;
}
.titulo4 {
    color: #012d98 !important;
}
.titulo5 {
    color: #012d98 !important;
    font-size: 22px!important;
}
.titulo6 {
    color: #012d98 !important;
}
.titulo7 {
    color: #012d98 !important;
}
.titulo8 {
    color: #012d98 !important;
}

#conteudobg .texto {
    margin-bottom: 0px;
}

#conteudobg .texto a{
    display: inline-block;
}

.texto {
    text-align: left;
    color: #012d98 !important;
    line-height: 22.85px!important;
}

.texto a{
    display: inline-block;
}
/* Galeria de img */
#dlImages {
    margin: 0 auto;
    background-color: var(--main-bg-color-list);
}

.html5gallery-elem-img-0 a {
    display: none!important;
}

.html5gallery-title-0 {
    padding: 0 0 0 0.35em;
}

table.itemo {
    height: 300px;
}

    table.itemo td {
        position: relative;
        line-height: 20px;
        padding: 0px;
        margin: 0px;
        background-color: var(--main-bg-color-list);
    }

        table.itemo td.baixo {
            height: 100px;
            max-width: 236px;
            line-height: 1.5em;
            padding-top: 15px;
        }
     table.itemo td.baixo p{
        margin: 0px;
    }
table.itemo:nth-child(4) {
    margin-right: 0px;
}
    /* Galeria album */
        .loader
        {
            height: 50px;
            width: 100px;
        }

        /* Obras */
       .itemo
        {
            margin: 0 auto;
            vertical-align: middle;
        }
        .itemo .body
        {
            width: 236px;
            height: 180px;
            border: 0px;
        }

        .itemo .img_fileo {
            height: 240px;
            max-width: 236px;
            width: 100%;
            overflow: hidden;
            margin: 0 auto;
            display: block;
            vertical-align: middle;
            text-align: center;
            background-color: var(--main-bg-color-list);
        }

        .itemo .image {
            width: auto;
            height: 100%;
            max-height: 240px;
            max-width: 236px;
            border: 0px;
        }

table.itemo td img {
    display: block;
     margin-left: auto;
    margin-right: auto;
}

        /* museu */
#parte20, #parte20 img, #parte20 a img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

    #parte20 a
    {
        width: 100%;
        height: auto;
    }

    #parte20 img {
        border: none;
    }

#parte10 {
  width: 100%;
}
#div1m {
    width: 100%;
}
#div1m #two
{
    bottom: 4px!important;
}

#div3m
{
    line-height: 20px;
    width: 35%;
    float: right;
}
#parte20 a,#parte20 a:hover,#parte20 a img,#parte20 a img:hover {
    text-decoration:none;
    border-bottom: none;
}

#parte30 {
    margin-bottom: 10px;
}
.threecolumns {
    width: 100%;
    clear: both;
}
    .threecolumns div.threediv {
        width: 32%;
        float: left;
        background-color:#ffffff;
    }
    .threecolumns div.twodiv {
        width: 65%;
        float: left;
        background-color:#ffffff;
        padding-bottom: 20px;
        padding-top: 20px;
    }
        .threecolumns div img {
            width: 100%;
            border: none;
        }

    .threecolumns .threeimg {
        max-height: 300px;
        overflow: hidden;
    }
        .threecolumns div.threediv:nth-child(1), .threecolumns div.threediv:nth-child(2) {
            margin-right: 2%;
        }
        .threecolumns div.threediv div.threeimg, .threecolumns div.threediv div.threecontent{
            width: 100%;
            float: none;
        }

        .threecolumns .threecontent {
            padding-top: 2%;
            padding-left: 2%;
            padding-right: 2%;
            padding-bottom: 25px;
            width: 94%;
        }

    .threecolumns div p {
        color: #000000;
    }

    /* menu */
.menu_1,.menu_item_1 {
    line-height:25px;
}
.menu_item_1 {
    font-weight: bold;
    text-transform: uppercase;
}
.menu_item_2 {
    line-height:20px;
}

#flashcontent {
  height: 100%;
}

.msgload {
    height: 0px;
}
.cssbtmais {
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    line-height: 40px;
    padding: 0px !important;
}

    .cssbtmais:hover {
        cursor: -webkit-grab;
        cursor: pointer;
    }

    .cssbutton:hover, #btok:hover {
        background-color: var(--main-bg-color-hover);
    }

.cssimgbt {
    width: 1em;
    height: 1em;
    line-height: 1em;
    display: inline-block;
}


.especifica-texto-especifica {
    width: 20em !important;

    float: none;
}

.especifica-campo {
    margin-left: 2em;
    width: 20em !important;
    float: left;
}

.dd-container {
    float: left;
    margin-bottom: 1em;
    height: 2em;
}

.dd-selected
{
    padding: 3px!important;
}

/* hacks */
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix {
    display: inline;
    vertical-align: middle;
}

.lista_box_listagem, .lista_box_lista, .lista_box_norma {
    width: auto;
    display: block;    
    padding: 0;
    vertical-align: middle;
    width: 97%;
    max-width: 97%;
}
.lista_box_listagem, .lista_box_lista {
    min-height: 60px;
}
/*    .lista_box_norma {
        height: 120px;
        padding: 0!important;
    }*/

    .col_img {
        padding: 10px;
        width: 120px;
        display: inline;
        float: left;
    }

    .col_img img {
        max-width: 100px;
        border: 1px solid #ccc;
    }

.col_a {
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 18px;
    float: left;
    word-break: normal;
    max-width: 40%;
}

.col_b {
    padding-top: 10px;
    padding-bottom: 10px;
   /* width: 10%;*/
    min-width: 10%;
    float: left;
}

.col_c {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 4px;
    width: 43px;
    float: right;
}

.col_img_topo {
    padding: 10px;
    width: 224px;
    display: inline;
    float: left;
    padding-top: 5px;
    color: #740000;
}

.col_img, .col_b, .col_c {
    height: 120px;
    display: flex;
    align-items: center;
}

.lista_box_listagem .col_b, .lista_box_lista .col_b, .lista_box_norma .col_b {
    width: auto;
    /*margin-top: 8px;*/
    max-width: 80%;
}
    .lista_box_norma .col_b
    {
        height: 120px;
    }
    .editListSearch .col_img, .editListSearch .col_b, .editListSearch .col_c, .editListSearch a {
        cursor: default !important;
        height: 0;
        text-decoration: none !important;
    }
.editListSearch a:hover {
    color: inherit!important;
}

.col_a_topo {
    padding-top: 5px;
    padding-bottom: 10px;
    width: 60%;
    display: inline;
    float: left;
    color: #740000;
}

.col_b_topo {
    padding-top: 5px;
    padding-bottom: 10px;
    width: 10%;
    display: inline;
    float: left;
    color: #740000;
}


.lista_box {
    width: auto;
    display: block;
    height: auto;
    border-bottom: 1px solid #f5f5f5;
    padding: 4px 0px 1px 0px;
    vertical-align: middle;
    background-color: #ffffff;
}

    .lista_box:hover {
        background-color: #eff0ef;
    }

    .lista_box .col_img {
        float: left;
        margin: 0px auto;
        border: 0px;
        padding-left: 5px;
        width: 110px;
        height: auto; /* para a imagem não ultrapassar a altura da linha*/
    }

    .lista_box .col_a {
        float: left;
        margin: 0px auto;
        border: 0px;
        padding-left: 5px;
        width: 100px;
    }

        .lista_box .col_a img {
            width: 50px;
            background-color: var(--main-bg-color);
        }

    .lista_box .col_b {
        float: left;
        margin: 0px auto;
        border: 0px;
        padding-right: 3px;
        padding-left: 20px;
        max-width: 70%;
        font-size: 18px;
    }

    .lista_box .col_c {
        float: right;
        margin: 0px auto;
        border: 0px;
        padding-right: 3px;
        padding-left: 5px;
        width: 100px !important;
        text-align: left;
    }

        .lista_box .col_c span:hover {
            color: #999999;
        }

    .lista_box .col_d {
        float: left;
        margin: 0px auto;
        border: 0px;
        text-align: right;
    }

        .lista_box .col_d:hover {
            border-bottom: 1px solid #45ada6;
            color: #45ada6;
        }

.legenda {
    font-style: italic;
    font-size: 1em;
    text-align: center;
}
/* botão arquivo nas notícias*/
.button.little {
    height: 2em;
    line-height: 2em;
}

.titulo_p {
    padding: 20px;
}

#sarquivo
{
    text-align:center;
}

.logoimg {
    margin-bottom: 0px !important;
    margin-top: 1em !important;
    margin-left: 1em!important;
    padding-bottom: 1em !important;
}

#bpesquisa a, #bpesquisa a:hover {
    text-decoration: none;
}
#bpesquisa {
    right: 0em;
    float: right;
    padding-right: 20px;
    line-height: 1em;
    padding-top: 10px;
}

    #bpesquisa a {
        text-decoration: none;
        height: 1em;
        float: left;
        line-height: 1em;
    }

        #bpesquisa a:hover {
            text-decoration: none;
            filter: invert(27%) saturate(2878%) hue-rotate(346deg) brightness(10%) contrast(97%);
            fill: #fff;
            height: 1em;
            float: left;
        }

/* PESQUISA BOX */
.texesquisa, .campoPesquisa {
    vertical-align: middle!important;
    margin-bottom: 1em!important;
}

#resPesFil, #lblResPesFil {
    display: inline;
}
/* .PESQUISA BOX */
/* Não pode ficar aqui, senao nao faz os quadrados direitos na listagem dos registos relacionados */
/*
.square-thumb {
    width: 68px !important;
    height: 68px !important;
}
*/
#geral_texto_objecto {
    float: left;
    padding-left: 5px;
}
#pesq_geral {
    /*min-height: 120px;*/
    min-height: unset !important;
    width: 100%;
    height: 100%;
}
#pesquisa_erro {
    padding: 1em;
}

.cmenut {
    width: 100%;
    text-align: right;
}

#nav.cmenut {
    float: right;
    height: 1em;
    line-height: 1em;
    border-top: 0px solid #fff;
    border-bottom: 0px solid #fff;
    background-color: transparent;
    margin-bottom: 1em;
}

    #nav.cmenut span {
        margin-right: 5px;
    }

        #nav.cmenut span a {
            display: inline-block;
            width: 36px;
            height: 34px;
        }
.titulo_fr {
    font-size: 1em;
    margin-bottom: 20px;
}

.bdata {
    font-size:1em;
}

#preFooter {
    width: 100%;
}

/*************AVISO LEGAL***********/
#avisoLegalBckJS {
    max-width: 2560px !important;
    width: 100vw !important;
    height: 100vh !important;
    position: fixed !important;
    z-index: 99999 !important;
    top: 0 !important;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

#avisoLegalJS {
    max-width: 2560px !important;
    width: 100vw !important;
    min-height: 10vh !important;
    position: fixed !important;
    z-index: 99999 !important;
    color: #000 !important;
    bottom: 0em !important;
    background-color: #ffffff !important;
}

    #avisoLegalJS p, #avisoLegalJS p a {
        text-align: center;
        line-height: 18px;
        font-size: 14px !important;
    }

        #avisoLegalJS p {
            padding: 0.5em 1.5em;
        }

.opcoesAvisoLegal {
    margin: auto;
    text-align: center;
}

.rejeitaCookies, .aceitaCookies {
    min-width: 100px;
    height: 20px;
    display: inline-block;
    cursor: pointer;
    margin: 0.5em;
    border-radius: 6px;
    text-align: center;
    color: #000;
    text-transform: uppercase;
    font-size: 14px !important;
}

span {
    /* se tiver important, não aparece o icon close, no mapa */
    background: inherit;
}

/* ver se é necessário */
.contentor_wrapper {
    text-align: center;
    color: var(--colorTextoFicha);
    padding: 0 !important;
}

/* insite/ inweb*/
#lbIdentificacaoTarefa, #lblidentificacaoLayout, #menusup, #lbl_resumoinsite, #lbTitulo {
    width: 100%;
}
/* ####################### */
/* ####################### */
/* ####################### */
@media screen and (max-width: 991px) {
    #lblInfMapa {
        margin-top: 3%;
    }
}

@media screen and (max-width: 785px) {
    .divmenub {
        float: none;
    }

    .threecolumns div.threediv, .threecolumns div.twodiv, #conteudo .cesquerda, #conteudo .cdireita {
        width: 90% !important;
        margin: 0 5% !important;
        float: none;
    }

    #div1m {
        width: 100% !important;
        margin: 0% !important;
    }

    .threecolumns div.threediv img {
        padding-top: 10px;
    }

    #linguas {
        top: 1em;
    }
}

@media screen and (min-width: 999px) {
    #conteudo .cdireita {
        width:52%;
    }
    #linguas {
        top: 1em;
    }

}
/* Mobile */
@media screen and (max-width: 29.749rem) {

    .barra {
        display: none;
    }

     #slider .slider-arrows .left {
        margin-left: 0.5rem;
    }
     #slider .slider-arrows .right {
        margin-right: 0.5rem;
    }
    #linguas {
        top: 1em;
    }
}

/* IPAD */
@media screen and (max-width: 52.499rem) {
     #slider .content {
        display: table;
        min-height: inherit;
        height: 100%;
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
    }

     #slider .content > div > div {
        min-height: 0 !important;
    }
    #linguas {
        top: 1em;
    }
}

/* Mobile  & ipad */
@media screen and (min-width: 29.75rem) and (max-width: 52.499rem) {

     #slider.content {
        top: 40%;
    }

    .barra {
        display: none;
    }
    #linguas {
        top: 1em;
    }
}

@media screen and (max-width: 980px) {
     #slider .slider-controls span {
        display: none;
    }

    #lblInfMapa {
        padding: 0 1% 0 1%;
           }
}

@media screen and (max-width: 1025px) {

    #linguas {
        top: 1em;
    }

    .info_window {
        max-width: 300px;
    }

    #conteudo {
        max-width: 97%;
    }

    /*header.container*/
    .divmenub {
        padding-left: 0px;
    }

    /* Galeria de img */
table.itemo {
    height: 280px;
}

    table.itemo td.baixo {
        height: 100px;
        max-width: 224px;
    }
        .itemo .body
        {
            width: 224px;
            height: 164px;
        }

        .itemo .img_fileo {
            height: 224px;
            max-width: 225px;
        }

        .itemo .image
        {
            max-height:225px;
            max-width: 224px;
        }

		#conteudo
		{
			background-image: none!important;
		}

     .content ul {
        column-count: 2;
        column-gap: 1.5rem;
    }

         .content ul li {
            display: inline-block;
        }

     .content p.left,  .content p.right {
        float: left;
        width: 50%;
    }

     .content p.right {
        clear: right;
    }

     .preface {
        float: left;
        width: 75%;
    }
         .content > p:first-child {
            padding-right: 50%;
            margin-bottom: 1.5rem;
        }

         .content > p:nth-child(2) {
            position: absolute;
            right: 0;
            top: 0;
            width: 50%;
        }

     form .field-text,  form .field-email {
        padding-bottom:5px;
    }

     form .field-textarea {
        clear: both;
    }

     #slider {
        min-height: inherit;
        height: inherit;
    }

     #slider .slide {
        min-height: inherit;
        height: inherit;
        width: 100%;
    }

     #slider .content {
        display: table;
        min-height: inherit;
        height: 100%;
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
    }

             #slider .content > div > div {
                width: 100%;
                box-sizing: content-box;
            }

                 #slider .content > div > div:after, #slider .content > div > div:before {
                    content: "";
                    display: block;
                    height: 100%;
                    text-align: right;
                    top: 0;
                }

          #slider .slider-controls li span {
                background-color: rgba(255,255,255,0.2);
            }
             #slider .slider-controls li.active span {
                background-color: rgba(255,255,255,1);
            }

         #slider .slider-controls a {
            display: block;
            cursor: pointer;
            padding: .4rem 0 .4rem .4rem;
            height: 18px;
        }

         #slider .slider-controls span {
            display: block;
            background-color: rgba(255,255,255,0.2);
            height: 0.5rem;
            width: 0.5rem;
        }
}

@media screen and (max-width: 260px) {
    footer /*.container*/ div {
        font-size: 7px;
        padding-left: 0px!important;
    }

    footer /*.container*/ div img{
        height: 1em;
    }
    #conteudo{
        margin-top:4em;
    }
}

@media screen and (max-width: 480px) {

     #slider .slider-controls span {
        display: block;
        background-color: rgba(255,255,255,0.2);
        height: 0.3rem;
        width: 0.3rem;
    }

      #slider .slider-controls {
        right:1em;
    }

     #slider .links {
        bottom: 1.5em;
    }

    footer /*.container*/ div {
        font-size: 8px;
        padding-left: 5px!important;
    }

    footer /*.container*/ div img{
        height: 1.5em;
    }
    #conteudo {
        margin-top: 4em;
    }
}

@media screen and (min-width: 481px) and (max-width: 640px) {

      #slider .slider-arrows .right {
            margin-right: 0.5rem;
        }
         #slider .slider-arrows .left {
            margin-left: 0.5rem;
        }

         footer div {
            font-size: 10px;
            padding-left: 10px!important;
        }

    footer div img{
        height: 2em;
    }
    #conteudo {
        margin-top: 4em;
    }
}

@media screen and (min-width: 641px) and (max-width: 840px) {

    .divmap {
        font-size:0.8em;
    }

     #slider .slider-arrows .right {
        margin-right: 0.5rem;
    }

    #slider .slider-arrows .left {
        margin-left: 0.5rem;
    }
    #conteudo {
        margin-top: 4em;
    }

    .container {
        margin-top: 1em !important;
    }
}

@media screen and (min-width: 1281px){
    #slider .links a img{
       margin-right: 10em;
    }
}


i, em {
    font-style: italic!important;
}

/* separadores */
#texto_show a, #texto_show_200000 a, #texto_show_300000 a, #texto_show_400000 a, #texto_show_500000 a, #texto_show_1100000 a {
    display: block;
    width: 100%;
    height: 30px;
    cursor: pointer;
}

#texto_show, #texto_show_200000, #texto_show_300000, #texto_show_400000, #texto_show_500000, #texto_show_1100000 {
    width: 50%;
    margin: 0 auto;
}

.texto_mais {
    background-image: url(../images/abre_mais.svg) !important;
    background-size: 25px 25px;
    cursor: pointer;
}
.texto_menos, .texto_mais {
    background-repeat: no-repeat;
    display: inline-block;
    padding: 15px 15px;
    float: right;
}

/* PESQUISA GERAL */

#geral.container {
    margin-top: 1em !important;
}


/*INWEB:*/


.lista_box.clearfix {
    display: block !important;
    background-color: transparent !important;
    min-height: 100px;
}

/*para aparecer o botão de agregar no result.aspx - testar*/
/*.lista_box.clearfix .cssicon, .lista_box.clearfix .texto_mais {
    display: none !important;
}*/

    div[id^="texto_show"] {
        vertical-align: middle;
        margin-top: 2em!important;
        display: inline-block;
        width: 100%!important;
    }

.imgPlusSearch {
    cursor: pointer;
    height: 30px;
    margin-top: 25%;
}

.fancybox-container, .search-panel .search-box input, .search-panel .search-box input:focus {
    z-index: 99999 !important;
}

#apesquisa {
    cursor: pointer!important;
}

#dListItems tbody
{
    width: 100%;
    display: inline-table;
}

/* alinha a imagem ao meio*/
.iabsmiddle {
    vertical-align: middle
}