.png { behavior: url(css/iepngfix.htc) }
body{
   margin: 0 !important;
   padding: 0 !important;
}

#overlay{
	background-color: rgba(0,0,0,0.5);
	position: fixed;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	width: 100%;
	height: 100%;
	display: none;
	z-index: 10;
}

#main{
	width: 100%;
	position: relative;
}
#header{
	width: 100%;
	position: fixed;
	z-index: 4 !important;
}
#header .content{
	margin-right: auto !important;
	margin-left: auto !important;
	width: 100%;
	max-width: 1366px;
	background-color: white;
}
#header .content img{
	width:100%;
	max-width: 1366px;
	display: block;
}
#header .spacer{
	width: 100%;
}
#header .spacer img{
	width: 100%;
	height: 50px;
	display: block;
	z-index: 1;
}
#main_links{
	position: absolute;
  	margin: 0 auto;
  	left: 0;
  	right: 0;
	width: 100%;
	max-width: 1366px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: bold;
	color: white;
	vertical-align: middle;
	text-decoration: inherit;
	padding-top: 20px;
	padding-left: 10px;
	letter-spacing: 6px;
}
#main_links a{
	color: white;
	text-decoration: none;
}
#main_links_mobile{
	position: absolute;
  	margin: 0 auto;
  	left: 0;
  	right: 0;
	width: 100%;
	max-width: 1366px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: bold;
	color: white;
	vertical-align: middle;
	text-decoration: inherit;
	padding-top: 28px;
}
#main_links_mobile a{
	color: white;
	text-decoration: none;
}

#spacer{
	width: 100%;
}
#content{
	margin-right: auto !important;
	margin-left: auto !important;
	width: 100%;
	max-width: 1366px;
}
#links{
	position: absolute;
}
#links td{
	padding-left: 8px;
	padding-top: 8px;
	max-width: 80px;
}
#links td img{
	width: 100%;
	display: block;
	max-width: 80px;
	max-height: 80px;
}
.imgLink{
	width: 25%;
	margin-right: 20px;
}
.link80{
	margin-left: 8px;
	margin-top: 8px;
	width: 100%;
	max-width: 80px;
	max-height: 80px;
	display: block;
}
.sair{
	padding-right: 20px;
	padding-top: 20px;
	text-align: right;
	vertical-align: top;
}
#paginas{
	margin-right: auto !important;
	margin-left: auto !important;
	background-color: white;
	width: 100%;
	max-width: 1366px;
	display: none;
}
#paginas_mobile{
	margin-right: auto !important;
	margin-left: auto !important;
	background-color: white;
	width: 100%;
	max-width: 1366px;
	display: none;
	margin-top: 20px;
}

#pagesContent{
	margin-left: 20px;
	border-left: 2px solid #00016a;
	padding-left: 20px;
	line-height: 22px;
}

#subLinks div{
	margin-left: 2%;
	padding-bottom: 5px;
	padding-top: 5px;
}

#subLinks div img{
	vertical-align: middle;
}
#subLinks .titulo{
	color: #00016a;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12pt;
	/*line-height: 18px;*/
	font-weight: bold;
}
#subLinks .titulo a{
	text-decoration: none;
	color: #00016a;
}
#subLinks .titulo a:hover{
	text-decoration: underline;
	color: #00478a;
}
.linkPaginas{
	color: black;
	text-decoration: none;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 20px;
	font-weight: bolder;
}
#instituicao{
	/*background-color: #87ceeb;*/
	color: #00016a;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
}
#patrimonio{
	/*background-color: #87ceeb;*/
	color: #00016a;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
}

#servicos{
	/*background-color: #3cb371;*/
	color: #00016a;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
}
#informacoes{
	/*background-color: #3cb371;*/
	color: #00016a;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
}
#contactos{
	/*background-color: #4169e1;*/
	color: #00016a;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
}
#contentRotator{
	position: relative;
	width: 100%;
	z-index: -1;
	display: none;
}
#contentRotator div{
	position: absolute;
	top: 0px;
}
#contentRotator .bg{
	width: 100%;
	max-width: 1366px;
	display: block;
}

#controls{
	position: absolute;
	margin: auto auto;
	width: 100%;
	max-width: 1366px;
	display: none;
}
#nextImage{
	position: absolute;
	top: 45%;
	right: 10px;
}

#previousImage{
	position: absolute;
	top: 45%;
	left: 10px;
}

