body	{
	background: #e8e8e8; 
}

#divNav { /*  A div at the top of the page accommodating the logo  */
	left: 15px;
	right: 15px;
	background: transparent url(../images/n-ism-logo.png) no-repeat 90% 0px;
	margin: 0;
	padding: 5px;
	height: 160px;
}

#MSIEwarning {
	display: none;
	*display: block;
	position: absolute;
	top: 35px;
	left: 2in;
        right: 1in;
	background: #ffc0a0;
	border: 2px solid red;
	padding: 3px;
}

#nav { /* Contains the navigation menus */
	margin: 0;
	padding: 0;
}

#nav li.on ul, #nav li.off ul { 
	margin: 0;
	padding: 0;
}

#nav a { /* Keep links plain and simple */
	font-family: sans-serif;
	text-decoration: none;
}

#nav li { /*float the main list items*/
	margin: 0;
	float: left;
	display: block;
	padding-right: 15px;
	*width: 100px; /* Dirty hack for Internet Explorer's broken boxes */
}

#nav li ul {
	display: none;
}

#nav li.off, #nav li.on {
	height: 60px;
	margin-top: 125px;
}

#nav li.off ul, #nav li.on ul { /*put the subnav below*/
	position: absolute;
	top: 170px;
	left: 13px;
	right: 13px;
	*width: 750px;
	background: #f1eebc url(../images/pseudo-staff.png) repeat;
	height: 28px;
	border-left: 2px solid black;
	border-right: 2px solid black;
}

#nav li a {
	color: #a0a0ff;
	font-weight: bold;
	display: block;
	height: 15px;
	width: auto;
	border: 2px solid #e4e4e4;
	padding-top: 3px;
	padding-left: 7px;
	padding-bottom: 7px;
	padding-right: 7px;
}

#nav li.on a {
	border: 2px solid #808080;
	color: #7a8566;
}

#nav li.on ul a, #nav li.off ul a {
	float: left; /*ie doesn't inherit the float*/
	border: 1px solid #f1eebc;
	padding: 2px;
	color: #7a8566;
	background: #f1eebc;
	/*background: red;*/
	width: auto;
	height: 16px;
	margin-right: 15px;
	margin-top: 3px;
	*width: 100px; /* Make things fit in ie's little boxes... */
}

#nav li.on ul {
	display: block;
}

#nav li.off:hover ul {
	display: block;
	z-index: 6000;
}

#nav li.off a:hover, #nav li:hover a {
	background: #808080;
	color: white;
	border: 2px solid orange;
}

#nav li.on ul a:hover, #nav li.off ul a:hover {
	background: #808080;
	color: white;
	border: 1px dashed orange;
}

#content {
	background: #fffff0;
	margin-left: 5px;
	border-left: 2px solid black;
	margin-right: 5px;
	border-right: 2px solid black;
	border-bottom: 1px solid black;
	padding: 30px;
	font-family: serif; }

#content h1 {
	margin:       0pt;
	font-size:    xx-large ;
	text-align:   center;
}
			  
#content h2 {
	text-align:   center;
}

#content h2, #content h3, #content h4 {
	font-family:  sans-serif;
}

#content a, body.fixnav #zap a, #subscribe a {
	color: #4040ff;
	padding: 1px;
	text-decoration: none;
}

#content div.form, #content div.abstract {
	margin-left: 1cm;
	margin-right: 1cm;
	background: #f1eebc;
	border: 2px solid #a0a0ff;
	padding: 8px;
}

#content a:hover, body.fixnav #zap a:hover, #subscribe a:hover {
	background: #a0a0ff;
	color: black;
	padding: 0px;
	border: 1px solid orange; }

#content a:visited {
	color: #904090
}

/* Images, floating and in the main text */

#content img.fltleft { /* Most often on People pages */
	border: 1px solid black;
	float: left;
	margin-right: 7px;
	margin-bottom: 2px;
	margin-top: 2px;
	width: 102px;
}

#content div.captioned, #content img.framed {
	border: 2px solid gray;
	margin: 3mm;
}
	
#content img.framed {
	display: block;
	margin-left: 5%;
	margin-top: 5mm;
	margin-bottom: 5mm;
	width: 90%;
}

#content div.captioned {
	margin: 5mm;
	background: silver;
}

