/*
CSS Style for APNSoft DataGrid.
Version: Win7 2.19
Created: 02/20/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 Black;
     background:#404040 url($SkinFolder$Background.jpg);
     cursor:default;
}



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

/*Header: DIV*/
.HeaderDIV
{
     background:#189298 url($SkinFolder$HeaderBackground.gif);
     background-repeat:repeat-x;
     filter:alpha(opacity=85);/*Semi-Transparency for IE*/
     -moz-opacity:0.85;/*Semi-Transparency for Mozilla*/
     opacity:0.85;/*Semi-Transparency for Gecko*/
}


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



/*Header: Cell DIV*/
.HeaderTD DIV
{
     padding:0px;
     padding-left:4px;
     overflow:hidden;
     white-space:nowrap;
     text-overflow:ellipsis;
     background-color:Transparent;
}


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


/*Header: Cell DIV (Hovered)*/
.HeaderHoveredTD DIV
{
     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:#2F7C97;
     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 #6BB1B0;
}



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

/*Rows: DIV*/
.RowsDIV
{
     scrollbar-base-color: #313421;
     scrollbar-arrow-color: #F1F13A;
     scrollbar-3dlight-color: #313421;
     scrollbar-darkshadow-color: #313421;
     scrollbar-face-color: #5E614E;
     scrollbar-highlight-color: #A3A697;
     scrollbar-shadow-color: #4D5040;
     scrollbar-track-color: none;
}


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


/*Row: Cell TD*/
.RowsTABLE TD
{
     font-family:Tahoma;
     font-size:12px;
     font-weight:normal;
     text-align:left;
     border:none;
     border-bottom:solid 1px #FCFCFC;
     padding: 4px 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
{}

/*Row: TR (Selected Row)*/
.RowSelectedTR TD
{
     background-color:#E2E2E2;
     background-image:none;
     border:none;
     border-bottom:solid 1px #E2E2E2;
     padding: 4px 0px 3px 0px;
}


/*Row: Cell TD (Hovered Row)*/
.RowHoveredTR TD
{
     background:#EBEBEB url($SkinFolder$RowSelectedBackground.gif);
     background-repeat:repeat-x;
     border:none;
     border-bottom:solid 1px #D8D8D8;
     padding: 4px 0px 3px 0px;
}


/*Summary Row: Cell TD*/
.RowSummaryTABLE TD
{
     font-family:Tahoma;
     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:Tahoma;
     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
{
     padding:0px;
     padding-top:3px;
     padding-bottom:2px;
     background:#1D1D1D url($SkinFolder$BottomBarBackground.gif);
     background-repeat:repeat-x;
     filter:alpha(opacity=85);/*Semi-Transparency for IE*/
     -moz-opacity:0.85;/*Semi-Transparency for Mozilla*/
     opacity:0.85;/*Semi-Transparency for Gecko*/
}


/*Bottom Bar: TD*/
.BottomBarTABLE TD
{
     font-family:Arial,Verdana;
     font-size:11px;
     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;
     padding-top:4px;
     padding-left:6px;
     padding-right:6px;
     cursor:default;
     color:#CAF7CF;
     vertical-align:top;
}


/*Bottom Bar: Rows TD*/
.BottomBarRowsTD
{
     font-size:12px;
     padding-top:4px;
     padding-left:6px;
     padding-right:6px;
     color:#D2DFFF;
     vertical-align:top;
}


/*Bottom Bar: Status Bar TD*/
.BottomBarStatusBarTD
{
     font-size:11px;
     padding-top:2px;
     padding-left:6px;
     padding-right:6px;
     color:silver;
     text-align:right;
     border:solid 1px #525151;
     border-right:solid 1px gray;
     border-bottom:solid 1px #646464;
     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
{
     background-color:#F0F0F0;
     border:solid 1px #ffffff;
     border-right:solid 1px #808080;
     border-bottom:solid 1px #808080;
     padding:6px;
     font-family:Tahoma;
     font-size:11px;

     /*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
{
     border:solid 1px #ffffff;
     border-right:solid 1px #808080;
     border-bottom:solid 1px #808080;
     padding:2px;
     background:#F0F0F0 url($SkinFolder$ContextMenuBackground.gif);
     background-repeat:repeat-y;
     
     /*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: 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;
     border:solid 1px #A8D8EB;
     background:#E7EFF3 url($SkinFolder$ContextMenuItemActiveBackground.gif);
     cursor:default;
     cursor:hand;
     cursor:pointer;
     white-space:nowrap;
}


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



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

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