@CHARSET "UTF-8";
/**************************

 TABLE Grid 
 
**************************/


table.grid{
	padding: 0;
	margin: 0;
	width: 100%;
	border: solid 1px #d0d0d0;
	border-collapse: separate;
	table-layout: auto;
}
table.grid thead tr{
	
}
table.grid thead tr th, table.grid tfoot .footer{
	padding: 0 5px;
	color: #333333;
	height: 24px;
	line-height: 24px;
	text-align: left;
	font-weight: bold;
	background: url(../img/grayline/grid_th.png) 0 0 repeat-x;
	border-bottom: solid 1px #d0d0d0;
}

table.grid thead tr th.sub,
table.grid thead tr th.sub_sort{
	color: #000000;
	height: 24px;
	line-height: 24px;
	background-image: none;
	border-bottom: none;
	padding: 0;
	overflow: hidden;
}
table.grid2 thead tr th.sub,
table.grid2 thead tr th.sub_sort{
	line-height: 20px;
	height: 40px !important;
}
table.grid thead tr th.sub div,
table.grid thead tr th.sub_sort div{
	overflow: hidden;
	background: url(../img/grayline/grid_th_sub.png) 0 0 repeat-x;
	border-bottom: solid 1px #D0D0D0;
	border-right: solid 1px #D0D0D0;
	border-left:solid 1px #EEEEEE;
	height: 24px;
}
table.grid2 thead tr th.sub div,
table.grid2 thead tr th.sub_sort div{
	height: 40px !important;
	background: #e2e2e2;
}
table.grid thead tr th.sub div{
	padding: 0 2px 0 4px;
}
table.grid thead tr th.sub_sort div{
	
}
table.grid thead tr th.sub div.first{
	border-left: none;
}
table.grid thead tr th.sub div.last{
	border-right: none;
}
table.grid thead tr th.sort,
table.grid thead tr th.sub_sort{
	width: 15px;
	height: 24px;
	padding: 0;
	overflow: hidden;
}
table.grid thead tr th.sort{
	/*background: url(../img/grayline/grid_sort.png) 0 0 no-repeat;*/
	border-bottom: solid 1px #99BBE8;
}
table.grid thead tr th.sub_sort{
	/*background: url(../img/grayline/grid_th_sub.png) 0 0 repeat-x;
	border-bottom: solid 1px #D0D0D0;*/
}
table.grid thead tr th.sort a,
table.grid thead tr th.sub_sort a{
	width: 15px;
	height: 12px;
	overflow: hidden;
	display: block;	
}

table.grid tbody  td.digit{
	text-align:right;
}

/***********************************
   
	Grid sort icons 
  
************************************/
.grid .sort a.down:link,
.grid .sort a.down:visited{
	background: url(../img/grayline/grid_down_blur.png) 0 0 no-repeat;
}
.grid .sort a.down:hover{
	background: url(../img/grayline/grid_down_focus.png) 0 0 no-repeat;
}
.grid .sort a.up:link,
.grid .sort a.up:visited{
	background: url(../img/grayline/grid_up_blur.png) 0 0 no-repeat;
}
.grid .sort a.up:hover{
	background: url(../img/grayline/grid_up_focus.png) 0 0 no-repeat;
}

