body {background-color:#fffeef;}


.wrapper {
	width:960px;
	margin:0px auto;
	font-family:Century Gothic, Arial, sans-serif;
}

h1{color:#a71b23; padding-top:15px; font-weight:normal;}
h2{color:#333; margin-bottom:-10px; font-weight:normal;}
h3{color:#333; margin-bottom:-10px; font-weight:normal}
h4{color:#333; margin-bottom:-30px; font-weight:normal}

a {
	outline:0;
}
/**************************************************************************************/
/*   Header
/**************************************************************************************/
.header {
	width:100%;
	background-image:url(../images/header.png);
	height:185px;
	background-color:#fffeef;
	}

/***   logo junta   ***/
.header .logo {
	position:relative;
	width:277px;
	height:124px;
	left:0px;
	top:5px;
}

.header .logo a img{
	text-decoration:none;
	border:0;
}

/***   img header  ***/


.film {
	width:940px;
	height:235px;
	top:195px;
	z-index:50;
	position:absolute
	
}

.square{ background-color:none;}

/***   img header  ***/

/**************************************************************************************/
/*   Conteudo principal e dinamico
/**************************************************************************************/
.content {
	width:100%;
	min-height:705px;
	position:relative;
	top:100px;
}

.content .menu{ width:200px;position:absolute;top:25px;min-height:150px;overflow:hidden; max-height:500px;left:755px; z-index:200;}

.content .menu {left:790px; position:absolute; max-width:170px; min-height:140px; top:10px;z-index:2; list-style-type:none;
-webkit-border-radius:6px;-moz-border-radius:6px;-moz-box-shadow:3px 3px 8px rgba(0,0,0,0.6);-webkit-box-shadow:4px 4px 8px rgba(0,0,0,0.6); 
filter: progid:DXImageTransform.Microsoft.Shadow(color='#969696', Direction=135, Strength=7); background-color:white;}

.content .menu li{ padding-top:12px; line-height:12px; list-style-type:none;}
.content .menu li a{ color:#555; text-decoration:none; font-size:12px; width:160px;}
.content .menu li p{ color:#620a0f;text-decoration:none; font-size:11px; border:none; line-height:16px;}
.content .menu .list{ color:#620a0f;padding-left:10px; max-width:170px; min-height:70px; font-size:13px;}
.content .menu .list a:hover, .content .menu .list a.selected{ font-weight:bold; text-decoration:none;color:#620a0f; background-color:none;}
.content .menu .title{ font-weight:bold; font-size:15px; padding-bottom:10px; color:#620a0f; text-transform:uppercase;}

.content .topline{
	height:8px;
	width:100%;
	top:-20px;
	left:0px;
	position:absolute;
	background:url('../images/menu.png');
}

.cx_main_content {
	width:525px;
	position:relative;
    left:250px;
	min-height:420px;
	margin:10px 0 5px 0;
	top:10px;
	margin-bottom:10px;
-webkit-border-radius:6px;-moz-border-radius:6px;-moz-box-shadow:3px 3px 8px rgba(0,0,0,0.6);-webkit-box-shadow:4px 4px 8px rgba(0,0,0,0.6); 
filter: progid:DXImageTransform.Microsoft.Shadow(color='#969696', Direction=135, Strength=7);
margin-bottom:20px;
padding-bottom:20px;
background-color:#FFF;
min-height:100%;
height:auto;
}
.cx_main_content .text{ left:15px; top:0px; max-width:480px; min-height:400px; position:relative;}
.cx_main_content .text h1 { color:#a71b23;font-size:30px; margin-bottom:0px; position:relative;text-align:left; min-height:40px; padding-bottom:12px;}
.cx_main_content .text h1 span{ color:#333; font-size:9px; margin-bottom:0px; max-width:500px; position:relative;}
.cx_main_content .text .info{max-width:510px;left:0px;position:relative;min-height:80px; padding-bottom:5px;}
.cx_main_content .text .info h2 a{margin-bottom:0px; position:relative;color:#666; max-width:330px; text-decoration:none; text-align:left; min-height:40px;text-indent:inherit; font-size:18px; top:-10px; line-height:5px;}
.cx_main_content .text .info h2 a:hover{color:#a71b23;}
.cx_main_content .text .info h2 p{position:relative; float:left;}
.cx_main_content .text .info .noticias_img {position:relative; max-width:110px; max-height:90px;float:left;border:4px solid #ccc;margin:0 10px 0px 0;}
.cx_main_content .text .noticias_img_big {position:relative;max-width:500px;max-height:450px; min-width:00px;float:right;border:4px solid #ccc;margin:0 0 5px 10px}
.cx_main_content .text h2 a span { color:#666; font-size:9px; margin-bottom:0px; }
.cx_main_content .text p{ color:#333;font-style:normal;font-size:12px;line-height:18px; position:relative;}
.cx_main_content .text .noticias_img_big {position:relative;max-width:470px;max-height:310px;border:4px solid #ccc;margin:0 0 5px 0px; float:none;}
.cx_main_content hr{height:1px;border:0;border-top:1px solid #999;background:transparent;}
.cx_main_content .text .exec{max-width:600px; min-height:200px;;left:0px; position:relative; margin-top:10px; height:100px;margin-bottom:15px;}
.cx_main_content .text .exec_img {position:relative; max-width:220px; max-height:180px;float:left;border:4px solid #ccc;margin:0 10px 0px 0;}

/* forms */
.cx_main_content .text form {padding-top:10px;position:absolute;}
.cx_main_content .text textarea {width:260px;height:100px;float:left;margin-bottom:10px;padding:2px;font-family:Arial, Helvetica, sans-serif;font-size:11px;}
.cx_main_content .text select {width:200px;float:left;margin-bottom:10px;font-size:11px;padding:2px;}
.cx_main_content .text input{width:200px;float:left;margin-bottom:10px;padding:2px;font-family:Arial, Helvetica, sans-serif;font-size:11px;}
.cx_main_content .text label{text-align:right;width:100px;padding:2px;padding-right:10px;font-size:11px;clear:both;display:block;float:left;margin-bottom:10px;color:black; font-weight:bold;}
.cx_main_content .text input,.form textarea,.form select{border:1px solid #b8c6d5;background:#FFF;color:#000;}
.cx_main_content .text br{clear:both;}
.cx_main_content .text .submit { background:#a71b23; color:white; width:120px; border:0; }
.cx_main_content .text p a:hover{ font-weight:bold; }



.cx_main_content  .pdf a{background:url('../images/pdf.png') repeat-x 0 0; margin-bottom:5px; position:relative; display:block; height:55px; text-decoration:none;-webkit-border-radius:5px;-moz-border-radius:5px; width:490px; border:none;}
.cx_main_content .pdf a:hover { background:url('../images/pdf.png') repeat-x 0 -55px; }
.cx_main_content .pdf a p.titulo { font-size:14px; color: #a71b23; position:absolute; left:50px; top:0px; font-weight:bold; width:380px;}
.cx_main_content .pdf a p.ficheiro { position:absolute; left:50px; top:30px;}
.cx_main_content .pdf a p.download { position:absolute; width:24px; height:24px; right:20px; top:5px; background:url('../images/download.png') no-repeat 0 0; }
.cx_main_content  .pdf a:hover p.download { background:url('../images/download.png') no-repeat 0 -24px; }
.cx_main_content  .pdf p.icon { width:48px; height:55px; position:absolute; left:0px; top:-10px; }



.content .calendar{
	width:230px;
	position:absolute;
	top:0px;
	 height:350px;
	overflow:hidden;
	max-height:500px;
	left:0px;
}

.content .weather{
	width:230px;
	position:absolute;
	top:250px;
	min-height:150px;
	overflow:hidden;
	max-height:500px;
	left:0px;
}






#menu {list-style-type:none; margin:0px 0 0 0px; top:0px; position:relative;width:920px; left:0px;  height:135px; font-size:12px;  text-decoration:none; z-index:20; margin:0 auto; z-index:20; webkit-box-shadow:0px 4px 8px rgba(0,0,0,0.6);-moz-box-shadow:0px 3px 8px rgba(0,0,0,0.6);-webkit-box-shadow:0px 4px 8px rgba(0,0,0,0.6;)
filter: progid:DXImageTransform.Microsoft.Shadow(color='#969696', Direction=90, Strength=7); z-index:200; background:url('../images/menu_menu.png') repeat-x;}
#menu li {display:block; float:left; position:relative; z-index:100; margin-right:-1px; min-width:85px; position:relative; top:0px; margin-right:0px; height:35px; background:url('../images/menu.png') repeat-x;}
#menu li a:hover{ color:#666;}
#menu li .square {width:20px;height:20px;position:absolute;left:-14px;top:3px;background:url('../images/menu.png') repeat-x; top:0px; padding-top:8px; height:27px;}

#menu li span {display:block; z-index:20; padding: 5px 10px;font-size:12px; position:relative; top:5px; font-weight:bold; color:black; }




#menu li a, #menu li a:visited {display:block; padding:0; text-decoration:none; }
#menu dl {position:absolute; top:0; margin: 5;padding: 0;  z-index:200;}
#menu dt { margin:0; float:left; font-weight:bold; z-index:200; top:5px;}
#menu dd {display:none; background: transparent;; clear:left; margin:0; padding:0; color: #fff; font-size: 12px; text-align:left; text-decoration:none; z-index:200;}
#menu dd a{text-decoration:none; z-index:200;}
#menu dt a, #menu dt a:visited {display:block; ; color:black; padding: 5px 10px; text-decoration:none;  z-index:200;}
#menu dd a, #menu dd a:visited { background-color:#fcee21; color:black; text-decoration:none; display:block; padding: 5px 10px; font-weight:bold; z-index:200;}

#menu li a:hover {border:0;}
#menu li:hover dd, #menu li a:hover dd {display:block;}
#menu li:hover dl, #menu li a:hover dl {border-bottom:7px solid #631515;}
#menu li:hover dt a, #menu li a:hover dt a, #menu dd a:hover {background:url('../images/menu.png') repeat-x 0 -35px; color:#FFFFFF;}
#menu li { color:#fcee21;}


#menu dl {position:absolute; top:0; margin: 0;padding: 0;  z-index:230;}
#menu dt { margin:0; float:left; font-weight:bold; z-index:200; top:5px;}
#menu dd {display:none; background: transparent;; clear:left; margin:0; padding:0; color: #fff; font-size: 12px; text-align:left; text-decoration:none; z-index:200; top:10px;}
#menu dd a{text-decoration:none; z-index:250; top:3px;}
#menu dt a, #menu dt a:visited {display:block; ; color:black; padding: 5px 10px; text-decoration:none; top:5px; position:absolute; }
#menu dd a, #menu dd a:visited { background-color:#fcee21; color:black; text-decoration:none; display:block; padding: 5px 10px; padding-top:3px;}
#menu li a:hover {border:0;}
#menu li a:hover dd {display:block;}
#menu li a:hover dl {border-bottom:7px solid #631515;}
#menu li a:hover dt a, #menu dd a:hover {background:url('../images/menu.png') repeat-x 0 -30px; color:white;}
#menu li { color:#fcee21c; z-index:200;}





#conteudo table{border-collapse:collapse;width:100%;border:1px solid #EFEFEF;margin:0;padding:0; font-size:12px; max-width:600px; text-align:left;}
#conteudo td,th{border-bottom:1px solid #EEE;padding:5px; line-height:16px;}
#conteudo td.right,th.right{text-align:right;}
#conteudo td.center,th.center{text-align:center;}
#conteudo td + td{border-left:1px solid #EFEFEF;color:#666;}
#conteudo td + td + td{color:#666;border-left:none;}
#conteudo td {text-decoration:none;color:#666;}
#conteudotd a:hover{color:#C00;}
#conteudo td img{vertical-align:middle;margin:0 4px;}
#conteudo th{text-align:left;font-weight:700;background:#EFEFEF;color:#666;font-family:Arial, Helvetica, sans-serif;}
#conteudo th.nobg{background:none;width:120px;text-align:right;}
#conteudo th.small100{width:350px;}
#conteudo th.small50{width:200px;}
#conteudo tr{background:#F8F8F8 url(images/table_row.png) repeat-x bottom;color:#666;}
#conteudo tr:hover{background:#eee;}
#conteudo tr.selected{background:#FFFFE0;}




/**************************************************************************************/
/*   Footer
/**************************************************************************************/
#footer {
	width:100%;
	height:50px;
	background:#fff url('../images/menu.png');
	position:absolute;
	height:35px;
	margin-bottom:10px;
	text-decoration:none;
	bottom:-30px;
}

#footer li {display:block; float:left; position:relative; z-index:100; margin-right:1px; min-width:85px;position:relative; top:8px; margin-right:5px; left:-20px;}
#footer li .square {width:20px;height:20px;position:absolute;left:-14px;top:3px;}
#footer li a {display:block; ; color:black; padding: 5px 10px; text-decoration:none; font-size:12px; font-weight:bold;}
#footer li a:hover{ color:#a71b23;}
/***   mecenas   ***/



div#fancy_overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#000;display:none;z-index:30;}
* html div#fancy_overlay{position:absolute;height:expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');}
div#fancy_wrap{text-align:left;}
div#fancy_loading{position:absolute;height:40px;width:40px;cursor:pointer;display:none;overflow:hidden;background:transparent;z-index:100;}
div#fancy_loading div{position:absolute;top:0;left:0;width:40px;height:480px;background:transparent url('../images/fancy_progress.png') no-repeat;}
div#fancy_loading_overlay{position:absolute;background-color:#FFF;z-index:30;}
div#fancy_loading_icon{position:absolute;background:url('../images/fancy_loading.gif') no-repeat;z-index:35;width:16px;height:16px;}
div#fancy_outer{position:absolute;top:0;left:0;z-index:90;overflow:hidden;background:transparent;display:none;margin:0;padding:18px 18px 33px;}
div#fancy_inner{position:relative;width:100%;height:100%;border:1px solid #BBB;background:#FFF;}
div#fancy_content{z-index:100;position:absolute;margin:0;}
div#fancy_div{background:#000;color:#FFF;height:100%;width:100%;z-index:100;}
img#fancy_img{position:absolute;top:0;left:0;border:0;z-index:100;width:100%;height:100%;margin:0;padding:0;}
div#fancy_close{position:absolute;top:-12px;right:-15px;height:30px;width:30px;background:url('../images/fancy_closebox.png') top left no-repeat;cursor:pointer;z-index:181;display:none;}
#fancy_frame{position:relative;width:100%;height:100%;display:none;}
#fancy_ajax{width:100%;height:100%;overflow:auto;}
a#fancy_left,a#fancy_right{position:absolute;bottom:0;height:100%;width:35%;cursor:pointer;z-index:111;display:none;background-image:url(data:image/gif;base64,AAAA);outline:none;}
a#fancy_left{left:0;}
a#fancy_right{right:0;}
span.fancy_ico{position:absolute;top:50%;margin-top:-15px;width:30px;height:30px;z-index:112;cursor:pointer;display:block;}
span#fancy_left_ico{left:-9999px;background:transparent url('../images/fancy_left.png') no-repeat;}
span#fancy_right_ico{right:-9999px;background:transparent url('../images/fancy_right.png') no-repeat;}
a#fancy_left:hover span{left:20px;}
a#fancy_right:hover span{right:20px;}
.fancy_bigIframe{position:absolute;top:0;left:0;width:100%;height:100%;background:transparent;}
div#fancy_bg{position:absolute;top:0;left:0;width:100%;height:100%;z-index:70;border:0;margin:0;padding:0;}
div.fancy_bg{position:absolute;display:block;z-index:70;border:0;margin:0;padding:0;}
div.fancy_bg_n{top:-18px;width:100%;height:18px;background:transparent url('../images/fancy_shadow_n.png') repeat-x;}
div.fancy_bg_ne{top:-18px;right:-13px;width:13px;height:18px;background:transparent url('../images/fancy_shadow_ne.png') no-repeat;}
div.fancy_bg_e{right:-13px;height:100%;width:13px;background:transparent url('../images/fancy_shadow_e.png') repeat-y;}
div.fancy_bg_se{bottom:-18px;right:-13px;width:13px;height:18px;background:transparent url('../images/fancy_shadow_se.png') no-repeat;}
div.fancy_bg_s{bottom:-18px;width:100%;height:18px;background:transparent url('../images/fancy_shadow_s.png') repeat-x;}
div.fancy_bg_sw{bottom:-18px;left:-13px;width:13px;height:18px;background:transparent url('../images/fancy_shadow_sw.png') no-repeat;}
div.fancy_bg_w{left:-13px;height:100%;width:13px;background:transparent url('../images/fancy_shadow_w.png') repeat-y;}
div.fancy_bg_nw{top:-18px;left:-13px;width:13px;height:18px;background:transparent url('../images/fancy_shadow_nw.png') no-repeat;}
div#fancy_title{position:absolute;bottom:-33px;left:0;width:100%;z-index:100;display:none;}
div#fancy_title div{color:#FFF;font:bold 16px Arial;padding-bottom:3px;}
div#fancy_title table{margin:0 auto;}
div#fancy_title table td{vertical-align:middle;padding:0;}
td#fancy_title_left{height:32px;width:15px;background:transparent url(../images/fancy_title_left.png) repeat-x;}
td#fancy_title_main{height:32px;background:transparent url(../images/fancy_title_main.png) repeat-x;}
td#fancy_title_right{height:32px;width:15px;background:transparent url(../images/fancy_title_right.png) repeat-x;}
a#fancy_left:hover,a#fancy_right:hover{visibility:visible;}

@media all and min-width 0px  { 
html:first-child .thumbwrap a {display:inline-block;vertical-align:top;}
html:first-child .thumbwrap {border-collapse:collapse;display:inline-block;}
}
.thumbwrap{margin:0;padding:0; width:510px;}
.thumbwrap li{display:inline-block;vertical-align:top;border:0;margin:0 2px 5px;padding:0; }
.thumbwrap>li div{display:table;width:120px;text-align:center; margin-bottom:10px;}
.thumbwrap img {max-width:110px;}
.thumbwrap a{display:block;text-decoration:none;color:#000;cursor:pointer; padding-bottom:5px;}
.thumbwrap>li .wrimg{display:table-cell;vertical-align:middle;width:120px;height:120px;}
.thumbwrap img{border:solid 1px #ccc;vertical-align:middle;-moz-box-shadow:3px 3px 3px rgba(0,0,0,0.2);-webkit-box-shadow:4px 4px 3px rgba(0,0,0,0.2);filter: progid:DXImageTransform.Microsoft.Shadow(color='#969696', Direction=135, Strength=2);}
.thumbwrap a:hover img{border:1px solid #000;}
.thumbwrap .caption{display:block;font-size:9px;line-height:13px; color:#333;width:120px;padding:2px 0 5px 0; text-align:center; padding-top:5px;}


@media all and min-width 0px  { 
html:first-child .jers a {display:inline-block;vertical-align:top;}
html:first-child .jers {border-collapse:collapse;display:inline-block;}
}
.lers{margin:0;padding:0; position:relative; width:510px;}
.lers li{display:inline-block;vertical-align:top;border:0;margin:0 2px 5px;padding:0;}
.lers>li div{display:table;width:120px;text-align:center;}
.lers img {max-width:110px;}
.lers a{display:block;text-decoration:none;color:#000;cursor:pointer; padding-bottom:5px;}
.lers>li .wrimg{display:table-cell;vertical-align:middle;width:130px;height:120px;}
.lers img{border:solid 1px #ccc;vertical-align:middle;-moz-box-shadow:3px 3px 3px rgba(0,0,0,0.2);-webkit-box-shadow:4px 4px 3px rgba(0,0,0,0.2);filter: progid:DXImageTransform.Microsoft.Shadow(color='#969696', Direction=135, Strength=2);}
.lers a:hover img{border:1px solid #000;}
.lers .caption{display:block;font-size:9px;line-height:13px; color:#333;width:120px;padding:2px 0 5px 0; text-align:center; padding-top:5px;}

#pagination ul{text-align:center;margin-top:10px;margin-left:0;color:#666;width:100%;line-height:18px;padding:5px 0;}
#pagination ul li{display:inline;font-size:10px;-moz-border-radius:4px;-webkit-border-radius:2px;padding:5px 0;}
#pagination ul li a{color:#666;text-decoration:none;background:#f1eca1;-moz-border-radius:4px;-webkit-border-radius:2px;padding:4px 5px;}
#pagination ul li a:hover{background:#a71b23;color:#FFF;}
#pagination #active{background:#a71b23;color:#FFF;margin-right:4px;padding:5px 10px;}



.formulario form{position:absolute; left:-10px;background:#FFF url(images/fade_gray.jpg) repeat-x bottom;border-top:0;margin:0 0 10px;padding:0px;}
.formulario .nomargin{position:relative;margin:0;}
.formulario label{width:100px;margin-right:10px;clear:both;color:#666;text-align:right;padding:2px; line-height:20px;}
.formulario input,.formulario textarea,.formulario select{background-color:#EFEFEF;border:1px solid #CCC;font-size:11px;font-family:Verdana;padding:2px; max-width:450px; }
.formulario input:focus,.formulario select:focus,.formulario textarea:focus{background-color:#FFF;border:1px solid #CCC;}
.formulario input.submit{background:#FFF;font-size:11px;color:#0f576c;font-weight:700;border:1px solid #CCC;padding:4px; margin-left:12px;}
.formulario input.submit:hover{background-color:#0f576c;color:#FFF;}
.formulario p{margin-bottom:10px;color:#666;line-height:18px;}
.formulario p span{color:#aaa;margin-left:0px;}
.formulario br{clear:both;}