@charset "utf-8";
/* CSS Document */

html, body{
	height: 100%;
}

body{
	font-size: 14px;
	color: #333;
	line-height: 20px;
}

.faded{
	color: #666;
}

a{
	color: #ffa200;
	text-decoration: none;
}

p{
	margin-bottom: 1em;
}

.nowrap{
	white-space: nowrap;
}

strong{
	font-family: 'CartoGothicStdBold';
}

#wrapper{
	width: 100%;
	min-height: 100%;
	min-width: 800px;
	position: relative;
	background: url(../images/barra_lateral.png) repeat-y;
}

#body{
	padding-bottom: 50px;
}

/******
* BOTOES
******/
form button,
.botao,
.tab-menu li a{
	cursor: pointer;
	border: 1px solid #ccc;
	border-radius: 2px;
	font-size: 13px;
	text-shadow: 1px 1px rgba(255,255,255,0.7);
	color: #666;
	background: url(../images/botoes/bg_botao_normal.png) repeat-x;
	border: 1px solid #aaa;
	height: 25px;
	line-height: 25px;
	padding: 0 5px;
	display:block;
	float:left;
}
form button > img,
.botao > img,
.tab-menu li a > img{
	opacity: 0.5;
/*	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=50);*/
	vertical-align: middle;
/*	margin: 1px 3px 0 0;
	display: block;
	float: left;*/
}

a.botao{
	min-width:120px;
	height:24px;
}

a.imprimir.botao{
	min-width: 0;
}

a.ajuda.botao{
	min-width: 0;
}

form button:hover,
.botao:hover,
.tab-menu li a:hover{
	background-image: url(../images/botoes/bg_botao_over.png);
	color: #333;
	border-color: #5d7376;
}
form button:hover > img,
.botao:hover > img,
.tab-menu li a:hover > img{
	opacity: 1;
/*	filter: alpha(opacity=100);
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";*/
}

a.voltar{
	display: block;
	width: 70px;
	margin-top: 20px;
}

/*******
* HEADER
***********/
#header{
	background: url(../images/barra_header.png) repeat-x; /* o bg branco serve para tapar a barra do lado esq q vai de cima a baixo */
	width: 100%;
}

#sombra_header{
	height: 2px;
	width: 100%;
	position: absolute;
	background:url(../images/sombra_header.png);
	z-index: 50;
}

#header #titulo{
	float: left;
	display: block;
}
#header #logo{
	float: right;
	display: block;
}

#header #barra_menu{
	background: url(../images/header_barra_menu.png) repeat-x;
	height: 35px;
}

a#terminar-sessao{
	display: block;
	float: right;
	margin: 3px 5px;
	width: 35px;
	height: 23px;
	line-height: 23px;
	border: 1px	solid #999;
	opacity: 0.5;
	border-radius: 2px;
	text-align: center;
}
a#terminar-sessao:hover{
	opacity: 1;
}
#utilizador{
	float: right;
	margin: 3px 10px 0 0;
	height: 25px;
	line-height: 25px;
}


/*******
* MENU
*******/

ul#menu{
	margin-top:10px;
}

ul#menu > li{
/*	padding-left: 20px;*/
/*	margin-bottom: 5px;*/
}
ul#menu li a{
	display: block;
/*	width: 200px;*/
	height: 26px;
	padding-left: 20px;
	line-height: 14px;
	padding-top:9px;
}

ul#menu > li > a{
	color: #333;
	text-transform: uppercase;
	font-size: 15px;
}

ul#menu li.selected > a{
	background:url(../images/menu_activo.png) no-repeat;
}
ul#menu li.parent > a{
	background: url(../images/seta_direita.png) 8px 10px no-repeat;
}
ul#menu li.selected.parent > a{
	background-image:url(../images/seta_baixo.png);
}
ul#menu li li a{
	padding-left: 30px;
	font-size: 14px;
	color: #444;
	height: 22px;
}
ul#menu li li.parent > a{
	background-position: 18px 10px;
}
ul#menu li li li a{
		padding-left: 40px;
		font-size: 13px;
		color: #666;
		
}

