html, body {
	height: 98%;
}

body {
	background: #f8fbad;
	font: 12px Georgia;
}

a {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

#table {
	display: table; 
	margin: 0px auto;
}

body > #table {
	height: 100%;
}

#cell {
	/* For 'real' browsers, tells it to display the div as a table cell and then align it in the middle */
	display: table-cell;
	position: static;
	vertical-align: middle;
}

#container {
	width: 500px;
	position: static;
	height: auto;
}

#header, #footer {
	color: #DA8D29;
	width: 100%;
}

#banner, #copyright {
	float: left;
	padding-left: 3px;
}

#banner {
	color: #555;
}

#nav, #valid{
	float: right;
	font-size: 9px;
	padding-right: 3px;
}

#header > #nav, #footer > #valid {
	margin-top: -9px;
}

#footer > #valid {
	margin-top: -8px;
}

#nav a, #valid a, #subnav a {
	font: bold 11px Georgia;
	color: #DA8D29;
	border: none;
}

#nav a.current, #subnav a.current {
	color: #B67D33;
	border-top: solid 1px #B67D33;
}

#nav a.current:hover, #subnav a.current:hover {
	text-decoration: none;
}

#nav ul li, #valid ul li, #subnav ul li {
	float: left;
	margin-left: 5px;
	display: block;
}

#subnav {
	clear: left;
	height: 26px;
	position: relative;
	top: -8px;
	font-size: 9px;
}

#subnav ul {
	margin: 0;
	padding: 0;
	float: right;
	position: relative;
	right: -10px;
	padding: 3px;
}

#subnav a.current {
	border-top: none;
	border-bottom: solid 1px #B67D33;
}

#content {
	clear: left;
	background: #fff;
	border: double 3px #B67D33;
	padding: 10px;
}

#content span.header {
	display: block;
	text-align: center;
	margin-bottom: -3px;
	letter-spacing: 2px;
	font: bold 16px Georgia;
	padding-left: 10px;
}

#content a {
	color: #DA8D29;
	font-weight: bold;
}

#content a:hover { color: #B67D33; }

#content hr {
	width: 95%;
	text-align: center;
	border: solid 1px #A56C22;
}

#content hr.softer {
	
}

#content p {
	margin: 10px;
}

#content div p {
	padding-left: 10px;
}

#content div p span.inner {
	display: block;
	padding-left: 10px;
}

#content ul {
	list-style: none;
}

#footer {
	margin-bottom: 30px;
}

#copyright {
	margin-top: 1px;
	color: #555;
}

/* PROJECTS */
div.project-container {
	
}

span.project-category {
	font-weight: bold;
	letter-spacing: 2px;
	padding-left: 10px;
}

a.project-top {
	display: block;
	font-size: 10px;
	float: right;
	padding-right: 10px;
}

ul.project-list {
	padding: 0 0 0 10px;
	margin-top: 20px;
	margin-left: 10px;
}

ul.project-list li{
	margin-bottom: 20px;
}

ul.inner-list {
	padding-left: 10px;
}

ul.inner-list li {
	margin-bottom: 3px;
}

ul.inner-list li.current {
	font-style: italic;
}

ul.inner-list li.future {
	color: #555;
}

#content div.project-name {
	margin-bottom: 5px;
}

#content a.project {
	display: block;
	width: 200px;
	height: 150px;
	background: transparent top center no-repeat;
	border: solid 2px #dedede;
	margin: -10px 0 0 10px;
	float: right;
}

#content a.project:hover { background-position: bottom center; border-color: #000; }

#content #project-midterm { background-image: url(../images/projects/midterm.png); }
#content #project-ife { background-image: url(../images/projects/ife.png); }
#content #project-dsv { background-image: url(../images/projects/dsv.png); }
#content #project-oldpersonal { background-image: url(../images/projects/oldpersonal.png); }
#content #project-oldajax { background-image: url(../images/projects/ajax.png); }
#content #project-oldebay { background-image: url(../images/projects/ebay.png); }
#content #project-olddesign { background-image: url(../images/projects/ish.png); }
#content #project-oldwow { background-image: url(../images/projects/wow.png); }
#content #project-svg {  background-image: url(../images/projects/svg.png); }

div.clear {
	clear: right;
}

/** Icons **/
a.icon {
	display: block;
	height: 16px;
	padding-left: 18px;
	margin-bottom: 5px;
}

a.pdf { background: url(../images/icons/pdf.png) no-repeat; }
a.word { background: url(../images/icons/word.png) no-repeat; }

img.personal {
	float: right;
	margin: 10px;
	border: solid 2px #aaa;
	padding: 2px;
}

/** general **/
div.notice {
	font-size: 18px;
	background: #cfc;
	padding: 5px;
}

.center {
  text-align: center;
}