/* ------------------------------------------ */
/*	                                          */
/* Style: 1                                   */
/* ------------------------------------------ */

/* Table enclosing the whole control */



table.NSGSDataGrid
{	
	border: #002d96 1px solid;
}
.NSGSErrorMessage
{
	border:1px solid #002d96;
	color: #cc0000;
	background-color: #ffffff;
	font: 11px Verdana;
	padding:4px;
}
.NSGSUpdateErrorMessage
{
	border:1px solid #002d96;
	color: #cc0000;
	background-color: #ffffff;
	height:21px;
	font: 11px Verdana;
	padding-top:2px;padding-left:4px;padding-right:4px;
}
.NSGSUpdateMessage
{
	border:1px solid #002d96;
	color: #000000;
	background-color: #ffffff;
	height:21px;
	font: 11px Verdana;
	padding-top:2px;padding-left:4px;padding-right:4px;
}
/* Table enclosing grid column headers for scrollable grid */
table.NSGSTableScroll
{		
}
/* Table enclosing data grid */
table.NSGSTable
{	
	border-bottom:1px solid #002d96;
}
/* Grid Column headers (containing column names) a:visited,a:active,a:link */
td.NSGSTableTH 
{
	border-top: #ffffff 1px solid;
	border-bottom: #d6d2c2 3px solid;
	border-right: #d6d2c2 1px solid;
	padding-left:2px;
	font: 8pt Arial;
	color: #000000;	
	background-color: #ebeadb;
	text-align:center;
	font-weight:bold;
	/*background-color: #ebeadb;*/
}
/* Panel at top holding the Records per page selection */
td.NSGSTableHeader
{
	font: 8pt Arial;	
	/*background-color: #a1c0f6;*/
	background-color: #cfd3ff;
	border-bottom: #002d96 1px solid;
	padding:2px;	
}
/* Panel at bottom holding the Records per page selection */
td.NSGSTableFooter
{	
	font: 8pt Arial;
	background-color: #cfd3ff;		
	padding:2px;
}
/* Panel holding FooterText */
.NSGSTableInfoFooter
{
	border-top: #ffffff 1px solid;
	padding-right: 2px;
	padding-left: 2px;
	padding-bottom: 2px;
	font: 8pt Arial;	
	padding-top: 2px;	
	background-color: #cfd3ff;
}
/* Drop down select records per page */
select.NSGSTableRecPerPage
{
	font: 8pt Arial;
}
/* Table enclosing grid elements on Form page */
table.NSGSTableFormOuter
{
	/* 
	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:
	objNSGS.DisplayType = "form"
	objNSGS.RecordsPerPage = 4
	objNSGS.RecordsPerPageOptions = "2,4,6,10"
	*/
}
/* Table enclosing each record grid on the Form page */
table.NSGSTableFormDataView
{	
	/* Want to see it? border:solid 10px red; */	
}
/* Form data grid Column header (left side column in table) */
th.NSGSTableFormDataView
{
	border-top: #ffffff 1px solid;
	border-bottom: #d6d2c2 1px solid;
	border-right: #d6d2c2 1px solid;
	font: 8pt Arial;
	color: #000000;
	background-color: #ebeadb;
	padding-left:3px; 
}
/* Form data grid data cells */
td.NSGSTableFormDataView
{
	border-top: #ffffff 1px solid;
	border-bottom: #d6d2c2 1px solid;
	border-right: #d6d2c2 1px solid;
	font: 8pt Arial;
	color: #000000;
	background-color: #ebeadb;
	padding-left:3px;
}
/* Button navigation bar when positioned at Top */
th.NSGSTableNavBarTop
{
	padding-top:2px;
	padding-bottom:2px;
	border-top: #ffffff 1px solid;
	font-weight: normal;
	color: black;
	background-color: #c3daf9;	
	border-bottom: #002d96 1px solid;
}
/* Button navigation bar when positioned at Bottom */
th.NSGSTableNavBar
{
	border-top: #ffffff 1px solid;	
	padding-top:2px;
	padding-bottom:2px;
	font-weight: normal;
	color: black;
	background-color: #c3daf9;		
}
/* The text part of the navigation bar when positioned at Top */
td.NSGSTableNavBarTop
{
  font: 8pt Verdana;
}
/* The text part of the navigation bar when positioned at Bottom */
td.NSGSTableNavBar
{
  font: 8pt Verdana;
}
/* Data Edit Button Bar */
table.NSGSEditBtnBar
{
	background-color : #cfd3ff;
	border-top: #ffffff 1px solid;		
	border-bottom: #002d96 1px solid;
	padding-left:3px;
	padding-top:2px;
	padding-bottom:2px;
}
/* Data Edit Button Bar - single row/col*/
tr.NSGSEditBtnBar
{
}
td.NSGSEditBtnBar {
  font: 8pt Verdana;
	background-color : #cfd3ff;
}
/* Data Edit Form */
table.NSGSTableFormDataEdit
{
	border-top: #ffffff 1px solid;
	border-left: #ffffff 1px solid;
	font: 8pt Arial;
	color: #000000;
	background-color: #ebeadb;
}
td.NSGSTableFormDataEdit
{
	font: 8pt Arial;
	color: #000000;
	background-color: #ebeadb;
	padding-left:3px;
}
td.NSGSTableFormDataEdit
{
	background-color : #ebeadb;
	padding-left:3px;
	padding-right:3px;
}
textarea.NSGSTextArea
{
	font: 9pt Arial;
}

