/*Miguel 06/07/2010*/

/** {	margin: 0; padding: 0; }*/

@import "reset.css";

body { font-size: 13px; font-family: Arial, Verdana; color: #6D6E70; }

h1 { margin: 10px 0; font-weight: bold; font-size: 1.5em;  }

h2, h3, h4, h5 { font-weight: normal; padding-bottom: 3px; }

h6 { font-weight: bold; font-size: inherit; display: inline; margin: 3px 0;}

body a { color: #6D6E70; }

.container { margin-left: auto; margin-right: auto; margin-bottom: 10px; width: 960px; }
.container:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
	overflow: hidden;
}

.left {	float: left;	width: 18%; }
.left:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
	overflow: hidden;
}

.logo { /*border: thin dotted; border-color: green;*/ }

.left_menu { /*border: thin dotted; border-color: green;*/ font-size: 9pt; }
.left_menu_option {
	background-color: #808080;
	list-style-type: none;
	color: white;
	text-align: center;
	padding-top: 5px;
	padding-bottom: 5px;
	margin-left: 24px;
	margin-right: 24px;
	margin-bottom: 10px;
}

.left_menu_option a { 	text-decoration: none;	color: white; }

.left_sections {
	font-size: 9pt;
	border: thin dashed grey;
	margin-left: 24px;
	margin-right: 24px;
	padding: 5px;
}

.left_sections:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
	overflow: hidden;
}

.left_sections_header {
	font-weight: bold;
	padding-bottom: 10px;
}

.main {	float: left;	width: 80%;	/*border: thin dotted;	border-color: green;*/ }
.main:after { content: "."; display: block;	clear: both; visibility: hidden; height: 0; overflow: hidden; }
.top { /*border: thin solid; border-color: brown;*/ padding-bottom: 5px; font-size: 9pt; }
.top:after { content: "."; display: block;clear: both; visibility: hidden; height: 0; overflow: hidden; }

.area {
	/*border: thin solid;
	border-color: blue;*/
	margin-bottom: 10px;
}

.area:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
	overflow: hidden;
}

.area_content {
	border: thin solid;
	border-color: #E3E3E3;
	padding: 15px;
	text-align: justify;
}

.area_content:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
	overflow: hidden;
}

.area_content_utils { text-align: right; }

.area_content_header {
	/*border-top: thin solid green;*/
	border-bottom: thin dashed grey;
	padding-bottom: 8px;
}

.area_content_body {
	/*border-top: thin solid green;*/
	border-bottom: thin dashed grey;
	padding-top: 8px;
	padding-bottom: 8px;
	text-align: justify;
}

.area_content_footer {
	/*border: thin solid green;*/
	padding-top: 8px;
	padding-bottom: 8px;
	text-align: justify;
}

.center { float: left; width: 72%; }
.center:after { content: "."; display: block; clear: both; visibility: hidden; height: 0; overflow: hidden; }
.center_menu { margin-top: 15px; font-size: 10pt; float: left; width: 65%; }
.center_menu a { text-decoration: none; }
.center_menu:after { content: "."; display: block; clear: both; visibility: hidden; height: 0; overflow: hidden; }

a.selected { text-decoration: underline !important; font-weight: bold !important; }

/*.center_menu_link {
	float: left;
	padding-right: 30px;
}

.center_menu_link a {
	text-decoration: none;
}*/

/***  Search Table  ***/
table.form-table { width: 100%; }
table.form-table td.form-label { text-align: right; }

