/* ------------------------------------------ */
/* AxpDataGrid.Net version 1.0 stylesheet     */
/* Style : Gray                               */
/* ------------------------------------------ */
/* Table enclosing the whole control */
table.AxpDataGrid {}
/* Data update message */
.AXDBUpdateMessage {}
/* Data Edit Button Bar */
table.AxpDbEditBtnBar {}
/* Data Edit Button Bar - single row/col*/
tr.AxpDbEditBtnBar {}
.AXDBErrorMessage
{
	font-weight: bold;
	color: #89101a;
	background-color: #ffffff;
}
.AXDBUpdateErrorMessage
{
	font-weight: bold;
	color: #89101a;
	background-color: #ffffff;
}

/* Table enclosing grid column headers for scrollable grid */
table.AXDBTableScroll
{
	border-left: #ffffff 1px solid;
}

/* Table enclosing data grid */
TABLE.AXDBTable
{
	font-family: Arial, Verdana, Sans-Serif;
	font-size: 12px;
	border: #ffffff 1px solid;
}

/* Grid Column headers (containing column names) */
/* Grid Column headers (containing column names) */
TH.AXDBTableTH, 
TH.AXDBTableTHWithButton
{
	border-right: #ffffff 0px solid;
	border-top: #ffffff 0px solid;
	font-family: Arial, Verdana, Sans-Serif;
	font-size: 12px;
	border-left: #cccccc 0px solid;
	color: #333333;
	border-bottom: #89101a 1px solid;
	background-color: #ffffff;
	padding-bottom: 3px;
	padding-top: 3px;
	}

/* Panel at top holding the Records per page selection */
td.AXDBTableHeader
{
	border-right: #ffffff 1px solid;
	padding: 4px;
	border-top: #ffffff 1px solid;
	font-family: Arial, Verdana, Sans-Serif;
	font-size: 12px;
	border-left: #ffffff 1px solid;
	color: white;
	background-repeat: repeat-x;
	background-color: #89101a;
}

/* Panel at bottom holding the Records per page selection */
/* Panel holding FooterText */
td.AXDBTableFooter, .AXDBTableInfoFooter
{
	border-right: #ffffff 0px solid;
	padding-right: 0px;
	padding-left: 0px;
	padding-bottom: 6px;
	padding-top: 6px;
	font-family: Arial, Verdana, Sans-Serif;
	font-size: 12px;
	border-top: #89101a 1px solid;
	color: #333333;
	border-bottom: #ffffff 0px solid;
	background-repeat: repeat-x;
	background-color: #ffffff;
}

/* Drop down select records per page */
select.AXDBTableRecPerPage
{
	font-family: Arial, Verdana, Sans-Serif;
	font-size: 12px;
}

/* 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
{
	width: 550px;
	border-top: #ffffff 1px solid;
	border-left: #ffffff 1px solid;	
	font-weight: normal;
	/* Want to see it? border:solid 10px red; */
}

/* Form data grid Column header (left side column in table) */
TH.AXDBTableFormDataView
{
	width: 200px;
	/*border-top: #ffffff 1px solid;*/
	border-bottom: #ffffff 1px solid;
	border-right: #ffffff 1px solid;
	font-family: Arial, Verdana, Sans-Serif;
	font-size: 12px;
	color: #ffffff;
	background-color: #333333;
	padding:4px;
	font-weight: normal;
	border-right: #ffffff 1px solid;
}

/* Form data grid data cells */
TD.AXDBTableFormDataView
{
	padding:4px;
	border-right: #ffffff 1px solid;
	font-family: Arial, Verdana, Sans-Serif;
	font-size: 12px;
	border-bottom: #ffffff 1px solid;
	background-color: #efefef;
	font-weight: normal;
}

/* Button navigation bar when positioned at Top */
/* Button navigation bar when positioned at Bottom */
TH.AXDBTableNavBarTop, 
TH.AXDBTableNavBar
{
	border-right: #ffffff 1px solid;
	border-top: #ffffff 1px solid;
	font-weight: normal;
	border-left: #ffffff 1px solid;
	color: #041C48;
	padding-top: 2px;
	border-bottom: #ffffff 0px solid;
	background-repeat: repeat-x;
	background-color: #F4C363;
	font-family: Arial, Verdana, Sans-Serif;
	font-size: 12px;
}

/* The text part of the navigation bar when positioned at Top */
TD.AXDBTableNavBarTop
{
	font-family: Arial, Verdana, Sans-Serif;
	font-size: 12px;
  color: #041C48;
}

/* The text part of the navigation bar when positioned at Bottom */
TD.AXDBTableNavBar
{
	font-family: Arial, Verdana, Sans-Serif;
	font-size: 12px;
  color: #666666;
}

