/*
CSS Style for APNSoft DataGrid.
Version: MacOS 2.16
Created: 02/21/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 #999999;
     background-color:#4586BE;
     cursor:default;
}



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

/*Header: DIV*/
.HeaderDIV
{
     background:white url($SkinFolder$HeaderBackground.gif);
     background-repeat:repeat-x;
}


/*Header: Cell TD*/
.HeaderTD
{
     font-family:Tahoma;
     font-size:11px;
     font-weight:bold;
     color:#3B3B3B;
     text-align:left;
     vertical-align:middle;
     padding:0px;
     overflow:hidden;
     white-space:nowrap;
     text-overflow:ellipsis;
     border-bottom:solid 1px #B2B2B2;
}



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


/*Header: Cell TD (Hovered)*/
.HeaderHoveredTD
{
     font-family:Tahoma;
     font-size:11px;
     font-weight:bold;
     color:#3B3B3B;
     text-align:left;
     vertical-align:middle;
     padding:0px 0px 0px 0px;
     overflow:hidden;
     white-space:nowrap;
     text-overflow:ellipsis;
     background:#BBFCFF url($SkinFolder$HeaderActiveBackground.gif);
     background-repeat:repeat-x;
     border-bottom:solid 1px #6693C0;
}


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



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

/*Column: Resizing DIV*/
.ColumnResizedDIV
{
     padding:0px;
     display:block;
     background-color:#8D8D8D;
     filter:alpha(opacity=40);/*Semi-Transparency for IE*/
     -moz-opacity:0.4;/*Semi-Transparency for Mozilla*/
     opacity:0.4;/*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: #878787;
     scrollbar-3dlight-color: #DBDBDB;
     scrollbar-darkshadow-color: #DBDBDB;
     scrollbar-face-color: #F1F1F1;
     scrollbar-highlight-color: #FFFFFF;
     scrollbar-shadow-color: #878787;
     scrollbar-track-color: #DBDBDB;
}


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


/*Row: Cell TD*/
.RowsTABLE TD
{
     font-family:Tahoma;
     font-size:12px;
     font-weight:bold;
     text-align:left;
     color:#3C464E;
     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;
}


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


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


/*Row: Cell TD (Hovered Row)*/
.RowHoveredTR TD
{
     color:#FFFFFF;
     background-color:#3875D7;
     padding: 3px 0px 3px 0px;
     background-image:none;
}


/*Summary Row: Cell TD*/
.RowSummaryTABLE TD
{
     font-family:Tahoma;
     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:Tahoma;
     font-size:12px;
     font-weight:bold;
     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:4px;
     background:#ECECEC url($SkinFolder$BottomBarBackground.gif);
     background-repeat:repeat-x;
}


/*Bottom Bar: TD*/
.BottomBarTABLE TD
{
     font-family:Tahoma;
     font-size:12px;
     color:#3B3B3B;
     font-weight:normal;
     white-space:nowrap;
}


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


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


/*Bottom Bar: Pages TD*/
.BottomBarPagesTD
{
     font-size:12px;
     font-weight:bold;
     padding-top:3px;
     padding-left:6px;
     padding-right:6px;
     cursor:default;
     vertical-align:top;
}


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


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


/*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
{
     border:solid 1px Gray;
     padding:6px;
     font-family:Tahoma;
     font-size:12px;
     font-weight:bold;
     background:#F7F7F7 url($SkinFolder$BottomBarBackground.gif);
     
     /*Shadow*/
     -moz-box-shadow: 2px 2px 3px #396791;
     -webkit-box-shadow: 2px 2px 3px #396791;
     box-shadow: 2px 2px 3px #396791;
     -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#396791')";
     filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#396791');
}



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

/*Context Menu: DIV*/
.ContextMenuDIV
{
     padding:0px;
     border:solid 1px #666666;
     background:#FCFCFC url($SkinFolder$BottomBarBackground.gif);

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


/*Context Menu: Item TD*/
.ContextMenuItemTD
{
     font-family:Tahoma;
     font-size:12px;
     font-weight:bold;
     color:#3C464E;
     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:12px;
     font-weight:bold;
     color:white;
     padding:3px;
     background-color:#3063B0;
     cursor:default;
     cursor:hand;
     cursor:pointer;
     white-space:nowrap;
}


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



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

/*Custom class for special rows*/
.SpecialRow TD
{
     font-weight:bold;
     color:red;
}