/* TODO:
	Customize printable layout, as well
	
	Change header content from h1 to <p class="tagline"> or similar...

	Open up some of the abbreviated urls

	CRITICAL:
	Clean up <a blabla></a> expressions to <a blabla/> after vim indenting is no longer required.
*/

body {
	background: #e8e8e8;
	/*font-family: verdana,arial,sans-serif;*/
	/*font-family: palatino linotype,palatino,book antiqua,urw palladio l,serif;*/
	font-family: "Open Sans", Helvetica, Arial, sans-serif;
	color: #606060;
	font-size: 13.4px;
}

pre {
	font-family: Consolas, Monaco, Lucida Console, monospace;
	font-size: 12px;
	word-wrap: break-word;
	white-space: pre-wrap;
}

#body A:link {
	text-decoration: underline;
}
#body A:hover {
	color: #606060;
	text-decoration: underline;
}
#body A:link {
	text-decoration: underline;
}

#navigation A:link {
	text-decoration: none;
}
#navigation A:visited {
	text-decoration: none;
}
#navigation A:hover {
	color: #606060;
	text-decoration: none;
}

A:link {
	color: #336699;
	text-decoration: underline;
}
A:hover {
	color: #606060;
	text-decoration: underline;
}
A:visited {
	color: #336699;
	text-decoration: underline;
	/*text-decoration: underline;*/
}

#body A:link.content {
	text-decoration: none;
}
#body A:visited.content {
	text-decoration: none;
}
#body A:hover.content {
	text-decoration: none;
	color: #606060;
}


A img {
	border: none; 
	margin-bottom: 3px;
	padding: 0;
}

#navigation .selected A:link {
	color: #336699;
	text-decoration: underline;
}
#navigation .selected A:visited {
	color: #336699;
	text-decoration: underline;
}
#navigation .selected A:hover {
	color: #606060;
	text-decoration: underline;
}
#navigation .unselected A:link {
	color: #336699;
	text-decoration: none;
}
#navigation .unselected A:hover {
	color: #606060;
	text-decoration: none;
}
#navigation .unselected A:visited {
	color: #336699;
	text-decoration: none;
}


/* These are used only in the header */
h1 {
	text-align: right;
	float: right;
	padding-right: 1em;
	color: #bcbcbc;
	/*color: #a7a37e;*/
	/*color: #336699;*/
	font-size: 22px;
}
h2 {
	/*float: left;*/
	/*margin-left: 10em;*/
	padding-top: 1em;
	padding-left: 1em;
	text-align: left;
	/*border-left: solid 10em yellow;*/
	color: #336699;
	font-size: 20px
}

/* These are for the actual body text */
h3 {
	font-size: 16px;
	text-align: left;
}
#highlight h3 {
	text-align: center;
}
h4 {
	/*margin-left: 2em;*/
	font-size: 14px;
}
h5 {
	font-size: 14px; /* this can't really be smaller than the actual text */

}


#header {
	/*background: #e8e8e8 url(header_bg_start_newalt.png) no-repeat;*/
	background: #e8e8e8 url(header_bg_start_serif.png) no-repeat;
	/*background: #a7a37e;*/
	margin-right: 2em;
	/*border: solid 1px red;*/
	/*border-left: solid 12em #a7a37e;*/
	/*border-bottom: solid 3px #a7a37e;*/
	/*border-left: solid 13em #e8e8e8;*/
	padding-left: 14em;
	height: 90px
	
	/*border-bottom: solid 1px #a7a37e;*/
}

#container {
	background: #fff url(navibg_cont_newalt.png) repeat-y 0 295px;
	/*background: #e8e8e8;
	/*padding-bottom: 3em;*/
	border-bottom: solid 1px #dfdfdf;
	/*border-bottom: solid 1px #dfdfc1;*/
	/*padding-right: 2em;*/
	border-right: solid 2em #e8e8e8;
}

#navigation {
	font-family: "Open Sans", Helvetica, Arial, sans-serif;
	font-size: 11.5px;
	text-transform: uppercase;
	/*position: absolute;*/
	float: left;
	/*padding-top: 4em;*/
	/*padding-bottom: 3em;*/
	padding-top: 30px;
	height: 265px;
	width: 160px;
	/*width: 150px;*/
	/*width: 18em;*/
	/*width: 80em;*/
	color: #336699;
	/*background: #fff url(navibg2_cont.png) no-repeat 0 300px;*/
	background: #fff url(navibg_newalt.png) no-repeat 0 0;
}
#navigation ul {
	/* This is done for IE (workaround for a bug) */
	/*display: inline;*/
	line-height: 2.0em;
	list-style-type: none;
	font-weight: bold;

	/*padding-top: 4em;*/
	margin-left: 2em;
	padding-left: 0em;
}
#navigation ul ul {
	line-height: 1.5em;
	font-weight: normal;
	padding-top: 0;
}


#body {
	background: white;
	/*float: top;*/
	padding-left: 3em;
	margin-left: 14em;
	padding-top: 3em;
	padding-right: 5em;

	text-align: justify;
	/*border: solid 1px red;*/
	/*border-left: solid 1em #eeeeee;*/
	padding-bottom: 5em;
	border-left: solid 1px #e8e8e8;
	/*border-right: solid 1px #a7a37e;*/

	/* Definitions for the actual (text) content */
	line-height: 1.5em;
	/*font-size: 12px;*/
}