/* Data Edit Form */
table.AXDBTableFormDataEdit
{
	border-right: #ffffff 1px solid;
	border-top: #ffffff 1px solid;
	font-family: Arial, Verdana, Sans-Serif;
	font-size: 12px;
	border-left: #ffffff 1px solid;
	width: 550px;
	color: #333333;
	border-bottom: #ffffff 1px solid;
	background-color: #efefef;
}
th.AXDBTableFormDataEdit
{
	padding-left: 3px;
	padding-bottom: 3px;
	width: 200px;
	font-family: Arial, Verdana, Sans-Serif;
	font-size: 12px;
	color: #ffffff;
	padding-top: 3px;
	background-color: #89101a;
	font-weight: normal;
	border-right: #ffffff 1px solid;
	border-bottom: #ffffff 1px solid;
}
td.AXDBTableFormDataEdit
{
	border-left: #ffffff 1px solid;
	padding-left: 3px;
	padding-bottom: 3px;
	width: 350px;
	font-family: Arial, Verdana, Sans-Serif;
	font-size: 12px;
	color: #333333;
	padding-top: 3px;
	background-color: #efefef;
	border-bottom: #ffffff 1px solid;
}
textarea.AxpDbTextArea
{
	font-family: Arial, Verdana, Sans-Serif;
	font-size: 12px;
}
td.AxpDbEditBtnBar
{
	background-color : #ffffff;
	border-top: #ffffff 0px solid;
	border-bottom: #ffffff 1px solid;
	border-left: #ffffff 1px solid;
	border-right: #ffffff 1px solid;
	padding-left:3px;
	padding-top:4px;
	padding-bottom:4px;
}
.AxpDbInputBtn
{
	font-family: Arial, Verdana, Sans-Serif;
	font-size: 11px;
	padding-right: 2px;
	padding-left: 2px;
	font-weight: normal;
	padding-bottom: 1px;
	padding-top: 1px;
	color: #041C48;
	height: 22px;
	background-color: #F4C363;
}
input.AxpDbInput
{
}
input.AxpDbCheckBox
{
}
.AxpDBRequiredFieldLabel
{
}

/* Data Grid Odd Numbered Row Cells */
TD.AXDBTableTDodd
{
	padding-right: 2px;
	padding-left: 2px;
	padding-bottom: 2px;
	padding-top: 2px;	
	border-right: #ffffff 1px solid;
	font-family: Arial, Verdana, Sans-Serif;
	font-size: 12px;
	border-bottom: #ffffff 1px solid;
}

/* Data Grid Even Numbered Row Cells */
TD.AXDBTableTDeven
{
	padding-right: 2px;
	padding-left: 2px;
	padding-bottom: 2px;
	padding-top: 2px;	
	border-right: #ffffff 1px solid;
	border-bottom: #ffffff 1px solid;
	font-family: Arial, Verdana, Sans-Serif;
	font-size: 12px;
}

/* Row highlighting effect */
TR.AXDBHighlightRow
{
	background-color:#E0D5C2;
}
TR.AXDBHighlightRowClick
{
	background-color:#FFFFFF; 
	cursor:pointer;
}

/* Data Grid Odd Numbered Rows */
TR.AXDBTableTRodd
{
	background-color: #ffffff;
}

/* 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-family: Arial, Verdana, Sans-Serif;
	font-size: 12px;
  	font-weight: normal;
  color: #333333;
  text-decoration: underline;    
}
a.AXDBTableTH:active
{
	font-family: Arial, Verdana, Sans-Serif;
	font-size: 12px;
  	font-weight: normal;
	color: #333333;
	text-decoration: underline;
}
a.AXDBTableTH:visited
{
	font-family: Arial, Verdana, Sans-Serif;
	font-size: 12px;
  	font-weight: normal;
  color: #333333;
  text-decoration: underline;    
}
a.AXDBTableTH:hover
{
	font-family: Arial, Verdana, Sans-Serif;
	font-size: 12px;
	color: #89101a;
  	font-weight: normal;
	text-decoration: none;
}

/* Hyperlinks in the grid data cells including default Index column */
a.AXDBTable
{	
	font-family: Arial, Verdana, Sans-Serif;
	font-size: 12px;
	color: #333333;
  	font-weight: normal;
	text-decoration: underline;
}
a.AXDBTable:active
{
	font-family: Arial, Verdana, Sans-Serif;
	font-size: 12px;
	color: #333333;
  	font-weight: normal;
	text-decoration: underline; 
}
a.AXDBTable:visited
{
	font-family: Arial, Verdana, Sans-Serif;
	font-size: 12px;
	color: #333333;
  	font-weight: normal;
	text-decoration: underline;
}
a.AXDBTable:hover
{
	font-family: Arial, Verdana, Sans-Serif;
	font-size: 12px;
	color: #89101a;
  	font-weight: normal;
	text-decoration: none;
}

/* Hyperlinks on the Navigation Bar */
a.AXDBTableNavBar
{
	font-family: Arial, Verdana, Sans-Serif;
	font-size: 12px;
  	font-weight: normal;
	color: #333333;
  text-decoration: underline;
}
a.AXDBTableNavBar:visited
{
	font-family: Arial, Verdana, Sans-Serif;
	font-size: 12px;
  	font-weight: normal;
	color: #333333;
  text-decoration: underline;
}
a.AXDBTableNavBar:active
{
	font-family: Arial, Verdana, Sans-Serif;
	font-size: 12px;
  	font-weight: normal;
	color: #333333;
  text-decoration: underline;
}
a.AXDBTableNavBar:hover
{
	font-family: Arial, Verdana, Sans-Serif;
	font-size: 12px;
  	font-weight: normal;
	color: #89101a;
  text-decoration: none;
}
.AXDBScrollGrid
{
	border-right: #ffffff 0px solid;
}