.zpGridVeryLightblue {
	border-collapse: collapse;
	border: 0px;
}

 .zpGridTable {
	padding: 0px;
}

 .zpGridTableTable {
	border-collapse: collapse;
}

 .zpGridTable .zpGridCell {
	border: 1px solid #ccc;
	border-top: 0px;
	padding: 3px 5px;
	font: 11px Tahoma, Arial, sans-serif;
	cursor: default;
}

 .zpGridTable .zpGridDiv {
	overflow: hidden;
}

/* Alignment depending from type */

 .zpGridTypeInt,
 .zpGridTypeIntGerman,
 .zpGridTypeFloat,
 .zpGridTypeFloatGerman
{
	text-align: right;
}

 .zpGridCell0 .zpGridTypeInt,
 .zpGridCell0 .zpGridTypeIntGerman
{
	text-align: center;
}

 .zpGridTypeBoolean,
 .zpGridTypeBooleanTF {
	text-align: center;
}

/* Alignment horizontal */

 .zpGridCol .zpGridField .zpGridDiv {
	text-align: left;
}

/* Header */
.zpGridTable .zpGridRow0 .zpGridCell {
	background: url(VeryLightblue/headbg.jpg) repeat-x top #CDD8EB;
	border-top: 1px solid #ccc;
	border-right: none;
	border-left: none;
	padding: 5px 5px 3px 6px;
	vertical-align: top;
	font: bold 11px Tahoma, Arial, sans-serif;
	color: #000;  
	cursor: pointer;
}

 .zpGridTable .zpGridField0 {
	border-left: 1px solid #ccc;
}

 .zpGridField .zpGridSpan {
	display: block;
	padding-right: 10px;
	height: 100%;
	overflow: hidden;
}

/* Header horizontal */

 .zpGridTable .zpGridCol .zpGridField {
	background: url(VeryLightblue/headbg.jpg) repeat-x top #CDD8EB;
	border-top: 1px solid #ccc;
	border-right: none;
	border-left: none;
	padding: 5px 5px 3px 6px;
	vertical-align: top;
	font: bold 11px Tahoma, Arial, sans-serif;
	color: #000;  
	cursor: pointer;
}

/* Active header */

 .zpGridTable tr.zpGridRow0 .zpGridCellActive {
	background: url(VeryLightblue/headbgsel.jpg) repeat-x top #ACB5CD;
}

/* Active header horizontal */

 .zpGridTable .zpGridCol .zpGridFieldActive {
	background: url(VeryLightblue/headbgsel.jpg) repeat-x top #ACB5CD;
}

/* Sorted header */

 .zpGridTable tr.zpGridRow0 .zpGridSortedAsc .zpGridDiv {
	background: url(VeryLightblue/sortedasc.gif) no-repeat right center;
}

 .zpGridTable tr.zpGridRow0 .zpGridSortedAscActive .zpGridDiv {
	background: url(VeryLightblue/sortedasc.gif) no-repeat right center;
}

 .zpGridTable tr.zpGridRow0 .zpGridSortedDesc .zpGridDiv {
	background: url(VeryLightblue/sorteddesc.gif) no-repeat right center;
}

 .zpGridTable tr.zpGridRow0 .zpGridSortedDescActive .zpGridDiv {
	background: url(VeryLightblue/sorteddesc.gif) no-repeat right center;
}

 .zpGridTable tr.zpGridRow0 .zpGridSortedAsc .zpGridDiv .zpGridSpan,
 .zpGridTable tr.zpGridRow0 .zpGridSortedDesc .zpGridDiv .zpGridSpan
{
	display: block;
	padding-right: 10px;
}

/* Sorted header horizontal */

 .zpGridTable .zpGridCol .zpGridSortedAsc .zpGridDiv {
	background: url(VeryLightblue/sortedasch.gif) no-repeat right center;
}

 .zpGridTable .zpGridCol .zpGridSortedAscActive .zpGridDiv {
	background: url(VeryLightblue/sortedasch.gif) no-repeat right center;
}

 .zpGridTable .zpGridCol .zpGridSortedDesc .zpGridDiv {
	background: url(VeryLightblue/sorteddesch.gif) no-repeat right center;
}

 .zpGridTable .zpGridCol .zpGridSortedDescActive .zpGridDiv {
	background: url(VeryLightblue/sorteddesch.gif) no-repeat right center;
}

 .zpGridTable .zpGridCol .zpGridSortedAsc .zpGridDiv .zpGridSpan,
 .zpGridTable .zpGridCol .zpGridSortedDesc .zpGridDiv .zpGridSpan
{
	display: block;
	padding-right: 10px;
}

