/* March 2005 David van Wert  www.thindimedesign.com  */


/* Kill margin and padding on all elements */
*{
	margin:0;
	padding:0;
}

html{
/* Fixes background nastiness when a sidebar is open in Firefox */
	min-width:770px;
}

body{
	background:#5590d4 url(../decor/horizon.jpg) bottom left no-repeat;
/* Shove all content to the center of the screen for Internet Explorer 5 */
	text-align:center;
}

/*=====[ Set up container divs and add background tiles ]=====*/

#pageheadContainer,
#contentContainer,
#footContainer{
/* 100% so we can create the fullscreen width backgrounds */
	width:100%;
}

#pageheadContainer{
	background:transparent url(../decor/tree1.jpg) 0 0 no-repeat;
}

#contentContainer{
	background:transparent url(../decor/tree2.jpg) 0 0 no-repeat;
/* Float left to prevent floated child divs(#article & #subContent) overflowing . aka the FnE method http://www.orderedlist.com/articles/clearing_floats_fne */
	float:left;
}

#footContainer{
	background:transparent;
	clear:both;
}

#pagehead,
#content,
#foot{
/* Set widths for "sub" container divs and center on the screen */
	width:770px;
	margin:0 auto;
/* Position relative so we can position children absolutley but keep them relative to their parents and not the document root */
	position:relative;
/* Shove the content back where it should be now we have convinced IE5 that center aligned websites are, infact, groovy (see body{}) */
	text-align:left;
}

#pagehead{
	height:110px;
}

#foot{
	height:150px;
}

/* More backgrounds, we need more backgrounds! */
#pagehead{
	background:transparent url(../decor/header.gif) no-repeat;
}

#content{
/* fading backgound to top of content area  */
	background:transparent url(../decor/contentBackground.gif) 0 0 no-repeat;
	min-height:300px;
	_height:300px;
}

#foot{
	background:transparent;
}

/* Set up two column layout for articles and subcontent */

#article{
	width:515px;
	float:left;
	padding:20px 0 15px 0;
	margin-left:21px;
	background:#f2f2f2 url(../decor/contentBackground3.gif) no-repeat;
	min-height:300px;
	_height:300px;
}

#subContent{
/* Fix double margin bug in IE on floats using display:inline */
	display:inline;
	width:180px;
	float:left;
	padding: 0 0 20px 0;
	margin: -2px 0 0 30px;
	color:#ffffff;
	font-size:.9em;
	text-align:right;
}

/*=====[ Navigations ]=====*/


#pagehead h1{
	position:absolute;
	top:40px;
	left:-2228px;
	letter-spacing:1px;
}


/* Main navigation list */

#pagehead ul{
	display:block;
	position:absolute;
	top:87px;
	left:228px;
}

#pagehead li{
	display:block;
	float:left;
	margin-left:3px;
}

#pagehead li#home{
	width:63px
}

#pagehead li#subjects{
	width:83px
}

#pagehead li#resume{
	width:78px
}

#pagehead li#recs{
	width:138px
}

#pagehead li#rates{
	width:63px
}

#pagehead li#contact{
	width:75px
}

#pagehead li a{
	display:block;
	height:20px;
	text-align:center;
	color:#13457f;
	font-size:1.2em;
	font-weight:bold;
/* Line height same as height, which puts the text vertically centered, hoorah! */
	line-height:20px;
	text-decoration:none;
	text-transform:lowercase;
}


#pagehead li.other a{
	background:#b9d8fc;
}

#pagehead li.active a{
	background:#ffffff;
}

#pagehead li a:hover{
	color:#FFE;
	background:#13457f;
}

#pagehead li.active a:hover{
	color:#13457f;
	background:#ffffff;
}

/* Footer credits */

#foot ul{
	position:absolute;
	top:149px;
}

#foot li{
	list-style-type:none;
	color:#fff;
}

#foot li a{
	color:#fff;
}

#foot li a:hover{
	color:#060;
	background:#fff;
}

#foot #foot1{
/* width to solve odd problem with Opera 7.5 */
	width:200px;
	position:absolute;
	left:300px;
}

#foot #foot2{
/* width to solve odd problem with Opera 7.5 */
	width:200px;
	position:absolute;
	left:570px;
}


/* General params and typography */

body{
/* relative font sizing to allowing scaling in Internet Exfoliator - http://www.clagnut.com/blog/348/*/
	font:normal 62.5%/1.8em Arial, Helvetica, sans-serif;
}

/* #content ul used to prevent main navigation, within #pagehead, list breaking */
#content ul{
	margin:0.8em 0 0.6em 1em;
	padding-left:1em;
	list-style-type:disc;
}

ol{
	margin:0.8em 0 0.6em 2em;
	padding-left:1em;
	list-style-type:lower-roman;
}

#article p{
	margin:0.3em 1.5em 0.6em 1.5em;
}

blockquote{
	margin:0.8em 2em 0.6em 2em;
	padding-left:1em;
	border-left:4px solid #5590d4;
}

/* Frame images */
img{
	padding:2px;
	background:#f2f2f2;
	border:1px solid #13457f;
}

/*Set font size for content area */
#content{
	font-size:1.25em;
}

p{
	margin:0.3em 0 0.6em 0;
}



a{
	color:#13457f;
	font-weight:bold;
	text-decoration:none;
}

a:hover{
	background:#13457f;
	color:#FFE;
}

#article{
	line-height:1.5em;
	color:#000000;
}

#subContent{
	color:#ffffff;
	font-size:.9em;
}

h1,
h2,
h3,
h4{
 font-family:Verdana, Helvetica, Arial, sans-serif;
}

#content h2{
	color:#13457f;
	margin-bottom:.4em;
	line-height:1.7em;
	font-size:1.7em;
}

h3{
	margin:0 0 0.4em 1em;
	font-size:1.3em;
	color:#13457f;
}

h4{
	margin:1em 0 0.4em 1.25em;
	font-size:1.1em;
	color:#13457f;
}

h5{
	margin:.2em 1.5em 0.4em 1.5em;
	font-size:1em;
	color:#13457f;
}

#pagehead h4{
	color:#f2f2f2;
	margin-left: 230px;
	font-size:1.1em;
}

/* Sub Content */

#subContent h2{
	font-size:1.4em;
	color:#f2f2f2;
	margin:.3em 0 0.2em 0;
}

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

#subContent p{
	margin:0.2em 0 0.3em 0;
}

.spacer200 {
	height:250px;
}

.spacer150 {
	height:200px;
}

form {
	text-align:center;
	margin-left: 10px;
}