html {
	height: 100%;
}

body {
	background-color: #ECE9E9;
	border-left: 1.8em solid #850d24;
	color: #5F5F5F;
	font-family: Helvetica, Arial, sans-serif;
	font-weight: lighter;
	min-height: 100%;
	line-height: 185%;
	margin: 0px;
}

body.xx38e10 {
	border-color: #335195;
}

body.endeavor {
	border-color: #33515F;
}

body.res {
	border-color: #850d24;
}

body.bio {
	border-color: #335F4F;
}

body.blog {
	border-color: #75754F;
}

body.contact {
	border-color: #775C37;
}

#masthead a.xx38e10, #biglinks a.xx38e10 {
	background-color: #335195;
	border-color: #335195;
	font-family: "Lucida Console", monospace;
}

#masthead a.endeavor, #biglinks a.endeavor {
	background-color: #33515F;
	border-color: #33515F;
}

#masthead a.res, #biglinks a.res {
	background-color: #850d24;
	border-color: #850d24;
}

li a.res {
	background-color: #850d24 !important;
}
li a.res:hover {
	background-color: #333 !important;
}

#masthead a.bio, #biglinks a.bio {
	background-color: #335F4F;
	border-color: #335F4F;
}

#masthead a.blog, #biglinks a.blog {
	background-color: #75754F;
	border-color: #75754F;
}

#masthead a.contact, #biglinks a.contact {
	background-color: #775C37;
	border-color: #775C37;
}

#biglinks {
	margin: 0em auto;
}

#biglinks tr {
	padding: 0px;
	margin: 0px;
}

#biglinks tr td:first-child {
	font-weight: bold;
	padding-right: 1em;
}

#biglinks a {
	color: #FFF;
	display: block;
	font-weight: lighter;
	text-align: center;
	width: 8em;
	padding: 0.65em;
}

#biglinks a:hover {
	text-decoration: none;
	background-color: #333 !important;
}

#biofact {
	margin-left: 2em;
}

table.pivot th {
	text-align: left;
	vertical-align: top;
}

h1 {
	line-height: 125%;
}

a {
	color: #39F;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a.subtle {
	color: inherit;
}

.nod:hover {
	text-decoration: none;
}

a.onpage, a.fn {
	color: inherit;
	border-bottom: 1px dotted;
}

a.ext:after {
	content: '\25B8';
}

p, .p {
	margin-bottom: 1.5em;
}

.bold {
    font-weight: bold;
}

.em {
	font-style: italic;
}

.u {
	text-decoration: underline;
}

.def {
	cursor: help;
	font-style: italic;
	font-size: small;
	line-height: 120%;
}

.def li {
	padding-bottom: 0.75em;
}

.sup {
	font-size: 50%;
	vertical-align: super;
}

#masthead {
	text-align: center;
}

#masthead a {
	white-space: nowrap;
}

#masthead > a > img {
	border: none;
	margin-left: 1em;
}

#breadcrumbs {
	font-size: smaller;
	margin: 0px auto;
	max-width: 48em;
	padding-left: 0.5em;
}

#breadcrumbs a {
	color: #555;
}

#main {
	background-color: #FFF;
	margin: 0px auto;
	max-width: 40em;
	padding: 2em 3em 0em;
}

#construction {
	background-color: #A63;
	color: #FFF;
	padding: 1em;
	border: 2px solid #A00;
}

#construction div {
	font-family: monospace;
	font-size: small;
	font-weight: bold;
	text-align: right;
}

#footnotes li {
	font-size: small;
}

#foot {
	border-top: 1px solid #CCC;
	font-size: 65%;
	margin-top: 4em;
	padding-top: 1em;
}

#foot > a:first-child > img {
	border-width: 0px;
	vertical-align: middle;
}

#mori {
	float: right;
}

.ui-tooltip {
	font-size: smaller;
	line-height: 120%;
}

.toolnav {
	white-space: nowrap;
}

.hier {
	color: #AAA;
}

/*
 * Navigation adapted from http://line25.com/tutorials/how-to-create-a-pure-css-dropdown-menu
 * NAV {
 */

#masthead ul {
	line-height: 100%;
}

#masthead > ul > li {
	margin: 0.75em 0.1em 0em 0em;
}

#masthead li {
	width: 6em;
	text-align: center;
}

#masthead > ul > li > a {
	padding: 0.65em 1em !important;
	margin: 0px;
}

#masthead > ul > li > a.drop:after {
	content: ' \021AF';
}

#masthead ul ul a.drop:after {
	content: ' \0219D';
}

#masthead ul {
	list-style: none;
	position: relative;
	display: inline-table;
	margin: 0em 3em 0em 0em;
}

#masthead ul:after {
	content: "";
	clear: both;
	display: block;
}

#masthead ul ul {
	display: none;
}

#masthead ul li:hover > ul {
	display: block;
}

#masthead ul li {
	float: left;
}

#masthead ul a:hover {
	background: #333;
}

#masthead ul li:hover a {
	/* color: #fff; */
}

#masthead ul li a {
	color: #FFF;
	display: block;
	font-size: smaller;
	padding: 0.7em 0em;
	text-decoration: none;
}

#masthead ul ul {
	background: #ECE9E9;
	padding: 0;
	position: absolute;
	top: 100%;
}

#masthead ul ul li {
	float: none; 
	border-top: 1px inset;
	position: relative;
}

#masthead ul ul li a:hover {
	background: #333;
}

#masthead ul ul ul {
	position: absolute;
	left: 100%;
	top:0;
}

#masthead ul ul ul li {
	border-left: 1px inset;
}

/*
 * } NAV
 */

/*
 * smart_alec {
 */

#chrome_websiteIP {
	display: none;
}

/*
 * } smart_alec
 */

#prog-mori {
	background: -webkit-linear-gradient(#693, #9C3); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(#693, #9C3); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(#693, #9C3); /* For Firefox 3.6 to 15 */
	background: linear-gradient(#693, #9C3); /* Standard syntax */
	height: 1em;
}

#prog-mori .ui-progressbar-value {
	background: -webkit-linear-gradient(#900, #300); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(#900, #300); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(#900, #300); /* For Firefox 3.6 to 15 */
	background: linear-gradient(#900, #300); /* Standard syntax */
}

legend a {
	font-weight: bold;
}

/* Tables of contents, usually a fieldset */
.toc {
	float: right;
	line-height: 125%;
	font-size: smaller;
	padding: 0.25em 1.25em 1em 0.25em;
}

.toc legend {
	font-weight: bold;
}

.toc ul {
	margin: 0;
	padding-left: 1em;
	list-style-position: inside;
	white-space: nowrap;
}

/* Only happens on the technology page */
fieldset, .fslike {
	background-color: #F5F3F3;
	border: 1px solid #CCC;
	margin-top: 2em;
}

fieldset .prog {
	background: -webkit-linear-gradient(#93C1CF, #C3F1FF); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(#93C1CF, #C3F1FF); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(#93C1CF, #C3F1FF); /* For Firefox 3.6 to 15 */
	background: linear-gradient(#93C1CF, #C3F1FF); /* Standard syntax */
	height: 1.25em;
	/* float: left; */
	/* margin-right: 1em; */
	/* width: 80%; */
}

fieldset .prog .ui-progressbar-value {
	background: -webkit-linear-gradient(#23414F, #13313F); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(#23414F, #13313F); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(#23414F, #13313F); /* For Firefox 3.6 to 15 */
	background: linear-gradient(#23414F, #13313F); /* Standard syntax */
}

input, textarea {
	font-family: Monaco, 'Courier New', monospace;
}

