html, body, form, fieldset { margin:0; padding:0; }
h1, h2, h3, h4, h5, h6, p, pre, blockquote, ul, ol, dl, address { margin:1em 0; padding:0; }
li, dd, blockquote { margin-left:1em; }

body {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	background-color:#FFF;
	font-size:0.9em;
	line-height:1.25;
}

/* LAYOUT */

#header {
	background: #006594 url(../images/template_connected-w-title.gif) top right no-repeat;
	min-width:750px;
}

#main {
	background:#FFF url(../images/col.jpg) top left repeat-y;
	min-width:750px;
}

#content {
	background-color:#FFF;
	margin-left:205px;
	/*border-top:1px solid #FFF;*/
	padding:10px;
}

/* HEADINGS */

/*h1 {display:none;}*/

h1 {
	font-size: 1.4em;
	color: #006594;
	margin-top:0;
}

h3 {
	font-size: 1.2em;
	color: #941400;
}

h4 {
	padding: 0;
	font-size: 1.1em;
	color: #000000;
}
.mathentity1{
  font-size: 11px;
  font-style: italic;
  font-family: serif;
 }
 
 .mathentity2{
  font-size: 12px;  
  font-family: serif;
 }
 
 
.mathentity {
font-family: serif;
font-style: italic;
 font-size: 18px; 
}

.head2_class2 {margin-top: 0;
margin-bottom: 15px;
margin-left: 0;
margin-right: 0;
padding: 0;
font-size: 1.2em;
color: #006594;
font-weight: bold;}

.head2_class3 {margin-top: 0;
margin-bottom: 15px;
margin-left: 0;
margin-right: 0;
padding: 0;
font-size: 1.2em;
color: #941400;
font-weight: bold;}

/* TOPNAV */

#topnav li, #footernav li {
	display:inline;
	border-left: thin solid #FFF;
	margin: 0 0 0 0.5em;
	padding:0 0 0 0.5em;
}


#topnav li a, #footernav li a {
	color:#FFF;
	font-weight:bold;
	text-decoration:none;
}

#topnav li.first, #subnav li.first, #footernav li.first {
	border-left:none;
}

#topnav {
	background-color:#941400;
	margin-top:-4px;
	margin-bottom:0;
	height:22px;
	/*_height:26px;*/
	padding-top:4px;
}

#topnav li a:hover {
	color: #ffe83d;
	text-decoration:underline;
}

/* SUBNAV */

#subnav li {
	display:inline;
	border-left: thin solid #000;
	margin: 0 0 0.5em;
	padding:0 0 0 0.5em;
}

#subnav li a, #footernav li a {
	font-weight:normal;
	font-size:0.8em;
}

#subnav {
	/*border-top:7px solid #006594;
	border-bottom:3px solid #CEBA8C;*/
	/*background:#E7DFCE url(/images/template_07.gif) top right no-repeat;*/
	margin:0;
	height:24px;
	/*_height:24px;*/
	padding-top:10px;
	padding-left:10px;
}

#subnavwrap1 {
	background:url(../images/subnavtile.jpg) top right repeat-x;
}

#subnavwrap2 {
	background:url(../images/right-banner.gif) top right no-repeat;
}


/* SIDENAV */

#sidenavcontainer {
	padding: 0;
	/*background-color: #D6CDCD;*/
	background-color: #F3F0E9;
	color: #333;
	font-size:0.8em;
}

#sidenavcontainer ul {
	list-style: none;
	margin: 0;
	padding: 0;
	border: none;
	border-bottom: 1px solid #941400;
	
}

#sidenavcontainer li ul {
	border-bottom:none;
}

/* first level */
#sidenavcontainer li {
	border-top: 1px solid #941400;
	margin: 0;
	padding: 0;
}

#sidenavcontainer li li{
	margin-left: 20px;
}

