﻿/* [forms] */
input.textbox, input.upload, textarea, select, .select, .combobox, .file{
	border: 1px solid #D6DDE2;
	color: #5C5C5C;
	background-color: #fff;
	vertical-align:middle;
}

textarea
{line-height:150%}

input.textbox, input.upload
{	height: 14px;
	padding: 2px 3px 0px 3px;
}
	

textarea, .listbox
{	height: 50px;
	padding: 2px 3px 0px 3px;
}

input.checkbox, input.radiobutton
{	border: 0px;
	margin: 0px;
	vertical-align:middle;
}

select, .listbox
{	width:145px;
	padding:0px;
	position:relative;
	z-index:0;
}

input.datecontrol{width:65px; vertical-align:middle;}
.iccalendar{vertical-align:middle;height:18px;margin-top:-1px;}

/*classe para posicionamento do botao no inputObj*/
.btnobj{height:17px; vertical-align:baseline;}
input.inptObj{width:100px;vertical-align:baseline;}

.button
{
	background-color: #ECEFF2;
	border: 1px solid #9DA9B3;
	background-image: url(../img/background_bt.jpg);
	background-repeat: repeat-x;
	height: 16px;
	font-weight: bold;
	color: #474B63;
	text-align: center;
	display:inline;
	padding-bottom:3px;
}


.base_centro .button{margin:5px;}

/*informacao*/
label
{
	text-align: left;
	font-weight: normal;
	color: #4D516A;
	vertical-align:middle;
	display:inline;
}


/*titulo*/
.criacao .label
{	text-align: right;
	width: 150px;
	margin-right: 10px;
	margin-left:10px;
	padding-top:2px;
	vertical-align:middle;
}

span.label
{	margin:1px;
	padding:3px;
	width: 115px;
	text-align: right; 
	float:left;
	
}

/* lista para ser colocada ao lado do label */
.lista
{	float: left;
	padding: 0px;
	margin: 0px;
}

table
{
	border-collapse: collapse;
}

table td
{	vertical-align: middle;
}

table td a:link, .meio th a:link
{
	color: #00009D;
}

table td a:visited, .meio th a:visited
{
	color: #840059;
}

table td a:hover, .meio th a:hover
{
	color: #840059;
}

/*input obj (painel)*/
.panel_IObj 
{ 	 visibility : hidden;
	 margin : 0px!important;
	 padding : 0px!important;
	 color:WindowText;
	 border : none;
	 cursor : default;
	 overflow : auto;
	 list-style-type : none;
	 height : 200px;
	 position:relative;
	 z-index:100;
	
}

.panel_IObj li
{	margin : 0px!important;
	padding : 0px!important;
	color: #425162; 
	font-size:9px;
	list-style:none;
	list-style-position:outside;
}





/*--Calendario--*/

div#calendario
{
	background-image: url(../img/background_calendario.jpg);
	background-position: center;
	background-repeat: no-repeat;
	width: 238px;
	height: 233px;
	text-align: center;
	padding: 15px;
}

#calendario table
{
	border: none;
	background: none;
}


.date
{
	width: 232px;
	background-color: #fff;
	border-collapse: collapse;
}

.date th
{
	text-transform: uppercase;
	background-color: #E0E5EB;
	border-bottom: 1px solid #B3BBCE;
	border-right: 1px solid #B3BBCE;	
	font-weight: bold;
	text-decoration: none;
	color: #425162;
}

.date th:first-child
{
	background-image: url(../img/calendario_tl.jpg);
	background-repeat: no-repeat;
	background-position: top left;
}

.date th:last-child
{
	background-image: url(../img/calendario_tr.jpg);
	background-repeat: no-repeat;
	background-position: top right;
	border-right: none;
}

.date tr:last-child
{
	border-bottom: 0px;
}

.date tr:last-child td:first-child
{
	background-image: url(../img/calendario_bl.png);
	background-repeat: no-repeat;
	background-position: bottom left;
	border-left: 0px;
}

.date tr:last-child td:last-child
{
	background-image: url(../img/calendario_br.png);
	background-repeat: no-repeat;
	background-position: bottom right;
	border-right: 0px;
}


.date a
{
	
	font-weight: bold;
	text-decoration: none;
	color: #425162;
}


#calendario .button
{
	margin-top: 15px;
}

/*-- detalhes antiga --*/
#aba
{
	position: relative;
	z-index: 1;
	background-color: #DCE2E7;
	border: none;
	width: 128px;
	float: left;
	background-image: url(../img/background_aba.png);
	background-repeat: no-repeat;
	background-position: top left;
	background-color: #DCE2E7;
}

