/**********************************************************************
 * Reset all styles.
 * From http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/
 */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
	outline: 0;
}
body {
	line-height: 1;
	color: black;
	background: white;
}
ol, ul {
	list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}

/**********************************************************************
 * Clearfix from http://www.456bereastreet.com/archive/200603/new_clearing_method_needed_for_ie7/
 */
.clearfix:after {
	content:".";
	display:block;
	height:0;
	clear:both;
	visibility:hidden;
}
.clearfix {display:inline-block;}
/* Hide from IE Mac \*/
.clearfix {display:block;}
/* End hide from IE Mac */


/**********************************************************************
 * Main structure
 */
body {
	text-align: center;
	min-width: 750px;
	font-family: Arial, Helvetica, sans-serif;
	background: #A6A6A6;
	color: #333;
	font-size: 0.8125em; /* 13px if default is 16px */
}

#wrapper {
	text-align: left;
	width: 750px;
	margin-left: auto;
	margin-right: auto;
	background: url("img/wrapper_bg.gif") repeat-x left top #697B88;
}
#wrapper-inner {
	padding: 1em 15px;
	
}

#banner {
	padding: 0 15px 0 44px;
	background: url("img/banner_bg.gif") repeat-x bottom;
}
#banner .left {
	float: left;
	margin-bottom: 0;
}
#banner .right {
	float: right;
	text-align: right;
	margin-bottom: 0;
}

#main {
	padding: 0;
	background: #EAEEF0;
}
#main-inner {
	padding: 0 15px 3em 0;
	background: url("img/main_bg.png") 0px 30px repeat-y;
}
#content {
	float: right;
	width: 480px;
	padding: 2em 10px 0 0;
}
#sidebar {
	float: left;
	width: 190px;
	margin: 0 14px 0 0;
}

#footer {
	margin: 0 0 1em 0;
	padding: 1em 0 0 0;
	font-size: 0.923em; /* 12px */
	color: #ADB8C2;
}
#footer a {
	color: #ADB8C2;
}


/**********************************************************************
 * Common elements
 */

a {
	color: #253F6F;
	text-decoration: underline;
}
a:active {
	color: #EE1B2E;
}
a img {
	border: 0;
}

h2 {
	color: #EE1B2E;
	font-weight: bold;
	margin-bottom: 1em;
	font-size: 1.5em;
}
h3 {
	color: #EE1B2E;
	font-weight: bold;
	margin-top: 2em;
	margin-bottom: 1em;
	font-size: 1.231em; /* 16px */
	line-height: 1.125em; /* 18px */
}
h4 {
	font-weight: bold;
	margin-top: 1em;
	margin-bottom: 0em;
}

h4, p, li, dt, dd {
	line-height: 1.5em;
}
dt {
	font-weight: bold;
}
p, ul, ol, dd {
	margin-bottom: 1em;
}
ul {
	list-style-type: disc;
}
ul li {
	margin-left: 1.5em;
}


/* Horizontal rules should be done like:
 * <div class="hr"></div><hr />
 * From:
 * http://diveintoaccessibility.org/day_25_using_real_horizontal_rules_or_faking_them_properly.html
 */
div.hr {display: none}
/*/*/a{}
div.hr {
  display: block;
  border-bottom: 1px solid #A3A5B2;
  margin: 1em 0 1em 0;
}
hr {display:none}
/* */


/**********************************************************************
 * Tabbed navigation.
 * Based on http://www.alistapart.com/articles/slidingdoors2/
 */

#nav {
	font-size: 93%;
	line-height: normal;
	float: right;
	margin-top: 22px;
	width: 515px;
}
#nav ul {
	margin: 0;
	padding: 10px 0 0 0;
	list-style: none;
}
#nav li {
	display: inline;
	margin-left: 0;
}
#nav a {
	float: left;
	background: #C0CAD3;
	padding: 0 0 0 6px;
	margin-right: 5px;
    border-bottom: 6px solid #253F6F;
}
#nav li.last a {
	margin-right: 0;
}
#nav a span {
	float: left;
	display: block;
	background: #C0CAD3;
	padding: 5px 10px 4px 1px;
	font-weight: bold;
	white-space: nowrap;
}

/* Commented Backslash Hack hides rule from IE5-Mac \*/
#nav a span { float: none; }
/* End IE5-Mac hack */

#nav li a:hover,
#nav li a:hover span {
	background: #A3A5B2; 
}

#nav li.on a {
	background: #253F6F;
	border-bottom-width: 0;
	text-decoration: none;
}
#nav li.on a span,
#nav li.on a:hover span {
	background: #253F6F;
	padding-bottom: 5px;
	color: #fff;
}

/**********************************************************************
 * MAIN CONTENT
 */


#main p, 
#main li, 
#main dl {
	color: #403F36;
}
#main p.intro {
	font-weight: bold;
	color: #4E6669;
	font-size: 1.154em; /* 15px if default is 13px */
}


/* Tables */

table {
	width: 100%;
	border-collapse: collapse;
}
th {
	background-color: #c0cad3;
	font-weight: bold;
	text-align: left;
}
tr.row-a td {
	background-color: #d7dde2;
}
th,
td {
	padding: 0.5em 5px;
	vertical-align: top;
	line-height: 1.3em;
}
tr.vcard td.fn {
	font-weight: bold;
	width: 170px;
}
td.area,
td.title {
	font-weight: bold;
}
th.date,
td.date {
	white-space: nowrap;
}
td.subtitle {
	font-weight: bold;
	padding-top: 1.5em;
	color: #EE1B2E;
}

/* Papers */

div.paper {
	margin-bottom: 2em;
}
div.paper p.date,
div.paper p.blurb {
	margin-bottom: 0;
}
h4 {
	margin-top: 0;
}


/**********************************************************************
 * SIDEBAR
 */



#sidebar div.block {
	width: 100%;
	background: #D7DDE2;
	overflow: hidden;
}
#sidebar h3 {
	color: #EE1B2E;
	margin-top: 0;
	margin-bottom: 0;
	padding: 0.3em 10px;
	font-size: 1.231em; /* 16px */
	border-bottom: 1px solid #ADB8C2;
}
#sidebar div.block div.text-container {
	/* When a block just contains paragraphs, wrap this div around them. */
	padding-top: 0.8em;
	border-bottom: 1px solid #ADB8C2;
}
#sidebar p,
#sidebar li {
	padding: 0 10px;
	line-height: 1.3em;
}
#sidebar li {
	padding: 0.3em 10px 0.5em 10px;
	margin-bottom: 0;
	border-bottom: 1px solid #ADB8C2;
}

/* Put between .blocks. */
/* To change the colour of a spacer like this, add the extra class of the block above it (eg .publications) */
#sidebar div.hr {
	border-bottom: 1px solid #ADB8C2;
	height: 25px;
	margin: 0;
	background: #D7DDE2;
}

#sidebar span.name,
#sidebar span.tel {
	font-weight: bold;
	color: #555555;
}


/* Changes for the Recently Published section. */
#sidebar div.publications {
	background: #C0CAD3;
}
#sidebar div.publications ul {
	list-style-type: none;
	padding: 0;
	margin-bottom: 0;
}
#sidebar div.publications li {
 	padding: 14px 10px;
	margin-left: 0;
	text-align: center;
}
#sidebar div.publications li img {
	border: 1px solid #ADB8C2;
}