/** Celula da grid **/
.spwCelulaGrid {
border-top-width: 0px;
border-right-width: 1px;
border-bottom-width: 0px; /*1*/
border-left-width: 0px;
border-top-style: solid;
border-right-style: solid;
border-bottom-style: solid;
border-left-style: solid;
border-top-color: #E5E5E5; /*#CEDBD3*/
border-right-color: #E5E5E5;
border-bottom-color: #E5E5E5;
border-left-color: #E5E5E5;
height: 23px;
line-height: 23px;
min-height: 23px;
font-size: 9px;
overflow: hidden;
font: 11px Arial, Helvetica, sans-serif;
}

td.spwCelulaGrid {
border-right: 1px solid #e5e5e5;
padding-left: 3px;
}

td.spwCelulaGrid input.spwCampoTextoGrid.alignRight {
padding-right: 1px;	
padding-left: 1px;
background:url("") repeat-x scroll 0 0 transparent;
}

td.spwCelulaGrid input.spwCampoTextoGrid {
padding-right: 1px;	
padding-left: 1px;
background:url("") repeat-x scroll 0 0 transparent;
}

td.spwCelulaGrid div {
padding-left: 1px;
}

/** hack para chrome **/
@media screen and (-webkit-min-device-pixel-ratio:0) {
 td.spwCelulaGrid input.spwCampoTextoGrid  { padding-right: 4px; }
} /** **/ 

.spwCelulaGridImgs {
	border-top-width: 0px;
	border-right-width: 1px;
	border-bottom-width: 0px; /*1*/
	border-left-width: 0px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #E5E5E5; /*#CEDBD3*/
	border-right-color: #E5E5E5;
	border-bottom-color: #E5E5E5;
	border-left-color: #E5E5E5;
	height: 18px;
	min-height: 18px;
	padding: 2px 0px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 9px;
	overflow: hidden;
	vertical-align: middle;
	text-align: center;	
}

/** Cabecalho da grid **/
.spwCabecalhoGrid {
border-top-width: 0px;
border-right-width: 0px;
border-bottom-width: 0px;
border-left-width: 0px;
border-top-style: solid;
border-right-style: solid;
border-bottom-style: solid;
border-left-style: solid;
border-top-color: #cccccc;
border-right-color: #cccccc;
border-bottom-color: #cccccc;
border-left-color: #cccccc;
font-size: 10px;
font-weight: normal;
color: #FFF;
cursor: POINTER;
overflow: hidden;
}

td.spwCabecalhoGrid {
height: 22px;
padding-left: 2px;
padding-right: 1px;
}

/** Tabela de filtros extras **/
.tabelaExtraFiltros{
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 1px;
	border-left-width: 0px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #cccccc;
	border-right-color: #cccccc;
	border-bottom-color: #000000;
	border-left-color: #cccccc;
	background-color: #cccccc;
}

/** Titulo da grid de consulta **/
.spwTituloGrid {
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
font-weight: bold;
background-color: #9B9B9B;
color: #FFFFFF;
cursor:move;
}

/** Layer da grid **/
.spwLayerGrid {
	width:100%; 
	overflow: auto; 
	border:1px;
}

.spwTableSearchGridTag {
	table-layout:fixed;
}

/** Tabela da grid generica **/
.spwTabelaGrid {
border-width: 0px;
border-style: solid;
border-color: #C1C1C1;
}

/** Formul�rio da grid **/
.spwGridForm {
	border-width: 1px;
	border-style: solid;		
	border-top-color: #C1C1C1;
	border-right-color: #C1C1C1;
	border-bottom-color: #C1C1C1;
	border-left-color: #C1C1C1;	
	background: #FFFFFF url(../imagens/base/bgGridForm.png) repeat-x top;
}


/** Tabela da grid tipo "grid-edit" **/
.spwTabelaGridEdit {
	border-top-width: 0px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #C1C1C1;
	border-right-color: #C1C1C1;
	border-bottom-color: #C1C1C1;
	border-left-color: #C1C1C1;
	}

/** Dados da grid **/
.spwCampoTextoGrid {
	font-size: 11px;
	border: 0px;
	height: 100%;
	width: 100%; 
}

.spwBotaoGrid,.spwBotaoGrid-d,.spwBotaoGrid-o,.spwBotaoDefaultGrid,.spwBotaoDefaultGrid-o,.spwBotaoDefaultGrid-d {
	font-size: 10px;
	padding-left: 1;
	padding-right: 1;
	padding-top: 0;
	padding-bottom: 0;
	height: 16;
}

/** Botao da grid **/
.spwBotaoGrid {
	background-color: #6699FF;
	border: 1px solid #0066FF;
	cursor: POINTER;
}

/** Botao da grid com foco **/
.spwBotaoGrid-o {
	background-color: #33CCFF;
	border: 1px solid #0099CC;
	cursor: POINTER;
}

/** Botao da grid com foco **/
.spwBotaoGrid-d {
	background-color: #CCCCCC;
	border: 1px solid #969696;
}

/** Botao da grid default **/
.spwBotaoDefaultGrid {
	background-color: #FFCC00;
	border: 1px solid #FF9900;
	cursor: POINTER;
}

/** Botao da grid default com foco **/
.spwBotaoDefaultGrid-o {
	background-color: #FFDD00;
	border: 1px solid #FF9900;
	cursor: POINTER;
}

/** Botao da grid default desabilitado **/
.spwBotaoDefaultGrid-d {
	background-color: #CCCCCC;
	border: 1px solid #969696;
}

/** Imagem do cabecalho descendente **/
.spwCabecalhoDesc {
	background-image: url(../imagens/desc.gif);
	background-repeat: no-repeat;
	background-position: right bottom;
}

/** Imagem do cabecalho ascendente **/
.spwCabecalhoAsc {
	background-image: url(../imagens/asc.gif);
	background-repeat: no-repeat;
	background-position: right bottom;
}

.spwLinhaGridImpar {
	background-color: #FFFFFF;
}

.spwLeftBorder {
	border-left: 1px solid #C1C1C1;
}

.spwRightBorder {
	border-right: 1px solid #C1C1C1;
}