/********
* SIDEBAR
********/
#sidebar-left{
	width: 210px;
	float: left;
	position: relative;
	z-index: 10;

	min-height: 200px;
}

#sidebar-left .caixa{
	background:url(../images/barra_lateral_separador.png) bottom left no-repeat;
	padding: 0 20px 10px;
	margin-bottom: 10px;
}
#sidebar-left .caixa h1{
	color: #888;
	text-transform: uppercase;
	font-size: 12px;
}

#sidebar-left .caixa a{
	color: #333;
}
#sidebar-left .caixa li a{
	display: block;
	height: 24px;
	line-height: 24px;
}

#idiomas .selected{
	font-family: 'CartoGothicStdBold';
}

#opcoes{
	right: 0;
	top:102px;
	position:absolute;
	font-size:12px;
	z-index:3;
}

#opcoes > span > a{
	height:25px;
	width: 40px;
	background: url(../images/bt_acoes_off.png) top center no-repeat;
	padding-left:15px;
	padding-top:2px;
	display:block;
	cursor: pointer;
	margin-right:5px;
}
#opcoes > span ul{
	width:115px;
	display:none;
	margin-left:-60px;
	margin-top:-2px;
}
#opcoes > span:hover ul{
	display:block;
}
#opcoes > span:hover > a{
	background: url(../images/bt_acoes_on.png) top center no-repeat;
}

#opcoes ul li{
	background: url(../images/actionlist_middle.png) repeat-y;
	height:20px;
	width: 115px;
	padding-left:5px;
}
#opcoes ul li.separador{
	height:1px;
	background: url(../images/actionlist_line.png) no-repeat;
}
#opcoes ul li.topo{
	background: url(../images/actionlist_top.png) no-repeat;
	height:5px;
}
#opcoes ul li.base{
	background: url(../images/actionlist_base.png) no-repeat;
	height:5px;
}

#opcoes ul li a{
	display:block;
	width:110px;
}

/************
* CONTEUDO
*************/

.inset,
#conteudo h1,
table thead th,
ul#menu > li > a,
#sidebar-left .caixa h1{
	/*text-shadow: rgba(0,0,0,0.5) -1px 0, rgba(0,0,0,0.3) 0 -1px, rgba(255,255,255,0.4) 0 1px, rgba(0,0,0,0.7) -1px -1px;*/
	/*text-shadow: 1px 1px rgba(255,255,255,1);*/
	/*filter:progid:DXImageTransform.Microsoft.Shadow(color='#000000', Direction=315, Strength=-1);*/
	/*filter:progid:DXImageTransform.Microsoft.DropShadow(color='#00000050', Direction=310, offX=-1, offY=-1, positive='true');*/
}

#conteudo{
	float: left;
	margin-left: -210px;
/*	margin-right: 10px;*/
/*	padding-left: 15px;*/
	width: 100%;
	
	color: #666;
	line-height: 18px;
}

#squeeze{
	margin: -2px 0 0 200px;
	padding-left:20px;
	padding-right:5px;
	background: url(../images/barra_titulo_header.png) repeat-x top left;
}

#conteudo h1{
	font-size: 30px;
	color: #384648;
	padding-bottom: 9px;
	/*border-bottom: 4px solid #aaa;*/
	margin-bottom: 40px;
	font-weight:lighter;
	position:relative;
}
#conteudo h1 span{
	font-size: 14px;
}

h1 a.imprimir{
	display: block;
	width: 20px;
	padding: 0 6px;
	right:0;
	top:0;
	position:absolute;
}

h1 a.ajuda{
	display: block;
	width: 20px;
	padding: 0 6px;
	right:35px;
	top:0;
	position:absolute;
}

h1 a.imprimir img{
	float: none;
	margin-right: 0px;
}

h1 a.imprimir img{
	float: none;
}


#conteudo h2{
	font-size: 18px;
	color: #333;
	padding-bottom: 5px;
	border-bottom: 2px solid #ccc;
	margin-bottom: 5px;
}

#conteudo h3{
	font-size: 12px;
	font-weight: bold;
	color: #333;
	text-shadow: 1px 1px rgba(255,255,255,0.9);
}

