body 
{
	font-family:Verdana, sans-serif;
	font-size:12px;
	padding: 0px;
	margin: 0px;
	text-align: center; 			/* force centering of page for all browsers */
}

h1
{
	font-size: 32px;
	text-align:center; 
	margin:0px;
}

h2
{
	font-size:24px;
	margin-top:5px;
	margin-bottom:10px;
}

h3
{
	margin-top: 10px;
	font-size:16px; 
	margin-bottom:10px;
}

p
{
	margin-top:0px;
	margin-bottom:10px;
}

p.interface
{
	margin-top: 0;
	margin-bottom: 8pt;
}

.emphasize
{
	font-weight:bold;
}


#container 
{
	width: 960px;					/* Subtract 40 pixels from the target resolution (760, 955, 1240) */
	margin-left:auto;
	margin-right:auto;
	margin-top:0px;
	text-align: left; 				/* reset text alignment to normal */
	/*padding: 20px;*/
	background-color: white;
	/*background-image: url(../images/img04.jpg);
	background-position: bottom left;
	background-repeat: repeat-x;*/
}
* html #container{                  /* fix for IE, because its stupid */
	width: 990px;
}

* html #containerCD{                /* fix for IE, because its stupid */
	width: 990px;
}

#containerCD 						/* this is only used for the context diagram pages */
{
	/* Alex's addition */
	width: 920px;
	position: relative;
	/*width: 950px;*/					/* Subtract 40 pixels from the target resolution (760, 955, 1240) */
	margin-left:auto;
	margin-right:auto;
	margin-top:0px;
	text-align: left; 				/* reset text alignment to normal */
	padding: 20px;
	background-color: #f8f7db;
	background-image: url(../images/img04.jpg);
	background-position: bottom left;
	background-repeat: repeat-x;
	padding-bottom: 0px;
}

#content 
{
	width: 918px;  					/* container width minus leftBar width minus 20px more*/
	float:right;
	min-height: 500px;
	padding: 4px 20px 20px 20px;
	/*background: url(../images/img05.gif) repeat-y;*/
	margin-left: 24px;
	border-left: 1px solid rgb(102, 102, 102);
	border-right: 1px solid rgb(102, 102, 102);
}

#contentCD                          /* this is only used for the context diagram pages */
{
	/*width: 750px;*/
	/*MODIFICATION HERE*/
	/* Alex's Addition */
	width: 920px;  					/* container width minus leftBar width minus 20px more*/
	float:right;
	min-height: 500px;
	/*background: url(../images/img05.gif) repeat-y;*/
	margin-left: 24px;
	/*overflow: scroll;*/
}

#containerCD table, #containerCD tr, #containerCD tbody, #containerCD th, #containerCD td  /* disable tables for CD class */
{
	/*max-width: 790px;*/
	/*MODIFICATION HERE*/
	width: 100%;
	float: right;
}

#containerCD img
{
	/*MODIFICATION HERE*/
	max-width: 100%;
}

#containerCD .contextCell{
	position: relative;
}

#containerCD > .contextTable {
    /*margin-left: 10px;
    position: absolute;
    left: -10px;
    width: 860px;
    top: 25px;
    padding: 0px;*/
   position: relative;
   width: 961px;
   background: white;
   float: left;
   margin-left: -20px;
   border-right: 1px solid rgb(102, 102, 102);;
   border-left: 1px solid rgb(102, 102, 102);;
}

#containerCD > .contextTable .contextRow{
	position: relative;
	width: 955px;
}

#containerCD > .contextTable .contextCell{
	position: relative;
	width: 955px;
}

#containerCD .contextTable .contextRow .contextCell>#leftBar         /* alignment fix due to added table tag */
{
	/*MODIFICATION HERE*/
	/*left: 5px;*/
	position: relative;
}

#containerCD .contextTable .contextRow .contextCell>#contentCD
{
	padding-left: 10px;
	margin-top: -5px;
}

#containerCD > #footer{
	position: relative;
	width: 960px;
	margin-left: -20px;
	background: white;
}

#content a {
	color: #a00;
	font-size: 1em;
}
#content a:hover {
	text-decoration: none;
}
#content a:visited {
	color: #F00;
}


#header 
{
	background-image: url(../images/header_other.gif);
	height:120px; 					/* This needs to be the height of the above background image */
	background-repeat:no-repeat;
	position:relative;
	color:#000000;
	margin: 20px auto auto auto;
	width: 990px;
}

#footer {
	clear:both;
	height: 20px;
	border-top-width: 0px;
	margin-top: 5px;

}

#footer p {
	text-align: center;
	color: #dddddd;
	font-size: 10px;
	line-height: 2;
}


/************************** Navigation CSS *******************************/
/* Menu */

#menu {
	width: 990px;
	height: 40px;
	background-image: url(../images/menu_bar.jpg);
	margin: 0px auto 0px auto;
}

