/*
CSS Style for APNSoft DataGrid.
Version: APNSoft 2.15
Created: 02/28/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:#E1E1E1 url($SkinFolder$HeaderBackground.gif);
     background-repeat:repeat-x;
}


/*Header: Cell TD*/
.HeaderTD
{
     font-family:Arial,Verdana;
     font-size:12px;
     text-align:left;
     vertical-align:middle;
     padding:0px;
     padding-top:4px;
     padding-bottom:3px;
     overflow:hidden;
     white-space:nowrap;
     text-overflow:ellipsis;
     border-bottom:solid 1px #808080;
}



/*Header: Cell DIV*/
.HeaderTD DIV
{
     border-right:solid 1px #BFBFBF;
     border-left:solid 1px #FFFFFF;
     padding:0px;
     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:12px;
     text-align:left;
     vertical-align:middle;
     padding:0px;
     padding-top:4px;
     padding-bottom:3px;
     overflow:hidden;
     white-space:nowrap;
     text-overflow:ellipsis;
     background:#E9E9E9 url($SkinFolder$HeaderActiveBackground.gif);
     background-repeat:repeat-x;
     border-bottom:solid 1px #000000;
}


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



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

/*Column: Resizing DIV*/
.ColumnResizedDIV
{
     padding:0px;
     display:block;
     background-color:#FFD79A;
     border-right:solid 1px #FE9A00;
     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: #313421;
     scrollbar-arrow-color: #FE9A00;
     scrollbar-3dlight-color: #959595;
     scrollbar-darkshadow-color: #959595;
     scrollbar-face-color: #F1F1F1;
     scrollbar-highlight-color: #FFFFFF;
     scrollbar-shadow-color: #F1F1F1;
     scrollbar-track-color: #959595;
}


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


/*Row: Cell TD*/
.RowsTABLE TD
{
     font-family:Arial,Verdana;
     font-size:12px;
     border:none;
     padding: 3px 0px 3px 0px;
     overflow:hidden;
     white-space:nowrap;
     text-overflow:ellipsis;
     cursor:default;
     background-image:url($SkinFolder$LineVertical.gif);
     background-repeat:repeat-y;
}


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


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


/*Row: TR (Selected Row)*/
.RowSelectedTR TD
{
     background-color:#B5B5B5;
     background-image:none;
     color:White;
}


/*Row: Cell TD (Hovered Row)*/
.RowHoveredTR TD
{
     background-color:#FE9A00;
     color:black;
     background-image:none;
}


/*Summary Row: Cell TD*/
.RowSummaryTABLE TD
{
     font-family:Arial,Verdana;
     font-size:12px;
     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:12px;
     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
{
     padding:0px;
     padding-top:4px;
     padding-bottom:3px;
     background:#D4D4D4 url($SkinFolder$BottomBarBackground.gif);
     background-repeat:repeat-x;
}


/*Bottom Bar: TD*/
.BottomBarTABLE TD
{
     font-family:Arial,Verdana,Arial,Verdana;
     font-size:12px;
     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
{
     font-size:12px;
     padding-top:3px;
     padding-left:10px;
     padding-right:6px;
     cursor:default;
}


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


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


/*Bottom Bar: Separator TD*/
.BottomBarSeparatorTD
{
     padding-left:7px;
     background:Transparent url($SkinFolder$BottomBarSeparator.gif);
     background-repeat:repeat-x;
}


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



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

/*Edit Form: DIV*/
.EditFormDIV
{
     padding:4px;
     background-color:#F8F8F8;
     border:solid 1px #808080;
     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:2px;
     border:solid 1px #666666;
     background:#F9F8F7 url($SkinFolder$ContextMenuBackground.gif);
     background-repeat:repeat-y;

     /*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:#FFF3E1;
     border:solid 1px #FF9D01;
     cursor:default;
     cursor:hand;
     cursor:pointer;
     white-space:nowrap;
}


/*Context Menu: Separator TD*/
.ContextMenuSeparatorTD
{
     padding:0px;
     background-image:url($SkinFolder$ContextMenuSeparator.gif);
     cursor:default;
     height:1px;
     display:block;
}



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

/*Custom class (Red) for special rows*/
.SpecialRowRed
{
     font-weight:normal;
     color:#BB0000;
     background-color:#FFCECE;
}


/*Custom class (Green) for special rows*/
.SpecialRowGreen
{
     font-weight:normal;
     color:#105E00;
     background-color:#ACFF9B;
}


/*Custom class (Blue) for special rows*/
.SpecialRowBlue
{
     font-weight:normal;
     color:#00075E;
     background-color:#D5D8FF;
}




/*Custom class for line numbers*/
.LineNumbers
{
     font-weight:bold;
     color:#FE9A00;
     background-color:#FFFFFF;
     text-align:right;
}


/*Custom class for the 'CustomerID' column*/
.CustomerID
{
     color:Gray;
     background-color:#eaeaea;
}


/*Custom class for the 'CompanyName' column*/
.CompanyName
{
     color:#7D0000;
     background-color:#FFF2F2;
}


/*Custom class for the 'ContactName' column*/
.ContactName
{
     color:#4D4B0F;
     background-color:#F8F7DC;
}


/*Custom class for the 'Address' column*/
.Address
{
     color:#008000;
     background-color:#F4FFF4;
}


/*Custom class for the 'PostalCode' column*/
.PostalCode
{
     color:Navy;
     background-color:#EDF0FC;
}