/* Zero margins and paddings */
* {
  margin: 0;
  padding: 0;
}

body {
  font: 62.5%/1.6 "Lucida Grande", "Lucida Sans", "Lucida Sans Unicode", Verdana, sans-serif;
  background-color:#D4D4D4;
  background-image:url(images/pagebg.gif);
  background-position:center;
  background-repeat:repeat-y;
overflow-y:scroll;
}

h1 {
  font-size: 2.4em;
  font-weight: bold;
}

h2 {
  font-size: 2.0em;
  font-weight: bold;
}

h3 {
  font-size: 1.8em;
  font-weight: bold;
}

h3 {
  font-size: 1.6em;
  font-weight: bold;
}

p, li {
  font-size: 1.4em;
}

#footer p {
	font-size:0.8em
	}

h1, h2, h3, h4, p {
  margin: 1em 0;
}

#branding h1 {
  margin: 0;
  display:inline;
}

#wrapper {
  background:url(images/wrapperbg.gif);
  background-repeat:repeat-y;
  background-color: #fff;
  }

#branding {
  height: 60px;
  background-color:#eeeeee;
  padding: 0px;
  border-bottom:1px solid #d5d7ff;
}

#mainNav {
  list-style: none;
  background-color:#d5d7ff;
}

#footer {
  background-color:#eeeeee;
  padding: 1px 20px;
  border-top:1px solid #d5d7ff;
  text-align:right;
}

/* style front page quotes
================================== */
body#home div#content ul {
	text-align:center;
	font-size: 85%;
	list-style: none;
	margin-left:0px;
}		

body#home div#content ul li {
	margin-bottom:10px;
}

body#home div#content ul li em {
	white-space:nowrap;
	}

/* style other page lists
================================== */
div#content ul {
	text-align:left;
	list-style:square;
	}	
div#content ul li {
	margin-left:20px;
	}

/* The Core Technique
================================= */

body {
  text-align: center; 
  min-width: 980px;
}

#wrapper {
  width: 940px;
  margin: 0 auto; 
  text-align: left; 
}


#content { 
  width: 700px;
  float: right; 
}

#mainNav { 
  width: 180px; 
  float: left; 
} 

#footer { 
  clear: both; 
} 

/* Add some padding 
================================== */

#mainNav {
  padding-top: 20px;
  padding-bottom: 100px;
}

#mainNav * {
  padding-left: 20px;
  padding-right: 20px;
}

#mainNav * * {
  padding-left: 0;
  padding-right: 0;
}

#content * {
  padding-right: 20px;
}

#content * * {
  padding-right: 0;
}

/* page specific styling
================================== */


body#news div#content h3 {
border-top:1px solid #99f;
margin-right:20px;
	}

body#home div#content ul {
	margin-top:60px;
	}

/* styling the CV table
================================== */
body#cv div#content table { 
	border:0px solid #000;
	border-collapse:collapse;
	margin-right:10px;
	margin-bottom:10px;
	clear:both;
	}
body#cv div#content table td, body#cv div#content table th{
		border:1px solid #6666cc;
		border-collapse:collapse;
		padding:5px;
		background-color:#eeeeff;
	}

body#cv div#content table td p, body#cv div#content table th p {
  margin: 0;
  padding: 0;
	}

body#cv div#content table tbody th {
		text-align:left;
		background-image:url(images/buttonbg.gif);
		background-position:right;
		background-repeat:repeat-y;

	}

body#cv div#content table tbody th.medium {
		text-align:left;
		background:#fff;
		border:none;
	}


/* style navigation buttons
================================== */

#mainNav,#mainNav li,#mainNav {
	margin:0;padding:0;list-style-type:none;
}

#mainNav{
	position:relative;
	left:0;
	top:0;
	z-index:20000;
	width:7.2em;
	cursor:default !important;
	border:none;
	text-align:left;
}
#mainNav{
	position:static;
	padding-left:15px;
	padding-top:15px;
	padding-bottom:15px;
	}
#mainNav li{
	display:block;
	width:7.2em;
	position:static;
	}

@media Screen,Projection{#mainNav/**/[class="mainNav"] li{position:relative;}}

#mainNav li a{
	position:relative;
	display:block;
	}
#mainNav li{
	margin-bottom:1px;
	}
#mainNav a,#mainNav a:link, #mainNav li a:visited{
	background-image:url(images/buttonbg.gif);
	background-position:left;
	background-repeat:repeat-y;
	background-color:#d5d7ff;
	cursor:pointer !important;z-index:1000;
	text-align:right;
	border-style:solid;
	border-color:#d5d7ff;
	padding-left:5px;
	padding-right:5px;
	padding-top:5px !important;
	padding-bottom:5px !important;
	text-decoration:none;
	color:#00c;
	border-width:1px;
	font-style:normal;
	font-weight:bold !important;}
#mainNav a{
	font-size:100%;
	}
#mainNav li a,#mainNav li a:link,#mainNav li a:visited{
	letter-spacing:1px !important;
	}
#mainNav li a:hover,#mainNav li a:focus,#mainNav li a.nohref:hover,#mainNav li a.nohref:focus{
	font-style:normal;
	background-image:url(images/buttonbg.gif);
	background-position:right;
	background-repeat:repeat-y;
	background-color:#fff;
	text-decoration:none;
	color:#d5d7ff;
	border-color:#d5d7ff;
	border-style:solid;
	border-width:1px;
	}
ul#mainNav li a#non {
	background-image:none;
	background-color:#d5d7ff;
	border-width:1px;
	color:#999;
	font-style:normal;
	border-style:solid;
	border-color:#d5d7ff;
	}
* html #mainNav li a:active{
	font-style:normal;
	background-image:none;
	background-color:#ff0;
	text-decoration:none;
	color:#996600;
	border-color:#ff0;
	border-style:solid;
	border-width:1px;
	}
@media screen,projection{* html #mainNav li{display:inline;}}
@media screen,projection{* html #mainNav li{display/**/:block;float/**/:left;}