.titulo_seccao
{
  border-top:5px solid #CDCDCD;
	border-bottom:1px solid #CDCDCD;
	border-right:1px solid #CDCDCD;
	background-color:#F1F1F1;
	margin-bottom:7px;
	text-transform:uppercase;
	padding-top:3px;
	padding-bottom:3px;
	text-align:left;
	color:#0765AB;
	padding-left:10px;
	font-weight:bold;
	margin-right:10px;
}

.titulo_seccao span
{
	text-transform:none;
	color:#0765AB;
	margin-left:50px;
}

table#main_table
{
	width:980px;
	height:100%;
	text-align: center;
	margin-right:auto;
	margin-left:auto;
	border-bottom:1px solid #CDCDCD;
  border-left:1px solid #CDCDCD;
  border-right:1px solid #CDCDCD;
}

table#main_table td#first_cell
{
  vertical-align:top;
 	text-align:left;
 	padding-top:10px;
 	overflow:auto;
}

td#first_cell div#first_cell_border
{
  border-left:1px solid #CDCDCD;
  margin-left:15px;
  text-align:center;
  height:100%;
  background-color:white;
}

td#first_cell form#stats
{
	border:1px solid #CDCDCD;
	margin:10px 30px 10px 30px;
}

form#stats table
{
	margin:10px;
}

form#stats table td
{
	margin-top:3px;
	text-align:left;
}

td#first_cell div#td_top_title
{
	color:#0765AB;
	font-weight:bold;
	margin:20px 15px 10px 20px;
	text-align:left;
}

form#stats input, form#stats select
{
	background-color:#FFFFDD;
	border:1px solid #CDCDCD;
}

select#tkind, select#ikind, select#dist, select#count, select#freg
{
	width:180px;
}

form#stats td#td_listbox span
{
	float:left;
}

form#stats td#td_note
{
	font-size:9px;
	padding-top:15px;
}

form#stats td#td_note span
{
	font-size:9px;
	font-weight:bold;
}

form#stats input.buttons
{
	background-color:#CDCDCD;
	border:1px outset black;
	cursor:pointer;
	height:18px;
	padding-bottom:2px;
}


div#graf_data
{
	border:1px solid #CDCDCD;
	margin:10px 30px 10px 30px;
}

div#graf_data div#graf_title
{
	color:#0765AB;
	font-weight:bold;
	margin:20px 15px 10px 20px;
	text-align:left;
	border-bottom:1px dashed #CDCDCD;
	padding-bottom:5px;
}

div#graf_data div#graf_content
{
	margin:10px;
	height:150px;
}

div#graf_data table#graf_table
{
	margin:15px;
	margin-top:0px;
	border-bottom:1px solid black;
}

div#graf_data table#graf_table thead th
{
	border-top:1px solid black;
	border-left:1px solid black;
	background-color:#FFA569;
	color:white;
	padding-right:3px;
	padding-left:3px;
	font-size:10px;
	height:20px;
}

div#graf_data table#graf_table thead th sup
{
	line-height:0px;
}

div#graf_data table#graf_table thead th.end_cell
{
	border-top:1px solid black;
	border-left:1px solid black;
	border-right:1px solid black;
	background-color:#FFA569;
	color:white;
}

div#graf_data table#graf_table tbody td
{
	border-top:1px solid black;
	border-left:1px solid black;
	background-color:white;
	color:#0067AC;
	text-align:right;
	padding-right:3px;
	padding-left:3px;
}

div#graf_data table#graf_table tbody td.typology
{
	border-top:1px solid black;
	border-left:1px solid black;
	background-color:#FFA569;
	color:white;
	text-align:center;
}

div#graf_data table#graf_table tbody td.end_cell
{
	border-top:1px solid black;
	border-left:1px solid black;
	border-right:1px solid black;
	background-color:white;
	color:#0067AC;
	text-align:right;
}

div#graf_data table#graf_table tbody tr.end_row td
{
	border-top:1px solid black;
	border-left:1px solid black;
	border-bottom:1px solid black;
	background-color:white;
	color:#0067AC;
	text-align:right;
}

div#graf_data table#graf_table tbody tr.end_row td.typology
{
	border-top:1px solid black;
	border-left:1px solid black;
	border-bottom:1px solid black;
	background-color:#FFA569;
	color:white;
	text-align:center;
}

div#graf_data table#graf_table tbody tr.end_row td.end_cell
{
	border-top:1px solid black;
	border-left:1px solid black;
	border-right:1px solid black;
	border-bottom:1px solid black;
	background-color:white;
	color:#0067AC;
	text-align:right;
}

div#back
{
	margin-right:10px;
	margin-bottom:5px;
	text-align:left;
	margin-left:40px;
	overflow:auto;
}

div#back a
{
	font-size:9px;
	color:black;
	text-decoration:underline;
	background-image:url(../images/blue_left_arrow.gif);
	background-repeat:no-repeat;
	background-position:left;
	padding-left:10px; 
}


span#note_day, span#note_month, span#note_year
{
	font-size:9px;
	font-weight:normal;
}
#second_cell_inner{margin-right:12px;border-left:1px solid #ccc}