#conteudo #caminho{
	height: 15px;
	margin-bottom: 25px;
	margin-top: 2px;
	font-size: 10px;
	color: #666;
}
#conteudo #caminho a{
	font-size: 10px;
}

#conteudo ul li{
	padding-left: 10px;
	margin-top: 5px;
}

#conteudo ul li.filhos{
	background: url(../images/seta_baixo.png) no-repeat 0px 5px;
}

#conteudo ul ul{
	margin-left: 5px;
}

/******
* FOOTER
*****/
#footer{
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 20px;
	
	line-height: 20px;
	background:url(../images/barra_rodape.png);
}

#footer div{
	text-align: center;
	font-size: 10px;
	color: #ccc;
}

#footer a{
	font-size: 10px;
}

/********
* FORM
********/

form{
	float: left;
}

form, fieldset{
	clear: both;
}

form legend{
	font-size: 18px;
	color: #333;
	border-bottom: 3px solid #ccc;
	display: block;
	width: 100%;
}

textarea{
	overflow: auto;
}

form ol{
	padding-top: 5px;
}
form ol li {
  clear: left;
  display: block;
/*  width: 354px;*/
  zoom: 1;
  margin: 10px 0 0 0;
  padding: 3px 0;
}

form ol li.data { height: 35px; }

form fieldset label {
  display: block;
  text-align: left;
  color: #000;
}
form fieldset label .help{
	display: block;
	float: right;
}

form ol li.required label{
	font-weight: bold;
}

form ol li.required label:after{
	content: ' *';
}


form fieldset fieldset {
  clear: none;
/*  border-width: 1px;
  border-style: solid;
  border-color: #666666;
  margin: 0 0 0 144px;
  padding: 0 5px 5px 5px;
  width: 197px;*/
}

form fieldset fieldset label{
	float: none;
	display: inline;
	width: auto;
	margin: 0;
	padding: 0;
}

form div.fckeditor{
	float: left;
	width: 604px;
}

form select{
	height: 25px;
}
form input[type="text"],
form input[type="password"]{
	height: 15px;
	padding: 5px;
}

form .texto input,
form .numerico input,
form .url input,
form textarea{
	width: 600px;
}
form .email input{
	width: 300px;
}


form textarea{
	padding: 5px;
}

form input,
form select,
form textarea{
	font-size: 12px;
}

form .numerico input{
	text-align: right;
	width: 50%;
}

form .tempo input{
	text-align: right;
}

form input.metade{
	width: 50%;
}
form input.quarto{
	width: 25%;
}

form input.dia,
form input.mes,
.lista_itens table td input[type="text"].dia,
.lista_itens table td input[type="text"].mes{
	width: 1.2em;
	text-align: right;
}

form input.ano,
.lista_itens table td input[type="text"].ano{
	width: 2.4em;
	text-align: right;
}

form .upload > div.fora{
	background-color: #eee;
	border: 1px solid #d6d6d6;
	padding: 10px;
}
form .upload a{
	display: block;
	margin-bottom: 5px;
}
form .upload .meio{
	float: left;
}
form .upload .legendas{
	height: 80px;
}
form .upload button{
	float: right;
	margin-top: 80px;
}

.preview{
	width: 128px;
	height: 128px;
	float: left;
	margin-right: 15px;
}
.preview img{
	display: block;
}

form select{
	margin-left: 0;
}

form li.hidden{
	display: none;
}

form button{
}

form button img{
	vertical-align: middle;
/*	display: block;
	float: left;*/
}

form li.tabs{
/*	position: relative;*/
	width: 720px;
}


form li.botoes{
	margin-top: 20px;
	width: 100%;
}

form span.countchars{
	display: block;
	text-align: right;
	padding-right: 5px;
}

form .muitosmuitos table.tipo1{
	width: 100%;
}

form .muitosmuitos table.tipo1 input[type="checkbox"]{
	float: left;
	margin-right: 5px;
}
form .muitosmuitos ul.tipo2 li span{
	display:block;
	float:left;
}

