/* Typography 
=================================== */

* {margin: 0; padding: 0;}

a:link, a:visited {	
	text-decoration: none;
	font-weight: bold;
	}

#footer a:link, #footer a:visited {
	color: #000;
	border-bottom: 1px dotted #000; 
}

a:hover, a:active {border-bottom-style: solid;}

.external {padding-right: 13px;}

h1 {
	font-size: 2em;
	font-weight: normal;
	padding: 20px 0 0 100px;
}

#banner h2 {
	color: #000;
	font-weight: normal;
	padding: 5px 0 0 120px;
}

h2 {font-size: 1.6em;}

p.last {clear: both;}


.caption, em, blockquote {font: italic bold 1.2em "Times New Roman", Times, serif;}

blockquote .last {
	display: block;
	text-align: right;
}

.errorMessage {
	font-weight: bold;
	color: red;
}

ul {
	list-style: outside;
	margin: 20px;
}

dt {margin-top: 10px;}

li.last {list-style: none;}

/* General Layout/Structure 
=================================== */
img {border:none}
	
body {
	font: .8em Tahoma, Geneva, Arial, Helvetica, sans-serif;
	background: #ccc;
	color: #000;
	text-align: center;
}

#wrapper {
	width: 90%;
	margin: auto;
	text-align: left;
	position: relative;
}

/* Top content box. z-index makes this overlap primaryContent */
#banner {
	width: 638px;
	position: absolute;
	top: 10px;
	left: 13%;
	color: #fff;
	z-index: 50;
}

#banner img {padding-top: 7px;}

#banner img, #primaryContent, #secondaryContent {
	float: left;
	display: inline; /* fix IE double-margin float */
}

/* Left content box. Top margin pushes box below banner, negative right margin allows secondaryContent to overlap */
#primaryContent {
	width: 38%;
	margin: 11.2em -40px 0 0;
}

#contact #primaryContent {width: 26%;}

#profile #primaryContent {
	width: 638px;
	margin: 11.2em 0 0 7%;
}

/* Right content box. Top margin pushes below banner and top of primaryContent. */
#secondaryContent {
	width: 60%;
	margin: 14em 0 0 0px;
}

#contact #secondaryContent {width: 73%;}

/* Non-semantic div to make flexible height, rounded corner boxes*/
.outerBox {padding-bottom: 20px;}

#secondaryContent .outerBox {min-height: 25em;}

* html #secondaryContent .outerBox {/* for IE only */
	height: 25em;
}

/* Non-semantic div to make flexible height, rounded corner boxes*/
.innerBox {padding-left: 20px;}

h2, .first {padding-top: 25px;}
#primaryContent h2, #primaryContent p, #primaryContent h3 {padding-right: 50px;}
#primaryContent p, #secondaryContent p {margin-bottom: 10px}
#secondaryContent h3, #secondaryContent p {padding-right: 20px;}

#footer {
	font-size: .75em;
	padding: 10px 0;
	text-align:center;
	clear: both;
	}	

#footer .caption {
	color: #000;
	font-size: 1.3em;
}
	
#footer p {margin: .4em 0;}

/* Main Navigation
=================================== */
#mainNav {
	list-style: none;
	width: 80%;
	float: left;
	margin: 20px 0 0 0;
	}

#mainNav li {
	float:left;
	background: url(../images/verticalDots.gif) no-repeat right center;
	padding: 0 15px 0 8px;
	white-space: nowrap;
	}

#mainNav li.contact {background: none;}
	
#mainNav a:link, #mainNav a:visited, #mainNav a:hover, #mainNav a:active {
	display: block;
	text-decoration: none;
	color: #FFF;
	float: left; /*fixes mac bug */
}
	
#mainNav a:hover {border-bottom: 3px white solid;}
	
/*The following highlights the current page in Main Navbar*/
#home #mainNav .home a, #services #mainNav .services a, #projects #mainNav .projects a,  #profile #mainNav .profile a, #contact #mainNav .contact a, #writing #mainNav .writing a, #classes #mainNav .classes a {
	font-weight:bold;
	cursor:default;
	border-bottom: 3px white solid;
	}
	
/* Forms
=================================== */
form {width: 95%}
#primaryContent form {width: 85%}

form p {
	position: relative;
	margin: .5em 0;
}

fieldset {
	margin: 1em 0;
	border: 1px solid #ccc;
	background: #f8f8f8;
	padding: 0 1em;
	}

legend {
	color: #000;
	font-weight: bold;
}

label { display: block; }

input, textarea {width: 100%;}

textarea {
	height: 5em;
	font: 1em Verdana, Geneva, Arial, Helvetica, sans-serif;
}

input.submit  {width: auto;}
input:focus, textarea:focus {background: #e0e0f7;}

.helpText { margin-left: 5px; }


/* Toggle Styles
=================================== */
dt {font-weight: bold;}

#toggleSource dt a {
	color: #000;
	border-bottom: 1px dotted black;
}

#toggleSource dd {padding: 0 20px 0 10px;}

/* Put a plus/minus next to dt for toggling */
.plus, .minus {padding: 0 20px 5px 10px;}
.plus {background: url(../images/plus.gif) no-repeat left 4px;}
.minus {background: url(../images/minus.gif) no-repeat left 4px;}

.hiddenTarget { 
	position: absolute;
	top: -9999px;	
}

.showTarget { 
	position: relative;
	top: 0;
}

