/*
CSS Style for APNSoft DataGrid
Version Vista 2.5
Created: 02/20/2007
Updated: 26/01/2010
Copyright 2003-2010 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-color:#404040;
     background-image:url(../Skins/Vista/GridBg.jpg);
     cursor:default;
     
     /*
     position:absolute;
     left:100px;
     top:100px;
     */

}



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

/*Header DIV*/
.GridHeaderDIV
{
     background-color:#189298;
     background-image:url(../Skins/Vista/HeaderBg.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*/
.GridHeaderTD
{
     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's internal DIV*/
.GridHeaderTD DIV
{
     padding:0px;
     padding-left:4px;
     overflow:hidden;
     white-space:nowrap;
     text-overflow:ellipsis;
     background-color:Transparent;
}


/*Header Cell (Hovered)*/
.GridHeaderTDh
{
     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-color:#30AAB7;
     background-image:url(../Skins/Vista/HeaderBgOver.gif);
     background-repeat:repeat-x;
     border-bottom:solid 1px #B1D1E0;
}


/*Header Cell's internal DIV (Hovered)*/
.GridHeaderTDh DIV
{
     padding:0px;
     padding-left:4px;
     overflow:hidden;
     white-space:nowrap;
     text-overflow:ellipsis;
     background-color:Transparent;
}



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

/*Box for column is being resized*/
.GridColumnResizedDIV
{
     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*/
}


/*DIV for Fixed Columns*/
.GridColumnFixedDIV
{
     border-right:solid 1px #6BB1B0;
}



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

/*Rows DIV*/
.GridRowsDIV
{
     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: #313421;
}


/*Table for rows*/
.GridRowsTABLE
{
     background-color:#FCFCFC;
}


/*Row Cell*/
.GridRowsTABLE 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(../Skins/Vista/LineVert.gif);
     background-repeat:repeat-y;
}


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


/*Row Cells (Even Rows)*/
.GridRowEvenTR TD
{}

/*Row Cell (Selected Row)*/
.GridRowSelectedTR TD
{
     background-color:#EBEBEB;
     background-image:url(../Skins/Vista/RowSelBg.gif);
     background-repeat:repeat-x;
     border:none;
     border-bottom:solid 1px #D8D8D8;
     padding: 4px 0px 3px 0px;
}


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


/*Row Cell (Selected & Hovered Row)*/
.GridRowSelectedHoveredTR TD
{
     background-color:#D7D7D7;
     background-image:none;
     border:none;
     border-bottom:solid 1px #D8D8D8;
     padding: 4px 0px 3px 0px;
}


/*Input Box for editing cell's value*/
.GridCellInputBox
{
     font-family:Tahoma;
     font-size:11px;
     font-weight:normal;
     /*border:solid 1px Gray;*/
     border:none;
     background-color:white;
     color:Black;
}



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

/*Bar DIV*/
.GridBarDIV
{
     background-color:#1D1D1D;
     padding:0px;
     padding-top:3px;
     padding-bottom:2px;
     background-image:url(../Skins/Vista/BtmBarBg.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*/
}


/*Bar Cell (All)*/
.GridBarTABLE TD
{
     font-family:Arial,Verdana;
     font-size:11px;
     font-weight:normal;
     white-space:nowrap;
}


/*Bar Cell (Button)*/
.GridBarButtonTD
{
     padding:0px;
     padding-top:1px;
     vertical-align:top;
     background-color:Transparent;
     cursor:default;
}


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


/*Bar Cell (Pages)*/
.GridBarPagesTD
{
     font-size:12px;
     padding-top:4px;
     padding-left:6px;
     padding-right:6px;
     cursor:default;
     color:#CAF7CF;
     vertical-align:top;
}


/*Bar Cell (Rows)*/
.GridBarRowsTD
{
     font-size:12px;
     padding-top:4px;
     padding-left:6px;
     padding-right:6px;
     color:#D2DFFF;
     vertical-align:top;
}


/*Bar Cell (Status Bar)*/
.GridBarStatusBarTD
{
     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;
}


/*Bar Cell (Separator)*/
.GridBarSeparatorTD
{
     background-color:Transparent;
     padding-left:7px;
     background-image:url(../Skins/Vista/SepBg.gif);
     background-repeat:repeat-x;
}


/*Bar Cell (Spacer)*/
.GridBarSpacerTD
{
     cursor:default;
}



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

/*Edit Form DIV*/
.GridEditFormDIV
{
     border:outset 2px #eaeaea;
     padding:6px;
     background-color:#D4D0C8;
     filter:alpha(opacity=95);/*Semi-Transparency for IE*/
     -moz-opacity:0.95;/*Semi-Transparency for Mozilla*/
     opacity:0.95;/*Semi-Transparency for Gecko*/
}



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

/*Context Menu DIV*/
.GridContextMenuDIV
{
     background-color:#F0F0F0;
     border:solid 1px #ffffff;
     border-right:solid 1px #808080;
     border-bottom:solid 1px #808080;
     padding:2px;
     background-image:url(../Skins/Vista/CntMnuBg.gif);
     background-repeat:repeat-y;
}


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


/*Context Menu Item (Hovered)*/
.GridContextMenuItemHoveredTD
{
     font-family:Tahoma;
     font-size:11px;
     padding:2px;
     background-color:#E7EFF3;
     border:solid 1px #A8D8EB;
     background-image:url(../Skins/Vista/CntMnuItemOverBg.gif);
     cursor:default;
     cursor:hand;
     cursor:pointer;
     white-space:nowrap;
}


/*Context Menu Separator*/
.GridContextMenuSeparatorTD
{
     padding:0px;
     cursor:default;
     background-image:url(../Skins/Vista/CntMnuSep.gif);
     height:2px;
     display:block;
}


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