#aba ul
{
	background-image: url(../img/background_aba_b.png);
	background-repeat: no-repeat;
	background-position: bottom left;
	margin: 0px;
	padding: 0px 0px 5px 0px;
	z-index: 1;
}

#aba li
{
	list-style: none;
	list-style-position: outside;
	color: #5C5C5C;
	margin: 0px 0px 0px 2px;
	padding: 8px 0px 10px 15px;
	width: 100px;
	background-image: url(../img/background_ruller.gif);
	background-repeat: no-repeat;
	background-position: bottom left;
}

#aba a, #aba a:visited
{
	color: #5C5C5C;
	text-decoration: none;
}

#aba a:hover
{
	text-decoration: underline;
}

#aba a:active
{
	text-decoration: underline;
	
}

/*item seleciondo
.aba_ativa 
{   background-color:#DDE3E8;
    text-decoration:underline;
}

.aba_ativa a:link, .aba_ativa a:visited, .aba_ativa a:active, .aba_ativa a:hover
{ 
    text-decoration:underline;
 }
*/




/*envolve conteudo bordas redondas de rodape*/
#aba_grid
{
	z-index: 0;
	margin-left: 127px;
}

/*envolve conteudo*/
#aba_conteudo
{
	padding: 10px;
	background-color: #DCE2E7;
	border-right: 1px solid #8694A0;
	border-left: 1px solid #8694A0;
}


/*hack IE para posicionamento correto da base no conteudo das abas*/
.posicao
{
	margin-top: -10px;
}




/*--- ABAS AJAX || classes requisitadas pelo AJAX --*/

/*pesquisa*/
.ajax__tab_header
{	color: #4D516A;
	font-weight: bold;
	background: #FFF url(../img/background_tab_line.jpg) no-repeat bottom left;
	margin:0px;
	padding:0px 0px 0px 5px;
	height: 34px;
	border-right: 1px solid #8694A0;
}

.ajax__tab_outer
{	text-align: center;
	background: url(../img/background_tab_left.jpg) no-repeat top left;
	height: 25px;
	margin-top: 6px;
	padding-left: 6px;
}

.ajax__tab_inner
{
	text-align: right;
	background: url(../img/background_tab_right.jpg) no-repeat top right;
	height: 25px;
	padding-right: 17px;
}

.ajax__tab_tab
{
	text-align: center;
	background: url(../img/background_tab.jpg) repeat-x;
	height: 25px;
	margin: 0px 15px 0px 0px;
	padding: 5px;
}

.ajax__tab_hover .ajax__tab_outer
{
	text-align: center;
	background: url(../img/background_tab-hover_left.jpg) no-repeat top left;
}
.ajax__tab_hover .ajax__tab_inner
{
	text-align: center;
	background: url(../img/background_tab-hover_right.jpg) no-repeat top right;
}
.ajax__tab_hover .ajax__tab_tab
{
	text-align: center;
	background: url(../img/background_tab-hover.jpg) repeat-x;
}
.ajax__tab_active .ajax__tab_outer
{
	text-align: center;
	background: url(../img/background_tab-active_left.jpg) no-repeat top left;
}
.ajax__tab_active .ajax__tab_inner
{
	text-align: center;
	background: url(../img/background_tab-active_right.jpg) no-repeat bottom right;
	padding-right: 18px;
}
.ajax__tab_active .ajax__tab_tab
{
	text-align: center;
	background: url(../img/background_tab-active.jpg) repeat-x;
}
.ajax__tab_body
{
	border: 1px solid #8694A0;
	border-top:none;
	padding: 8px;
	margin: 0px;
	height: 94%;
	position:relative;
}
/*fim:pesquisa*/


/*detalhes*/
div.content_detalhes .ajax__tab_container,  div.content_detalhes .ajax__tab_xp, div.content_detalhes .ajax__tab_default
{}

div.content_detalhes .ajax__tab_header
{	color: #4D516A;
	font-weight: bold;
	background: #f4f7f9 url(../img/background_tab_line.jpg) no-repeat bottom left;
	margin:0px 0px 0px 0px;
	padding-left: 10px;
	padding-top: 4px;
	height: 35px;
	border-right: none;
}
div.content_detalhes .ajax__tab_outer
{	text-align: center;
	background: url(../img/background_tab_left.jpg) no-repeat top left;
	height: 22px;
	margin:0px;
	padding:0px;
	margin-top: 7px;
}
div.content_detalhes .ajax__tab_inner
{	text-align: right;
	background: url(../img/background_tab_right.jpg) no-repeat top right;
	height: 25px;
	padding-right: 6px;
}
div.content_detalhes .ajax__tab_tab
{	text-align: center;
	background: url(../img/background_tab.jpg) repeat-x;
	height: 25px;
	margin: 0px 15px 0px 0px;
	padding: 5px;
}
div.content_detalhes .ajax__tab_hover .ajax__tab_outer
{	text-align: center;
	background: url(../img/background_tab-hover_left.jpg) no-repeat top left;
}
div.content_detalhes .ajax__tab_hover .ajax__tab_inner
{	text-align: center;
	background: url(../img/background_tab-hover_right.jpg) no-repeat top right;
	cursor:pointer;
}
div.content_detalhes .ajax__tab_hover .ajax__tab_tab
{	background: url(../img/background_tab-hover.jpg) repeat-x;
	cursor:pointer;
}

