﻿.TitulosGridView
{
    background-color:#656466;
    background-repeat:repeat-x;
    width: 100%;
    color:white;
    font-size: 12px; 
    font-family: Arial, Helvetica, sans-serif; 
    font-weight: bold;
    height: 32px;
}

.FondoTitulo
{
    background-color:#656466;
    background-repeat:repeat-x;
}

.TitulosGridView2
{
    background-color:#656466;
    background-repeat:repeat-x;
    color:white;
    font-size: 12px; 
    font-family: Arial, Helvetica, sans-serif; 
    font-weight: bold;
    height: 32px;
}

.Grid 
{
    background-color: #fff; 
    margin: 5px 0 10px 0; 
    border: solid 1px #525252; 
    border-collapse:collapse; 
    font-family:Calibri; 
    color: #474747;
    overflow:auto;
}

.DataGridFixedHeader 
{
    background-color: white; position:relative; top:expression(this.offsetParent.scrollTop);
}

.Grid .SelectedRow 
{
    max-width:100px;
    background: #BEBEBE;
    background-color:#BEBEBE;       
}

.Grid .alt 
{
    background: #FFFFCC;
}

.Grid .Row 
{
    max-width:100px;
    column-width:100px;
}
.Grid .pgr {background: #363670}

.Grid .pgr table { margin: 3px 0; }

.Grid .pgr td { border-width: 0; padding: 0 6px; border-left: solid 1px #666; font-weight: bold; color: #fff; line-height: 12px; }  

.Grid .pgr a { color: Gray; text-decoration: none; }

/*  div#MyGrid th
    {  
        top: expression(document.getElementById("AdjResultsDiv").scrollTop-2);
        left: expression(parentNode.parentNode.parentNode.parentNode.scrollLeft);
        position: relative;
        z-index: 20;
    } 

    div#AdjResultsDiv 
    {
        width: 1080px;
        height: 500px;
        overflow: scroll;
        position: relative;
    }

    div#AdjResultsDiv th
    {  
        top: expression(document.getElementById("AdjResultsDiv").scrollTop-2);
        left: expression(parentNode.parentNode.parentNode.parentNode.scrollLeft);
        position: relative;
        z-index: 20;
    }
*/  

/* Div that holds the GridView control*/
/*div#AdjResultsDiv {
width: 790px;
height: 300px;
overflow: scroll;
position: relative;
}


/* Fix the table header for vertial scrolling*/
div#AdjResultsDiv th{
background-color:Gray;
top: 0;/*expression(document.getElementById("AdjResultsDiv").scrollTop-2);*/
position: relative;
z-index: 10;
border-collapse: collapse;
width:200px;
}


/* Fix the table header and free column for horizontal scrolling*/
div#AdjResultsDiv th.lockedcol,td.lockedcol
{
background-color:#BE1E2D;
position:relative;
left: 0;/*expression(document.getElementById("AdjResultsDiv").scrollLeft-2); */
z-index: 30;
border:1px solid white;
border-collapse: collapse;
}

/* Freeze column header adjusted for Vertical scrolling*/
div#AdjResultsDiv th.lockedcol{z-index: 40;}





