@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{
	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.grid thead tr th.sub div,
table.grid thead tr th.sub_sort div{
	overflow: hidden;
	white-space: pre;
	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.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 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.even{
	color: #666666;
	background-color: #F3F3F3;
		
}
table.grid tbody tr.odd{
	color: #666666;
	background-color: #F8F8F8;
	
}
table.grid tbody tr.over{
	color: #15428B;
	background-color: #FFFFFF;
	
}
table.grid tbody tr td.ico{
	width: 20px;
	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.grid tfoot tr td.pagin a{
	display: block;
	float: left;
	text-decoration: none;
	width: 22px;
	height: 21px;
	line-height: 21px;
	margin-top: 1px;
}
table.grid tfoot tr td.pagin a.first:link,
table.grid tfoot tr td.pagin a.first:visited{
	background: url(../img/grayline/pagin_first_blur.png) 0 0 no-repeat;
}
table.grid tfoot tr td.pagin a.first:hover{
	background: url(../img/grayline/pagin_first_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.middle:link,
table.grid tfoot tr td.pagin a.middle:visited{
	width: auto;
	margin-left: 2px;
	margin-right: 2px;
	text-align: center;
	color: #15428B;
}
table.grid tfoot tr td.pagin a.middle:hover{
	text-decoration: underline;	
}
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.last:link,
table.grid tfoot tr td.pagin a.last:visited{
	background: url(../img/grayline/pagin_last_blur.png) 0 0 no-repeat;
}
table.grid tfoot tr td.pagin a.last:hover{
	background: url(../img/grayline/pagin_last_focus.png) 0 0 no-repeat;
}
table.grid tfoot tr td.pagin span.middle{
	display: block;
	float: left;
	height: 21px;
	line-height: 21px;
	margin-top: 1px;
}

/**************************

 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;
}
table.form fieldset{
	border: solid 1px #D0D0D0;
	margin: 5px 0;
}
table.form fieldset legend{
	font-weight: bold;
	padding: 2px 10px;
	background-color: #D0D0D0;
	margin: 0 0 0 -1px;	
}
/*************************
 
  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;
	overflow: hidden;
}
* html .panel_in{
	height: auto !important;
	height: 26px;
	overflow: visible;
}
.panel_out{
	border: solid 1px #d0d0d0;
}

.filter{
	border: solid 1px #CACACA;
	margin: 10px 0 0 10px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
.filter legend{
	padding: 0 5px 0 7px;
}
.filter p{
	margin: 10px 0 0 10px;
}
.filter p label{
	display: block;
	margin: 0 0 2px 0;
}
.filter p input,
.filter p select{
	margin: 0 0 5px 0;
}