/* first level */
#sidenavcontainer li a {
	display: block;
	padding: 3px 5px 3px 0.5em;
	/*border-left: 10px solid #1958b7;*/
	border-right: 10px solid #F3F0E9;
	background-color: #D6CDCD;
	color: #2F499C;
	text-decoration: none;
	/*width: 100%;*/
	_width: auto;
	_height:1%;
}

/* second level */
#sidenavcontainer li li a{
	background-color: #EBE4ED;
}

/* third level */
#sidenavcontainer li li li a{
	background-color: #E5E9EE;
}


/* first level */
#sidenavcontainer li a:hover {
	/*border-left: 10px solid #1c64d1;*/
	border-right: 10px solid #941400;
	background-color: #FFF;
	color: #D52500;
	text-decoration:underline;
}

/* second level */
#sidenavcontainer li li a:hover {
	border-right: 10px solid #8A3C8A;
}

/* third level */
#sidenavcontainer li li li a:hover {
	border-right: 10px solid #006594;
}

/* menu expanding button */
#sidenavcontainer li a.on { color:#000; }

#sidenavcontainer li a.expandlink {
	width:15px;
	float:left;
	display: inline;
	padding: 3px 1px 3px 3px;
	border-right: none;
	color: #2F499C;
	font-weight:bold;
	/*background-color: #2F499C;*/
	background-color: #F3F0E9;
	text-decoration: none;
}
#sidenavcontainer li a.expandlink:hover {
	border-right: none;
	background-color: #FFF;
	color: #D52500;
}
#sidenavcontainer li li a.expandlink:hover, #sidenavcontainer li li li a.expandlink:hover {
	border-right: none;
}

#column {
	width:205px;
	float:left;
	margin:0;
}

#column h4 {
	margin:3px 0 0 3px;
}


/* FOOTER */

#footer1 {
	clear:both;
	background:#941400 url(/images/footerbg.jpg) repeat-x;
	height:47px;
}

#footer2 {
	background:url(/images/template_12.jpg) top left no-repeat;
	height:47px;
}

#footernav {
	float:right;
	margin:0 20px 0 0;
	height:34px;
	/*_height:47px;*/
	padding-top:13px;
	/*border-top:8px solid #006594;
	border-bottom:10px solid #006594;*/
}

#footernav li a:hover {
	color: #ffebbd;
	text-decoration:underline;
}

/* LINKS */

a:link {
	color: #2f499c;
	font-weight: bold;
	text-decoration: none;
}

a:visited {
	color: #405188;
	font-weight: bold;
	text-decoration: none;
}

a:hover {
	color: #b51800;
	font-weight: bold;
	text-decoration: underline;
}


/* MATH */

math {
	color:blue;
	font-size:1.2em;
}

#content ol.roman {
	list-style-type: lower-roman;
}

#content .none {
list-style-type: none;
}

#content .caption {
	font-size: 0.8em;
	font-style:italic;
}

#content ul.ref {

}

#content li {
	margin-top:0.5em;
}

p.equlabel {
	float:right;
	padding-right:100px;
}

#content li {
	margin-left: 2em;
}

caption {
	font-style:italic;
}

p.warning {
	border:3px solid #941400;
	padding:3px;
	margin-top:0;
}

/* OLD STYLES */

.box {
	width:80%;
	background-color:#F3F0E9;
	border:1px;
	border-style:solid;
	border-color:#941400;
	margin-left:auto;
	margin-right:auto;
	padding:1em;
}

.right {
	text-align:right;
}

.center {
	text-align:center;
}

.centre {
	text-align:center;
}

.box2 {
	text-align:left;
	margin-left:auto;
	margin-right:auto;
	width:80%;
	padding:20px;
	border-style:solid;
	border-width:thin;
	text-align:left;
	background-color:#F3F0E9;
}

.rightbox {
	text-align:center;
	float:right;
	width:30%;
	padding:20px;
	border-style:solid;
	border-width:thin;
}

.legendentry {
	font-family:arial,helvetica,sans-serif;
	font-size:8pt;
	font-weight:normal;
	color:#000000;
}

#basin_selection {
	position: absolute;
	top: 250px;
	left: 900px; 	
}


