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

huckleberrys.org.nz 
mbirch 2005-06-30
Thanks to p.i.e and alistapart  :)
http://www.positioniseverything.net/thr.col.stretch.html
http://www.alistapart.com/articles/footers/
http://www.alistapart.com/d/footers/footer_dom2.html
*******************************************************************************/

html {margin: 0; padding: 0;}

body {margin: 0; padding: 0; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 80%;
           background: #BBBB99 repeat-y url(../images/665.gif);}
            /*** Image is 180px wide, and 20px high ***/

a:link {
	color: #000;
}

a:visited {
	color: #333;
}


a:hover, a:active {
	color: #889944;
}

.alignright {
	margin: 0; 
	text-align: right;
	padding: 0 5px 5px 5px;
	font-size: .9em;
	color: #889944;
}

.alignright a:link, .alignright a:visited {
	color: #BBBB99;
}

.alignright a:hover, .alignright a:active {
	color: #ffe;
}

.small {font-size: .9em;}

/*******************************************************************************
                       Positioning rules
*******************************************************************************/
h1 {
	font-size: 20px;
	margin: 0;
	color: #333;
	border-bottom: 1px solid #000;
	background-color: #BBBB99;
}

#footer {
	margin: 0;
	background-color: #333;    /*** The header and footer have backgrounds, to cover the 2-tone body BG  ***/
}

#header {
	height: 59px;
	}

/* replacement image for all except IE 5.01 and older and IE Mac */
#header/* */ {
	text-indent: -5000px;
	background: url(../images/title.gif) no-repeat top left;
	height: 59px;
	}
	
#footer h2 {
	margin: 0;
	line-height: 40px;
	color: #fff;
	font-size: .9em;
	padding-left: 10px;
}

div#leftbox {      /*** No side padding or borders, to avoid the IE5.x box model problem ***/
	position: absolute;
	left: 10px;
	width: 150px;
	color: #fff;
	padding-top: 10px;
	padding-bottom: 10px;
}

#leftbox img p {
	margin: 0; /* margin must be 0 to allow javascript to calculate contentHeight correctly */
	padding: .5em;
}

#middlebox {
	margin: 0 20% 0 170px;
	border-left: 1px solid #000;
	border-right: 1px solid #000;
	padding: 10px;
	background-color: #ffe;     /*** This div has a background to cover the 2-tone body BG ***/
}

#content {
	margin: 0;
	padding: 0;
}

#content p {
	margin: 0; /* margin must be 0 to allow javascript to calculate contentHeight correctly */
	padding: .5em;
	line-height: 1.3em;
}

#content h3 {
	margin: 0; /* margin must be 0 to allow javascript to calculate contentHeight correctly */
	padding-bottom: .5em;
}

#content h3.body {
	margin-top: 1em;
}

div#rightbox {    /*** No side padding or borders, to avoid the IE5.x box model problem ***/
	position: absolute;
	right: 2%;     /*** IE5/mac will show a horizontal scrollbar 
			if this is less than 16px, or other units are used
			http://www.l-c-n.com/IE5tests/right_pos/ ***/           
	width: 15%;
	color: #000;
	padding-top: 10px;
}

/*******************************************************************************
                       Navigation
*******************************************************************************/

#button {
	width: 10em;
	padding: 0 0 1em 0;
	margin-bottom: 1em;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 90%;
	background-color: #77804D;
	color: #333;
}
	
#button ul {
	list-style: none;
	margin: 0;
	padding: 0;
	border: none;
}
		
#button li {
	border-bottom: 1px solid #DDDDC4;
	margin: 0;
}

#button ul li.bold a{
	color: #fff;
	font-weight: bold;
}

#button ul li.bold ul li a{
	color: #ffe;
	font-weight: normal;
}

#button li a {
	display: block;
	padding: 5px 5px 5px 0.5em;
	border-left: 10px solid #77804D;
	border-right: 10px solid #9EAC66;
	background-color: #889944;
	color: #ffe;
	text-decoration: none;
	width: 100%;
	}

html>body #button li a {
	width: auto;
	}

#button li a:hover {
	border-left: 10px solid #333;
	border-right: 10px solid #B3BE88;
	background-color: #9EAC66;
	color: #fff;
	}


#button li li {
	border-top: 1px solid #DDDDC4;
	border-bottom: 0;
}

#button li li a {
	background-color: #9EAC66;
	border-right: 0px;
	margin-left: 10px;
}

#button li li a:hover {
	border-left: 10px solid #333;
	border-right: 0px;
	background-color: #B3BE88;
}

/*******************************************************************************
                       Recent grants - table
*******************************************************************************/
.grant {
	margin: 0;
	padding: 5px;
}

.grant th {
	text-align: left;
}

.grant td.dollars {
	text-align: right;
}

/*******************************************************************************
                       lists on criteria.php
*******************************************************************************/

ol { 
	list-style-type: lower-alpha;
} 

ol.number {
	list-style-type: decimal;
}
/*******************************************************************************
                       images
*******************************************************************************/
img.noborder {
	border: 0;
}

/*******************************************************************************
                       admin 
*******************************************************************************/

p.message {
	color: #FF0000;
}

p.message a:link, p.message a:visited {
	color: #FF0000;
}

p.message a:hover, p.message a:active {
	color: #889944;
}