#noticiasBarra{
	width: 100%;
	background: #0a1a56 url(../imagens/barranoticiasborda.png) repeat-x bottom;
}
#noticiasBarra .content{
	margin-right: auto;
	margin-left: auto;
	max-width: 1366px;
}
#noticiasBarra td{
	color: white;
	font-family: Arial, Helvetica, sans-serif;
	padding: 0px 10px 0px 10px;
}
#noticiasBarra .titulo{
	color: white;
	font-weight: bold;
	font-size: 16pt;
	padding: 20px 0px 2px 0px;
}
#noticiasBarra .titulo a{
	text-decoration: none;
	color: #12647B;
}
#noticiasBarra .titulo a:hover{
	text-decoration: underline;
}
#noticiasBarra .data{
	font-size: 12px;
	font-style: italic;
	padding: 2px 0px 2px 0px;
	color: white;
}
#noticiasBarra .texto{
	color: white;
	font-size: 13px;	
	padding: 5px 0px 4px 0px;
}
#noticiasBarra .texto a{
	text-decoration: underline;
}
#noticiasBarra .lermais{
	height: 20px;
	line-height: 20px;
	text-align: right;
	white-space: nowrap;
	display: block;
	padding-bottom: 60px;
}
#noticiasBarra .lermais .img{
	vertical-align: middle;
}
#noticiasBarra .lermais a{
	font-size: 16px;
	color: #d5d5d5;
	text-decoration: none;
}
#noticiasBarra .imgborda{
	width: 100%;
	height: 100%;
	max-height: 50px;
	display: block;
}
.spacerH{
	font-size: 10px;
	height: 20px;
}
.spacerV{
	font-size: 10px;
	width: 20px;	
}
#noticias{
	margin-right: auto;
	margin-left: auto;
	width: 100%;
	max-width: 1366px;
}
#noticias td{
	/*background-color: #cd853f;*/
	color: black;
	font-family: Arial, Helvetica, sans-serif;
	/*padding: 0px 10px 0px 10px;*/
}
#noticias .titulo{
	color: black;
	font-weight: bold;
	font-size: 22pt;
	padding: 20px 0px 2px 0px;
}
#noticias .titulo a{
	text-decoration: none;
	color: #12647B;
}
#noticias .titulo a:hover{
	text-decoration: underline;
}
#noticias .data{
	font-size: 12px;
	font-style: italic;
	padding: 2px 0px 2px 0px;
	color: #1c1c1c;
}
#noticias .texto{
	color: black;
	font-size: 14px;	
	padding: 5px 0px 4px 0px;
}
#noticias .texto a{
	text-decoration: underline;
}
#noticias .lermais{
	text-align: right;
	white-space: nowrap;
	display: block;
	padding-bottom: 20px;
	margin-top: -1px;
}
#noticias .lermais .img{
	vertical-align: middle;
}
#noticias .lermais a{
	font-size: 16px;
	color: #0f0482;
	text-decoration: none;
}

.txt{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
}
/*
##########################
####      rodape      ####
##########################
*/
#rodape{
	background-color: #d9d9d9;
	width: 100%;
	height: 150px;
	background-repeat: no-repeat;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	padding: 15px 0px 15px 0px;
	color: #565656;
}
#rodapeTitulo{
	font-size: 18px;
	font-weight: bold;
}
/*
###########################
####   Backoffice   ###
###########################
*/
#bk_links{
	/*position: absolute;*/
  	margin: 0 auto;
  	left: 10px;
  	right: 0;
	width: 100%;
	max-width: 1366px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: bold;
	color: #d2691e;
	vertical-align: middle;
	padding: 2px 2px 2px 4px;
	background-color: white;
}
#bk_links a{
	color: #d2691e;
	text-decoration: none;
}
/*
###########################
####   Proteger email   ###
###########################
*/
.email_protect{
	unicode-bidi:bidi-override;
	direction: rtl;
}
/*Editar*/
.ajax_response{
	-moz-border-radius: 5px;
	border-radius: 5px;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
   filter: alpha(opacity=80);
   opacity:.8;
   display: none;
   position: fixed;
	font-family:  "Trebuchet MS", Tahoma, Verdana;
	font-size: 24px;
	background-color: Green;
	color: white;
  	left: 40%;
	top: 30%;
	text-align: center;
	padding: 20px 10px 20px 10px;
	width: 400px;
	margin-left: -100px;
	z-index: 999999999;
}

.ajax_response_erro{
	-moz-border-radius: 5px;
	border-radius: 5px;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
   filter: alpha(opacity=80);
   opacity:.8;
   display: none;
   position: fixed;
	font-family:  "Trebuchet MS", Tahoma, Verdana;
	font-size: 20px;
	background-color: red;
	color: white;
  	left: 40%;
  	top: 30%;
	text-align: center;
	padding: 20px 10px 20px 10px;
	width: 400px;
	margin-left: -100px;
	z-index: 999999999;
}