body {
	font-family: arial;
	font-size: 12px;
	margin: 0;
	border: 0 none;
}
table {
	font-family: arial;
	font-size: 12px;
}
input, textarea {
	font-family: arial;
	font-size: 11px;
}
input[type=button] {
	padding: 2px;
}
select {
	font-family: arial;
	font-size: 11px;
	height: 20px;
	margin: 0;
}
fieldset {
	padding-top: 4px;
	padding-bottom: 7px;
	padding-left: 9px;
	padding-right: 9px;
	margin: 0;
}
nobr {
	margin: 0;
	display: inline-block;
}
label {
	vertical-align: middle;
}

/* Menu */
#menu {
	position: absolute;
	top: 0;
	left: 0;
	bottom: auto;
	width: 100%;
	font: menu;
	font-size: 12px;
	cursor: default;
}
.menuTitle, .menuTitleHigh {
	position: absolute;
	top: 3px;
	height: 19px;
	width: 50px;
	padding: 2px;
	text-align: center;
}
.menuSess, .menuSessOn {
	position: absolute;
	top: 3px;
	left: 105px;
	width: 127px;
	height: 14px;
	padding: 2px;
	cursor: pointer;
	text-align: center;
	overflow: hidden;
	white-space: nowrap;
	display: none;
}
.menuContainer {
	position: absolute;
	left: 0;
	top: 0;
	width: 300px;
	overflow: hidden;
	z-index: 99;
}
.menu {
	position: absolute;
	cursor: default;
	opacity: 0.95;
}
.menuOptions {
	font: menu;
	font-size: 12px;
	margin: 2px;
}
.menuSepar {
	padding: 0;
}
#barraSA {
	position: absolute;
	top: 22px;
	left: 0;
	height: 6px;
	width: 100%;
	overflow: hidden;
	z-index: 5;
}
#tituloSA {
	position: absolute;
	font: menu;
	top: 35px;
	left: 50%;
	width: 250px;
	margin-left: -125px;
	padding: 3px;
	text-align: center;
	display: none;
	z-index: 999;
}

/* Barras de Cabeçalho e Botões */
#barra {
	position: absolute;
	top: 25px;
	height: 39px;
	width: 100%;
}
#barraCab {
	position: absolute;
	top: 36px;
	left: 1%;
	height: 21px;
}
#barraNav {
	margin-right: 30px;
	cursor: default;
}
#barraMensagem {
	position: absolute;
	font: menu;
	top: 35px;
	padding: 3px;
	left: 50%;
	text-align: center;
	display: none;
	z-index: 999;
}
#barraBotoes {
	position: absolute;
	top: 33px;
	right: 1%;
	height: 24px;
}
.bot {
	vertical-align: middle;
	cursor: pointer;
	width: 24px;
	height: 24px;
}
.botTextoOn, .botTextoOff {
	cursor: default;
	padding: 2px;
	width: 100px;
	height: 20px;
	text-align: center;
}

/* Listas */
#seleccoes {
	position: relative;
	top: 70px;
	left: 1%;
	width: 98%;
	cursor: default;
}
#tabLista {
	position: relative;
	top: 80px;
	left: 1%;
	width: 98%;
	height: 450px;
	overflow: auto;
}
.tGrupo1 {
	padding: 3px;
}
.tGrupo2 {
	padding: 3px;
}
.tGrupo3 {
	padding: 3px;
}
.tGrupoNum {
	float: right;
}
.tGrupoT {
	padding: 2px;
	padding-top: 10px;
}
.botL {
	vertical-align: middle;
	cursor: pointer;
	width: 14px;
	height: 14px;
	margin-left: 2px;
	margin-right: 2px;
}

/* Detalhe */
#detCab {
	position: relative;
	top: 70px;
	left: 1%;
	width: 98%;
	height: 190px;
	overflow: hidden;
}
#tabDetArea {
	position: relative;
	top: 80px;
	left: 1%;
	width: 98%;
	height: 306px;
	overflow: hidden;
}
.tabDetT {
	position: absolute;
	top: 0;
	width: 140px;
	cursor: pointer;
	text-align: center;
	height: 30px;
	padding-top: 2px;
}
.tabDetTH {
	position: absolute;
	top: 0;
	width: 140px;
	cursor: default;
	text-align: center;
	height: 30px;
	padding-top: 3px;
	padding-left: 1px;
	padding-right: 1px;
}
#tabDetVisivel {
	position: absolute;
	top: 19px;
	height: 286px;
	width: 100%;
}
#tabDTotal {
	position: relative;
	top: 0;
	height: 280px;
	overflow: auto;
}
.tabDBotoes {
	position: absolute;
	top: 18px;
	width: 55px;
}
.tabDLinha {
	position: absolute;
	top: 39px;
	left: 11px;
	width: 823px;
	height: 235px;
	overflow-y: auto;
	overflow-x: hidden;
}

