@import url("../../dojox/grid/resources/Grid.css");

.red .dojoxGrid {
	background-color: transparent;
	font-size: 0.85em; /* inherit font-family from dojo.css */
}

/* master messages */

.red .dojoxGridMasterMessages {
	background-color: #fefefe;
}

.red .dojoxGridLoading, 
.red .dojoxGridError {
	background-position:left center;
	background-repeat: no-repeat;
	padding-left:25px;
}

.dijitRtl .red .dojoxGridLoading, 
.dijitRtl .red .dojoxGridError,
.dijitRtl .red .dojoxGridNoData {
	background-position:right;
	padding-right:25px;
	padding-left:0px;
}

.red .dojoxGridLoading {
	background-image: url('images/loading.gif');
}

.red .dojoxGridError {
	background-image: url('images/warning.png');
}

/* header */

.red .dojoxGridHeader {
	background-color:  #e9e9e9;
}

.red .dojoxGridHeader .dojoxGridCell { 
	border-width: 1px;
	padding-bottom: 0px;
	border-color: transparent #ACA899 #919191 transparent;
	background: url(images/tabEnabled.png) #e9e9e9 repeat-x top;
	color: #000 !important;
}

.red .dojoxGridHeader .dojoxGridCellOver {
	background: url(images/tabHover.png) #e9e9e9 repeat-x top;
	color: #000 !important;
}
.red .dojoxGridHeader .dojoxGridCellFocus {
	border-color: #ACA899 #919191;
	border-style: dashed;
}
.red .dojoxGridArrowButtonChar {
	float: right;
	display: none;
}
.red .dojoxGridArrowButtonNode {
	display: block !important;
	padding-left: 0px;
	float: right;
	background:url("images/spriteArrows.png") no-repeat left center;
	width: 7px;
	height: 1em;
	margin: 2px 4px 0px 5px;
}
.dj_ie6 .red .dojoxGridArrowButtonNode {
	background-image:url("images/spriteArrows.gif");
	margin-left: 0px;
}

.red .dojoxGridSortUp .dojoxGridArrowButtonNode {
	background-position: -21px;
}
.dijit_a11y .red .dojoxGridArrowButtonNode {
	display: none !important;
}

/* content */

.red .dojoxGridScrollbox {
	background-color: #fefefe;
}

/* rowbar */

.red .dojoxGridRowbar { 
	border: none;
	background: url(../../../dojox/grid/resources/images/tabEnabled_rotated.png) #E9E9E9 repeat-y right;
	border-right: 1px solid #ccc;
	padding: 0px;
}

.red .dojoxGridRowbarInner {
	border: none;
	border-bottom: 1px solid #ccc;
}

.red .dojoxGridRowbarOver {
	background: url(../../../dojox/grid/resources/images/tabHover_rotated.png) #E9E9E9 repeat-y right;
}

.red .dojoxGridRowbarSelected {
	background: url(images/tabDisabled.png) #D8E8F9 no-repeat center;
	border-right: 1px solid #ccc;
}

/* rows */

.red .dojoxGridRow {
	border: none;
	background-color: white;
}

.red .dojoxGridRowOver {
	border-top-color: #ccc;
	border-bottom-color: #ccc;
}

.red .dojoxGridRowOver .dojoxGridCell {
	background-color: #4db2f2;
	color:black;
	/* font-weight: bold; */
}

.red .dojoxGridRowOver .dojoxGridCell .dijit {
	color: #000;
}

.red .dojoxGridRowOver .dojoxGridCell .dijitDisabled {
	color: gray;
}

.red .dojoxGridRowOdd {
/*	background-color: #E9E9E9; */
	background-color: #F3F6FA;
}

.red .dojoxGridRowSelected {
/*	background-color: #D2D2D2 !important; */
	background-color: #4db2f2 !important;
}

.dijit_a11y .red .dojoxGridRowSelected { 
    background-color: #aec7e3;     
    border-style: solid;     
}   

/* cells */

.red .dojoxGridCell {
	border: 1px dotted #D5AFA4;
	border-left-color: transparent;
	border-top-color: transparent;
}

.dj_ff2 .red .dojoxGridCell {
	border-left-width: 0px;
	border-top-width: 0px;
}

.dj_ie6 .red .dojoxGridCell {
	border: 1px solid white;
	border-right: 1px solid #D5AFA4;
}

.red .dojoxGridCellFocus {
	border: 1px dashed darkblue !important;
}

.red .dojoxGridCellOver {
	border: 1px dotted #a6a6a6;
}

.red .dojoxGridCellFocus .dojoxGridCellOver {
	border: 1px dashed darkblue !important;
}

/* editing */

/* FIXME: these colors are off! */

.red .dojoxGridRowEditing td {
	/* background-color: #F4FFF4; */
	/*background-color: #60a1ea;*/ 
	background-color: white; 
	/* padding: 0px 3px 0px 3px; */
}

.red .dojoxGridRow-inserting td {
	background-color: #F4FFF4;
}
.red .dojoxGridRow-inflight td {
	background-color: #F2F7B7;
}
.red .dojoxGridRow-error td {
	background-color: #F8B8B6;
}

/* Drag and Drop */

.red .dojoxGrid .dojoDndItemBefore {
	border-left-color: #3559ac;
}
.red .dojoxGrid .dojoDndItemAfter {
	border-right-color: #3559ac;
}

/* Tree Grid */
.red .dojoxGridExpando {
	float: left;
	height: 18px;
	width: 18px;
	text-align: center;
	margin-top: -3px;
}
.dijitRtl .red .dojoxGridExpando {
	float: right;
}
.red .dojoxGridExpandoCell {
	padding-top: 5px;
}
.red .dojoxGridExpandoNode {
	height: 18px;
	background-image: url('images/treeExpand_plus.gif');
}
.red .dojoxGridExpandoOpened .dojoxGridExpandoNode {
	background-image: url('images/treeExpand_minus.gif');		
}
.red .dojoxGridExpandoLoading .dojoxGridExpandoNode {
	background-image: url('images/treeExpand_loading.gif');		
}
.red .dojoxGridTreeModel .dojoxGridNoChildren .dojoxGridExpando {
	visibility: visible !important;
	width: 18px !important;
}
.red .dojoxGridTreeModel .dojoxGridNoChildren .dojoxGridExpandoNode {
	background-image: url('images/treeExpand_leaf.gif');
	background-position: -3px;
}
.red .dojoxGridExpandoNodeInner {
	visibility: hidden;
}
.dijit_a11y .dojoxGridExpandoNodeInner {
	visibility: visible;
}
		
.red .dojoxGridSummaryRow .dojoxGridCell {
	border-top-color: #999;
	border-top-style: solid;
}
.red .dojoxGridSpacerCell,
.red .dojoxGridExpandoCell,
.red .dojoxGridSummaryRow .dojoxGridSpacerCell {
	border-color: transparent;
	border-right-color: #D5CDB5;
}
.red .dojoxGridSummaryRow .dojoxGridTotalCell,
.red .dojoxGridRowCollapsed .dojoxGridExpandoCell,
.red .dojoxGridTreeModel .dojoxGridExpandoCell {
	border-bottom-color: #D5CDB5;
}
.red .dojoxGridSubRowAlt {
	background-color: #F8F8F8;
}
.red .dojoxGridRowOdd .dojoxGridSubRowAlt {
	background-color: #EDEFF3;
}