#menu ul {
	/*width: 230px;*/
	/*margin-left: auto;
	margin-right: auto;*/
	margin-top: 0px;
	margin-bottom: 0px;
	/*margin: 0px auto 0px 113px;*/
	padding: 0;
	list-style: none;
}

#menu li {
	display: inline;
}

#menu a {
	display: block;
	float: left;
	/*background: url(../images/img03_new.gif) no-repeat;*/
	/*text-transform: uppercase;*/
	text-decoration: none;
	color: rgb(216, 216, 216);
	letter-spacing: 1px;
	padding-top: 10px;
	padding-right: 0px;
	padding-bottom: 0;
	padding-left: 20px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold
}
#menu .first a{
	background-image: none;
}


#menu a:hover {
	color: #FFFFFF;
}

/* Links */

#links {
	float: left;
	width: 156px;
	padding-left: 0px;
	
}

#links ul {
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: 18px;
}

#links li ul {
	padding: 5px 0 30px 0;
}

#links li li {
	padding: 7px 10px;
	background: url(../images/img06.gif) repeat-x left bottom;
}

#links li a {
	text-decoration: none;
	color: #a00;
}

#links li a:hover {
	text-decoration: underline;
}

#links li i {
	font-style: normal;
	font-size: 10px;
}

#links li h2 {
	font-size: 12px;
}

#leftBar 
{
	/*width: 896px;*/
	width: 918px;
	float:left;
	padding: 4px 20px 4px 20px;
	color:#000000;
	/*background: url(../images/img05.gif) repeat-y;*/
	height: 65px;
	position: relative;
	background-color: rgb(229, 215, 189);
	border-left: 1px solid rgb(102, 102, 102);
	border-right: 1px solid rgb(102, 102, 102);
}

.navFirstLevel {
	font-size:12px;
	text-decoration:none;
	padding:2px 46px 2px 2px;
	float: left;
}

/*.navSecondLevel               commented out IE fix attempt....
{
	font-size:12px;
	padding:2px 2px 2px 2px;
	width: 100px;
	clear: both;
	margin-left: 200px;
}

#leftBar>*/

/* Absolute positioning to allow for submenu */
.navSecondLevel {
	font-size:12px;
	padding:2px 2px 2px 2px;
	position: absolute;
	top: 22px;
	left: 250px;
	width: 110px;
}

[href="invstake.html"] {
	top: 20px;
	position: absolute;
}

[href="invstake.htm"] { /* For either type of file suffix, robustness only */
	top: 20px;
	position: absolute;
}

[href="../../invstake.html"] { /* Make sure works on both levels of pages */
	top: 20px;
	position: absolute;
}

[href="../../invstake.htm"] {
	top: 20px;
	position: absolute;
}

.defaultNavItem
{
	color:#000000;
	text-decoration: none; 
}

.selectedNavItem
{
	color:#A00;
	font-weight:bold;
	text-decoration: none;
}


/******************End of Navigation CSS *******************************/


#contactEmail
{
	margin-left:10px;
	margin-right:10px;
	font-size:12px; 
}

#contactPhone
{
	margin-left:10px;
	margin-right:10px;
	font-size:12px; 
}

#version
{
	margin-left:10px;
	margin-right:10px;
	font-size:12px; 
}



/***************** Table CSS ****************************/

table
{
	margin-top:0px;
	border-collapse: collapse;
	width:inherit;
	font-size:12px;
}

th, td
{
	border:solid;
	border-width:1px;
	border-color:#666666;
	padding: 5px; 
}

th
{
	background-color:#E5D7BD;
	color:black;
	/* Safari 4-5, Chrome 1-9 */
	  background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#EEE6DB), to(#E5D7BD));
	
	  /* Safari 5.1, Chrome 10+ */
	  background: -webkit-linear-gradient(top, #EEE6DB, #E5D7BD);
	
	  /* Firefox 3.6+ */
	  background: -moz-linear-gradient(top, #EEE6DB, #E5D7BD);
	
	  /* IE 10 */
	  background: -ms-linear-gradient(top, #EEE6DB, #E5D7BD);
	
	  /* Opera 11.10+ */
	  background: -o-linear-gradient(top, #EEE6DB, #E5D7BD);
}

.highlight
{
	background-color:#f8f7db;
}

.sansBorder, .contextCell
{
	border:none;
	vertical-align:top;
	margin-top:0px;
	padding-top:0px;
	margin-left:0px;
	padding-left:0px;
}




/************End of Table CSS ****************************/

/**********The following allows short paragraphs to move up next to a heading***********/

h3.float-left-context /* header element float */
{
	float: left;
	margin: 16px 0.2em 10px 0;
}
  
p.top-context /* after header margin adjustment */
{

	margin: 16px 0.2em 10px 0;
	padding: 0.17em;
	text-indent: 1em;
}

/* header element float */
h3.float-left 
{
	float: left;
	margin: 0 0.2em 0 0;
}

/* after header margin adjustment */  
p.top 
{
	margin-top: 0.2em;
	padding: 0.17em;
 	text-indent: 1em;
}

/**********************************************************************************/