.NSGSInputBtn
{
}
input.NSGSTextBox
{
	font: 9pt Arial;
}
input.NSGSInput
{
	border: solid #d6d2c2 1px;
}
input.NSGSCheckBox
{
}
.NSGSRequiredFieldLabel
{
}
/* Data Grid Odd Numbered Row Cells */
td.NSGSTableTDodd
{
	padding-left:2px;
  font: 8pt Arial;
  color:Black;  
	border-bottom: #fdf5e6 1px solid;	
	border-right: #d6d2c2 1px solid;
}
/* Data Grid Even Numbered Row Cells */
td.NSGSTableTDeven
{
	padding-left:2px;
	border-bottom: #ffffff 1px solid;	
	border-right: #d6d2c2 1px solid;
	font: 8pt Arial;
	color:Black;

}


/* Data Grid Odd Numbered Row Cells - Work Column JHONZ */
td.NSGSTableTDoddWork
{
	padding-left:2px;
	font: 8pt Arial;
	color:Red;  
	border-bottom: #fdf5e6 1px solid;	
	border-right: #d6d2c2 1px solid;
	font-weight:bold;
}
/* Data Grid Even Numbered Row Cells - Work Column JHONZ */
td.NSGSTableTDevenWork
{
	padding-left:2px;
	border-bottom: #ffffff 1px solid;	
	border-right: #d6d2c2 1px solid;
	font: 8pt Arial;
	color:Red;
	font-weight:bold;

}

/* Row highlighting effect */
tr.NSGSHighlightRow
{
	background-color:#ffd599;
}
tr.NSGSHighlightRowClick
{
	font: 8pt Arial;
	/*text-align:center;*/
	vertical-align:middle;
	background-color:#ffd599;
	/*cursor:pointer; */
}
td.NSGSHighlightRowClick
{
	font: 8pt Arial;
	/*text-align:center;*/
	vertical-align:middle;
	/*cursor:pointer; */
}
/* Data Grid Odd Numbered Rows */
tr.NSGSTableTRodd
{
  background-color: #fff0bb;
}
/* Data Grid Even Numbered Rows */
tr.NSGSTableTReven
{	
	background-color: #ffffff;	
}

/* 
if objNSGS.DisplayType = "form" and objNSGS.RecordsPerPage > 1
a row will be inserted between each datagrid record.
Set attributes here if needed:
*/
TD.NSGSTableTDFormGap 
{
}
TR.NSGSTableTRFormGap 
{
}



/* Hyperlinks on the Grid Column Header Bar */
a.NSGSTableTH
{
  font: 8pt Arial;
  color: #000000;
  text-decoration: none;    
  font-weight:bold;
}
a.NSGSTableTH:active
{
  font: 8pt Arial;
  color: #000000;
  text-decoration: none;    
  font-weight:bold;
}
a.NSGSTableTH:visited
{
  font: 8pt Arial;
  color: #000000;
  text-decoration: none;   
  font-weight:bold; 
}
a.NSGSTableTH:hover
{
  font: 8pt Arial;
	color: #000099;
	text-decoration: underline;
	font-weight:bold;
}


/* pager item

*/
	.NSGSPagerItem {FONT-WEIGHT: bold; FONT-SIZE: 12px; FONT-FAMILY: Tahoma, Arial, Helvetica; COLOR: RED;}
	.NSGSPagerItem:active {FONT-WEIGHT: bold; FONT-SIZE: 12px; FONT-FAMILY: Tahoma, Arial, Helvetica; COLOR: RED;}
	.NSGSPagerItem:visited {FONT-WEIGHT: bold; FONT-SIZE: 12px; FONT-FAMILY: Tahoma, Arial, Helvetica; COLOR: RED;}
	.NSGSPagerItem:link {FONT-WEIGHT: bold; FONT-SIZE: 12px; FONT-FAMILY: Tahoma, Arial, Helvetica; COLOR: RED;}
	.NSGSPagerItem:hover {FONT-WEIGHT: bold; FONT-SIZE: 12px; FONT-FAMILY: Tahoma, Arial, Helvetica; COLOR: RED;}
	

/* Hyperlinks in the grid data cells including default Index column */
a.NSGSTable
{	
	font: 9pt Arial;
	color: #000099;
	text-decoration: none;
}
a.NSGSTable:active
{
	font: 9pt Arial;
	color: #000099;
	text-decoration: none;
}
a.NSGSTable:visited
{
	font: 9pt Arial;
	color: #000099;
	text-decoration: none;
}
a.NSGSTable:hover
{
	font: 9pt Arial;
	color: #990099;
	text-decoration: underline;
}

/* Hyperlinks on the Navigation Bar */
a.NSGSTableNavBar
{
  font: 9pt Arial;
  color: #000000;
	text-decoration: underline;
}
a.NSGSTableNavBar:visited
{
  font: 9pt Arial;
  color: #000000;
	text-decoration: underline;
}
a.NSGSTableNavBar:active
{
  font: 9pt Arial;
  color: #000000;
	text-decoration: underline;
}
a.NSGSTableNavBar:hover
{
  font: 9pt Arial;
  color: #000099;
	text-decoration: underline;
}
.NSGSScrollGrid
{
	/*
	scrollbar-base-color:#ebeadb;
	*/
}
