﻿.GridViewStyle
{
	_height: expression(this.ScrollHeight>565?"565px":"auto");
	font: 13px/16px "segoe ui" ,arial,sans-serif;
	table-layout: auto;
	border-collapse: collapse;
	border: 1.01px solid #999;
	background: #fff;
	color: #000;
}


/* girdview 上部分  ******************************/
.HeaderDiv
{
	background: #c6c6c6;
	color: #000;
	border-bottom: 1px solid #7c7c7c;
	font: 12px/16px "segoe ui" ,arial,sans-serif;
}

.HeaderDiv a
{
	color: #000 !important;
	text-decoration: none !important;
}

.HeaderDiv table
{
	border: 1px solid #999;
	width: 100%;
}

.HeaderDiv table td
{
	border: 0;
	padding: 2px 7px 4px 7px;
}

.HeaderDiv .add
{
	padding: 2px 20px 2px 20px;
	background-image: url('../image/commandItem/AddRecord1.gif');
	background-repeat: no-repeat;
	background-position: left center;
}

.HeaderDiv .refresh
{
	background-image: url('../image/commandItem/Refresh1.gif');
	background-repeat: no-repeat;
	background-position: left center;
	padding: 2px 20px 2px 20px;
}

/* girdview 上部分  ***************************/

.HeaderStyle, .PageStyle
{
	border: solid #9e9e9e;
	border-width: 0 0 1px 0px;
	background: #e4e4e4;
	text-align: center;
}

.HeaderStyle th
{
	border-style: solid;
	border-color: #9e9e9e;
	padding: 3px;
	color: #000;
	border-width: 0 0 1px 0px;
	background: #e4e4e4;
	font-weight: normal;
}

.HeaderStyle a
{
	text-decoration: none;
	display: block;
	text-align: center;
	font-weight: normal;
	color: #892500;
}

.PageStyle
{
	background: #e4e4e4;
	text-align: left;
}

.PageStyle table
{
	text-align: left;
	border-collapse: collapse;
	padding-top: 4px;
	padding-bottom: 4px;
}

.PageStyle table td
{
	border: 0px solid;
	padding: 6px !important;
}

.PageStyle td
{
	border-top: #91a7b4 1px solid;
	text-align: left !important;
}

.PageStyle a
{
	text-decoration: none;
	padding: 2px 4px 2px 4px;
	border: 1px solid #e4e4e4;
	line-height: 20px;
	color: #000;
}

.PageStyle a:hover
{
	text-decoration: none;
	border-color: #c98400;
	background: #ffe79c;
	color: #892500;
}

.PageStyle td span
{
	padding: 1px 4px 3px 4px;
	border: 1px solid #ca4b0c !important;
	background: transparent;
	color: #892500;
}

.rgPagePrev, .rgPageNext, .rgPageFirst, .rgPageLast
{
	background-image: url('Grid/sprite_simple.gif');
	width: 22px;
	height: 22px;
	vertical-align: top;
	border: 0;
	margin: 0;
	padding: 0;
	background-color: transparent;
	background-repeat: no-repeat;
	font-size: 1px;
	cursor: pointer;
}

 .rgPageFirst,
 .rgPagePrev
{
	margin-right:1px;
}

 .rgPageNext,
 .rgPageLast
{
	margin-left:1px;
}

.rgPageFirst
{
	background-position: 0 -550px;
}
.rgPageFirst:hover
{
	background-position: 0 -600px;
}
.rgPagePrev
{
	background-position: 0 -700px;
}
.rgPagePrev:hover
{
	background-position: 0 -750px;
}
.rgPageNext
{
	background-position: 0 -850px;
}
.rgPageNext:hover
{
	background-position: 0 -900px;
}
.rgPageLast
{
	background-position: 0 -1000px;
}
.rgPageLast:hover
{
	background-position: 0 -1050px;
}

.RowStyle, .AltRowStyle, .SelectedRowStyle, .EditRowStyle
{
    border-width: 0px 1px 0px 1px;
    border-style: solid;
    border-color: #999;
}

.RowStyle td, .AltRowStyle td, .SelectedRowStyle td, .EditRowStyle td
{
	padding: 5px 8px 5px 8px;
	border-style: solid;
	border-width: 0 0 1px 1px;
}

.RowStyle td
{
	border-color: #c3c3c3;
}

.RowStyle a, .AltRowStyle a
{
	color: #00156e;
}

.AltRowStyle td
{
	border-color: #c3c3c3;
	background-color: #ededed;
}

.SelectedRowStyle td
{
	background: #ffcb60 0 -3900px repeat-x url('Grid/sprite_simple.gif');
	color: #892500;
	border-color: #ca4b0c #ffcb60 #ca4b0c #ffcb60;
	border-bottom: 1px solid #ca4b0c;
}

.SelectedRowStyle a, .EditRowStyle a
{
	color: #892500;
}

.EditRowStyle td
{
	background: #e6f0fd 0 -4900px repeat-x url('Grid/sprite_window7.gif');
	border-left-color: #e6f0fd;
}

.FooterStyle td
{
	padding-left: 8px;
	padding-top: 4px;
	padding-bottom: 4px;
	color: Black;
	border-width: 1px 0;
	border-color: #999 #c3c3c3;
	background: #c6c6c6;
}

.mouseover td
{
	background: #ffe79c 0 -2900px repeat-x url('Grid/sprite_simple.gif');
	color: #892500;
	border-bottom-color: #ecf4ff;
	border-left-color: #ffe79c;
}

.select td
{
	background: #ffa517;
	color: #892500;
	border-left-color: #ffa517;
}

.EmptyDataRowStyle td
{
	padding: 5px;
	color: Red;
}

