/* ============================== Grid ============================= */
div.CustGridWrapper {
	padding: 0;
	border-top: solid 3px #FFF;
}

div.CustGrid {
	border-collapse: collapse;
	border-spacing: 0;
	margin: 0;
	width: 100%;
}

table.CustGrid {
	font: 8pt Arial,Verdana;
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
}

.leftimage {
	width: 16px;
	padding-right: 10px;
}
.SmallImage {
	width: 10px;
}
.SmallWidth {
	width: 30px;
	padding-left: 5px !important;
	padding-right: 5px !important;
}

.CheckBoxColumn {
	width: 20px;
	text-align: center;
	padding-left: 5px !important;
}

table.CustGridSide .bullet {
	background-image: url(../Images/Misc/BlueBullet.gif);
	background-position: top left;
	background-repeat: no-repeat;
	padding-left: 15px;
}

/* ============================== Header ============================= */
table.CustGrid thead tr {
	background-color: #DFDFDF;
	color: #333;
	font: bold 10pt Arial,Verdana;
}
table.CustGrid thead th {
	padding-top: 6px;
	padding-bottom: 6px;
	vertical-align: bottom;
	text-align: left;
	border-bottom: solid 3px #FFF;
}
table.CustGrid thead th.lc {
	padding-left: 11px;
}
table.CustGrid thead th.rc {
	padding-right: 11px;
}

table.CustGrid a.SortableHeader {
	color: #333;
	font: bold 10pt Arial,Verdana;
	text-decoration: none;
}

table.CustGrid a.SortableHeader:Hover {
	color: #0082C8;
	font: bold 10pt Arial,Verdana;
	text-decoration: underline;
}

table.CustGrid a.SortableHeader img {
	border: 0;
}

/* ============================== Regular Rows ============================= */
table.CustGrid tbody tr {
	background-color: #EFEFEF;
	color: #666;
	font: 8pt arial;
	padding-top: 6px;
	padding-bottom: 6px;
}
table.CustGrid tbody tr td {
	padding-top: 3px;
	padding-bottom: 3px;
}
table.CustGrid tbody tr td.lc {
	padding-left: 11px;
}
table.CustGrid tbody tr td.rc {
	padding-right: 11px;
}

/* ============================== Alternate Rows ============================= */
table.CustGrid tbody tr.alt {
	background-color: #EFEFEF;
	color: #666;
	font: 8pt arial;
}
table.CustGrid tbody tr.alt td {
	padding-top: 3px;
	padding-bottom: 3px;
}
table.CustGrid tbody tr.alt td.lc {
	padding-left: 11px;
}
table.CustGrid tbody tr.alt td.rc {
	padding-right: 11px;
}

/* ============================== Hover Rows ============================= */
table.CustGrid tbody tr.hover {
	background-color: #FEF1B9 !important;
	color: #333;
	font: 8pt Arial,Verdana;
}
table.CustGrid tbody tr.hover td {
	height: 25px;
	padding: 4px 4px 3px 4px;
	cursor: pointer;
}
table.CustGrid tbody tr.hover td.lc {
	padding-left: 20px;
	border-left: solid 1px #E2E2E2;
}
table.CustGrid tbody tr.hover td.rc {
	padding-right: 20px;
	border-right: solid 1px #E2E2E2;
}

/* ============================== Selected Rows ============================= */
table.CustGrid tbody tr.selected {
	background-color: #DEF0FF;
	color: #333;
	font: 8pt Arial,Verdana;
}
table.CustGrid tbody tr.selected td {
	height: 25px;
	padding: 4px 4px 3px 4px;
	cursor: pointer;
}
table.CustGrid tbody tr.selected td.lc {
	padding-left: 20px;
	border-left: solid 1px #E2E2E2;
	background-color: #DEF0FF !important;
}
table.CustGrid tbody tr.selected td.rc {
	padding-right: 20px;
	border-right: solid 1px #E2E2E2;
}

/* ============================== Footer ============================= */
table.CustGrid tfoot tr {
	background-color: #FFF;
	color: #497699;
	font: bold 8pt Arial,Verdana;
}
table.CustGrid tfoot td {
	height: 25px;
	padding: 1px 4px 0 4px;
	text-align: left;
}
table.CustGrid tfoot td.lc {
	padding-left: 20px;
	border-left: solid 1px #FFF;
}
table.CustGrid tfoot td.rc {
	padding-right: 20px;
	border-right: solid 1px #FFF;
}

/* ============================== New Row ================================= */

table.CustGrid tbody tr.newrow {
	font: bold 8pt Arial,Verdana;
}

/* ========================== First and Last Rows =========================== */

table.CustGrid tr.firstrow td {
	padding-top: 10px !important;
}

table.CustGrid tr.lastrow td {
	padding-bottom: 10px !important;
}

/* ============================== Empty Row ================================= */

table.CustGrid .NoItems {
	text-align: center;
	font: bold 9pt Arial, Verdana; 
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 20px;
	border: solid 1px #FFF; 
	background-color: #FFF;
	color: #666;
}

/* ============================== Hyperlinks ============================= */

table.CustGrid a {
	color: #555;
	text-decoration: underline;
}
table.CustGrid a:hover {
	color: #0082C8;
	cursor: pointer;
	text-decoration: underline;
}


/* ============================== Alignment Helpers ============================= */

.al {
	text-align: left !important;
}
.ar {
	text-align: right !important;
}
.ac {
	text-align: center !important;
}
.aj {
	text-align: justify !important;
}
.nw {
	white-space: nowrap;
}
.fr { float: right; }
.fl { float: left; }

/* ============================== Pager ============================= */
span.CustPagerWrapper {
	padding-top: 0;
	padding-bottom: 0;
	padding-left: 0;
	padding-right: 0;
	margin-bottom: 4px;
}

span.CustPager {
	border-collapse: collapse;
	border-spacing: 0;
	margin: 0;
	padding-left: 0;
	vertical-align: middle;
}

span.CustPager span.hpGroup {
	font: 9pt arial;
	color: #999;
	padding-left: 2px;
	padding-right: 2px;
}

span.CustPager span.hpPage {
	font: 9pt arial;
	color: #999;
}

span.CustPager span.hpPageCurrent {
	padding-left: 1px;
	padding-right: 1px;
	font: 9pt arial;
	background: #FFF url(../Images/Customer/Pager/downState.gif) repeat-x top;
}

span.CustPager a {
	color: #000;
	text-decoration: none;
	cursor: pointer;
}

span.CustPager span.hpGroup a {
}

span.CustPager span.hpPage a {
	padding-left: 1px;
	padding-right: 1px;
}

span.CustPager a:hover {
	color: #000;
	background: #FFF url(../Images/Customer/Pager/hoverState.gif) repeat-x top;
	text-decoration: none;
	cursor: pointer;
}

span.HyperPager .pagerarrow {
	vertical-align: middle;
	border: 0;
}

span.HyperPager .pagerarrow img {
	height: 15px;
}