/* Tabelas */
#tabMetade {
	position: absolute;
	top: 70px;
	left: 1%;
	width: 46%;
	height: 87%;
	overflow: auto;
}
#tabTotal {
	position: absolute;
	top: 80px;
	margin-left: 10px;
	height: 87%;
	width: 100%;
}
#defRegisto {
	position: absolute;
	top: 70px;
	right: 1%;
	width: 50%;
	height: 87%;
	padding-top: 10px;
	padding-left: 10px;
	overflow: auto;
}

/* Pop-Ups */
.pop {
	position: absolute;
	margin: auto;
	z-index: 10;
	visibility: hidden;
	opacity: 0.1;
}
.popTitulo {
	position: absolute;
	top: 2px;
	left: 2px;
	height: 18px;
	text-align: center;
	cursor: default;
}
.popBody {
	position: absolute;
	top: 45px;
	left: 2px;
	overflow: auto;
	cursor: default;
}
.popBotoes {
	position: absolute;
	left: 2px;
	height: 24px;
	text-align: center;
}
#calD {
	z-index: 997;
	position: absolute;
	opacity: 0.9;
}
#calM, #calY {
	z-index: 998;
	position: absolute;
}

/* Janela */
#janelaPosi {
	position: absolute;
	top: 22px;
	left: 2px;
	width: 421px;
	height: 20px;
	text-align: center;
	line-height: 2;
	letter-spacing: 7px;
	cursor: default;
}
#janelaSeleccao {
	position: absolute;
	top: 320px;
	left: 4px;
	width: 419px;
	height: 36px;
	overflow: auto;
	cursor: default;
}

/* Progresso */
#tblProgresso {
	position: absolute;
	top: 6px;
	left: 15px;
	width: 122px;
	height: 19px;
}
#msgProgresso {
	position: absolute;
	top: 8;
	left: 145px;
	width: auto;
	height: 17px;
	font-size: 13;
	padding-left: 2px;
	padding-right: 2px;
	font-style: italic;
	text-align: center;
}
.prTD {
	opacity: 0.25;
}

/* Genéricos */
.mi {
	vertical-align: middle;
	margin-top: 0;
	margin-bottom: 0;
}
.pr, .prLnk {
	vertical-align: middle;
	margin-top: 0;
	margin-bottom: 0;
}
.im {
	vertical-align: middle;
	cursor: pointer;
}
.link {
	cursor: pointer;
}
.ddP {
	position: absolute;
	font-weight: bold;
	padding-top: 3px;
	white-space: nowrap;
}
.sdP {
	position: absolute;
	top: 19px;
	left: 0;
}
.stP {
	font-weight: bold;
}
.titOff {
	font-size: 18px;
	font-weight: bold;
	vertical-align: middle;
	cursor: default;
	color: lightgrey;
}
.titOn {
	font-size: 18px;
	font-weight: bold;
	vertical-align: middle;
	cursor: pointer;
}

/* Tema: Standard */

