/* -----------------------------------------------------------------------

 Blueprint CSS Framework 0.9.1
 http://blueprintcss.org

   * Modificado por Filipe Rocha (filipe@viaoceanica.com)
   * Via Oceânica (www.viaoceanica.com)

----------------------------------------------------------------------- */
@import url("reset.css");
@import url("typography.css");
@import url("forms.css");
@import url("fancybox.css");

/* Containers e caixas
-------------------------------------------------------------- */
.container { width:1024px; margin:18px auto 0;}
.imgTopo   { margin-top:-100px; float:left;}
.colEsq    { float:left; }
.colMain   { }
.colDir    { float:right; }

/* Cabeçalho.
-------------------------------------------------------------- */
h1.logo   { float:left; margin:0 0 0 50px;}
h1.logo a { display:block; background:url(../imgNovo/logo.jpg); width:197px; height:172px; text-indent:-9999em; position:relative;}

header h2   { float:right; font-size:1.1em; }
header h2 a { display: block; color:#a49b34 !important; text-transform:uppercase; letter-spacing:3px; font-weight:bold; padding-right:5px; text-align: right;}
header h2 a span { font-weight: normal; }


/* Navegação */
#nav               { list-style-type:none; margin:5px 0 1px 0; padding:0; float:right; width:625px;}
#nav li            { float:left; position:relative; z-index:3000; padding:0 0 3px;}
#nav li:hover a    { color:#A49B34; text-decoration:underline;}
#nav li + li       { padding-left:16px;}
#nav li a          { font-size:0.75em; text-transform:uppercase; font-weight:bold; color:#000;}
#nav li ul         { list-style:none; margin:0; background:#eee; width:300px !important; position:absolute; display:none; top:21px; left:0px; z-index:9999999;}
#nav li:hover ul   { display:block;}
#nav li li         { padding:0; font-size:0.85em; float:none;}
#nav li li a       { color:#000 !important; border-bottom:solid 1px #ccc; padding:8px !important; background:none !important; text-decoration:none !important; display:block;}
#nav li li a:hover { color:#A49B34 !important;}
#nav li.outrosConteudos { display:none;}
#nav .verde        { color:#A49B34 !important; text-decoration:underline !important;}

/* Menu inferior */
.subNav                      { margin:0; padding:5px 16px; list-style:none; background:#a49b34; float:left; width:992px; margin-top:5px; text-transform:uppercase; font-weight:bold; color:#333; font-size:0.9em; background:#a49b34;}
.subNav li                   { float:left;}
.subNav input[type="text"]   { width:auto; border:none; height:15px; margin-left:17px; width:132px;}
.subNav input[type="submit"] { margin:0; height:15px; padding:0; text-indent:-9999em; line-height:0; background-color:none; cursor:pointer; border:none;}

.subNav .submitPesquisar  { background:url(../imgNovo/iconLupa.png); margin:0 49px 0 15px !important; width:12px;}
.subNav .submitNewsletter { background:url(../imgNovo/setaSubNav.gif); margin-left:15px !important; width:10px;}

.subNav a { background:url(../imgNovo/setaSubNav.gif) right center no-repeat; padding-right:15px; margin-left:50px; padding-bottom:1px; color:#333;}



/* Conteudo
-------------------------------------------------------------- */
.homeEsquerda         { float:left; width:263px; margin-top:30px;}
.homeEsquerda a.logos { margin-top:10px; float:left;}
.homeEsquerda a.logos + a.logos { margin-left:5px;}

.homeCentro { float:left; width:474px; margin-left:10px; margin-top:30px; border:1px solid #ddd;}
#slides                     { z-index:0;height:290px;}
.slides_container           { width:448px; height:248px; margin:15px 0 0 14px; overflow:hidden; position:relative; display:block;}
.slides_container div.slide { width:300px; height:248px; display:block;}
#slides .next,
#slides .prev               { display:none;}
.pagination                 { margin-top:30px; float:right;}
.pagination li              { float:left; margin:0 5px;	list-style:none;}
.pagination li a            { display:block; width:12px; height:0; padding-top:12px; background-image:url(../imgNovo/pagination.png); background-position:0 0; float:left;	overflow:hidden;}
.pagination li.current a    { background-position:0 -12px;}
.caption                    { z-index:500; position:absolute; bottom:-35px; left:0; height:30px; padding:5px 20px 0 20px; background:#000; background:rgba(0,0,0,.5); width:540px; font-size:1.3em; line-height:1.33; color:#fff; border-top:1px solid #000; text-shadow:none;}

.homeDireita     { margin:30px 0 0 11px; float:left; width:263px;}
/*.homeDireita .img { float:right; margin-top:5px;}*/
.homeDireita .img { background:none; margin:0.05em; padding:0; float:left;}

.colEsq a,
	.lred { display:block; color:#91283f; font-weight:bold; }	

.colMain p { text-align:justify;}
.colMain p, .colMain ul, .colMain table. .colMain dl { font-size:0.9em; line-height:1.3;}
.colMain .mainColEsq{ float:left; width:560px; }
.colMain .mainColMain{ float:left; width:263px; margin:0 20px; }
.colMain .mainColDir{ float:left; width:248px; }
.colMain h3 { margin:10px 0; font-weight:bold; color:#333; font-size:15px;}

.info  { background:#EEEEEE; padding:20px; margin-bottom:10px; border:1px solid #aaa; line-height:1.3; vertical-align:top;}
table.info {  width:100%;}

/* Caminho de Migalhas */
ul.caminho      { list-style:none; margin:15px 0 0; padding:0; text-transform:uppercase; font-size:0.9em; font-weight:bold;}
ul.caminho li   { display:inline;}
ul.caminho a, 
ul#nav2 a       { color:#A49B34;}
ul#nav2 a:hover { text-decoration:underline !important;}

ul#nav2    { list-style:none; margin:5px 0 20px; padding:0; text-transform:uppercase; font-size:0.75em; font-weight:bold;}
ul#nav2 li { display:inline; margin-right:20px;}

section.colMain h2 { margin-bottom:10px; color:#333; font-weight:bold;}

/* Prontuario */
.listagemEsquerda { float:left;}
.listagemDireita  { float:right; width:80%; display:none;}

/* Datas */
div.data    { width:33%; display:table-cell; display:inline-block; vertical-align:top; text-align:justify; line-height:1.5; zoom:1; *display:inline;}
div.data h3 { background:#A49B34; color:#fff; font-weight:bold; width:120px; padding:8px; margin-bottom:5px; text-align:center; font-size:1.25em;}
div.data hr { color:#eee;}
div.data p  { padding:0 4%;}

/* Pesquisa */
.pesquisa                      { background:#eee; border:solid 1px #aaa; padding:20px; margin-bottom:20px;}
.pesquisa label                { float:left; text-align:right; width:120px; font-size:0.9em; margin-top:5px; margin-right:10px;}
.pesquisa input[type="text"],   
.pesquisa select,
.pesquisa textarea             { float:left; width:500px;}
.pesquisa div.formBox300,
.pesquisa div.formBox500       { width:auto; clear:both;}
.pesquisa div.formBox table label  { width:auto; margin-right:0;}

.pesquisaAgenda                    { width:490px; margin:0 auto 20px;}
.pesquisaAgenda label              { width:80px; display:inline-block;}
.pesquisaAgenda input[type="text"] { width:130px;}
.pesquisaAgenda select             { width:400px;}
.pesquisaAgenda .submeter          { padding-left:83px;}

.verCartaz { display: block; padding: 5px; text-align: center; background: #f5f5f5; font-weight: bold; width: 100%; }


/* Listagens. */
ul.noStyle { list-style:none;}
ul.margemEsqMaior { margin-left:40px;}
.noDisplay { display:none;}

/* Listagem apenas aplicada na página inicial, sou capaz de ter a necessidade de modificar. */
.listMosaico { list-style-type:none; margin:0; overflow:hidden; position:relative; }
.listMosaico li { display:block; float:left; width:257px; margin:0 12px 0 0; }
.listMosaico .img { display:block; width:257px; height:79px; text-indent:-9999em; background-color:#000; background-repeat:no-repeat; background-position:center; }
.listMosaico p { color:#484848; }
.listMosaico p small { display:block; color:#666; }
.listMosaico a strong { display:block; color:#000; }
.listMosaico a:hover strong { color:#91283f; }

/* Listagem aplicada na Biblioteca Digital. */
.listLivros { margin:0 30px 30px 0; }
.listLivros .img { display:block; overflow:hidden; width:120px; height:100px; text-align:center; }
.listLivros .img img { max-width:120px; max-height:100px; }
.listLivros h3 { font-size:1em; font-weight:bold; margin:.2em 0; color:#A49B34; }
.listLivros .small { display:block; }

/* Aplicado no Inventário Geneológico > Passaportes .*/
.listAnos {}
.listAnos a { display:block; float:left; padding:4px; margin:2px; }
.listAnos a:hover { background:#e3dfda; }

/* Aplicado no Inventário Genealógico > Registos Paroquiais. */
.tListagem1 { width:100%; border:4px solid #eee !important; }
.tListagem1 th { background:#eee; color:#6d6863; }
.tListagem1 th,
	.tListagem1 td { padding:4px; border-bottom:1px solid #eee; }

.tListagem2 { width:100%;}
.tListagem2 td { padding:4px; }
.tListagem2 td[style="width:35px;"] { text-align:right;}

/*.tListagem1 .mais { display:block; overflow:hidden; width:90px; height:21px; background:url(../img/icon-ver.gif) no-repeat top left; padding: 5px 0 0 35px; cursor:pointer; }
.tListagem1 .mais:hover { background:url(../img/icon-ver.gif) no-repeat bottom left; }*/

a.linkFicheiroLista { margin:0 0 10px 40px !important; display:block;}
/* Listagem da Livraria */
.ListagemLivros { width:100%; }
.ListagemLivros td { padding:10px 0; border-bottom:1px solid #c6c0ba; vertical-align:top; }
.ListagemLivros .mais { display:block; color:#91283f; font-weight:bold; }
.ListagemLivros .mais:hover {  }

/*.listagemLivraria { width:45%; display:inline-block; height:200px; margin-right:10px; float:left;}*/
.listagemLivraria { width:45%; vertical-align:top; display:inline-block; margin:0 10px 10px 0; zoom:1; *display:inline;}
.listagemLivraria div { float:left; vertical-align:top;}
.listagemLivraria div.texto { width:200px; margin-left:20px; line-height:1.3;}
.listagemLivraria div.texto, .listagemLivraria div.texto h3 { font-size:11px !important;}
.listagemLivraria div.texto h3 { margin-top:0;}

/* Aplicado na Notícias. */
.ListagemNews { margin-bottom:15px; }
.ListagemNews .img { display:block; float:left; width:100px; height:75px; overflow:hidden; text-align:center; margin:0 5px 0 0; }
.ListagemNews .texto { display:block; float:left; width:700px;}
.ListagemNews .texto h3 { }

/* Listagem Agenda. */
.introducaoAgenda .img { display:block; float:left; width:200px; height:100px; margin-right:20px; overflow:hidden; }
.introducaoAgenda .texto { display:block; float:left; width:567px; }

.imgAgenda { float:left; width:250px; margin-right:20px;}
.infoAgenda { float:left; width:470px; }

.listagemAgenda h3       { font-size:.9em; text-transform:uppercase; font-weight:bold; color:#A49B34; margin:10px 0;}
.listagemAgenda table td { border-bottom:1px solid #aaa; font-size:.9em; vertical-align:middle;}
.headerIlha { background-color:#333333; color:#fff; font-size:.9em; padding:10px; margin-top:5px; text-align:center; text-transform:uppercase; font-weight:bold; border-bottom-width:6px; border-bottom-style:solid;}

.headerIlha.ilha1 { border-bottom-color:#cb72dc;} /* Terceira */
.headerIlha.ilha2 { border-bottom-color:#7acb48;} /* São Miguel */
.headerIlha.ilha3 { border-bottom-color:#e8d048;} /* Santa Maria */
.headerIlha.ilha4 { border-bottom-color:#866b4e;} /* São Jorge */
.headerIlha.ilha5 { border-bottom-color:#444243;} /* Pico */
.headerIlha.ilha6 { border-bottom-color:#3f7eb4;} /* Faial */
.headerIlha.ilha7 { border-bottom-color:#e3e3e3;} /* Graciosa */
.headerIlha.ilha8 { border-bottom-color:#d27e95;} /* Flores */
.headerIlha.ilha9 { border-bottom-color:#1d1d1d;} /* Corvo */

.listagemAgenda td.one   { width:200px;}
.listagemAgenda td.two   { width:50px;}
.listagemAgenda td.three { width:500px;}
.listagemAgenda td.four  { width:245px;}

.listagemVideos         { background:#eee; border:1px solid #CCCCCC; margin:0 20px 40px 0; padding:5px; width:290px; display:inline-block; vertical-align:top; zoom:1; *display:inline;}
.listagemVideos object, 
.listagemVideos embed,
.listagemVideos iframe  { width:290px !important; height:225px !important;}
.listagemVideos h3      { font-size:1em;} 

.qrCode                 { display:none;}
/*
.listagemAgenda td { margin:0; padding:10px 0; border-bottom:10px solid #efe2e4; }
.listagemAgenda .img { display:block; float:left; width:200px; margin-right:20px; height:100px; overflow:hidden;}
.listagemAgenda .titulo { display:block; float:left; width:250px; margin-right:20px;  }
.listagemAgenda .titulo h3 { font-size:1.2em; font-weight:bold; color:#92283f; }
.listagemAgenda .texto { display:block; float:left; width:317px; }
.listagemAgenda .texto span {display:block; }
.listagemAgenda .texto a { display:block; font-size:.9em; }
*/

/* Para fazer desaparecer o "th" das tabelas. */
.thOff{ display:none; visibility:hidden; }


/* Retroceder. */
.retroceder {}

/* Paginacao. */
.paginacao { clear:left; }
.paginacao a,
	.paginacao span,
	.tablePaginacao table a,
	.tablePaginacao table span { display:block; padding:5px; margin:1px; float:left; }
.activo,
	.paginacao a:hover,
	.tablePaginacao table a:hover,
	.tablePaginacao table span{ background:#A49B34; color:#fff; }
.inativo { background:#666; color:#000; }
.tablePaginacao table, .tablePaginacao td { margin:0; padding:0; border:none;}


/* Coluna da Direita.
-------------------------------------------------------------- */
.logoEa {float:right; width:300px; margin-left:20px; height:270px;}

/* Rodapé.
-------------------------------------------------------------- */
.rod .colEsq{ width:128px; border-top:1px solid #dddddd; padding:0; text-align:right; }
.rod .colMain{ width:828px; border-top:1px solid #dddddd;  padding:4px 0 0 0; margin-left:12px; }

.acessibilidade { position:absolute; top:5px; right:0; }

.navRodTop { display:block;  padding:6px; border-bottom:1px solid #dcdbdc; font-size:.9em; }

.navRod { display:inline; margin:0; list-style-type:none; font-size:.9em; }
.navRod li { display:inline; margin:0 5px; padding:6px; }
.navRod li:hover, .navRodActive { border-bottom:1px solid #dcdbdc; }
.navRod li a { color:#6a6a6a; }
.navRod li a:hover { text-decoration:none; color:#6a6a6a; }

.copyright{ font-size:.75em; margin:9px 0 15px; }

footer             { margin-top:20px !important; text-align:center !important;}
footer p           { text-align:center;}
footer ul          { list-style:none; margin:0 auto; padding:0; text-transform:uppercase; font-size:0.75em; font-weight:bold; color:#A49B34; text-align:center;}
footer ul li       { display:inline;}
footer a           { color:#A49B34;}
footer .legislacao { font-weight:bold; text-transform:uppercase; margin-bottom:14px;}
footer .simboloAcessibilidade { font-size:.75em;}


/* Extras.
-------------------------------------------------------------- */
/* Slimbox. */

/* Listagem de fotos, desactivado com display:none */
.fotosH{ list-style-type:none; margin:0 20px 40px 0; width:100%; display:none; visibility:hidden; overflow:hidden; height:0;  }
.fotosH li { float:left; }
.fotosH li a { display:block; width:120px; text-align:center; vertical-align:middle; height:100px; margin:0 5px; background:#e3dfda; border:4px solid #e7e3df }
.fotosH li a img { max-height:100px; max-width:120px; }

.fotosH2{ list-style-type:none; margin:0 20px 40px 0; width:100%;  }
.fotosH2 li { float:left; }
.fotosH2 li a { display:block; width:120px; text-align:center; overflow:hidden; vertical-align:middle; height:100px; margin:5px; background:#e3dfda; border:4px solid #e7e3df }
.fotosH2 li a img { max-height:100px; }

.fotoIsolada img{ width:150px; }


/* Icones caso seja foto ou video. */
.viewFotos{ background:url(../img/icon_photos.gif) no-repeat left; display:block; padding:10px 0 10px 35px; margin:0 0 1em 4%; }
.viewVideos{ background:url(../img/icon_videos.gif) no-repeat left; display:block; width:29px; height:29px; text-indent:-9999em; margin:0 0 1em 0; }
.viewMusic{ background:url(../img/icon_music.gif) no-repeat left; display:block; width:29px; height:29px; text-indent:-9999em; margin:0 0 1em 0; }

#mbOverlay { position:fixed; z-index:9998; top:0; left:0; width:100%; height:100%; background-color:#f3efeb; cursor:pointer; }
#mbOverlay.mbOverlayFF { background: transparent url(../img/80.png) repeat; }
#mbOverlay.mbOverlayIE { position: absolute; }
#mbCenter { position: absolute; z-index: 9999; left: 50%; overflow: hidden; background-color: #fff;
	-moz-border-radius: 0px;
	-webkit-border-radius: 0px;
	-moz-box-shadow: 0px 5px 20px rgba(0,0,0,0.40);
	-webkit-box-shadow: 0px 5px 20px rgba(0,0,0,0.40);
	}
#mbCenter.mbLoading { background: #fff url(../img/WhiteLoading.gif) no-repeat center;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
}
.textMediabox { height:480px; overflow-y:visible; overflow-x:hidden; padding:0 0 10px 0; }
.textMediabox p { margin:0; font-size:.9em; text-align:justify; color:#666; }

/* ??? */
#mbImage {
	position: relative;
	left: 0;
	top: 0;
	/* Begin styles for inline content, if no style is given	*/
	background-position: center center;
	background-repeat: no-repeat;
	padding: 10px;
}
#mbImage a, #mbImage a:link, #mbImage a:visited { color: #333; }
#mbImage a:hover, #mbImage a:active { color: #000; }
/*	End inline content styles	*/

#mbBottom { padding: 0 10px 27px  10px; text-align:left; }
#mbTitle { display: inline; font-weight: bold; font-size: 1em; }
#mbNumber { display:block; color: #333; font-size: .9em; }
#mbCaption { display:block; color: #333; font-size: .9em; clear:both; }

#mbPrevLink, #mbNextLink, #mbCloseLink { display: block; float: right; height: 20px; margin: 0; outline: none; }
#mbPrevLink { width: 20px; background: transparent url(../img/MinimalPrevious.png) no-repeat center; }
#mbNextLink { width: 20px; background: transparent url(../img/Minimalnext.png) no-repeat center; }
#mbCloseLink { width: 20px; background: transparent url(../img/MinimalClose.png) no-repeat center; }

/* Formatação para o layer que surge com sugestões de pesquisa. */
.CompletionList { background:#fff; padding:10px; border:1px windowtext #ccc; margin:0; cursor : 'default'; list-style-type:none; display:block; z-index:2; height:100px; overflow: auto; }
.CompletionListHighlightedItem { background-color:#f3efeb; cursor:pointer; }
.CompletionListItem { }

/*	Styles for flash version alert	*/

/* Imitador do Slimbox */
.bigImg{ position:absolute; top:0; left:0; z-index:1; width:100%; height:100%; text-align:center; background:url(../../img/bg-foto.png) top repeat-x; }

#mbError {
	position: relative;
	font-family: Myriad, Verdana, Arial, Helvetica, sans-serif;
	line-height: 20px;
	font-size: 12px;
	color: #000;
	text-align: center;
	border: 10px solid #700;
	padding: 10px 10px 10px;
	margin: 20px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

#mbError a, #mbError a:link, #mbError a:visited, #mbError a:hover, #mbError a:active {
	color: #700;
	font-weight: bold;
	text-decoration: underline;
}

body a.noicon { background:transparent none !important; padding:0 !important;} /* Opï¿½ï¿½o para desactivar */
a[href$=".pdf"],
	a[href$=".PDF"],
	a[href$=".doc"],
	a[href$=".xls"],
	a[href$=".docx"],
	a[href$=".xlsx"] {
		padding:2px 0 2px 22px;
		margin:-2px 0;
		background-repeat: no-repeat;
		background-position: left top;
		display: block;
		}
a[href$=".pdf"], a[href$=".PDF"]  { background-image: url(../../img/pdf.png); }  
a[href$=".doc"], a[href$=".docx"] { background-image: url(../../img/word.png); }  
a[href$=".ppt"], a[href$=".pptx"] { background-image: url(../../img/powerpoint.png); }  