/*
CSS Style for APNSoft DataGrid.
Version: GrayScale 2.21
Created: 03/02/2007
Updated: 03/12/2012
Copyright (C) APNSoft. All rights reserved.
http://www.apnsoft.com

Free for commercial and non-commercial use.
You can distribute and modify it freely.
*/



/*=====================Grid=======================*/

/*Grid: DIV*/
.GridDIV
{
     border:solid 1px #808080;
     background-color:#A6A6A6;
     cursor:default;
}



/*==================Header===================*/

/*Header: DIV*/
.HeaderDIV
{
     background-color:#E2E2E2;
}


/*Header: Cell TD*/
.HeaderTD
{
     font-family:Arial,Verdana;
     font-size:11px;
     font-weight:bold;
     text-align:left;
     vertical-align:middle;
     padding:0px;
     overflow:hidden;
     white-space:nowrap;
     text-overflow:ellipsis;
}



/*Header: Cell DIV*/
.HeaderTD DIV
{
     border:solid 1px #FFFFFF;
     border-right:solid 1px #B5B5B5;
     border-bottom:solid 1px #B5B5B5;
     padding:1px;
     padding-left:4px;
     overflow:hidden;
     white-space:nowrap;
     text-overflow:ellipsis;
     background-color:Transparent;
}


/*Header: Cell TD (Hovered)*/
.HeaderHoveredTD
{
     font-family:Arial,Verdana;
     font-size:11px;
     font-weight:bold;
     text-align:left;
     vertical-align:middle;
     padding:0px;
     overflow:hidden;
     white-space:nowrap;
     text-overflow:ellipsis;
}


/*Header: Cell DIV (Hovered)*/
.HeaderHoveredTD DIV
{
     border:solid 1px #FFFFFF;
     border-right:solid 1px #C5C5C5;
     border-bottom:solid 1px #C5C5C5;
     padding:1px;
     padding-left:4px;
     overflow:hidden;
     white-space:nowrap;
     text-overflow:ellipsis;
     background-color:#EEEEEE;
}



/*==================Columns==================*/

/*Column: Resizing DIV*/
.ColumnResizedDIV
{
     padding:0px;
     display:block;
     background-color:#E2E2E2;
     border-left:solid 1px #B5B5B5;
     border-right:solid 1px #B5B5B5;
     filter:alpha(opacity=50);/*Semi-Transparency for IE*/
     -moz-opacity:0.5;/*Semi-Transparency for Mozilla*/
     opacity:0.5;/*Semi-Transparency for Gecko*/
}


/*Fixed Columns: DIV*/
.ColumnFixedDIV
{
     border-right:solid 1px Gray;
}



/*================Rows & Cells===============*/

/*Rows: DIV*/
.RowsDIV
{
     scrollbar-base-color: #E2E2E2;
     scrollbar-arrow-color: #000000;
     scrollbar-3dlight-color: #B5B5B5;
     scrollbar-darkshadow-color: #B5B5B5;
     scrollbar-face-color: #E2E2E2;
     scrollbar-highlight-color: #FFFFFF;
     scrollbar-shadow-color: #E2E2E2;
     scrollbar-track-color: none;
}


/*Rows: TABLE*/
.RowsTABLE
{
     background-color:#FFFFFF;
}


/*Row: Cell TD*/
.RowsTABLE TD
{
     font-family:Arial,Verdana;
     font-size:11px;
     border:none;
     padding:3px 0px 3px 0px;
     overflow:hidden;
     white-space:nowrap;
     text-overflow:ellipsis;
     cursor:default;
}


/*Row: Cell DIV*/
.RowsTABLE TD DIV
{
     overflow:hidden;
     white-space:nowrap;
     text-overflow:ellipsis;
     padding:0px 4px 0px 4px;
}


/*Row: TR (Even Rows)*/
.RowEvenTR
{
     background-color:#F7F7F7;
}


/*Row: TR (Selected Row)*/
.RowSelectedTR
{
     background-color:#CFCFCF;
}


/*Row: Cell TD (Hovered Row)*/
.RowHoveredTR TD
{
     background-color:Gray;
     color:White;
}


/*Summary Row: Cell TD*/
.RowSummaryTABLE TD
{
     font-family:Arial,Verdana;
     font-size:11px;
     padding:1px;
     padding-left:4px;
     vertical-align:top;
     background-color:#D4D0C8;
     border-top:solid 1px #FFFFFF;
     overflow:hidden;
     text-overflow:ellipsis;
     /*Transparency*/
     filter:alpha(opacity=92);
     -moz-opacity:0.92;
     opacity:0.92;
}