/* Data */

 .zpGridTable .zpGridRow {
	background: #FFF;
}

 .zpGridTable .zpGridRowOdd  {
	background: #F7F9FF;
}

 .zpGridTable .zpGridRowLast .zpGridCell {
	border-bottom: solid 2px #CCC;
}

 .zpGridTable .zpGridCell0 {
	background: url(VeryLightblue/bgleft.jpg) repeat-y left #FFF;
	border-width: 0px 1px 1px 0px;
	border-style: solid;
	border-color: #CCC;
	color: #000;
}

 .zpGridTable .zpGridCellLast {
	border-right: 0px;
	background: url(VeryLightblue/bgright.jpg) repeat-y right #FFF;
}

 .zpGridTable .zpGridRowOdd .zpGridCell0 {
	background: url(VeryLightblue/oddbgleft.jpg) repeat-y left #F7F9FF;
	border-right: 0px;
}

 .zpGridTable .zpGridRowOdd .zpGridCellLast {
	background: url(VeryLightblue/oddbgright.jpg) repeat-y right #F7F9FF;
	border-right: 0px;
}

/* Data horizontal */

 .zpGridCol  {
	background: #FFF;
}

 .zpGridColOdd  {
	background: #F7F9FF;
}

 .zpGridCol0 .zpGridCell {
	border-top: solid 1px #CCC;
}

 .zpGridColLast .zpGridCell {
	border-bottom: solid 2px #CCC;
}

 .zpGridColOdd .zpGridCell0 {
	background: url(VeryLightblue/oddbgleft.jpg) repeat-y left #F7F9FF;
	border-right: 0px;
}

 .zpGridColOdd .zpGridCellLast {
	background: url(VeryLightblue/oddbgright.jpg) repeat-y right #F7F9FF;
	border-right: 0px;
}

/* Active row and cell */

 .zpGridTable .zpGridRowActive {
	background: #FFF0E8;
}

 .zpGridTable .zpGridRowActive .zpGridCell0 {
	background: url(VeryLightblue/selbgleft.jpg) repeat-y left #FFF0E8;
}

 .zpGridTable .zpGridRowActive .zpGridCellLast {
	background: url(VeryLightblue/selbgright.jpg) repeat-y right #FFF0E8;
}

/* Active cell horizontal */

 .zpGridCol .zpGridCellDataActive {
	background: #FFF0E8;
}

 .zpGridCol .zpGridCellDataActive0 {
	background: url(VeryLightblue/selbgleft.jpg) repeat-y left #FFF0E8;
}

 .zpGridCol .zpGridCellDataActiveLast {
	background: url(VeryLightblue/selbgright.jpg) repeat-y right #FFF0E8;
}

/* Selected row and cell */

 .zpGridTable .zpGridRowSelected .zpGridCell {
	background: #e90;
}

 .zpGridTable .zpGridRow .zpGridCellSelected {
	background: #e60;
}

/* Selected cell horizontal */

 .zpGridCol .zpGridCellSelected {
	background: #e60;
}

/* Editable row and cell */

 .zpGridTable .zpGridRowEditableOdd .zpGridCell {
	background: #F7F9FF;
}

 .zpGridTable .zpGridRowEditableOdd .zpGridCell0 {
	background: url(VeryLightblue/oddbgleft.jpg) repeat-y left #F7F9FF !important;
}

 .zpGridTable .zpGridRowEditableOdd .zpGridCellLast {
	background: url(VeryLightblue/oddbgright.jpg) repeat-y right #F7F9FF !important;
}

 .zpGridTable .zpGridRowEditableEven .zpGridCell {
	background: #FFF;
}

 .zpGridTable .zpGridRowEditableEven .zpGridCell0 {
	background: url(VeryLightblue/bgleft.jpg) repeat-y left #fff !important;
}

 .zpGridTable .zpGridRowEditableEven .zpGridCellLast {
	background: url(VeryLightblue/bgright.jpg) repeat-y right #fff !important;
}

 .zpGridTable .zpGridRow .zpGridCellEditable {
	text-align: left !important;
}

