
/* custom first grid column style */
td.names{
  width: 70px;
  color: #123457;   
  font-weight: bold;
  text-align: left;
  white-space:nowrap;  
}

input.editCellInput{
  color: #1e588d;
  font-size: 11px;  
  border: 1px solid #4d85ba;
  background-color: white;
}

div.closeButton{
    cursor: pointer;
    width:  14px;
    height: 14px;
    background-repeat: no-repeat;
    background-image: url("../img/closeButton.png");
    background-position: 0 0;
    float: left;
    visibility: hidden;
}

div.closeButton:hover {
  background-position: -14px 0;
}


div.slider{
    height: 21px;
    border: 1px solid blue;
    margin-top: 0px;
    margin-bottom: 1px;
}

table.slider td,
table.slider div.selected{
    height: 21px;
    background-image: url("../img/slider.png");
    background-repeat: no-repeat;
}

table.slider td.firstCell{
    width: 7px;
    background-position: 0 0;
}

table.middleCell{
    background-position: 0 -37px;
    background-repeat: repeat-x;
}

table.slider td.lastCell{
    width: 7px;
    background-position: -8px 0;
}

div.slider div.selected{
    height: 14px;
    width: 36px;
    margin-top: 3px;
    margin-bottom: 3px;
    background-position: 0 -22px;
}



/* GRID & themes */
/* common grid css */
table.grid{
    empty-cells: show !important; 
}

table.grid thead td,
table.grid tbody td,
table.grid tfoot td{ 
    background-repeat:no-repeat; 
}

table.grid thead td{
    height: 25px;
    color: #000000;
    font-size: 11px;
    text-align: center;
    padding: 0; 
}

table.grid tbody td{
    height: 25px;
    font-size: 11px;
    padding-left: 3px;
    padding-right: 7px;
}

table.grid tfoot td{
    height: 6px;
    font-size: 1px;
}

table.grid thead td.firstCell,
table.grid tbody td.firstCell,
table.grid tfoot td.firstCell,

table.grid thead td.lastCell,
table.grid tbody td.lastCell,
table.grid tfoot td.lastCell{
    width: 4px;    
    font-size: 1px;
    padding:0 !important;
}

table.grid thead td.middleCell,
table.grid tbody td.middleCell,
table.grid tfoot td.middleCell{
    width: 13px;
    font-size: 1px;
    padding:0 !important;
}

/* Background positions */
/* any th, tf except both first and last cells */
table.grid thead td{
    background-position: -137px 0;
}

table.grid tbody td{
    border-bottom: 1px solid #c5ced7;
    background-color: #ffffff;
    background-position: 700px 0;
}

table.grid tfoot td{
    background-position: -137px -59px;
}

/* first and last cells of thead and tfoot */
table.grid thead td.firstCell{
    background-position: -123px 0;
}

table.grid thead td.middleCell{
    background-position: -12px 0;    
}

table.grid thead td.lastCell{
    background-position: right 0;
}

/* body */
table.grid tbody td.firstCell{
    background-position: -44px 0;
    background-repeat: repeat-y;
}

table.grid tbody td.middleCell{
    background-position: -38px 0;
    background-repeat:repeat-y; 
}

table.grid tbody td.lastCell{
    background-position: -41px 0;
    background-repeat:repeat-y;     
}

/* footer */
table.grid tfoot td.firstCell{
    background-position: -123px -59px;
}

table.grid tfoot td.middleCell{
    background-position: -12px -59px;
}

table.grid tfoot td.lastCell{
    background-position: right -59px;
}

/* themes */
/* default theme */
div.defaultTheme table.grid thead td,
div.defaultTheme table.grid tbody td,
div.defaultTheme table.grid tfoot td{
    background-image: url("../img/defaultGrid.gif");
}

div.defaultTheme table.grid thead td{
    color: #314253;
    font-weight: bold;
}


/* Chart theme */
div.chartTheme table.grid thead td,
div.chartTheme table.grid tbody td,
div.chartTheme table.grid tfoot td{
    background-image: url("../img/chartGrid.gif");
}

div.chartTheme table.grid tbody tr{
    background-image: url("../img/chartBg.png");
    background-repeat: repeat-x;
}

div.chartTheme table.grid thead td{
    font-size: 17px;
    height: 27px;
}

div.chartTheme table.grid thead td.firstCell,
div.chartTheme table.grid thead td.middleCell,
div.chartTheme table.grid thead td.lastCell{
    font-size: 1px; 
}

/* Lite grid theme */
div.liteTheme table.grid thead td,
div.liteTheme table.grid tbody td,
div.liteTheme table.grid tfoot td{
    background-image: url("../img/liteGrid.gif");
}

div.liteTheme table.grid tbody td{
    vertical-align: top;
}

div.liteTheme table.grid thead td{
    font-size: 1px;
    height: 7px;
}

div.liteTheme table.grid thead td{
    background-position: -137px -18px;
}

div.liteTheme table.grid tbody td{
    border-bottom: 1px solid #b2c5d7; 
}

/* first and last cells of thead and tfoot */
div.liteTheme table.grid thead td.firstCell{
    background-position: -123px -18px;
}

div.liteTheme table.grid thead td.middleCell{
    width: 4px;
    background-position: -18px -18px;
}

div.liteTheme table.grid thead td.middleCell_right{
    width: 4px;
    background-position: -15px -18px;
}

div.liteTheme table.grid thead td.lastCell{
    background-position: right -18px;
}

div.liteTheme .contentCaption{
    color: #ced023;
    font-size: 21px;
    font-weight: normal;
    text-align: left;
    font-family: verdana, tahoma;
    padding-top: 5px;
}


div.liteTheme .contentText{
    color: #5b788c;
    font-size: 15px;
    font-family: verdana, tahoma;
    text-align: left; 
    padding-top: 2px;
}