form .muitosmuitos ul.tipo2,
form .muitosmuitos ul.tipo3{
	width: 620px;
	border:1px solid #d6d6d6;
	background-color: #fafafa;
	padding: 0 5px 5px 5px;
	overflow:auto;
}
form .muitosmuitos ul.tipo2 li,
form .muitosmuitos ul.tipo3 li{
	float: left;
	clear: none;
	margin-right: 10px;
	padding-right: 5px;
	background-color: #eee;
	border: 1px solid #ccc;
	min-width: 125px;
	line-height: 23px;
}
form .muitosmuitos ul.tipo2 > li a.remover{
	height: 23px;
	display:block;
	float:right;
}
form .muitosmuitos ul.tipo2 > li.clear,
form .muitosmuitos ul.tipo3 > li.clear{
	padding:0;
	margin:0;
	min-width:0;
	height:0;
}
form .muitosmuitos ul.tipo2 > li.vazio,
form .muitosmuitos ul.tipo3 > li.vazio{
	float:none;
	clear:both;
	border:0;
	background: none;
}

form .muitosmuitos input[type="text"]{
	display: block;
	float: left;
	width: 400px;
}
form .muitosmuitos button.limpar_filtro{
	float: left;
}
form .muitosmuitos select{
	display: block;
	width: 140px;
	clear: both;
	height: 28px;
}

form table td a.help{
	display: none;
}
form table.listagem th a.help{
	float: right;
}

form .instrucoes{
	color: #999;
	display: block;
	font-size: 12px;
}

.gps input[type="text"]{
	float: left;
}
.gps a.botao{
	display: block;
	float: left;
	margin-left: 10px;
}

#group_wrapper.separar{
	background:url(../images/tab_vertical_2.png) left repeat-y;
	width: 800px;
	min-width: 800px;
}
#group_wrapper.separar #group_inner{
	background:url(../images/tab_vertical_3.png) bottom left no-repeat;
}
#group_wrapper.separar #group_list{
	float: left;
	margin-right: 20px;
	padding: 20px 0;
	background:url(../images/tab_vertical_1.png) top left no-repeat;
}
#group_wrapper.separar #group_list li{
	padding: 0;
	margin: 0 0 0 -1px;
}
#group_wrapper.separar #group_list a{
	display: block;
	width: 150px;
	padding-left: 10px;
	min-height: 30px;
	line-height: 30px;
}

#group_wrapper.separar #group_list li.selected a{
	background-color: #fff;
	border-left: 1px solid #c2c2c2;
	border-top: 1px solid #c2c2c2;
	border-bottom: 1px solid #c2c2c2;
	color: #333;
}

#group_wrapper.separar fieldset{
	float: left;
	clear: none;
	width: 620px;
}
#group_wrapper.separar .next_prev{
	margin-top: 5px;
	border-bottom: 3px solid #ccc;
	padding-bottom: 5px;
	height:24px;
}
#group_wrapper.separar .next_prev.fim{
	border-top: 3px solid #ccc;
	padding-top:5px;
}
#group_wrapper.separar .next_prev .next{
	float: right;
}
#group_wrapper.separar .next_prev.fim{
	border-top: 3px solid #ccc;
}
button.next > img,
button.prev > img{
	margin-top:-2px;
}

.erro_campo{
	color: #C00;
	font-weight: bold;
}

/********
* LISTAGEM
**********/

table.listagem{
	margin-bottom: 25px;
	float: left;
	border:1px solid #ccc;
	border-bottom-width: 2px;
}

table.listagem caption{
	font-size: 18px;
	color: #333;
	height: 30px;
	line-height: 30px;
}
table.listagem tr.accoes{
	font-size: 18px;
	color: #333;
	border-top: 2px solid #ccc;
}
table.listagem tr.accoes td{
	padding: 1px 0 4px 0;
	height: 32px;
	line-height: 32px;
}
table.listagem tr.accoes a{
	display: block;
	float: left;
	margin-right: 15px;
	font-size: 14px;
}