div.content_detalhes .ajax__tab_active .ajax__tab_outer
{	text-align: center;
	background: url(../img/background_tab-active_left.jpg) no-repeat top left;
	
}

div.content_detalhes .ajax__tab_active .ajax__tab_inner
{	text-align: center;
	background: url(../img/background_tab-active_right.jpg) no-repeat bottom right;
	padding-right:7px;
}
div.content_detalhes .ajax__tab_active .ajax__tab_tab
{	text-align: center;
	background: url(../img/background_tab-active.jpg) repeat-x;
}

div.content_detalhes .ajax__tab_body
{	border: none;
	padding: 8px;
	margin: 0px;
	background: none;
}


/*tabcontainer sem abas*/
div.content_detalhes .notab .ajax__tab_header
{
	background: #FaFbFd;
	margin-right: 1px;
	margin-left: -1px;
	height: 34px;
	border-right: none;
	border-bottom: 1px solid #8896A2;
}

div.content_detalhes .notab .ajax__tab_outer
{
	background: #FaFbFd;
}

div.content_detalhes .notab .ajax__tab_inner
{
	background: #FaFbFd;
}

div.content_detalhes .notab .ajax__tab_tab
{	background: #FaFbFd;
	cursor:default;
}

div.content_detalhes .notab .ajax__tab_hover .ajax__tab_inner
{
	background: none;
	cursor:default;
}
div.content_detalhes .notab .ajax__tab_hover .ajax__tab_tab
{
	background: none;
	cursor:default;
}

div.content_detalhes .notab .ajax__tab_active .ajax__tab_outer
{
	background: none;
}
div.content_detalhes .notab .ajax__tab_active .ajax__tab_inner
{
	background: none;
}
div.content_detalhes .notab .ajax__tab_active .ajax__tab_tab
{
	background: none;
}

/*fim : tabcontainer sem abas */


/*---- NOVO DETELHES *-----*/

.magic
{	display: block;
	clear: both;
}

div.content_detalhes
{	position: relative;
	z-index: 5;
	margin-left:113px;
}

.voltar_detalhes
{	margin:10px;
	border-bottom: 1px solid #8896A2;
}

div.menu_detalhes
{	float: left;
	width: 113px;
	padding: 0px;
	position: relative;
	z-index: 0;
}

div.menu_detalhes ul
{	margin: 0px;
	margin-top:-1px;
	padding: 0px;
	border-top:1px solid #8896A2;
}


div.menu_detalhes li
{	list-style: none;
	list-style-position: outside;
	color: #5C5C5C;
	margin: 0px;
	padding: 7px 3px 7px 5px;
	border-bottom: 1px solid #8896A2;
	display:block;
	height:16px;
}

div.menu_detalhes a, div.menu_detalhes a:visited
{	color: #5C5C5C;
	text-decoration: none;
}

div.menu_detalhes a:hover
{
	text-decoration: underline;
}

div.menu_detalhes li.aba_ativa
{	text-decoration: none;
	font-weight: bold;
	background-color: #ffffff;
	border-right: 1px solid #ffffff;
	border-left: 1px solid #8896A2;
	width:104px;
}



/*--- FIM NOVO DETALHES ----*/

/*Bordas redondas para detalhes */
div.BordasRedondas {
  border:none;  
} 

div.BordasRedondasCorpo {
  padding:0px;
  margin-top:-5px;
  background: url(../img/background_corpo.jpg) top left repeat-y;
  border-right:1px solid #8a96a2;
  min-height:350px;
}

div.BordasRedondasRodape {
  background: url(../img/background_base_esq.jpg) bottom left no-repeat;
}

div.BordasRedondasRodape p {
  padding:15px;
  margin:-2em 0 0 115px;
  background: url(../img/background_base_dir.jpg) bottom right no-repeat;
}

div.BordasRedondas {
	 background: url(../img/background_top_esq_titulo.jpg) top left no-repeat;
} 
 
div.BordasRedondas h3 {
  background: url(../img/background_top_dir.jpg) top right no-repeat;
  margin:0;
  padding-top:8px;
  padding-left:10px;
  margin-bottom:5px;
  height:23px;
  font-weight: bold;
  color: #4D516A;
}


