/* ------------------------------------------------------ */
/* Copyright 2008 (Non-)verbaal, http://www.nonverbaal.nl */
/* -------------------------------------------------------*/

@import url("reset.css");
@import url("clearfix.css");

body {
	background: #E4E4E4;
	color: #000000; 
	font: 62.5% Verdana, Arial, Helvetica, sans-serif;
}

a { color: #662B11; }
a:link, a:visited { text-decoration: underline; }
a:hover, a:active { text-decoration: none;	}

/* Basic structure -------------------------------------- */
/* ------------------------------------------------------ */

div#container {
	position: relative;
	width: 100%;
	margin: 0 auto;
}

div#main {
	float: left;
	width: 100%;
	margin-top:0px;
}

div#inner {
	position: relative;
	overflow: hidden;
	width: 100%;
	background-color:#FFFFFF;
	background-image:url(../images/bg_main.jpg);
	background-repeat:repeat-y;
	padding-bottom: 2em;	
}

div#content {
	float: left;
	position: relative;
	font-size: 1.5em;
	overflow: hidden;
	width: 65%;
}

div#sidebar {
	float: right;
	position: relative;
	width: 30%;	
}

div#header {
	position: absolute;
	height: 287px;
	width: 968px;
	top: 0;
	left: 0;
}

div#footer {
	background-image:url(../images/shadow_footer.jpg);
	background-position:top;
	background-repeat:repeat-x;
	clear: both;
	position: relative;
	height: 40px;
	font-size: 1.1em;
	padding-top: 1em;
	color: #220B04;
}

/* Content ---------------------------------------------- */
/* ------------------------------------------------------ */
div#content h1 {
	font-size: 1.6em;
	color: #1D0C05;
	font-weight: bold;
	margin-bottom: .5em;
}

div#content h2 {
	font-size: 1.5em;
	color: #999999;
	font-weight: bold;
	margin-bottom: .5em;
}

div#content h3 {
	font-weight: bold;
	line-height: 1.8em;
}

div#content blockquote {
	margin-left:1em;
	font-size: 1.5em; 
}

div#content img {
	background: #FFFFFF;
	border:solid 2px #1D0C05;
	padding:.5em;
}

div#content table {
	line-height:1.8em;
	margin-bottom:1em;
}

div#content td {
	vertical-align:top; 
}

div#content hr {
	height:1px;
	color: #FFFFFF;
	margin:1em 0;
	border-bottom: dashed 1px #662B11;
	background:none;
}

div#content a {
	border-bottom: dashed 1px #662B11;
	text-decoration:none;
}

div#content a:hover {
	border-bottom: none;
	text-decoration:none;
}

div#content p {
	line-height: 1.8em;
	margin-bottom: 1em;
}

div#content strong {
	font-weight: bold;
}

div#content em {
	font-style: italic;
}

div#content ul {
	list-style: disc;
	margin: 1em 2em;
	line-height: 2em;
}

div#content ol {
	list-style: decimal;
	margin: 1em 2em;
	line-height: 2em;
}

/* Sidebar ---------------------------------------------- */
/* ------------------------------------------------------ */
#sidebar {
	font-family:Arial, Helvetica, sans-serif;
	font-size:1em;
}

#sidebar h2 {
	font-size: 1.4em;
	color: #1D0C05;
	font-weight: bold;
	margin-bottom: 1em;
}

#sidebar h3 {
	font-size: 1.1em;
	color: #1D0C05;
	font-weight: bold;
	margin-bottom: .5em;
}

#sidebar p {
	line-height:1.8em;
	font-size:1.1em;
	margin:0 0 1em 0; }

/* Nav -------------------------------------------------- */
/* ------------------------------------------------------ */
#nav li {
	float: left;
	position: relative;
	display:none;
	visibility:hidden;
}

#nav table {
	position: absolute; 
	border-collapse: collapse; 
	top: 0; 
	left: 0;
}

#nav a {
	display: block;
	background-repeat: no-repeat;
	text-indent: -9999px;
	outline: none;
	text-decoration: none;
	font-weight: normal;
}

#nav a:hover {
	position: relative;	
}

#nav li:hover {
	position: relative;
}

#nav ul {
	height:40px;
	position: absolute;
	width: 968px;
	top:287px;
	background-color:#421B0B;
}

#nav ul li {
	float:left;
}

#nav ul li a {
	height: 40px;
	display: block;	
	background-image: url(../images/nav/menu.jpg); 
	background-repeat: no-repeat;
	text-indent: -9999px;
	outline: none;	
}

#nav_welcome a { background-position: 0px 0px; width:115px; }
#nav_about_me a { background-position: -115px 0px; width:126px; }
#nav_work_in_progress a { background-position: -241px 0px; width: 173px; }
#nav_publications a { background-position: -414px 0px; width: 140px; }
#nav_cv a { background-position: -554px 0px; width: 73px; }
#nav_links a { background-position: -627px 0px; width: 80px; }

#nav_welcome a:hover, body#welcome #nav_welcome a { background-position: 0px -40px; }
#nav_about_me a:hover, body#about_me #nav_about_me a { background-position:  -115px -40px; }
#nav_work_in_progress a:hover, body#work_in_progress #nav_work_in_progress a { background-position:  -241px -40px; }
#nav_publications a:hover, body#publications #nav_publications a { background-position:  -414px -40px; }
#nav_cv a:hover, body#cv #nav_cv a { background-position:  -554px -40px; }
#nav_links a:hover, body#links #nav_links a { background-position: -627px -40px; }

#nav li ul {
	visibility: hidden;
	position: absolute;
	left: 0;
	background:none;
	width:auto;		
}

#nav li:hover > ul {
	visibility: visible;
}

#nav ul a:hover ul {
	visibility: visible;
}

#nav li ul {
	top: 40px;
}

#nav li ul li {
	float: none;
}

#nav ul ul a {
	background-image:url(../images/nav/bg_sub.jpg);
	background-repeat:no-repeat;
	background-position:0px 0px !important;
	width: 140px;
	height: 13px;
	padding: 6px 10px;
	text-indent: 0;
	font-weight:bold;	
}

#nav ul ul a:hover {
	background-position:0px -25px !important;
	color: #FFFFFF;
}

/* Header ----------------------------------------------- */
/* ------------------------------------------------------ */

div#logo {
	position: absolute;
	top: 150px;
	right: 0px;
}

div#logo a {
	display: block;
	background-repeat: no-repeat;
	background-image: url(../images/logo.png);
	width: 261px;
	height: 67px;
	text-indent: -9999px;
	outline: none;
}


/* Footer ----------------------------------------------- */
/* ------------------------------------------------------ */

div#footer ul {
	text-align: left;	
}

div#footer ul li {
	display: inline;
	background: url(../images/footer-li.gif) no-repeat right center;
	padding-right: 20px;
	margin-left: 10px;
	color:#B5B5B5;	
}

div#footer ul li.last {
	background: none;
}




/* This is the print stylesheet to hide the Flash headlines from the browser... regular browser text headlines will now print as normal */

.sIFR-flash, .sIFR-flash object, .sIFR-flash embed {
	display: none !important;
	height: 0;
	width: 0;
	position: absolute;
	overflow: hidden;
}

span.sIFR-alternate {
	visibility: visible !important;
	display: block !important;
	position: static !important;
	left: auto !important;
	top: auto !important;
}