/* Cor e Imagem de fundo */
body, .tr {
	background-color: #DBDBDB;
}
/* Links */
a, a:link, a:visited, a:active, a:hover, .link, .titOn, .prLnk {
	color: blue;
	text-decoration: none;
}
/* Caixas */
fieldset {
	border: 1px solid green;
}
/* Menu */
#menu {
	background-color: menu;
}
.menuSess {
	border-top: 1px inset lightgrey;
	border-left: 1px inset lightgrey;
	border-right: 2px inset white;
}
.menuSessOn {
	border-top: 1px outset lightgrey;
	border-left: 1px outset lightgrey;
	border-right: 2px outset lightgrey;
}
#menuS1, .barraS1, .tituloS1 {
	background-color: #DDDDBB;
}
#menuS2, .barraS2, .tituloS2 {
	background-color: #CCDDCC;
}
#menuS3, .barraS3, .tituloS3 {
	background-color: #E1CEF2;
}
#menuS4, .barraS4, .tituloS4 {
	background-color: #F7FAAF;
}
#menuS5, .barraS5, .tituloS5 {
	background-color: #BBFBA8;
}
#menuS6, .barraS6, .tituloS6 {
	background-color: #E38EE6;
}
#menuS7, .barraS7, .tituloS7 {
	background-color: #FFCC66;
}
#menuS8, .barraS8, .tituloS8 {
	background-color: #339999;
}
#tituloSA {
	border: 1px solid gray;
}
.menu {
	background-color: menu;
	border: 1px solid gray;
}
.menuHigh, .menuTitleHigh, #menuSN {
	background-color: #AACCFF;
}
.menuHighOff {
	background-color: #AACCFF;
	color: graytext;
}
.menuOff {
	color: graytext;
}
#barra {
	background-image: url('img/bg-barra-blue.png');
	background-repeat: repeat-x;
}
/* Mensagem aguarde */
#barraMensagem.msgAguarde {
	background-color: #F1F46C;
	border: 1px solid #FFCC00;
}
/* Mensagem upload */
#barraMensagem.msgUpload {
	background-color: #EEEEEE;
	border: 1px solid #808080;
	background-image: url('img/progress.png');
	background-repeat: repeat-y;
}
/* Mensagens informação */
#barraMensagem.msgInfo {
	background-color: #66FF00;
	border: 1px solid #339900;
}
/* Campos Protegidos */
.pr, .prLnk {
	background-color: #D8D8D8;
}
/* Listas - Selecção */
#seleccoes, .selDiv {
	background-color: #B0C8CE;
	border: 1px solid blue;
}
/* Listas - Titulo */
.tTitulo { 	
	background-color: #A6A6FF;
}
/* Listas - Grupos */
.tGrupo1 {
	border-bottom: 3px solid #00CCCC;
	border-left: 3px solid #00CCCC;
}
.tGrupo2 {
	border-bottom: 3px solid #0066CC;
	border-left: 3px solid #0066CC;
}
.tGrupo3 {
	border-bottom: 3px solid #000066;
	border-left: 3px solid #000066;
}
.tGrupoT {
	border-bottom: 1px solid #330099;
}
/* Listas - Linhas */
.tL1 {
	background-color: #D1D1D1;
}
.tL2 {
	background-color: #E9E9E9;
}
.tL3 {
	background-color: #C5CDC5;
}
.tL4 {
	background-color: #FFFF66;
}
/* Detalhes - Cabeçalho */
#detCab {
	background-color: #B0C8CE;
	border: 1px solid blue;
}
/* Detalhes - Background das Tabs */
#tabDetVisivel, .trD {
	background-color: #C0C0C0;
}
/* Detalhes - Tab activa */
.tabDetTH {
	color: black;
	background-color: #C0C0C0;
}
/* Detalhes - Tab não activa */
.tabDetT {
	color: graytext;
	background-color: lightgrey;
	border-left: 1px solid gray;
	border-top: 1px solid gray;
	border-right: 1px solid gray;
}
/* Tabelas - Detalhe Registo */
#defRegisto {
	background-color: #B0C8CE;
	border: 1px solid blue;
}
/* Pop-Ups */
.pop {
	background-color: lightgrey;
	border: 1px solid gray;
}
.popTitulo {
	background-color: #CCFF99;
}
.popBotoes {
	background-color: #C0C0C0;
}
/* Janela - Posicionamento */
#janelaPosi {
	background-color: #33CCCC;
}
/* Janela - Linha Seleccionada */
.linhaSel {
	background-color: #6699CC;
}
/* Janela - Linha em Highlight */
.linhaHover {
	background-color: #808080;
}
/* Progresso */
#tblProgresso {
	background-color: #C0C0C0;
}
#msgProgresso {
	background-color: #CCCCCC;
}
.prTD {
	background-color: #9900FF;
}
.prTDB {
	background-color: #9999CC;
}
/* Botões Texto */
.botTextoOn {
	background-color: #BBBBFF;
	border: 1px solid #6B03C0;
}
.botTextoOff {
	background-color: lightgrey;
	border: 1px solid #808080;
	color: graytext;
}
