BODY, P
{
	font-size: smaller;
	margin: 0px;
	font-family: Arial, Helvetica, sans-serif;
}

H1
{
	font-size: medium;
	color: dimgray;
	font-family: Arial, Helvetica, sans-serif;
	text-align: center;
}

/*
** Data Entry Page
*/
TABLE.DataEntryForm
{
	font-size: 80%;
	width: 100%;
}
TABLE.DataEntryForm td
{
	font-size: 80%;
	width: 100%;
	background-color: #FEF2CB;
	padding: 5px;
}


/*
** The Title bar of a Data Entry Page
*/
TR.DataEntryTitle
{
	font-size: 120%;
	font-weight: bold;
	color: whitesmoke;
	letter-spacing: 0.1em;
	background-color: #284a67;
	text-align: left;
}

TR.DataEntryTitle TH
{
	border-top: dimgray 1px solid;
	padding-bottom: 0.3em;
	padding-top: 0.3em;
}
TR.DataEntryFooter
{
	display: none;
	visibility: hidden;
}
TR.DataEntryFooter TD
{
	padding-bottom: 0.2em;
	border-bottom: #284a67 0 solid;
}

TR.DataEntryFooter INPUT.Button
{
	width: 100px;
}

div.DataEntryFooter
{
	text-align: right;
	padding-top: 20px;
}
/*
** A non-editable data entry control
*/
SPAN.DataEntry
{
}

/*
** The status message that is displayed on error or when the row is saved
*/
.DataEntryFormMessage
{
	color: #ff0000;
}

/*
** Validation Messages and Summary
*/
.MsgVal, .MsgValSummary
{
	font-size: x-small;
	color: red;
}
.MsgValSave, .MsgValError
{
	font-family: arial, Verdana , Tahoma Sans-Serif;
	font-size: 11px;
	color: #003c94;
	font-weight: bold;
	width: 100%;
	height: 24px;
	padding-top: 4px;
	border: solid 1px #ccc;
	background-image: url(/images/footergradient.gif);
	text-align: center;
	text-transform: uppercase;
	margin-bottom: 12px;
}
.MsgValError
{
	color: #f00;
}
/*
** Data Entry Form
*/
SPAN.RequiredFieldMark
{
	color: #ff0000;
}

TABLE.DataEntryForm td.fieldcaption
{
	width: 40%;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-style: normal;
	font-weight: normal;
	color: #515251;
	background-color: #FFFFFF;
	text-align: left;
	vertical-align: top;
	padding: 5px;
}

/*
** Data entry controls 
*/
.DataEntry
{
	font-family: Arial, Helvetica, sans-serif;
}

/*
** Search page styles
*/
TABLE.SearchForm
{
	font-size: 80%;
	border-collapse: collapse;
	background-color: #FEF2CB;
	width: 100%;
}

TR.SearchTitle
{
	font-size: 120%;
	font-weight: bold;
	color: whitesmoke;
	letter-spacing: 0.1em;
	background-color: #284a67;
	text-align: left;
}

TR.SearchTitle TH
{
	border-top: dimgray 1px solid;
	padding-bottom: 0.3em;
	padding-top: 0.3em;
}

TR.SearchFooter TD
{
	padding-bottom: 0.2em;
	border-bottom: #284a67 thin solid;
}

TR.Criteria
{
}

TR.SearchFooter INPUT.Button
{
	width: 100px;
}



/*
** DataGrid TABLE
*/
TABLE.DataGrid
{
	border: solid 1px #CCCCCC;
	font-size: 11px;
	background-color: #fff;
	width: 100%;
	color: #004A8F;
}

/*
** DataGrid Header Row
*/
TR.DataGridHeader
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-style: normal;
	font-weight: normal;
	color: #515251;
	background-color: #FFFFFF;
	vertical-align: middle;
}
TR.DataGridHeader td
{
	padding: 4px;
}

TR.DataGridHeader A
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-style: normal;
	font-weight: normal;
	color: #515251;
	text-decoration: none;
}


/*
** DataGrid SubHeader Row
*/
TR.DataGridHeaderSub, TR.DataGridHeaderSub TD
{
	border-top: steelblue 1px solid;
	background-color: #FEF2CB;
}

/*
** DataGrid Footer Row
*/
TR.DataGridFooter
{
	color: steelblue;
	background-color: whitesmoke;
}