#body ul {
	text-align: left;
	padding-left: 0em;
	margin-left: 2em;
	/*list-style-type: square;*/
}

#body dl {
    margin: 0;
    padding: 0;
}
#body dt {
    margin: 0;
    padding: 0;
    /*font-weight: bold;*/
	/*float:left;
	clear:left;
	display:inline;*/
}
#body dd {
    margin: 0;
	padding: 0;
	padding-left: 10em;
}

/*#body img {
	float: left;
	margin-right: 1em;
}*/

#body table {
	font-size: 13.4px;
	line-height: 1.5em;
}

/* Here we define how a table within a "caps"-table should work */
#body table.caps tr td table tr td {
	padding: 0;
	border: 0;
	margin: 0;
	padding-left: 1em;
}
#body tr {
}

#body table tr td.desc {
	text-align: right;
	vertical-align: top;
	width: 14em;
	padding-right: 1em;
	font-weight: bold;
}
#body table tr td.desccenter {
	text-align: right;
	/*vertical-align: top;*/
	/*width: 13em;*/
	padding-right: 1em;
	font-weight: bold;
}

#body h2 A {
	font-size: 14px;
}

#body table h2 {
	font-size: 14px;
}

#highlight {
	text-align: center;
}
#highlight_root {
	text-align: center;
}
#highlight img {
	border: 5px solid #e8e8e8;
	margin-left: auto;
	margin-right: auto;
	/*overflow: hide;*/
}
#highlight table {
	text-align: center;
	margin-left:auto; 
	margin-right:auto;
}
#highlight table.normal {
	text-align: left;
}
#highlight table.normal tr td {
	vertical-align: top;
	padding-right: 1em;
	padding-left: 0;
}

#highlight table tr td {
	padding-right: 1em;
	padding-left: 1em;
}

#body dt {
	text-decoration: underline;
}

#body table.grades {
	text-align: center;
	margin-left:auto; 
	margin-right:auto;
}

#body table.grades tr td {
	padding-left: 0.5em;
	padding-right: 0.5em;
}

hr {
	border: 0;
	color: #e8e8e8;
	background-color: #e8e8e8;
	height: 2px;
}

#body table.cat {
}
#body table.cat tr {
}
#body table.cat tr td {
	padding-left: 1em;
}
#body table.cat tr.sep td {
	/*vertical-align: top;*/
	border-bottom: solid 1px #e8e8e8;
}

#body .caps dl {
	margin: 0;
	padding: 0;
}
#body .caps dt {
	float:left;
	clear:left;
	display:inline;
}
#body .caps dd {
    margin: 0;
	padding: 0;
}

#body .caps table {
	padding: 0;
	border: 0;
	margin: 0;
}
#body .caps tr {
	padding: 0;
	border: 0;
	margin: 0;
}
#body .caps td {
	/*vertical-align: top;*/
	border: 0;
	margin: 0;
	padding-bottom: 1em;
	padding-right: 1em;
}
#body table tr td.image_cell {
	vertical-align: bottom;
	line-height: 1em;
}
/*#body dl dt {
	float left;
}

#body dl dd {
	margin-left: 10em;
}*/

#body table.jobs tr td {
	vertical-align: bottom;
	text-align: justify;
}

#body img.prop {
	float: right;
	padding-left: 0.5em;
}
#body table.image {
	float: right;
	padding-left: 0.5em;
	margin: 0;
	clear: right;
}
#body table.image tr td.caption {
	text-align: center;
	border: 0;
	padding: 0;
	margin: 0;
	font-size: 10px;
}
#body table.image img {
	border: 5px solid #e8e8e8;
}

#content-list {
	list-style-type: none;
}
#content-list ul {
	list-style-type: none;
}

#footer {
	/*color: #a7a37e;*/
	color: #aaaaaa;
	padding-right: 3em;
	text-align: right;
	font-size: 10px;
}


/* Blog specifics */

#blog_comment {
	background: #e8e8e8;
	border: 1px solid #bcbcbc;
	/*font-family: verdana,sans-serif;*/
	font-family: "Open Sans", Helvetica, Arial, sans-serif;
	font-size: 11.5px;
}

#blog_comment pre {
	/*font-family: verdana,sans-serif;*/
	font-family: "Open Sans", Helvetica, Arial, sans-serif;
	font-size: 11.5px;
	/*font-family: palatino linotype,palatino,book antiqua,urw palladio l,serif;*/
}

/*textarea.blog_comment {
	background: #e8e8e8;
}*/

#code_block {
	font-family: Consolas, Monaco, Lucida Console, monospace;
	background: #f0f0f0;
	border: 1px solid #bcbcbc;
	text-align: left;
	font-size: 11px;
}

#blogtoc tr {
	text-align: left;
}

#picpac {
	text-align: left;
}

#pos_hilight {
	/*font-weight: 700;*/
	color: #3c943e;
}
#pos_hilight A {
	color: #3c943e;
}

