/* general settings **************************************/

p, h1, h2, h3, h4, h5, h6, ol, ul { line-height: 1.4em; }
p { font-size: 108%; }


img { border: none; }
br.c { clear: both; }

html, body { margin: 0; }

#custom-doc {
	/* yui grid stuff */
	margin:auto;text-align:left; /* leave unchanged */
	width: 69em;
	*width: 67.34em; /* ie */
	min-width: 897px;
	margin-bottom: 1em;
}

div { text-align: left; }


p, ul, ol, dl { margin-bottom: 1em; }
strong, b { font-weight: bold; }
em, i { font-style: italic; }
.indent { text-indent: 2em;  }
li { line-height: 153.9%; margin-bottom: 0.5em; }

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    margin-top: 1.4em;
    margin-bottom: 0.1em;
    }
h1.first, h2.first, h3.first, h4.first, h5.first, h6.first, p.first { margin-top: 0; } /* usually at the top of a page... */
h1+h2, h1+h3, h1+h4, h1+h5, h1+h6, h2+h3, h2+h4, h2+h5, h2+h6, h3+h4, h3+h5, h3+h6, h4+h5, h4+h6, h5+h6  { margin-top: 0.2em; }

h1 { font-size: 153.9%; }
h2 { font-size: 138.5%; }
h3 { font-size: 131%; }
h4 { font-size: 116%; }
h5 { font-size: 108%; }
h6 { font-size: 100%; font-variant: small-caps; }

a { text-decoration: none; }
a:hover { text-decoration: underline; }
hr { border: 1px solid;}

ul.list, ol.list, ol.decimal, ol.alpha, dl.list, ul.bullets { list-style-position: inside; margin-left: 2em; }
.bullets li { list-style-type: square; }
.decimal li { list-style-type: decimal; }
.alpha li { list-style-type: upper-alpha; }


/* specific formatting directives **************************************/

.dateline { font-style: italic; color: #ae0200; font-size: 93%; }

h1.title { font-size: 197%; letter-spacing: -1px; }

ul.nav {
    margin: 0 auto 1em auto;
}

ul.nav li {
    display: block;
    float: left;
    }

/* rss badge next to some headers */
.feedheader { height: 24px; }
.feedheader a {
    padding-right: 24px;
    margin-left: 10px;
    background: url(/gfx/e.rss2state.png) no-repeat 0px 0px;
    }
.feedheader a:hover { background-position: 0px -48px; }



/* color and themey stuff **********************************************/

h1, h2, h3, h4, h5, h6 {
    font-family: "Trebuchet MS", Trebuchet;
    }

h1, h2, h3, h4 { color: rgb(0,100,20); }
h5, h6 { color: black; }

a { color: #22c; }
a:hover { color: #35f; }
a:active { color: red; }
hr { border-color: rgb(135, 165, 205); }


/* special link a for pdf */
a.pdf {
    background-image: url(/gfx/icon.pdf-tiny-xp.png);
    background-repeat: no-repeat;
    padding-right: 18px;
    background-position: right;
    }


/* navbar styling */
#hd { text-align: center; padding-top: 25px; }
#hd ul.nav, #bd ul.nav {
	height: 32px;
	width: 724px;
	margin-top: 20px;
	padding-left: 30px;
	background: url(/gfx/bg.navbar.png) no-repeat center;
	}
#hd ul.nav a, #bd ul.nav a {
	display: block;
	height: 27px;
	padding: 5px 15px 0 15px;
	font-size: 18px;
	font-weight: bold;
	font-family: "Trebuchet MS", Trebuchet;
	}
#hd ul.nav a, #bd ul.nav a {
	color: white;
	text-decoration: none;
	}
#hd ul.nav a:hover, #bd ul.nav a:hover {
	color: #cef;
	background: url(gfx/bg.navbar-hover.png);
	}
/* indicate which page we're on */
#hd ul.nav a.on, #bd ul.nav a.on {
	color: #cef;
	background: url(gfx/bg.navbar-on.ie6.gif) no-repeat center;
	}

/* footer nav */
#ft { text-align: center; }
#ft ul.nav {
    width: 760px;
	padding-top: 20px;
	font-family: "Trebuchet MS";
	font-size: 108%;
	font-weight: bold;
	}
#ft ul.nav a {
	display: block;
	color: rgb(14,125,12);
	padding: 0px 20px 0px 20px;
	}

#bd {
    min-height: 50em;
	}

/* bg's */
body, html {
	/*background-color: #48364f;*/
	background-color: #908d8a;
	}
#custom-doc {
	border-left: 2px solid #7f746c;
	border-right: 2px solid #7f746c;
	border-bottom: 2px solid #7f746c;
	/*background-color: #f9f2df;*/
	/*background-image: url(/gfx/bg.tex.jpg);*/
	background-color: rgb(244,244,236);
	background-image: url(/gfx/bg.lightgrad.png);
	background-position: top;
	background-repeat: repeat-x;
}

/* stuff for news feed */
body.news .post {
    margin: 1.2em 0 3em 0;
    border-bottom: 1px solid rgb(200,160,120);
    }
body.news .post .stamp {
    color: rgb(90,90,90);
    font-size: 85%;
    margin: 0;
    }
body.news .post h3 {
    margin-top: 0;
    color: #ae0200;
    }
body.news .post h3 a {
    color: #ae0200;
    }
body.news .post p.author {
    margin: 0 0 2em 0;
    text-align: right;
    }

/* stuff for volunteer feed */
body.volunteer .post {
   margin: 1.2em 0 3em 0;
   border-bottom: 1px solid rgb(200,160,120);
}


/* feed images */
img.alignright { float:right; margin-left:1em; }
img.alignleft { float:left; margin-right:1em; }
img.aligncenter { display:block; margin-left:auto; margin-right:auto; }


/* follow us box... */
body.home #followbox {
    background-color:rgb(15,0,120);
    padding:15px;
    position:relative;
    height: 48px;
    margin:0;
    }
#followustext, img#facebook, img#twitter {
    position:relative;
    float:left;
    }
body.home #followbox #followustext {
    color:rgb(220,224,245);
    font-family: "Trebuchet MS";
    font-size: 197%;
    font-weight: bold;
    letter-spacing: -1px;
    }
body.home #followbox img#facebook { left: 20px; }
body.home #followbox img#twitter { left: 40px;  }

body.contact #followustext, body.links #followustext { display:none; }



/* stuff for our flickr photos */
img.flickrsv, img.flickrsh {
	background-repeat: no-repeat;
	padding: 10px 10px 24px 10px;
	background-position: bottom;
}
img.flickrsh { background-image: url(gfx/bg.badge.sh.png); }
img.flickrsv { background-image: url(gfx/bg.badge.sv.png); }
img.left {
	float: left;
	margin-right: 2em;
	}
img.right {
	float: right;
	margin-left: 2em;
	}
img.middle {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	display: block;
	}
p.copyright { color: rgb(244,244,236); margin: 1em 0 3em 0; font-size: 85%; clear:both; text-align:center;}