/* PESQUISA E PAGINACAO */
table.listagem  tr.tools{
}
table.listagem  tr.tools td{
	background: url(../images//tab_barra_filtro_2.png) repeat-x;
	border: none;
	height: 32px;
	line-height: 32px;
	vertical-align: middle;
}
table.listagem  tr.tools td > img{
	display: block;
	float: left;
}


form.pesquisa{
	display: block;
	border: 1px solid #ddd;
	margin-left: 30px;
	margin-top: 2px;
	float: right;
	clear: none;
}

form.pesquisa input[type="search"]{
	width: 130px;
	border: none;
	height: 22px;
	line-height: 22px;
	font-size: 12px;
	padding: 0 5px;
	float: left;
}

form.pesquisa input[type="search"],
form.pesquisa button{
	display: block;
}
form.pesquisa button{
	width: 20px;
	height: 23px;
	float: right;
	padding: 0;
	margin-right: 4px;
	text-align: left;
	background: none;
	border: none;
}
form.pesquisa button img{
	opacity: 1;
	filter: alpha(opacity=100);
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

tr.tools .resultados{
	display: none;
}

tr.tools .total{
	float: left;
	font-size: 14px;
	color: #666;
	margin-right: 5px;
}

tr.tools .total,
tr.tools .paginacao{
}

table.listagem form.filtro{
	display: block;
	float: left;
	clear: none;
	margin-left: 5px;
}
table.listagem form.filtro,
table.listagem form.filtro fieldset{
	margin-top: 0;
}
table.listagem form.filtro label{
	width: auto;
	padding: 0;
	margin: 0;
	display: inline;
}
table.listagem form.filtro select{
	margin-top: 4px;
	height: 23px;
	vertical-align: top;
}


/* CORPO */
table.listagem th, 
table.listagem tbody td{
	padding: 0 10px;
}
table.listagem th{
	font-weight: normal;
	background: url(../images/tab_barra_campos_2.png) repeat-x bottom #c1c1c1;
	height: 25px; /* isto deviam ser 24px nao fosse o #%@$*% do IE */
	line-height: 25px;
	white-space: nowrap;
	border-right: 1px solid #969696;
}
table.listagem th:last-child{
	border-right: none;
}
table.listagem th.selected{
	background-image: url(../images/tab_barra_campos_select.png);
	background-color: #7e7e7e;
	padding:0 10px !important;
}
table.listagem th.selected a{
	padding-right:0px;
}

table.listagem th:first-child,
table.listagem td:first-child{
	vertical-align: middle;
}
table.listagem th, th a{
	color: #333;
}
table.listagem th a{
	display: block;
}
table.listagem tbody th{
	background-image: none;
	background-color: #ddd;
	border-right: 1px solid #b4b4b4;
}
/*th a,
th img{
	display: block;
	float: left;
}*/
table.listagem tr.dragging td{
	background-color:#FFC;
}
table.listagem tbody td{
	height: 30px;
	line-height: 30px;
}
table.listagem tbody .impar td{
	background-color: #eee;
}
table.listagem tbody tr:nth-child(odd){ /*O IE obriga a ter isto em separado.... */
	background-color: #eee;
}
table.listagem tbody .par td{
	background-color: #fafafa;
}
table.listagem tbody tr:nth-child(even){
	background-color: #fafafa;
}
table.listagem tbody tr:hover td{
	background-color: #c6dade;
}

table.listagem th.handle,
table.listagem td.handle{
	padding: 0;
}
table.listagem td.handle{
	cursor: move;
	width: 20px;
}
table.listagem td.handle > span{
	display: block;
	background: url(../images/simbolos/grip.png) no-repeat center;	
	width: 20px;
	height: 20px;
}

img.icone{
	padding: 3px;
/*	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";	
	filter: alpha(opacity=50);*/
	opacity: 0.5;
}
img.icone:hover{
	opacity: 1;
/*	filter: alpha(opacity=100);
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";	*/
}
/* PAGINACAO */
#conteudo .listagem .paginacao{
	float: right;
	margin-top: 3px;
}

#conteudo .listagem .paginacao div,
#conteudo .listagem .paginacao a{
	width: 20px;
	height: 20px;
	line-height: 20px;
	text-align: center;
	font-size: 12px;
	display: block;
	float: left;
}
#conteudo .listagem .paginacao select{
	float: left;
	height: 22px;
}

