/* Folha de estilos responsável pela formatação de tabelas */

/* TABELAS */
table {
	width: 90%;
	padding: 0;
	margin: 5px auto;
	border-spacing: 1px;
	border: 1px solid #acacac;
}
table tr {
	margin-top: 1px;
	margin-bottom: 1px;
}
/* O estilo abaixo define o terceiro nível de cabeçalho de uma tabela. Pode ser aplicado apenas a TH. */
table th {
	height: 19px;
	color: #303030;
	font-weight: bold;
}
/* O estilo abaixo define o primeiro nível de cabeçalho de uma tabela. Pode ser aplicado à TR ou à TH. */
table tr.cabecalhoPrincipal, table th.cabecalhoPrincipal {
	color: #fff;
	height: 19px;
	font-weight: bold;
	background-color: #696;
}
table tr.cabecalhoPrincipal th, table tr.cabecalhoSecundario th {
	color: #fff;
}
/* O estilo abaixo define o segundo nível de cabeçalho de uma tabela. Pode ser aplicado à TR ou à TH. */
table tr.cabecalhoSecundario, table th.cabecalhoSecundario {
	color: #fff;
	background-color: #8AB06D;
}

/* O estilo abaixo define os links presentes em células que pertençam ao 
 * primeiro ou segundo nível de cabeçalho de uma tabela */
table tr.cabecalhoPrincipal a, table tr.cabecalhoSecundario a, 
table th.cabecalhoPrincipal a, table th.cabecalhoSecundario a {
	color: #fff; 
}
table .even th, table .odd th {
	padding: 2px;
	color: #303030;
	font-weight: bold;
}
table .odd td, table .even td {
	color: #303030;
	padding: 3px 2px;
	padding-left: 6px;
	font-weight: normal;
}
table td {
	color: #303030;
	padding: 3px 2px;
	padding-left: 6px;
	font-weight: normal;
}

/* Rodapé das tabelas: (para totalizações, etc)*/
table tfoot tr td {
	background-color: #8FBC8F; 
	color: #FFFFFF;
	text-align: right;	
}


/* Redefinição de alinhamento dos textos dentro de tabelas, pois apesar de isso já ter sido definido no arquivo 
 * '1estilos.css', as regras deste arquivo ('4tabelas.css') são mais específicas e prevalecem sobre aquelas */
.left {
	text-align: left;	
}
.right {
	text-align: right;
}
.center {
	text-align: center;
}

/* Estilo das tabelas dentro de fieldsets */
fieldset table th.cabecalhoPrincipal {
	border-bottom: 0;
}
table thead tr th a {
	color: #fff;
}

div.paginacao {
	width: 90%;
	padding: 0;
	height: 19px;
	margin: 3px auto;
} 

div.paginacao table {
	border: 0;
	width: auto;
	margin: 1px;
	float: right;
}