﻿* {
    margin: 0;
    padding: 0;
    outline: none;
}

html {
    height: 100%;
}

body {
    height: 100%;
    line-height: 1.4em;
    text-align: center;
    font-family: "Trebuchet MS", Tahoma, Helvetica, Verdana, Arial, sans-serif;
    font-size: 12px;
    color: #666633;
    background-color: #fff;
    /*background-color: #cccc9a;*/
}

form {
    height: 100%;
}

img {
    border: 0;
}

ul {
    list-style: none;
}

a, a:link, a:visited, a:active {
    color: #666633;
}

h1 {
	padding: 10px 0;
	margin-bottom: 20px;
	border-bottom: 1px solid #eee;
	font-size: 18px;
	font-weight: bold;
	text-align: center;
}

h2 {
	padding: 10px 0;
	margin-bottom: 20px;
	border-bottom: 1px solid #eee;
	font-size: 15px;
	font-weight: normal;
}

h3 {
	padding: 10px 0;
	font-size: 13px;
	font-weight: normal;
}

p {
	margin-bottom: 10px;
}

#page {
    width: 1003px;
    margin: 0 auto;
    min-height: 100%;
    text-align: left;
	background: #fff url('../Img/bg-body.gif') repeat-y;
    background-position: top center;
}

* html #page {
    height: 100%;
}        

#page-wrapper {
    position: relative;
    min-height: 100%;
}

* html #page-wrapper {
    height: 100%;
}

#header {
    float: right;
    width: 853px;
    background: url('../Img/bg-top.gif') repeat-x;
}

#language {
	float: left;
	padding-top: 6px;
	background-color: transparent;
}

#language ul li {
    margin-left: 20px;
    display: inline;
    font-family: Verdana, Arial, Helvetica, Tahoma, sans-serif;
    font-weight: normal;
}

#language a, #language a:link, #language a:visited, #language a:active {
    color: #0066CC;
    text-decoration: none;
    font-size: 11px;
}

#nav-top, #nav-bottom {
    height: 28px;
    line-height: 28px;
    color: #fff;
    background-color: #666633;
    text-align: center;
    font-family: "Trebuchet MS Bold", Tahoma, Helvetica, Verdana, Arial, sans-serif;
    font-weight: bold;
}

#nav-top {
    float: left;
    margin-left: 15px; 
    _margin-left: 8px; /* IE6 Hack */
    width: 830px;
}

#nav-bottom {
    margin-left: 165px;
    margin-right: 8px;
}

#nav-top ul, #nav-bottom ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
        
#nav-top ul li {
    margin-left: 20px;
    display: inline;
    font-weight: bold;
}

#nav-top a, #nav-top a:link, #nav-top a:visited, #nav-top a:active {
    color: #fff;
    text-decoration: none;
}

#nav-bottom a, #nav-bottom a:link, #nav-bottom a:visited, #nav-bottom a:active {
    color: #fff;
    text-decoration: none;
}

#sidebar {
    float: left;
    width: 150px;
    background-color: transparent;
}

#content-wrapper {
    background-color: transparent;
    margin-left: 165px;
    _margin-left: 162px; /* IE6 Hack */
    margin-right: 20px;
    padding-bottom: 100px;        
    height: 100%;
}

#content {
    height: 100%;
    _width: 99%; /* IE6 Hack */
}

#footer {
    width: 1003px;
    margin-left: 1px;
    position: relative;
    margin: -6.6em auto 0 auto;
    text-align: left;
    background-color: transparent;
}        

* html #footer {
    margin-top: -6.6em; /* IE Hack */
}

.banner {
    float: left;
    margin-top:4px;
    margin-left:17px;
}

.menu {
    list-style: none;
    padding-left: 10px;
    font-family: "Trebuchet MS Bold", Tahoma, Helvetica, Verdana, Arial, sans-serif;
    font-weight: bold;
}

.menu a, .menu a:link, .menu a:visited, .menu a:active {
    color: #666633;
	text-decoration: none;    
}

.contacts {
    float: right;
    margin-left: 165px;
    margin-right: 8px;
    width: 830px;
}

.left {
    float: left;
}

.right {
    float: right;
}

.acenter {
    text-align: center;
}

.aleft {
    text-align: left;
}        

.aright {
    text-align: right;
}

.ajustify {
    text-align: justify;
}        

img.icon, input[type=image].icon {
	vertical-align: middle;
	padding-right: 1px;
}

.message {
    display: block;
    clear: both;
    padding-bottom: 10px;
}

ul.nav-bar {
    margin: 0;
    padding: 0;
    list-style: none;
    background-color: #f0f0f0;
    padding: 4px;
}
        
ul.nav-bar li {
    margin-left: 20px;
    display: inline;
    font-weight: bold;
}


/* Controlos */
input, textarea {
    font-family: "Trebuchet MS", Tahoma, Helvetica, Verdana, Arial, sans-serif;
	font-size: 12px;
	background: #fff;
	/* border: 1px solid #666633;*/
	padding: 2px;
    color: #666633;
}

.botao {
	color: #990099;
	background-color: #f3e5f6;
	border-width: 1px;
	border-style: outset;
	padding: 1px;
}

.botao-alt {
	color: #666633;
	background-color: #f3f3e7;
	border-width: 1px;
	border-style: outset;
	padding: 1px;
}

input[type=button], input[type=submit] {
	color: #990099;
	background-color: #f3e5f6;
	border-width: 1px;
	border-style: outset;
	padding: 1px;
}

input[type=button].botao-alt, input[type=submit].botao-alt {
	color: #666633;
	background-color: #f3f3e7;
}


select {
	background: #fff;
	/* border: 1px solid #666633;*/
    color: #666633;
    font-family: "Trebuchet MS", Tahoma, Helvetica, Verdana, Arial, sans-serif;
	font-size: 12px;
	width: 200px;
}


/* Secções */
table {
	text-align: left;
}

.login-wrapper {
	margin-left: 283px;
	border-collapse: collapse;
	width: 100%;
}

.login {
	height: 120px;
	width: 250px;
	border: 1px solid #cccc9a;
}

.login-error {
	height: 40px;
	width: 250px;
}

.login-title {
	background-color: #cccc9a;
	padding: 4px 0;
	font-weight: bold;
}

.notificacao-wizard {
	width: 650px;
	margin-left: 84px;
}

.grid, .view {
	width: 816px;
	margin: 20px 0 0 1px;
}

.grid {
	border: 1px solid #666633;
}

.grid th {
	text-align: center;
	font-weight: bold;
	background-color: #666633;
	color: #fff;
}

.grid th a, .grid th a:link, .grid th a:visited, .grid th a:active {
    color: #fff;
}

.gridrow {
	background-color: #fff;
	color: #666633;
}

.gridrow-alt {
	background-color: #e5e6cd;
	color: #666633;
}

.cellpad {
	padding: 0px 5px;
}

.titulo {
	padding: 10px 0;
	margin-bottom: 10px;
	border-bottom: 1px solid #eee;
	font-size: 14px;
	font-weight: bold;
	text-align: center;
}
body {
}
/* 12-12-2007*/
.OddLine
{
	background-color: #E0E0E0;    
}
.TRHighlight
{
  background-color: #FFFF66;  
}
.RowEdit
{
	background-color: #FFFF66; 
}
.RowFooter
{
 	background-color:#9D9DFF;
}