/**************************** 

	SubGrid sort icons 
	
*****************************/
.grid .sub_sort a.down:link,
.grid .sub_sort a.down:visited{
	background: url(../img/grayline/grid_down_blur_sub.png) 0 0 no-repeat;
}
.grid .sub_sort a.down:hover{
	background: url(../img/grayline/grid_down_focus_sub.png) 0 0 no-repeat;
}
.grid .sub_sort a.up:link,
.grid .sub_sort a.up:visited{
	background: url(../img/grayline/grid_up_blur_sub.png) 0 0 no-repeat;
}
.grid .sub_sort a.up:hover{
	background: url(../img/grayline/grid_up_focus_sub.png) 0 0 no-repeat;
}
table.grid{
	float:left;
}
table.grid tbody tr td{
	padding: 3px 5px;
	empty-cells: show;
	border-bottom: solid 1px #EDEDED;		
}
table.grid tbody tr td a:link,
table.grid tbody tr td a:visited{
	color: #385F95;
	text-decoration: none;
}
table.grid tbody tr td a:hover{
	text-decoration: underline;
}
table.grid tbody tr{
	
		
}
table.grid tbody tr.even, table.grid tbody tr.even td{
	color: #666666;
	background-color: #f0f0f0;
		
}
table.grid tbody tr.odd, table.grid tbody tr.odd td{
	color: #666666;
	background-color: #F8F8F8;
	
}
table.grid tbody tr.New td{
	color: #ffffff;
	background-color: #50e06e;
}
table.grid tbody tr.opacitydown{
	opacity:0.8;
}
table.grid tbody tr.warning a{
	color:white !important;
}
table.grid tbody tr.warning{
	color: #ffffff;
	background-color: #f52727;
}
table.grid tbody tr.Viewed{
	color: #ffffff;
	background-color: #ee1919;
}
table.grid tbody tr.Paid td{
	color: #ffffff;
	background-color: #b9b9b9;
}
table.grid tbody tr.Denied td{
	color: #ffffff;
	background-color: #302525;
}
table.grid tbody tr.over{
	
	border: red solid 1px !important;
	/*background-image:url(../img/over.png);*/
	
}
table.grid tbody tr td.ico{
	width: 50px;
	text-align: center;
}
table.grid tbody tr td.ico img{
	border: none;	
}
.grid .ico a.down,
.grid .ico a.up{
	width: 15px;
	height: 12px;
	overflow: hidden;
	display: block;
}
.grid .ico a.down:link,
.grid .ico a.down:visited{
	background: url(../img/grayline/grid_down_blur.png) 0 0 no-repeat;
}
.grid .ico a.down:hover{
	background: url(../img/grayline/grid_down_focus.png) 0 0 no-repeat;
}
.grid .ico a.up:link,
.grid .ico a.up:visited{
	background: url(../img/grayline/grid_up_blur.png) 0 0 no-repeat;
}
.grid .ico a.up:hover{
	background: url(../img/grayline/grid_up_focus.png) 0 0 no-repeat;
}
/**************************

 TABLE Pagin 
 
**************************/
table.grid tfoot tr td.pagin{
	color: #B30000;
	font-weight: bold;
	padding: 0 3px;
	background: url(../img/grayline/grid_pagin.png) 0 0 repeat-x;
	border-top: solid 1px #d0d0d0;
	height: 25px;
	line-height: 25px;
	vertical-align: middle;
}

/**************************

 TABLE, FORM create, update 
 
**************************/
table.form{
	padding: 0;
	margin: 0;
	width: 100%;
	border: solid 1px #d0d0d0;
	border-collapse: separate;
}
table.form thead tr th{
	padding: 0 5px;
	color: #333333;
	height: 24px;
	line-height: 24px;
	text-align: left;
	font-weight: bold;
	background: url(../img/grayline/grid_th.png) 0 0 repeat-x;
	border-bottom: solid 1px #d0d0d0;
}
table.form tbody tr td{
	padding: 3px 5px;
	border-bottom: solid 1px #EDEDED;
	background-color: #F9F9F9;
}
table.form tfoot tr td{
	border-top: solid 1px #d0d0d0;
	height: 30px;
	line-height: 30px;
	padding: 3px 5px;
	background: #efefef url(../img/grayline/grid_pagin.png) 0 0 repeat-x;
}

/*************************
 
  Filter form
  
*************************/
table.grid tbody tr td.filter{
	color: #B30000;
	font-weight: bold;
	padding: 0 3px;
	background: #CEDDEF url(../img/grayline/grid_pagin.png) 0 0 repeat-x;
	height: 28px;
	line-height: 28px;
	vertical-align: middle;
}
/*******
 
 Other Stuff
 
*******/
.panel_in{
	border: solid 1px #F0F5FA;
	min-height: 26px;
	/*height: auto !important;
	height: 26px;*/
	padding: 3px 2px;
	background: #efefef url(../img/grayline/grid_pagin.png) 0 -1px repeat-x;
	float:left;
	width:100%;
}
.panel_out{
	border: solid 1px #d0d0d0;
	float:left;
	width:100%;
	font-size:13px;
}
table.grid tfoot tr td.pagin a.next:link,
table.grid tfoot tr td.pagin a.next:visited{
	background: url(../img/grayline/pagin_next_blur.png) 0 0 no-repeat;
}
table.grid tfoot tr td.pagin a.next:hover{
	background: url(../img/grayline/pagin_next_focus.png) 0 0 no-repeat;
}
table.grid tfoot tr td.pagin a.prev:link,
table.grid tfoot tr td.pagin a.prev:visited{
	background: url(../img/grayline/pagin_prev_blur.png) 0 0 no-repeat;
}
table.grid tfoot tr td.pagin a.prev:hover{
	background: url(../img/grayline/pagin_prev_focus.png) 0 0 no-repeat;
}

table.grid tfoot tr td.pagin a{
	display: block;
	float: left;
	text-decoration: none;
	width: 22px;
	height: 21px;
	line-height: 21px;
	margin-top: 1px;
}