/* ------------------------------------------ */
/* AxpDataGrid.Net Version 2 stylesheet       */
/* Style : XP Grid1                           */
/* ------------------------------------------ */

/* Table enclosing the whole control */
table.AxpDataGrid
{	
	background-color: #ebeadb;
	border-top: #C0C0C0 0px solid;
	border-bottom: #C0C0C0 0px solid;
	border-left: #C0C0C0 0px solid;
	border-right: #C0C0C0 0px solid;
	width: 100%;
}
.AXDBErrorMessage
{
	border:1px solid #C0C0C0;
	color: #cc0000;
	background-color: #ffffff;
	font: 12px Verdana;
	padding:4px;
}
.AXDBUpdateErrorMessage
{
	border:1px solid #C0C0C0;
	color: #cc0000;
	background-color: #ffffff;
	font: 12px Verdana;
	padding: 2px;
	margin: 0px;
	-moz-box-sizing: content-box;
	/*
	padding: 1px 4px 2px 4px;
	vertical-align: 3px;
	*/
}
.AXDBUpdateMessage
{
	border:1px solid #C0C0C0;
	color: #000000;
	background-color: #ffffff;
	font: 12px Verdana;	
	margin: 0px;
	-moz-box-sizing: content-box;
	padding: 2px;
	/*
	padding: 1px 4px 2px 4px;
	vertical-align: 3px;
	*/
}
/* Table enclosing grid column headers for scrollable grid */
table.AXDBTableScroll
{
	color:#000000;
}
/* Table enclosing data grid */
table.AXDBTable
{	
	border-bottom:0px solid #C0C0C0;
	color:#000000;text-decoration:none;
}
/* Grid Column headers (containing column names) */
th.AXDBTableTH
{
	border-top: #ffffff 0px solid;
	border-bottom: #C0C0C0 1px solid;
	border-right: #C0C0C0 0px solid;
	padding-left:2px;
	font: 9pt Verdana;
	color: #27377F;	
	background-color: #ebeadb;
}
A.AXDBTableTH:LINK {color:#27377f;text-decoration:none;}
A.AXDBTableTH:VISITED {color:#27377f;text-decoration:none;}
A.AXDBTableTH:HOVER {color:#3a6d34;text-decoration:underline;}
/* Panel at top holding the Records per page selection */
td.AXDBTableHeader
{
	font-family:verdana,arial,sans-serif; font-size:12px; font-weight:normal;
	color: black;
	background-color: #efefef;	
	border-bottom: #C0C0C0 1px solid;
	padding:2px;	
}
/* Panel at bottom holding the Records per page selection */
td.AXDBTableFooter
{	
	font: 9pt Verdana;
	background-color: #C0C0C0;		
	padding:2px;
}
/* Panel holding FooterText */
.AXDBTableInfoFooter
{
	border-top: #ffffff 0px solid;
	padding-right: 2px;
	padding-left: 2px;
	padding-bottom: 2px;
	font: 9pt Verdana;	
	padding-top: 2px;	
	background-color: #C0C0C0;
}
/* Drop down select records per page */
select.AXDBTableRecPerPage
{
	font: 9pt Verdana;
}
/* Table enclosing grid elements on Form page */
table.AXDBTableFormOuter
{
	/* 
	Set the following to see it better: border:solid 10px red;
	Can be useful to manipulate when using the form only display, try the following:
	objAxpDB.DisplayType = "form"
	objAxpDB.RecordsPerPage = 4
	objAxpDB.RecordsPerPageOptions = "2,4,6,10"
	*/
}
/* Table enclosing each record grid on the Form page */
table.AXDBTableFormDataView
{	
	/* Want to see it? border:solid 10px red; */	
	width:100%;
}
/* Form data grid Column header (left side column in table) */
th.AXDBTableFormDataView
{
	border-top: #ffffff 0px solid;
	border-bottom: #C0C0C0 1px solid;
	border-right: #C0C0C0 0px solid;
	font: 9pt Verdana;
	color: #27377f;
	font-weight: bold;
	background-color: #ebeadb;
	padding-left:3px;
	width:150px;
}
/* Form data grid data cells */
td.AXDBTableFormDataView
{
	border-top: #ffffff 0px solid;
	border-bottom: #C0C0C0 1px solid;
	border-right: #C0C0C0 0px solid;
	font: 9pt Verdana;
	color: #000000;
	background-color: #ebeadb;
	padding-left:3px;
}
/* Button navigation bar when positioned at Top */
th.AXDBTableNavBarTop
{
	padding-top:2px;
	padding-bottom:2px;
	border-top: #ffffff 0px solid;
	font-weight: normal;
	color: black;
	background-color: #efefef;	
	border-bottom: #C0C0C0 1px solid;
}
/* Button navigation bar when positioned at Bottom */
th.AXDBTableNavBar
{
	border-top: #ffffff 0px solid;	
	padding-top:2px;
	padding-bottom:2px;
	font-weight: normal;
	color: black;
	background-color: #efefef;		
}
/* The text part of the navigation bar when positioned at Top */
td.AXDBTableNavBarTop
{
  font: 9pt Verdana;
}
/* The text part of the navigation bar when positioned at Bottom */
td.AXDBTableNavBar
{
  font: 9pt Verdana;
}
/* Data Edit Button Bar */
table.AxpDbEditBtnBar
{
	background-color : #efefef;
	border-top: #ffffff 0px solid;		
	border-bottom: #C0C0C0 1px solid;
	padding-left:3px;
	padding-top:2px;
	padding-bottom:2px;
}
/* Data Edit Button Bar - single row/col*/
tr.AxpDbEditBtnBar
{
}
td.AxpDbEditBtnBar
{
}
/* Data Edit Form */
table.AXDBTableFormDataEdit
{
	border-top: #ffffff 0px solid;
	border-left: #ffffff 0px solid;
	font: 9pt Verdana;
	color: #000000;
	background-color: #ebeadb;
	border-bottom: #C0C0C0 1px solid;
}
th.AXDBTableFormDataEdit
{
	font: 9pt Verdana;
	color: #000000;
	background-color: #ebeadb;
	padding-left:3px;
}
td.AXDBTableFormDataEdit
{
	font: 9pt Verdana;
	background-color : #ebeadb;
	padding-left:3px;
	padding-right:3px;
}
textarea.AxpDbTextArea
{
	font: 9pt Verdana;
}
.AxpDbInputBtn
{
	font-family:verdana,arial,sans-serif; font-size:12px; font-weight:normal; color:#000000;
}
input.AxpDbInput
{
	border: solid #C0C0C0 1px;
}
input.AxpDbCheckBox
{
}
.AxpDBRequiredFieldLabel
{
}
/* Data Grid Odd Numbered Row Cells */
td.AXDBTableTDodd
{
	padding-left:2px;
  font: 9pt Verdana;
  color:Black;  
	border-bottom: #fdf5e6 1px solid;	
	border-right: #C0C0C0 0px solid;
	vertical-align:top;
}
/* Data Grid Even Numbered Row Cells */
td.AXDBTableTDeven
{
	padding-left:2px;
	border-bottom: #ffffff 1px solid;	
	border-right: #C0C0C0 0px solid;
	font: 9pt Verdana;
	color:Black;
	vertical-align:top;
}
/* Data Grid Selected Row */
TR.AXDBTableTRselected
{
	background-color: #ffcc66;
	cursor: pointer;
}
/* Row highlighting effect */
tr.AXDBHighlightRow
{
	background-color:#ffd599;
}
tr.AXDBHighlightRowClick
{
	background-color:#ffd599;
	cursor:pointer;
}
/* Data Grid Odd Numbered Rows */
tr.AXDBTableTRodd
{
  background-color: #fdf5e6;
}
/* Data Grid Even Numbered Rows */
tr.AXDBTableTReven
{	
	background-color: #ffffff;	
}

/* 
if objAxpDB.DisplayType = "form" and objAxpDB.RecordsPerPage > 1
a row will be inserted between each datagrid record.
Set attributes here if needed:
*/
TD.AXDBTableTDFormGap 
{
}
TR.AXDBTableTRFormGap 
{
}



/* Hyperlinks on the Grid Column Header Bar */
a.AXDBTableTH
{
  font: 9pt Verdana;
  color: #000000;
  text-decoration: none;    
}
a.AXDBTableTH:active
{
  font: 9pt Verdana;
  color: #000000;
  text-decoration: none;    
}
a.AXDBTableTH:visited
{
  font: 9pt Verdana;
  color: #000000;
  text-decoration: none;    
}
a.AXDBTableTH:hover
{
  font: 9pt Verdana;
	color: #000099;
	text-decoration: underline;
}

/* Hyperlinks in the grid data cells including default Index column */
a.AXDBTable:link
{	
	font: 9pt Verdana;
	color: #000000;
	text-decoration: none;
}
a.AXDBTable:active
{
	font: 9pt Verdana;
	color: #000000;
	text-decoration: none;
}
a.AXDBTable:visited
{
	font: 9pt Verdana;
	color: #000000;
	text-decoration: none;
}
a.AXDBTable:hover
{
	font: 9pt Verdana;
	color: #000000;
	text-decoration: none;
}

/* Hyperlinks on the Navigation Bar */
a.AXDBTableNavBar
{
  font: 9pt Verdana;
  color: #000000;
	text-decoration: underline;
}
a.AXDBTableNavBar:visited
{
  font: 9pt Verdana;
  color: #000000;
	text-decoration: underline;
}
a.AXDBTableNavBar:active
{
  font: 9pt Verdana;
  color: #000000;
	text-decoration: underline;
}
a.AXDBTableNavBar:hover
{
  font: 9pt Verdana;
  color: #000099;
	text-decoration: underline;
}
.AXDBScrollGrid
{
	/*
	scrollbar-base-color:#ebeadb;
	*/
}