table.grid  {
	border: 1px solid #BFB3A9;
	background-color: #FFFFFF;
	width: 100%;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-box-shadow: 0 1px 3px #999;
	-webkit-box-shadow: 0 1px 3px #999;		
}

table.grid .right {
	float: right;
}

table.grid button {
	border: 1px solid #808080;
	margin-right: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-box-shadow: 0 1px 3px #999;
	-webkit-box-shadow: 0 1px 3px #999;	
}

table.grid button img, table.grid .limit img, table.grid .columns img, table.grid span.loader img {
	vertical-align: middle;
}

table.grid img, table.grid input {
	border: 0px;
}

table.grid input.text {
	width: 100%;
}

textarea.grid {
	width: 99%;
	height: 200px;
}

table.grid span.pages {
	font-size: 12px;
}

/* ---- TD ---- */

table.grid td {
	/*height: 21px;*/
	padding: 1px 2px 1px 2px;
}

table.grid .noresult {
	text-align: center;
	font-style: italic;
}

table.grid .header td, table.grid .footer td, table.grid .buttons td, table.grid .limit td, table.grid td.checkbox , table.grid td.checkboxv2, table.grid td.extraColumn {
	/* header footer buttons */
	background-color: #EAE4D5;
}

table.grid .row td {
	border-bottom:1px solid #E8E4D8;
	border-right:1px solid #E8E4D8;
}

table.grid .filter td {
	border-bottom:1px solid #8C7464;
	border-right:1px solid #8C7464;
}

table.grid td.column, table.grid .row td.left, table.grid .filter td.left, table.grid .checkbox td.left, table.grid .columns td.extraColumn {
	/* disabled fields */
	text-align: center;
	border: 1px solid #8C7464;
	background:url("../images/icons/headerbg.gif") repeat-x scroll right top #EAE4D5;
}

table.grid td.extraColumn {
	width: 25px;
	text-align: center;
}

table.grid .header td, table.grid td.checkboxv2, table.grid td.checkbox, table.grid td.BOOL, table.grid td.ONEBOOL, table.grid td.BOOL_SET_ONLY_TO_TRUE  {
	text-align: center;
}

table.grid td.left {
	width: 6px;
}

table.grid td.checkbox {
	width: 16px;
}

table.grid .INT, table.grid .DEC {
	text-align: right;
}

table.grid td.LTEXT img, table.grid td.OPTIONS img, table.grid td.SELECT img {
	float: right;
}

table.grid td.orderBy1 {
	background-image:url("../images/icon/bullet_arrow_up.png");
	background-position:right top;
	background-repeat:no-repeat;
}

table.grid td.orderBy0 {
	background-image:url("../images/icon/bullet_arrow_down.png");
	background-position:right top;
	background-repeat:no-repeat;
}

table.grid tr.green {
	background: #CFE8D5 url('../images/gradient/green.gif') top left repeat-x;
}

table.grid tr.red {
	background: #F0BCC6 url('../images/gradient/red.gif') top left repeat-x;
}

table.grid tr.blue {
	background: #b1cccf url('../images/gradient/blue.gif') top left repeat-x;
}

table.grid tr.white {
	background: #f7f3e9 url('../images/gradient/white.gif') top left repeat-x;
}

table.grid tr.orange {
	background: #ffb965 url('../images/gradient/orange.gif') top left repeat-x;
}

table.grid tr.yellow {
	background: #e8ec90 url('../images/gradient/yellow.gif') top left repeat-x;
}

table.grid tr.orange td.left {
	background-image: url('../images/icon/bullet_orange.png');
	background-repeat:no-repeat;
	background-position:center center;	
}

table.grid tr.row:hover {
	background: #e8ec90 url('../images/gradient/yellow.gif') top left repeat-x;
}

table.grid tr.row:hover td.left {
	background-image: url('../images/icon/bullet_orange.png');
	background-repeat:no-repeat;
	background-position:center center;
}

table.grid span.title {
	float: left;
	padding: 2px;
	font-size: 16px;
}

table.grid .header span.loader {
	vertical-align: middle;
	padding: 2px;
	padding-left: 10px;
	padding-right: 10px;
}

table.grid .header span.done {
	border: 1px solid #82c27d;
	background-color: #cff7cb;
	display: none;
}

table.grid .header span.start {
	border: 1px solid #ffab61;
	background-color: #ffffc1;
	display: none;
}

table.grid .header span.failed {
	border: 1px solid #ffa3a3;
	background-color: #fae1e1;
	display: none;
}