/***  Messages  ***/
.message { padding: 10px; border-style: solid; border-width: 1px; vertical-align: middle; margin: 20px 0; }
.information { color: #006600; border-color: #006600; background-color: #DEEBAC; }
.error       { color: #990000; border-color: #990000; background-color: #FFDDAA; }
.warning     { color: #996600; border-color: #996600; background-color: #ffffcc; }

/*****  Misc  *****/
.hidden { display: none; }

/*****  Login  *****/
.login_area { background: #666666; color: white; padding: 10px; margin-bottom: 5px; }
.login_area a { text-decoration: none; border-bottom: 1px solid #FFF; color: white; }
.login_area input.login_input { width: 106px; margin-bottom: 5px; font-size: 8pt; color: #6D6E70; }

/*****  Buttons that look like links  *****/
.linkalike { background: transparent; margin: 0; padding: 0; border: 0; border-bottom: 1px solid #FFF;
             color: #FFF; display: inline;  font-size: 8pt; font-family: Arial, Verdana; text-decoration: none; }
*:first-child+html .linkalike { border-bottom: 0; text-decoration: none; } /* hack needed for IE 7 */
* html .linkalike { border-bottom: 0; text-decoration: none; } /* hack needed for IE 5/6 */

/*****  Menu Areas  *****/
li.selected_legislacao { background-color: #BF272D; }
li.selected_jurisprudencia { background-color: #005299; }
li.selected_doutrina { background-color: #F0A32C; }
li.selected_descritor { background-color: #00A351; }

.user { border: thin solid; border-color: #6D6E70;float: right; width: 34%; margin-top: 5px; margin-bottom: 5px; }
.user a { text-decoration: none; }
.user:after { content: "."; display: block; clear: both; visibility: hidden; height: 0; overflow: hidden; }
.user li { list-style-type: none; display: inline; padding-left: 8px; }
.username { float: left; width: 30%; background-color: #808080; color: white; padding-top: 5px; padding-bottom: 5px; text-align: center; }
.user_options { float: right; /*border: thin dotted; border-color: green;*/ width: 68%; margin-top: 10px; }

/*** Descritores ***/
a.super-descritor { font-weight: bolder; font-size: 1.5em; }
table#descritoresindex { width: 100%; margin-bottom: 30px; }
table#descritoresindex td { border-right: solid 1px Black; border-left: solid 1px Black; font-size: 2em; font-weight: bold; text-align: center; width: 3%; }
table#descritoresindex a { cursor: pointer; }


/*** Detail Pages ***/
table.entity-detail { margin:0 0 -15px 0; }
table.entity-detail td { padding: 3px 20px 3px 0; }
.form-label { text-align: right; padding: 10px 10px 10px 0; font-weight: bold; white-space: nowrap; vertical-align: top; }
.form-field { padding: 10px 0; }
.file-upload { width: 400px; }
.notice { font-style: italic; color: Gray; font-size: 0.75em; }
span.tiny { font-style: normal !important;}
.form-field-small * { width: 200px; }
img.assoc { vertical-align:text-bottom; cursor: pointer; }
img.collapse { vertical-align:text-bottom; cursor: pointer; display: none; }

/*** Legislação ***/
span.legislacao-revogada { color: #CC0000; }
span.legislacao-nao-vigente { color: #800000; }
span.versoes-virtuais { color: #008000; }
.area_content ul.section-children { padding-left: 1em; margin-left:0em; }
.area_content li.section { border: dashed 1px #969696; margin: 2px 0; padding: 2px; cursor: pointer; }
.area_content li.section img { cursor: pointer; }
.area_content li.show { border: none; cursor: default; }

/*** Ficha de Descritor ***/
h4 { margin: 10px 0 !important; font-weight: bold !important; }
h4 img { vertical-align:text-bottom; }

/*** Boas-Vindas ***/
table.boas-vindas { width: 99%; }
td.boas-vindas { width: 35%; }

.banner { margin-bottom:-3px; /*border: thin dotted; border-color: green;*/ }

table.advanced { display: none; }

.sys_regist {
	/*border: thin dotted;
	border-color: green;*/
	margin-bottom: 15px;
}

.sys_regist:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
	overflow: hidden;
}

.sys_info { float: left; width: 48%; background-image: url('../img/registo_sistema.gif');
            background-repeat: repeat; text-align: center; }
/*.sys_info { text-align: center; width: 264px; background-color: transparent; background-image: url(images/registo_sistema.gif);
            background-repeat: no-repeat; background-size: 100%; background-position:center bottom; }*/
/*.sys_info_header { margin-bottom: 5px; padding-top: 5px; font-size: 9pt; }*/
.sys_info_content { font-size: 10pt; padding: 10px; }
.sys_info_content th,
.sys_info_content td { padding-bottom: 5px; }
.sys_info_header { text-align: center; height: 42px; width: 264px;
	background-color: transparent; background-image: url('../img/tab_registo_sistema.png');
	background-repeat: no-repeat; background-size: 100%; background-position: center top; }


.reg_title { text-align: left; }
.reg_value { text-align: right; font-weight: bold; }

.sys_info:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
	overflow: hidden;
}

.sys_map {
	float: left;
	width: 51%;
	text-align: center;
	/*border: thin solid;
	border-color: blue;*/
}

.other_info {
	/*border: thin dotted;
	border-color: green;*/
}

.other_info table th {
	background-color: #BBEBB9;
	font-size: 7pt;
	padding-bottom: 5px;
	padding-top: 5px;
	text-align: left;
	padding-left: 30px;
}

.other_info table td {
	background-color: #EDF0ED;
	font-size: 7pt;
	padding-bottom: 5px;
	padding-top: 5px;
	padding-left: 30px;
}

.other_info_countries {
	font-weight: bold;
	font-size: 12pt;
}

.other_info_misc {
}

.breadcrumb { border-top: thin dashed grey; padding-bottom: 10px; padding-top: 10px; font-size: 9pt; }
.breadcrumb img { vertical-align: middle; }

.tabs { /*border: thin dashed red;*/ }
.tabs:after { content: "."; display: block; clear: both; visibility: hidden; height: 0; overflow: hidden; }
.tabs_left { float: left; }
.tabs_right { float: right; padding-right: 5px; padding-top: 15px; }

.area_div { margin-bottom: 10px; }
.area_div:after { content: ".";	display: block;	clear: both;	visibility: hidden;	height: 0; overflow: hidden; } 
.area_div input {	vertical-align: middle; }

table.entity-table { width: 100%; text-align: left; border-spacing: 0; border-collapse: collapse; font-size: 9pt; }
table.entity-table th { border: 1px solid white; padding: 3px; background-color: #808080; color: white; }
table.entity-table td { height: 52px; padding: 3px; border: 1px solid #808080; }

.right {
	float: right;
	width: 27%;
	/*border: thin dotted;
	border-color: blue;*/
	/*margin-top: 40px;*/
	margin-left: 5px;
	font-size: 8pt;
}

.right:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
	overflow: hidden;
}



.news { margin-top: 10px; margin-bottom: 10px; font-size: 9pt; }
.news a { font-weight: bold; }
.news:after { content: "."; display: block; clear: both; visibility: hidden; height: 0; overflow: hidden; }

.new { margin-bottom: 10px; }
.new:after { content: "."; display: block; clear: both; visibility: hidden; height: 0; overflow: hidden; }

.new_date {
	color: #B1CFB0;
	font-weight: bold;
}

.new_body {
	text-align: justify;
}

.new_body a {
	font-weight: bold;
}

.footer {
	margin: auto;
	width: 960px;
	/*border: thin dotted;
	border-color: blue;*/
	font-size: 7pt;
}

.footer:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
	overflow: hidden;
}

.first_footer {
	width: 94%;
	border: thin solid;
	border-color: #6D6E70;
	text-align: center;
	padding: 6px;
	margin-left: 24px;
}

.first_footer img {
	vertical-align: middle;
}

.second_footer {
	width: 96%;
	/*border: thin dotted;
	border-color: green;*/
	padding-top: 6px;
	padding-bottom: 6px;
	margin-left: 24px;
}

.second_footer:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
	overflow: hidden;
}

.second_footer_left {
	float: left;
	width: 40%;
}

.second_footer_center {
	float: left;
}

.new_container {
	border: thin solid;
	border-color: #B1CFB0;
	width: 48%;
	height: 130px;
	margin: 5px;
	float: left;
	font-size: 9pt;
}

.new_container_detail {
	border: thin solid;
	border-color: #B1CFB0;
	width: 98%;
	margin: 5px;
	float: left;
	font-size: 9pt;
}

.new_container:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
	overflow: hidden;
}

.new_container_detail:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
	overflow: hidden;
}

.new_header {
	background-color: #B1CFB0;
	padding: 5px;
}

.new_header:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
	overflow: hidden;
}

.new_date2 {
	color: white;
}

.new_title {
}

.new_content {
	padding: 5px;
}

.credit_container {
	border: thin dashed;
	border-color: #6D6E70;
	font-size: 7.5pt;
	padding: 5px;
	width: 30%;
	height: 185px;
	float: left;
	margin: 5px;
}

.credit_container:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
	overflow: hidden;
}

.credit_flag {
	float: left;
	padding-right: 10px;
}

.credit_detail {
	float: left;
	padding-top: 15px;
	width:160px;
}

/* Tabela simples */
table.simple_table { border: none 0px #6D6E70; border-collapse: collapse; }
table.simple_table th, table.simple_table td {	border: inset 1px #6D6E70; padding: 5px;}

.subscricao { }
.subscricao a { color: Black; }
