/* oneplan.css
 * Cascading style sheet for Idaho OnePlan site
 * Simple two-column layout leveraged from
 * http://nemesis1.f2o.org/authors/weakley/final
 * by Tom von Alten, 2004-05-24
 * 2005-02-24: Updated colors
 * 2005-10-21: #container side margin to 2% from 3%
 * 2006-06-05: CSS popups for botanical glossary
 * 2007-08-22: Added sectionhdr
*/

/* OnePlan Colors
 * rgb(255,255,204)  	OP straw
 * rgb(247,232,128) 	OnePlan mustard (CMYK)
 * rgb(217,162,93) 	OP pale orange
 * rgb(185,90,55) 	OP orange
 * rgb(152,15,13) 	OnePlan Red (CMYK)
 * rgb(102,0,0) 	dark red
 * rgb(102,102,0) 	#660 OP green
 * rgb(127,153,72) 	OP light green
 * rgb(153,204,153) 	#9C9 OP spring green
 */

body {
	background-color: rgb(102,0,0);
	/* The body background provides the "ground" with all page
	 * content shown over container/banner/nav/footer colors. */
	color: black;
	line-height: 120%;	/* relax leading */
	margin: 0;
	padding: 0;
	font-family: arial, helvetica, sans-serif;
}

#container {
	margin: 1em 2%;
	background-color: white;
	color: black;
	background-image:  url(Images/navcol-bg.jpg); /* 255,255,204 solid */
	background-repeat: repeat-y;
	border: 1px solid rgb(215,24,0);
}

#banner {
	background-color: rgb(247,232,128);
	color: rgb(152,15,13);
	border-bottom: 1px solid rgb(102,0,0);
}

#banner h1 {
	margin: 0;
	padding: 0.5em;
}

#nav {
	float: left;
	width: 160px;
	margin-left: 10px;
	padding-top: 1em;
}

#nav p {
	margin-top: 0;
	margin-bottom: 1em;
}

#content {
	padding-top: 1em;
	margin: 0 2em 0 200px;
}

#footer {
	clear: both;
	background-color: rgb(247,232,128);
	color: rgb(152,15,13);
	padding: 1em;
	text-align: center;
	border-top: 1px solid rgb(102,0,0);
	font-size: 0.8em;
}

/* Oneplan specific additions */

.logo { float:right }

/* floating table of contents "in" the banner */
.toc {	clear: right;	/* get it below the logo */
	background-color: rgb(255,255,204);	/* same as #nav */
	float:right;
	margin-left: 2em;
	margin-right: 6px;
	width: 25%;
	padding: 6px;
	border: 1px solid rgb(102,0,0);
}
h1 {
	padding: 4px;
	font-size: 1.5em; font-weight: bold; }
h2 {
	font-size: 1.2em; }
h3 {
	font-size: 1.1em; }
h3.sectionhdr {
	font-size: 1.2 em;
	color: black;
	background-color: rgb(217,162,93);	/* OP pale orange */
	padding: 0.5ex 4em;
}
u {
	text-decoration: underline; }
a:link {	
	text-decoration: underline; }
a:visited {	
	text-decoration: underline; }
a:active {	
	text-decoration: none; }
ol {
	line-height: 120%;
	margin-top: 0.6em;
	margin-bottom: 0.2em;
}
ol.a {
	list-style-type: lower-alpha; }
ol.d {
	list-style-type: decimal; }
ul {
	margin-top: 0.6em;
	margin-bottom: 0.2em;
	list-style-type: square;
}
ul ul {	/* tighten compound lists */
	margin-top: 0;
}
p {
	margin-top: 0.6em;	/* split the 120% leading */
	margin-bottom: 0.2em
}
p.list {	/* non-bulleted list making */
	margin: 0 1em 0.2em 1em;
	line-height: 100%;	/* tighten leading for multi-line items */
	text-indent: -0.5em }
p.list2 {
	margin: 0 1em 0.2em 1.5em;
	line-height: 100%;
	text-indent: -0.5em }
p.jump {
	text-align: right;
	font-size: 0.75em;
}
p.small {
	font-size: 0.75em;
}
p.byline {
	font-size: 0.9em;
	font-style: italic;
}
p.ctr {
	text-align: center;
}
.rednote {
	color: rgb(215,24,0);
}
.graynote {
	color: rgb(96,96,96);
}
hr {
 	color: rgb(102,0,0);
}
/* Table control */
table.b1 {
	border: 1px solid rgb(102,0,0);
}
td {
	font-size: 0.8em;
	vertical-align: top;
}
td.r {
	text-align: right;
}
td.c {
	text-align: center;
}
th {
	font-size: 0.75em;
	vertical-align: bottom;
}
td.x {
	font-weight: bold;
	text-align: center;
}
tr.stripe {
	background-color: rgb(255,255,204);
}
/* CSS popups for glossary entries "onhover"
	IE bug workarounds to make this go: define all the
	nominal properties before going to the span.  See
	http://www.tanfa.co.uk/archives/show.asp?var=257  */
/* I'd like to have IE NOT underline the links (as called
out above, but I haven't found a way to convince IE to do
it JUST to the glossary clase. */
a.glossary:link, a:glossary:visited, a.glossary:hover {
	text-indent: 0;
	z-index: 5;
	color: black;
	text-decoration: none;
}
a.glossary {
	text-decoration: none;
	position: relative;
	color: black;
	border-bottom: 1px dotted rgb(152,15,13);
}
a.glossary span {
	display: none;
}
a.glossary:hover span {
	text-decoration:none;
	text-indent: 1px;
	display: block;
	position: absolute;
	top: 0.5ex; left: 0; width: 15em;
	padding: 5px; margin: 10px; z-index: 10;
	color: rgb(152,15,13);
	background-color: rgb(255,255,204);
	border: 1px dotted rgb(152,15,13);
}