/*Summary Row: Cell DIV*/
.RowSummaryTABLE TD DIV
{
     font-family:Arial,Verdana;
     font-size:11px;
     border:none;
     padding:3px 0px 3px 0px;
     overflow:hidden;
     text-overflow:ellipsis;
     cursor:default;
}


/*Row: Cell INPUT (Inline editing)*/
.CellInputBox
{
     font-family:Tahoma;
     font-size:11px;
     font-weight:normal;
     border:inset 1px Gray;
     background-color:white;
     color:black;
}


/*====================Bottom Bar====================*/

/*Bottom Bar: DIV*/
.BottomBarDIV
{
     background-color:#E2E2E2;
     padding:0px;
     padding-top:2px;
     padding-bottom:2px;
     border-top:solid 1px #FFFFFF;
     border-bottom:solid 1px #B5B5B5;
}


/*Bottom Bar: TD*/
.BottomBarTABLE TD
{
     font-family:Arial,Verdana;
     font-size:11px;
     font-weight:normal;
     white-space:nowrap;
     vertical-align:top;
}


/*Bottom Bar: Button TD*/
.BottomBarButtonTD
{
     padding:0px;
     background-color:Transparent;
     cursor:default;
}


/*Bottom Bar: Button TD (Hovered)*/
.BottomBarButtonHoveredTD
{
     padding:0px;
     background-color:Transparent;
     cursor:default;
     cursor:hand;
     cursor:pointer;
}


/*Bottom Bar: Pages TD*/
.BottomBarPagesTD
{
     padding-top:3px;
     padding-left:10px;
     padding-right:6px;
     cursor:default;
}


/*Bottom Bar: Rows TD*/
.BottomBarRowsTD
{
     padding-top:3px;
     padding-left:10px;
     padding-right:6px;
}


/*Bottom Bar: Status Bar TD*/
.BottomBarStatusBarTD
{
     color:Gray;
     padding-top:3px;
     padding-left:6px;
     padding-right:6px;
     text-align:right;
}


/*Bottom Bar: Separator TD*/
.BottomBarSeparatorTD
{
     background-color:#B5B5B5;
     padding-left:1px;
     width:0px;
}


/*Bottom Bar: Spacer TD*/
.BottomBarSpacerTD
{
     cursor:default;
}



/*===================Edit Form====================*/

/*Edit Form: DIV*/
.EditFormDIV
{
     border:solid 1px White;
     border-right:solid 1px #B5B5B5;
     border-bottom:solid 1px #B5B5B5;
     padding:6px;
     background-color:#FFFFFF;
     font-family:Arial,Verdana;
     font-size:11px;
     font-weight:normal;
     
     /*Shadow*/
     -moz-box-shadow: 2px 2px 3px #6F6F6F;
     -webkit-box-shadow: 2px 2px 3px #6F6F6F;
     box-shadow: 2px 2px 3px #6F6F6F;
     -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#6F6F6F')";
     filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#6F6F6F');
}



/*==================Context Menu===================*/

/*Context Menu: DIV*/
.ContextMenuDIV
{
     padding:3px;
     background-color:#E2E2E2;
     border:solid 1px #ffffff;
     border-right:solid 1px #808080;
     border-bottom:solid 1px #808080;

     /*Shadow*/
     -moz-box-shadow: 2px 2px 3px #8D8D8D;
     -webkit-box-shadow: 2px 2px 3px #8D8D8D;
     box-shadow: 2px 2px 3px #8D8D8D;
     -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#8D8D8D')";
     filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#8D8D8D');
}


/*Context Menu: Item TD*/
.ContextMenuItemTD
{
     font-family:Tahoma;
     font-size:11px;
     padding:3px;
     background-color:transparent;
     cursor:default;
     cursor:hand;
     cursor:pointer;
     white-space:nowrap;
}


/*Context Menu: Item TD (Hovered)*/
.ContextMenuItemHoveredTD
{
     font-family:Tahoma;
     font-size:11px;
     padding:2px;
     background-color:#BDBDBD;
     border:solid 1px #292929;
     cursor:default;
     cursor:hand;
     cursor:pointer;
     white-space:nowrap;
}


/*Context Menu: Separator TD*/
.ContextMenuSeparatorTD
{
     padding:0px;
     cursor:default;
     background-color:#B5B5B5;
     height:1px;
     display:block;
}



/*===================Custom classes====================*/

/*Custom class for special rows*/
.SpecialRow TD
{
     font-weight:normal;
     color:#BB0000;
     background-color:#FFCECE;
}


/*Custom class for line numbers*/
.LineNumbers
{
     font-weight:bold;
     color:#919191;
     text-align:right;
     vertical-align:top;
}