/*
** DataGrid Pager Row at the bottom of the datagrid if paging is enabled
*/
TR.DataGridPager
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: normal;
	background-color: #ffffff;
}
TR.DataGridPager span
{
	color: #515251;
}
TR.DataGridPager a
{
	color: #515251;
}
TR.DataGridPager a:hover
{
	color: #E10000;
	text-decoration:none;
}
/*
** DataGrid Normal Row
*/
TR.DataGridItem
{
	background-color: #FEF2CB;
	border: solid 1px #000;
}
TR.DataGridHeader td, TR.DataGridPager td, TR.DataGridItemAlt td, TR.DataGridItem td
{
	border: solid 1px #CCCCCC;
	padding: 8px;
}
TR.DataGridPager td
{
	text-align: right;
	padding: 4px;
}


/*
** DataGrid Alternate Row - every second row
*/

TR.DataGridItemAlt a, TR.DataGridItem a, TABLE.DataEntryForm td a
{
	text-decoration: udnerline;
	font-size:11px;
	color: #004A8F;
}

TR.DataGridItemAlt a:hover, TR.DataGridItem a:hover,TABLE.DataEntryForm td a:hover
{
	text-decoration: none;
	color: #f00;
}

TR.DataGridItemAlt
{
	background-color: #FEF2CB;
	border: solid 1px #000;
}

/*
** DataGrid Selected Row
*/
TR.DataGridItemSelected
{
	font-weight: bold;
	color: whitesmoke;
	background-color: steelblue;
}

/*
** Special Formatting for links on the selected row on the DataGrid
*/
TR.DataGridItemSelected A:link, TR.DataGridItemSelected A:visited
{
	color: whitesmoke;
}

TR.DataGridItemSelected A:hover
{
	color: white;
}

/*
** DataGrid Row being edited
*/
TR.DataGridItemEdit
{
	background-color: #E1DFC6;
}

/*
** borders for the DataGrid Header have to be applied to the Cells (not the row)
*/



/*
** Layout Styles
*/
#HeadingTable
{
	border-left: 10px solid #1958b7;
	border-right: 10px solid #508fc4;
	border-bottom: 1px solid #508fc4;
}

.SiteHeading
{
	background-color: #fff;
}

.SiteLogo
{
	width: 130px;
}

.SiteTitle
{
}

.SiteTitle H1
{
	padding-bottom: 0;
	margin-bottom: 0;
	padding-top: 1em;
	padding-bottom: 0.2em;
	font-size: medium;
	color: #fff;
}

#ContentArea
{
	border-right: fuchsia thin solid;
	border-top: fuchsia thin solid;
	border-left: fuchsia thin solid;
	border-bottom: fuchsia thin solid;
}


/* based on menu from - http://www.alistapart.com/articles/taminglists */
#Menu
{
	padding-right: 0px;
	padding-left: 0px;
	font-size: x-small;
	float: left;
	margin-bottom: 1em;
	padding-bottom: 0.5em;
	width: 140px;
	color: #333333;
	padding-top: 0px;
}

#Menu ul
{
	list-style: none;
	margin: 0;
	padding: 0;
	border: none;
}

#Menu li
{
	border-bottom: 1px solid #90bade;
	margin: 0;
}

#Menu li a
{
	display: block;
	padding: 5px 5px 5px 0.5em;
	border-left: 10px solid #1958b7;
	border-right: 10px solid #508fc4;
	background-color: #2175bc;
	color: #fff;
	text-decoration: none;
	width: 100%;
	border-bottom: 1px solid #508fc4;
}

html > body #Menu li a
{
	width: auto;
}

#Menu li a:hover
{
	border-left: 10px solid #1c64d1;
	border-right: 10px solid #5ba3e0;
	background-color: #2586d7;
	color: #fff;
}


#Content
{
	padding-right: 1em;
	padding-left: 1em;
	padding-bottom: 1em;
	padding-top: 1em;
}

#Footer
{
	border-top: gainsboro 1px solid;
	padding-left: 1em;
	font-size: xx-small;
	padding-bottom: 0.5em;
	padding-top: 0.5em;
	border-bottom: gainsboro 1px solid;
}

p.addnewbutton
{
	text-align: right;
	padding-top: 12px;
}
td.imagelistlink
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: normal;
	background-color: #FEF2CB;
	color: #004A8F;
	border-top: solid 1px #ccc;
}

td.imagelistlink a
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: normal;
	color: #004A8F;
	text-decoration: underline;
}
td.imagelistlink a:hover
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: normal;
	color: #f00;
	text-decoration: none;
}

.hide
{
	display:none;
	visibility: hidden;
	}
