* {
	font-family:Arial, Helvetica, sans-serif;
	font-size:small;
}

body {
	width:779px;
	margin:20px auto;
	background: url("bg.gif");
}

img{
border:0;
 }

.hide {
	display:none;
}

/***  Header  ***/
#oDivHeader {
	width:800px;
	height:90px;
	float:left;
	background:#ffc;
	background:#ffc url("top_bg2_GrantsAnalysis.gif") no-repeat left;
	border-top:4px solid #333;
	border-left:1px solid #333;
	border-right:1px solid #333;
}

#oDivHeader img {
	float:right;
}

/*** Unused
#oDivHeader #oDivTopRight {
	width:179px;
	height:80px;
	float:left;
	overflow:hidden;
	background:#ffc url("corner.gif") no-repeat top left;
	padding-left:20px;
}
***/

/*** Top Navigation Menu ***/

#oUlMainNav{
	width:779px;
	height:25px;
	margin:0;
	padding:0;
	float:left;
	display:block;
	background:#333;
	list-style:none;
	
}

#oUlMainNav li{
	float:left;
}

#oUlMainNav a{
	width:129px;
	height:20px;
	display:block;
	padding-top:5px;
	border-left:1px solid #fff;
	color:#fff;
	text-align:center;
	text-decoration:none;
	font-size:small;
}

#oUlMainNav a:hover{
	background:#666;
}

#oUlMainNav li a#oLinkMainNavFirst{
	border-left:0;
}

#oUlMainNav li a#oLinkMainNavLast{
	border-right:1px solid #fff;
}

#oUlMainNav li ul { /* second-level lists */
	position: absolute;
	margin:0;
	padding:0;
	width: 129px;
	left: -999em; 
	list-style:none;	
	background:#333;
	
}

#oUlMainNav li:hover ul, #oUlMainNav li li:hover ul, #oUlMainNav li.sfhover ul, #oUlMainNav li li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
}


#oUlMainNav li ul li a{
	border-left:0;
	font-size:x-small;
	width:119px;
	height:18px;
	padding-top:5px;
	padding-left:10px;
	text-align:left;
}

/***  Content ***/

#oDivContent {
	width:777px;
	float:left;
	border-left:1px solid #333;
	border-right:1px solid #333;
	border-bottom:1px solid #333;
	background:#ffc;
}

/***  Main Content ***/
#oDivContent #oDivMainContent{
	width:540px;
	float:none;
	margin-left: auto;
	margin-right: auto;
}

#oDivContent #oDivMainContent h1{
	width:540px;
	float:left;
	margin-bottom:5px;
	padding-right:20px;
	padding-bottom:5px;
	border-bottom:1px solid #000;	
	font-size:small;
}

#oDivContent #oDivMainContent h2{
	width:540px;
	float:left;
	margin:5px 0;
	padding-right:20px;
	font-size:small;	
	clear:both;
}
#oDivContent #oDivMainContentSpace{
	width:540px;
	float:left;
	margin:5px 0;
	padding-right:20px;
	font-size:small;	
	clear:both;
}


#oDivContent #ODivMainContentBorder{
	border-bottom:1px solid #000;
	}

#oDivContent #oDivMainContentLegend{
	width:540px;
	float:center;
	margin-left: auto;
	margin-right: auto;
	}

/***  Footer  ***/
#oDivFooter {
	width:779px;
	height:20px;
	float:left;
	font-size:xx-small;
	color:#fff;
	background:#333;	
}

	#oDivFooter a	{
		font-size:xx-small;
		color:#FFFFFF;
		text-decoration: none;
		padding-left: 50px;
	}
	
	#oDivFooter a:hover	{
		text-decoration: underline;
	}
#ColorRed{
	color:red;
	}
.BootomBorder{
	
	
	width:540px;
	border-bottom:1px solid #000;
}
.frmviewSize
{
	width :777px;
	float:none;
	margin-left: auto;
	margin-right: auto;
	padding-left:7px;
}