/* Editable cell horizontal */

 .zpGridCol .zpGridCellEditableOdd {
	background: #F7F9FF;
}

 .zpGridColEditableOdd .zpGridCell0 {
	background: url(VeryLightblue/oddbgleft.jpg) repeat-y left #F7F9FF !important;
}

 .zpGridColEditableOdd .zpGridCellLast {
	background: url(VeryLightblue/oddbgright.jpg) repeat-y right #F7F9FF !important;
}

 .zpGridCol .zpGridCellEditableEven {
	background: #FFF;
}

 .zpGridColEditableEven .zpGridCell0 {
	background: url(VeryLightblue/bgleft.jpg) repeat-y left #fff !important;
}

 .zpGridColEditableEven .zpGridCellLast {
	background: url(VeryLightblue/bgright.jpg) repeat-y right #fff !important;
}

 .zpGridCol .zpGridCellEditable {
	text-align: left !important;
}

/* Editable grid textarea and selectbox */

 .zpGridTable .zpGridRow .zpGridCellEditable .zpGridTextarea,
 .zpGridTable .zpGridRow .zpGridCellEditable .zpGridSelect,
 .zpGridCol .zpGridCellEditable .zpGridTextarea,
 .zpGridCol .zpGridCellEditable .zpGridSelect
{
	background: #ebebeb;
	margin: 0px;
	border: 0px;
	padding: 0px;
	font: 11px Tahoma, Arial, sans-serif;
	overflow: hidden;
}

/* Editable grid checkbox */

 .zpGridTable .zpGridRow .zpGridCellEditable .zpGridInput,
 .zpGridCol .zpGridCellEditable .zpGridInput
{
	height: 13px;
	width: 13px;
	margin: 0px;
}

/* Invalid row and cell */

 .zpGridTable .zpGridRowInvalid .zpGridCell {
}

 .zpGridTable .zpGridRow .zpGridCellInvalid,
 .zpGridCol .zpGridCellInvalid
{
	background: #f00;
	color: #FFF;
}

/* Saved cell */

 .zpGridTable .zpGridRow .zpGridCellSaved,
 .zpGridCol .zpGridCellSaved
{
	background: #090;
	color: #FFF;
}

/* Not saved cell */

 .zpGridTable .zpGridRow .zpGridCellNotSaved,
 .zpGridCol .zpGridCellNotSaved
{
	background: #F00;
	color: #FFF;
}

/* Resizable column */

 .zpGridColMargin {
	position: absolute;
	right: -8px;
	/* Needed for IE in non standards compliant mode */
	left: expression(this.parentNode.offsetWidth + 2 + 'px');
	background: url(VeryLightblue/headsepbg.gif) repeat-y center;
	width: 6px;
	height: 100%;
	/* Needed for IE 6 */
	height: expression(this.parentNode.offsetHeight + 'px');
}

 .zpGridColResize,
.zpGridVeryLightblueColResize
{
	position: absolute;
	z-index: 100;
	right: -8px;
	/* Needed for IE in non standards compliant mode */
	left: expression(this.parentNode.offsetWidth + 2 + 'px');
	background: url(VeryLightblue/resizemargin.gif) repeat-y center top;
	width: 6px;
	height: 100%;
	/* Needed for IE 6 */
	height: expression(this.parentNode.offsetHeight + 'px');
	cursor: e-resize;
}

 .zpGridColResizeHidden,
.zpGridVeryLightblueColResizeHidden
{
	position: absolute;
	right: -8px;
	/* Needed for IE in non standards compliant mode */
	left: expression(this.parentNode.offsetWidth + 2 + 'px');
	background: url(VeryLightblue/headsepbg.gif) repeat-y center;
	width: 6px;
	height: 100%;
	/* Needed for IE 6 */
	height: expression(this.parentNode.offsetHeight + 'px');
	cursor: e-resize;
}

/* Pagination */

 .zpGridPagination {
	font: 12px Arial, sans-serif;
	color: #000;
	text-align: center;
	padding-top:5px;
	color: #6D788B;
}

 .zpGridPagination .zpGridPage {
	text-decoration: underline;
	cursor: pointer;
}

 .zpGridPagination .zpGridNextPage,
 .zpGridPagination .zpGridPrevPage {
	cursor: pointer;
	font-weight: bold;
	padding: 0px 4px 0px 4px;
	color: #ADB8CB;
}

 .zpGridPagination .zpGridNextPage:hover, 
 .zpGridPagination .zpGridPrevPage:hover {
	color: #CD989B; 
}

 .zpGridPagination .zpGridFirstPage,
 .zpGridPagination .zpGridLastPage {
	cursor: pointer;
	font-weight: bold;
	color: #ADB8CB;
}

 .zpGridPagination .zpGridFirstPage:hover, 
 .zpGridPagination .zpGridLastPage:hover {
	color: #CD989B; 
}

 .zpGridPagination .zpGridCurrentPage {
	font-weight: bold;
}

.zpGridVeryLightblueMouseSelection {
	border: 1px dotted #000;
}