#conteudo .listagem .paginacao .inactivo{
	width: 25px;
	height: 13px;
	padding-top: 7px;
	background:url(../images/botoes/bg_botao_normal.png);
	border: 1px solid #ccc;
	border-radius: 2px;
	opacity: 0.5;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";	
	filter: alpha(opacity=50);
}
#conteudo .listagem .paginacao .botao{
	width: 16px;
}
#conteudo .listagem .paginacao .botao img{
	margin: 7px 0 0 5px;
}

/* TOOLBOX */

.listagem .toolbox{
	float: left;
	border-bottom: 2px solid #999;
	border-top: 2px solid #999;
	background: #f5f5f5 url(../images/conteudo_barra_pagina_tabela.png) top repeat-x;
	min-width: 150px;
	margin: 22px 0 0 10px;
	padding-bottom: 5px;
}

.quadro_resumo{
	float: left;
	min-width: 500px;
}
.quadro_resumo dd{
	text-align: right;
}


/*******
* FICHA
*******/
dt, dd{
	display: block;
	float: left;
	margin-bottom: 5px;
}
dt{
	clear: both;
	width: 20%;
	font-family: "CartoGothicStdBold";
}
dd{
	width: 80%;
}

/********
* AVISOS E ERROS
********/
div.alert_erro,
div.alert_aviso,
div.alert_sucesso,
div.alert_info{
	padding: 10px 15px;
	min-height: 35px;
	min-width: 400px;
	font-size: 14px;
	border-radius: 7px;
	border:2px solid;
	-moz-border-radius: 7px;
	margin-top:5px;
}

div.alert_erro{
	margin-bottom: 20px !important;
	border-color: #ff0000;
	background-color: #fde2d5;
	color:#ff0000;
}

div.alert_aviso{
	background-color: #ffffcc;
	border-color: #ff6600;
	color: #ff6600;
}
div.alert_sucesso{
	background-color: #ccff99;
	border-color: #339900;
	color: #339900;
}
div.alert_info{
	background-color: #d4f6ff;
	border-color: #0053a1;
	color: #0053a1;
}

div.alert_erro img.simbolo,
div.alert_aviso img.simbolo,
div.alert_sucesso img.simbolo,
div.alert_info img.simbolo{
	position: absolute;
	display:block;
	margin-left:-32px;
	margin-top: -27px;
}



/********
* TABS
**********/



/***************
 LISTA ITENS
***********/
.lista_itens .listagem th{
	padding: 0 3px;
}
.lista_itens .listagem td{
	padding: 0;	
}
.lista_itens table td label{
	display: none;
}

.lista_itens table .new{
	display: none;
}

.lista_itens table td input[type="text"]{
	width: 180px;
}
.lista_itens td .preview{
	display: none;
}
.lista_itens td .legendas{
	height: auto;
}
.lista_itens td.data{
	width: 146px;
	white-space: nowrap;
}
.lista_itens .upload{
	width: 350px;
}
.lista_itens .upload button{
	margin-top: 2px;
	float: left;
}
.lista_itens .upload a{
	display: inline;
}
.lista_itens .upload div.fora{
	border: none;
	padding: 0;
	margin: 0;
	background-color: transparent;
	width: 50px;
}

.lista_itens tr.totais td:nth-of-type(2){
	font-weight: bold;
}
.lista_itens tr.totais .SUM{
	text-align: right;
}

li.checkbox > label{
	display: inline;
}
li.checkbox > input[type="checkbox"]{
	float:left;
	margin:2px 5px 0 0;
}
li.combobox > select{
	line-height: 28px;
	height:28px;
}

li.muitosmuitos > fieldset > h2{
	border-bottom: none !important;
	border-top: 2px solid #ccc;
	padding-top:5px;
	font-size:14px !important;
	margin-bottom:0 !important;
}

ul#barra_esquerda{
	height:60px;
	background: url(../images/barra_menu_rapido.png) no-repeat;
	padding: 5px 5px 5px 20px;
}

ul#barra_esquerda li{
	list-style-type: disc;
}

#conteudo_mesmo{
	margin-right: 5px;
}
.showOnPrint{
	display: none;
}

#sanches{
	height: 400px;
}
