html, body {
  background-color: #ebe9c3;
  background-color: #b0ac6a;
  background-image: url('/images/bg2.jpg');
  background-position: top left;
  background-repeat: repeat-x;
  color: #613417;
  color: #79563f;
  font-family: Tahoma, Verdana, arial, sans-serif;
}
a:link, a:visited {
  outline: none;
  color: #613417;
}
a:hover, a:active {
  color: #9c9751;
  text-decoration: none;
}
.titulo {
  color: #9c9751;
}
#banner {
  position: relative;
  *position: absolute;
  width: 720px;
  *width: 770px;
  margin: 0 auto;
  *margin: 12px 0 0;
  z-index: 9998;
}
#destaque, #registo, #cliente, #perfil {
  background: transparent url('/images/flag_aba.png') no-repeat top right;
  position: absolute;
  z-index: 9999;
  width: 103px;
  height: 46px;
  top: -18px;
}
#destaque {
  background: transparent url('/images/flag_aba_castanho.png') no-repeat top right;
  text-align: center;
  right:322px;
  width:123px;
}
#destaque a {
  display:block;
  padding-left: 12px;
  color: #fff;
  font-weight: bolder;
  text-decoration: none;
}
#registo {
  right: 215px;
}
#cliente {
  right: 108px;
}
#perfil {
  right: 108px;
  width: 216px;
  background: transparent url('/images/flag_aba_perfil.png') no-repeat top right;
  text-align: center;
}
#perfil img {
  display: inline;
  position: relative;
  top: 4px;
  right: 2px;
}
#perfil a {
  position: relative;
  bottom: 3px;
}
#flags .images {
  position: absolute;
  background: transparent url('/images/flag_aba.png') no-repeat top right;
  right: 0;
  top: -18px;
  z-index: 9999;
  width: 103px;
  height: 46px;
}
#flags .images img, #registo, #cliente, #perfil, #destaque {
  padding: 15px 0 0;
}
#main {
  position: relative;
  *top: 12px;
  width: 854px;
  margin: 12px auto 0;
  background-color: transparent;
  z-index: 0;
}
.caixa {
  border-top: 2px solid #ccc9a6;
  background: transparent url('/images/aba_bg.png') repeat-x top left;
  margin: 0 0 10px 0;
  padding: 0 10px 5px;
}
.caixa h2 {
  background: transparent url('/images/aba_esq.png') no-repeat top left;
  height: 35px;
  margin: 0 5px;
  padding: 7px 10px 0;
}
#header {
  background-image: url('/images/header_bg.jpg');
  background-position: 85% 0;
  background-repeat: no-repeat;
  height: 132px;
}
#de_language_warning {
  clear: both;
  text-align: center;
  margin: 0 15px 10px 15px;
  padding: 5px;
}
#footer {
  clear: both;
  text-align: right;
  margin: 0 15px 0 15px;
  padding: 5px 10px 27px;
  background-color: #f8f7f2;
}
#footer .casas {
  float: left;
}
#logo {
  position: absolute;
  left: 60px;
  top: 12px;
}
#slogan {
  border-bottom: 1px solid #ccc9a6;
  width: 340px;
  position: absolute;
  right: 35px;
  top: 40px;
  font-size: 26px;
  color: #9c9751;
  color: #b0ac6a;
}
#menu {
  position: absolute;
  width: 115px;
  top: 120px;
  left: 3px;
  z-index: 10;
}
#menu li {
  width: 115px;
  height: 37px;
  background-image: url('/images/menu_item_canto.png');
  background-position: top left;
  background-repeat: no-repeat;
  font-size: 15px;
  padding: 2px 0 0;
  position: relative;
}
#menu li.activo {
	background-image: url('/images/menu_item_canto_activo.png');
}
#menu a {
  position: absolute;
  right: 0;
  top: 0px;
  padding: 8px 5px 0;
  display: block;
  width: 90px;
  height: 100%;
  background-color: transparent;
  background-image: url('/images/menu_item_bg.png');
  background-position: top right;
  background-repeat: repeat-x;
  text-decoration: none;
}
#menu li.activo a {
  background-image: url('/images/menu_item_bg_activo.png');
}
#content {
  position: absolute;
  left: 113px;
  width: 695px;
  background-color: transparent;
  background-image: url('/images/shadow_east.png');
  background-position: top right;
  background-repeat: repeat-y;
  padding: 0;
}
#content .bg {
  background-color: #fff;
  background-image: url('/images/nw_content_bg.jpg');
  background-position: top left;
  background-repeat: no-repeat;
  padding: 0 0 10px 0;
  margin: 0 10px 0 0;
}
#content .left_corner {
  background-image: url('/images/nw_content_bg.jpg');
  background-position: top left;
  background-repeat: no-repeat;	
}
p.mensagem {
  background-color: #f3f3f3;
  padding: 4px 2px;
  font-weight: bold;
}
.thumbnail {
  border: 2px solid #e0e0e0;
}
.thumbnail.left {
  margin: 0 8px 0 0;
  float: left;	
}
.thumbnail.right {
  margin: 0 0 0 8px;
  float: right;	
}
p.justificado {
  text-align: justify;
}
p.destaque {
  font-weight: bold;
}
#shadow_south {
  width: 685px; /* tem de coincidir com a largura do #content */
  height: 15px;
  background-color: transparent;
  background-image: url('/images/shadow_south.png');
  background-position: bottom left;
  background-repeat: repeat-x;
  padding: 0;
  margin: 0 0 -11px 0;
  *margin: 0 10px -11px 0;
  z-index: 109;
}
address span {
  color: #9c9751;
}
table.precario {
  margin: 5px 0;  
}
table.precario th {
  font-weight: bold;
  text-align: center;
}
table.precario th.vazio {
  border: none;
}
table.precario td, table.precario th.cabecalho {
  background: transparent url(../images/calendar_bg.png) repeat 0 0;
  padding: 2px 3px;
  border: 1px solid #9c9751;
}
table.precario .epoca {
  color: #B0AC6A;
}
#destaque-longo {
  border-top: 2px solid #CCC9A6;
  border-bottom: 2px solid #CCC9A6;
  background-color: #F8F7F2;
  height: 30px;
  line-height: 30px;
  width: 656px;
  margin-left: 15px;
  font-weight:bold;
}
#destaque-longo a {
  color: #9c9751;
  text-decoration: none;
}
#destaque-longo .titulo {
  background: url(../images/logo_inline.png) no-repeat left center;
  padding-left: 18px;
  color: #613417;
}
.clear {
  clear: both;
  display: block;
  height: 0;
  line-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