/* --- fim bordas redondas --- */

/*-- tabela --*/
table.topo
{
	margin: 0px;
	padding: 0px;
}
.topo_direita
{
	background-image: url(../img/background_tr.gif);
	background-position: top right;
	background-repeat: no-repeat;
	height: 24px;
	width: 12px;
}


/*recebe o título da tabela quando com bordas superior*/
.topo_centro
{
	background-image: url(../img/background_line_t.gif);
	background-position: top;
	background-repeat: repeat-x;
	background-color: #DCE2E7;
	font-weight: bold;
	color: #4D516A;
	white-space: nowrap;
	text-align: left;
	width: 98%;
	vertical-align: middle;
}

.topo_esquerda
{
	background-image: url(../img/background_tl.gif);
	background-position: top left;
	background-repeat: no-repeat;
	height: 24px;
	width: 12px;
}

/**/
table.meio
{
	background-color: #F4F5F7;
	color: #5C5C5C;
	width: 100%;
	border-collapse: collapse;
	border:none;
}

/*titulo das colunas*/
.meio th
{	background-color: #DCE2E7;
	height: 22px;
	color: #4D516A;
	font-weight: normal;
	text-align: center;
	border: 1px solid #fff;
	border-top: none;
	vertical-align: middle;
}
.meio th:first-child
{
	border-left: none;
	border-top: none;
}

table.meio td
{
	border: 1px solid #fff;
	padding: 2px;
	color: #4D516A;
	vertical-align: middle;
}

.filtro td
{	border-top: 1px solid #fff;
	border-bottom: 1px solid #fff;
	border-left: none;
	border-right: none;
	vertical-align: top;
}

table.meio td:first-child
{
	border-left: none;
}

/*linha de cor diferente*/
.meio_alt
{
	color: #5C5C5C;
	padding: 3px;
	vertical-align: top;
	background-color: #EBEEF1;
}

/*recebe botoes de ação de grid*/
.meio_botoes
{
	height: 13px;
	padding: 5px;
	background-color: #F4F5F7;
	text-align: left;
}

.meio_bordas
{
	border-left: 1px solid #8694A0;
	border-right: 1px solid #8694A0;
}

/*titulo para a tabela meio quando esta nao tem borda superior*/
.meio_titulo
{
	background-color: #DCE2E7;
	font-weight: bold;
	color: #4D516A;
	white-space: nowrap;
	height: 20px;
	border-top: none;
	vertical-align:middle;
	padding-top:3px;
}

.detalhes .label
{	width: 200px;
	font-weight: bold;
	vertical-align:middle;
}



table.base
{	margin: 0px 0px 10px 0px;
	padding: 0px;
	z-index: -1;
}
.base_direita
{
	background-image: url(../img/background_br.gif);
	background-position: bottom right;
	background-repeat: no-repeat;
	height: 33px;
	width: 15px;
	padding: 0px;
	margin: 0px;
}
/*recebe botoes de ação generico*/
.base_centro
{
	background-image: url(../img/background_line_b.gif);
	background-position: bottom;
	background-repeat: repeat-x;
	width: 98%; /*para juntar aos cantos*/
	text-align: center;
	background-color: #DCE2E7;
}
.base_esquerda
{
	background-image: url(../img/background_bl.gif);
	background-position: bottom left;
	background-repeat: no-repeat;
	height: 33px;
	width: 15px;
	padding: 0px;
	margin: 0px;
	text-align: left;
}

td.ajuda
{	
	padding:10px; 
	/*font-size:11px; 
	font-family:Tahoma;*/
}
.ajuda ul{ margin:5px;}
.ajuda li
{	/*font-size:11px; 
	font-family:Tahoma;*/
	list-style-type:disc;
	list-style-position:inside;
	margin-bottom:3px;
	
}

/*carregando*/
div.carregando
{	background-image: url(../img/background_carregando.gif);
	background-position: bottom left;
	background-repeat: no-repeat;
	height: 46px;
	width: 125px;
	vertical-align: middle;
	position: absolute;
	left: 45%;
	top: 45%; 
	z-index:30;
}

div.carregando label
{	font-weight: bold;
	position: absolute;
	left: 45px;
	top: 15px;
}

/*erro*/
#erro
{
	background-image: url(../img/background_erro.jpg);
	background-position: bottom left;
	background-repeat: no-repeat;
	height: 187px;
	width: 424px;
	vertical-align: middle;
	position: relative;
	left: 28%;
	top: 20%;
}

#erro label
{	font-weight: bold;
	line-height: 150%;
	position: absolute;
	left: 145px;
	top: 65px;
	
}



