﻿
/*=====================================================================================*/
/* base table styles  */
/*=====================================================================================*/

table.grid
{
    width:100%;
    font-family:arial,tahoma,helvetica,sans-serif;
    font-size:11px;
	border:solid 1px #99aabd;
}

/* common header and data dell styles  */
.grid td, .grid th
{
    height:14px;
    border-right:solid 1px #fff;
    vertical-align:middle;
}

/* header cell styles */
.grid th
{
    border:1px solid #bbbbbb;
    padding:4px 4px; 
    text-align:center;
    background-color:#e5e5e5;
    height:23px;
}

/* header cell link styles */
.grid th a
{
    font-size:11px;
    color:black;
    font-weight:bold;
	text-decoration:none;
	text-align:center;
	display:block;    
}

/* data cell styles */
.grid td
{
    padding:3px 25px 3px 10px;
    text-align:left;
    vertical-align:middle;
    cursor:default;
}

/* command cell styles */
.grid td.command
{
    padding:3px 6px;
    text-align:center;
    vertical-align:middle;
}

/* command input cursor styles */
.grid td.command input { cursor:hand; }

/* edit data cell styles */
.grid .editrowstyle{ background-color:#feffc5; }

/* alternating data cell styles */
.grid .altrowstyle { background-color:#f9f9f9;}

/* sort asc header style */
.grid .sortascheader a { background:url(img/dt-arrow-up.png) no-repeat right 50%; } 

/* sort desc header style  */
.grid .sortdescheader a { background:url(img/dt-arrow-dn.png) no-repeat right 50%; }
 
/*=====================================================================================*/
/* for gridview */
/*=====================================================================================*/
.tablestyle 
{
	font-family: arial;
	font-size: 11px;
	border: solid 1px #cccccc;
}

.headerstyle{
    background-color:#e5e5e5;
    height:23px;
    white-space:nowrap;
}
.headerstyle th {
    border:1px solid #bbbbbb;
    padding-left:2px;
    text-align:left;
    white-space:nowrap;
}  
.headerstyle a {
    color:black;
}
.rowstyle
{
      background-color: #fff;
      white-space:nowrap; 
}
.rowstyle td
{
    padding: 2px 2px 2px 2px;
    border-right: solid 1px #efefef;
    white-space:nowrap;
}
.altrowstyle 
{
    background-color: #f9f9f9;
    white-space:nowrap;
}
.altrowstyle td 
{
    padding: 2px 2px 2px 2px;
    border-right: solid 1px #efefef;
    white-space:nowrap;
}
/* for sort and page */

.sortalternatingrowstyle{
    background-color:#e5e5e5
}
.sortrowstyle{
    background-color:#f0f0f0
}
.sortascheaderstyle{
    background:#c5c5c5 url(images/sort_asc.gif) no-repeat scroll right center;
    padding-left:5px;
}
.sortdescheaderstyle{
    background:#c5c5c5 url(images/sort_desc.gif) no-repeat scroll right center;
    padding-left:5px;
}   
.pagerstyle{
    color:#444444;
    background-color:#e5e5e5;
    font-size:x-small;
    text-align:right;
} 
.pagerstyle select{
    font-size:x-small;
}  
.previous{
    background:transparent url(~/App_Themes/default/Img/previous.gif) no-repeat scroll center;
    height:1.3em;
    width:16px;
}
.next{
    background:transparent url(~/App_Themes/default/Img/next.gif) no-repeat scroll center;
    height:1.3em;
    width:16px;
}  
.gotopage{
    font-size:x-small;
    width:20px;
}
/*=====================================================================================*/