.cs_gridtable{width: 100%;}
.cs_gridtable th, .cs_gridtable td{padding:2px;}

.cs_gridtable  a { background: transparent; color: #0f318b; text-decoration: none; font-size: 12px; font-family: Tahoma;}
.cs_gridtable  td a:link { background: transparent; color: #1e72af; text-decoration: none; font-size: 12px; font-family: Tahoma;}
.cs_gridtable  td a:hover { background: transparent; color: #3F0C0E; text-decoration: none; font-size: 12px; font-family: Tahoma;}
.cs_gridtable  td a:visited { }

/* columns header links */
.cs_gridtable th a { background: transparent; color: #fff; text-decoration: underline; font-size: 12px; font-family: Tahoma;}
.cs_gridtable th a.descending{padding-right: 20px; background: url(/media/images/be/datagrid/sortdown.png) no-repeat top right;}
.cs_gridtable th a.ascending{padding-right: 20px; background: url(/media/images/be/datagrid/sortup.png) no-repeat top right;}
.cs_gridtable th a:hover{color:#fbf805; text-decoration: none;}

.cs_gridtable th.addnew a:hover{color: #fbf805;}

.cs_gridtable fieldset { margin: 0px; border: #dddddd 1px solid;}
.cs_gridtable filter_table { border: #d0d0d0 0px solid; font: normal 12px Tahoma;}
.cs_gridtable legend { font: normal 12px Tahoma;}
.cs_gridtable paging_table { border: #d0d0d0 0px solid; font: normal 12px Tahoma;}
.cs_gridtable { border-COLLAPSE: collapse; border: #d0d0d0 1px solid; font: normal 12px Tahoma;}

.cs_gridtable th { border-bottom: none; border-RIGHT: #ECEFD5 1px solid; PADDING-RIGHT: 2px; PADDING-LEFT: 5px; PADDING-bottom: 2px; font: bold 13px Tahoma; color: #fff; PADDING-TOP: 2px; background-color: #1E72AF }

.cs_gridtable th.selected { border-bottom: #cd0000 2px solid; border-RIGHT: #d2d0bb 2px solid; PADDING-RIGHT: 2px; PADDING-LEFT: 5px; PADDING-bottom: 2px; font: bold 13px Tahoma; color: #fbf805; PADDING-TOP: 2px; background-color: #1E72AF}

.cs_gridtable td { border: #CDE9FF 1px solid; PADDING-RIGHT: 6px; PADDING-LEFT: 6px; PADDING-bottom: 2px; PADDING-TOP: 2px; font: normal 12px Tahoma;  }
.cs_gridtable td_main { border-TOP: #f1efe2 1px solid; border-RIGHT: #fefefe 1px solid; border-LEFT: #e1e2e3 1px solid; PADDING-RIGHT: 6px; PADDING-LEFT: 6px; PADDING-bottom: 2px; PADDING-TOP: 2px; font: normal 12px Tahoma; }
.cs_gridtable td_selected { border: #f1efe2 1px solid; PADDING-RIGHT: 6px; PADDING-LEFT: 6px; PADDING-bottom: 2px; font: normal 12px Tahoma; PADDING-TOP: 2px; }

.cs_gridtable td a,.cs_gridtable td.tdedit a.edit:hover,.cs_gridtable td.tdview a.edit:hover{color: #3F0C0E;} 

.cs_gridtable button { border-RIGHT: #b2b09b 1px solid; PADDING-RIGHT: 2px; border-TOP: #ffffff 2px solid; PADDING-LEFT: 5px; PADDING-bottom: 2px; font: bold 12px Tahoma; border-LEFT: #ffffff 1px solid; color: #333333; PADDING-TOP: 2px; border-bottom: #b2b09b 1px solid; background-color: #1E72AF}
.cs_gridtable select { border: #b2b09b 1px solid; font: normal 12px Tahoma; background-color: #fcfaf6;}
.cs_gridtable label { font-size: 12px; font-family: Tahoma; }
.cs_gridtable textbox { border: #b2b09b 1px solid; font: normal 12px Tahoma; WIDTH:210px;PADDING-LEFT:3px;}
.cs_gridtable checkbox { border: 0px; font: normal 12px Tahoma;WIDTH:20px;}
.cs_gridtable radiobutton { border: 0px; font: normal 12px Tahoma;WIDTH:20px;}
.cs_gridtable caption { font: normal 14px Tahoma; font-WEIGHT: bold; TEXT-ALIGN:center; PADDING-bottom: 0;}
.cs_gridtable error_message { font: normal 12px Tahoma; color: #ff8822; }
.cs_gridtable ok_message { font: normal 12px Tahoma; color: #449944; }
.cs_gridtable th.addnew, .cs_gridtable th.view, .cs_gridtable td.tdedit{width:80px; white-space: nowrap;}
.cs_gridtable th a.addnewlink{font-weight: bold; color:#fff;}
.cs_gridtable th.thdelete, .cs_gridtable td.tddelete{text-align: center; width:100px;}
.cs_gridtable th.thmultiselect, .cs_gridtable td.tdmultiselect{width:15px; white-space: nowrap; padding: 2px 0 2px 5px;}
.cs_gridtable th.thmultiselect input, .cs_gridtable td.tdmultiselect input{cursor: pointer;}
.cs_gridtable td.tdmultiselect{width:30px;}
.cs_gridtable td.primary, .cs_gridtable th.primary{width:50px;white-space: nowrap;}
.cs_gridtable td a, .cs_gridtable td a.sublink{text-decoration: underline; color:#1578AF; font-weight: bold;}
.cs_gridtable th.thsorting{white-space: nowrap;}
/* Striping */
.cs_gridtable tr.alt td{background: #EFFFFF;}
.cs_gridtable tr.over td{background: #C3DFDF;}
.cs_gridtable tr.drag td, .cs_gridtable tr.over.drag td{background: #415555; color: #fff; border-top:1px solid #000;}
.cs_gridtable td input{cursor:pointer;}
.cs_gridtable td img.ListImage{float:left; width:70px; margin:0 10px 10px; border:1px solid #C3DFDF;}
.cs_gridtable tr.over td img.ListImage{border:1px solid #1E72AF;}

.cs_grid_info{position: relative; height: 20px; width:100%; padding: 5px 0; text-align: center;}
.cs_grid_info p.pagination{font-size: 0.750em; color: #000; font-weight: bold;}
.cs_grid_info p.reccount{display:block; width:100px; position:absolute; left: 2px; top:1px; text-align: left; font-size: 0.750em;}
.cs_grid_info p.cs_itemspp{display:block; width:200px; position:absolute; right: 2px; top:1px; text-align: right; font-size: 0.750em;}

#cs_grid_footer{padding: 3px 0 3px 4px;}
#cs_grid_footer label{font-weight: bold;}
#cs_grid_footer input{cursor: pointer;}
.cs_grid_message{font-weight: bold; text-align: center; color: #AF1F24;}
#cs_grid_nodata{padding: 5px 0; text-align: center;}

.cs_filter{
    padding:5px;
    margin-bottom:1.5em;
    border:1px solid #c3cfd8;
    background:#f8f9fb url(/media/images/be/boxshadebackgr.png) repeat-x left bottom;
}
.cs_filter select.active{border: 2px solid #0F318B;}
.cs_filter .cs_submit{cursor: pointer;}