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

@import url("reset.css");
@import url("clearfix.css");
@import url("form.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: 968px;
	margin: 0 auto;
}

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

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#wrap {
	float: left;
	position: relative;
	width: 706px;
}

div#content {
	float: left;
	position: relative;
	font-size: 1.1em;
	overflow: hidden;
	width: 661px;
	padding: 23px;
}

div#sidebar {
	float: right;
	position: relative;
	width: 221px;	
	padding: 30px 20px;
}

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 p.quote {
	margin:0;
}

div#content p.author {
	font-size:.9em;
}


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 strong em {
	font-style: italic;
	font-weight: bold;
}

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

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;
}

#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;
}

body#welcome div#header {background:url(../images/headers/welcome.jpg) no-repeat left; }
body#about_me div#header {background:url(../images/headers/about_me.jpg) no-repeat left; }
body#work_in_progress div#header {background:url(../images/headers/work_in_progress.jpg) no-repeat left; }
body#publications div#header {background:url(../images/headers/publications.jpg) no-repeat left; }
body#cv div#header {background:url(../images/headers/cv.jpg) no-repeat left; }
body#links div#header {background:url(../images/headers/links.jpg) no-repeat left; }

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

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

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;
}