#content div.captioned p {
	text-align: center;
	font-style: italic;
	font-size: smaller;
	padding: 5px;
	text-indent: 0;
}

#content div.captioned img {
	width: 100%;
}

/* Tables in the content section to have a resepectable appearance */

#content table.rowsep {
	border: groove 3px;
	border-collapse: separate;
	border-spacing: 1px;
	width: 90%;
	margin-left: 5%;
}

#content table.rowsep td, #content table.rowsep th {
	border-width: 1px 0px;
	border-style: solid;
	border-color: silver;
}

#content td {
	text-align: left;
}

/* Style for funding council logos */
#content img.fclogo {
	float: left;
	margin-right: 0.25in
}

/* Typesetting float-right lists of links */

ul.links li {
	clear: right;
}

/* Body-class specific markup */

body.fixnav #content {
	padding-right: 6cm;
	text-align:    justify;
}

body.fixnav #content p.funding, body.fixnav #content h3 {
	margin: 0pt;
	padding-top: 2pt;
	padding-bottom: 0pt;
}

body.fixnav #content p.funding {
	font-style: italic;
}

body.fixnav #zap {
	position: fixed;
	top: 220px;
	height: 300px;
	right: 25px;
	width: 5cm;
	border: 2px solid #a0a0ff;
	padding: 5px;
	background: #f1eebc;
	overflow: auto;
}

body.fixnav #zap h1 {
	font-family:  sans-serif;
	font-size:    large;
	font-variant: small-caps;
	text-align:   center;
	color:        #8080ff;
}
					  
body.fixnav #zap {
	font-size:    small;
	margin:       0px;
	text-align:   center;
}
					  
body.fixnav #zap h2 {
	font-family:  sans-serif;
	font-size:    medium;
	font-variant: small-caps;
	text-align:   center;
	color:        #787878;
}
					  
body.fixnav #zap ul {
	text-align:   left;
	width:        70%;
	padding-left: 3.5em;
	margin:       2px;
}
					  
body.fixnav #zap p {
	margin:       2px;
	width:        95%;
}

a.file {
	float:        right;
	margin-left:  0.5em;
}

body.fixnav a.file+hr {
	width: 0px;
	height: 0px;
	clear: both;
}

body.restricted #content, body.restricted #content {
	border:     2px solid red;
	background: url(../images/restricted.png) repeat;
}

body.restricted div.narrow {
	padding-right: 7cm;
}

p.usererror {
	background: black;
    padding:    6px;
	border:     3px solid red;
    color:      #ff8040;
}

p.userinfo  {
	background: #b0b0b0;
    padding:    6px;
	border:     3px solid yellow;
    color:      black;
}

p.usersuccess {
	background: white;
    padding:    6px;
	border:     3px solid green;
    color:      #006000;
}

#subscribe {
	float: right;
	margin: 0em 1em 2em; /* top, bottom, left/right */
	border: 2px solid black;
	background: #e0ffc0;
	font-size: small;
	text-align: left;
	padding: 2mm;
}

#subscribe h1 {
	font-size:    medium;
	font-variant: small-caps;
	text-align:   center;
	color: #008000;
	text-align: center;
}

#subscribe img {
	 height: 12mm;
	 float: left;
	 clear: none;
}

#footer {
	background: #f1eebc;
	top: 170px;
	left: 13px;
	right: 13px;
	*width: 750px;
	margin: 0px 5px;
	padding: 3px;
	border-left: 2px solid black;
	border-right: 2px solid black;
	border-bottom: 1px solid black;
	font-size: 70%;
}

#footer td, #footer th {
	border-width: 0px;
	padding: 1px;
}

#footer th {
	text-align: right;
	font-style: italic;
}

#footer td {
	font-variant: small-caps;
}

/* Styles for directory browser available from the Admin page */

span.TreeviewSpanArea {
	font-family: sans-serif;
	font-size: small
}

body.restricted #filebrowser {
	position: fixed;
	top: 30px;
	height: 500px;
	right: 25px;
	width: 6cm;
	border: 2px solid #a0a0ff;
	padding: 5px;
	background: #f1eebc;
	overflow: auto;
}

body.restricted #filebrowser h1 {
	font-family: serif;
	font-size:    large;
	font-variant: small-caps;
	text-align:   center;
	color:        #8080ff;
}


