/* typography and colors */

body
{
  color: #444;
  background-color: #fff;
}
b, 
strong,
#sidebar dt
{
  color: #000;
  font-weight: normal;
}
p strong
{
  color: #444;
  font-weight: bold;
}
h1, 
h2, 
h3
{
  margin: 0 0 10px 0;
  font-weight: normal;
}
h1
{
  font-size: 2em;
}
h2
{
  font-size: 1.6em;
}
h3
{
  font-size: 1em;
}
#header ul
{
  font-size: 1.2em;
}

/* global rules */

img
{
  border: none;
}
.clear
{
  clear: both;
  width: 0;
  height: 0px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  font-size: 1px;
}

/* links */

a
{
  color: #00c;
  text-decoration: underline;
}
a:visited
{
  color: #60c;
}
a:hover
{
  color: #fff;
  background-color: #00c;
  text-decoration: none;
}

/* page structure */

body,
html
{
  margin: 0;
  padding: 0;
}
body
{
  text-align: center;
}
#column
{
  margin: 0 auto;
  width: 620px;
  padding: 20px 0;
  text-align: left;
}
#header
{
  position: relative;
  height: 40px;
  padding: 0;
}
#header ul
{
  position: absolute;
  bottom: 0;
  right: 0;
  margin: 0;
  padding: 0;
  list-style-type: none;
}
#header ul li
{
  display: inline;
  margin: 0;
  padding: 0;
}
#header ul li a 
{
  display: block;
  float: right;
  margin: 0 0 0 10px;
  padding: 0 0 1px 0;
  color: #000;
  border-bottom: 2px solid #fff;
  text-decoration: none;
}
#header ul li a img
{
  display: block;
  position: relative;
  top: 4px;
}
#header ul li a:hover
{
  border-color: #000;
  background-color: #fff;
}
#header ul li a.selected
{
  color: #f00;
  border: none;
}
#header h1
{
  position: absolute;
  top: 10px;
  left: 0;
  margin: 0;
  padding: 0;
}
#header h1 a 
{
  display: block;
  margin: 0;
  padding: 0 0 3px 0;
  border-bottom: 2px solid #fff;
}
#header h1 a img
{
  display: block;
  margin: 0;
  border: none;
}
#header h1 a:hover
{
  border-color: #000;
  background-color: #fff;
}
#homepage-index #header h1 a:hover
{
  border-color: #fff;
}
#content
{
  margin: 10px 0 5px 0;
  padding: 15px 0;
  border-top: 2px solid #ccc;
  border-bottom: 2px solid #ccc;
}
#homepage-index #content
{
  margin: 5px 0;
  padding: 10px 0;
  border: none;
}

#main
{
  float: left;
  width: 420px;
}
#sidebar
{
  width: 180px;
  float: right;
  text-align: right;
}
* html #content /* Holly hack for fixing the peekaboo bug in IE */
{
  height: 1%;
}
#participant
{
  margin: 15px 0 5px 0;
  padding: 0;
}
#participant a
{
  display: block;
  width: 179px;
  margin: 0;
  padding: 0 0 2px 0;
  border-bottom: 2px solid #fff;
}
#participant a img
{
  display: block;
  margin: 0;
  border: none;
}
#participant a:hover
{
  border-color: #000;
  background-color: #fff;
}


/* project */

.project
{
  margin: 0 0 10px 0;
  padding: 5px 0 3px 0;
  border-bottom: 2px solid #fff;
}
.project img
{
  float: left;
  display: block;
  margin: 0 20px 0 0;
  width: 300px;
  height: 185px;
}
* html .project /* Holly hack for fixing the peekaboo bug in IE */
{
  height: 1%;
}
.small
{
  margin: 0 0 10px 0;
}
.small .project
{
  float: left;
  width: 300px;
  margin: 0;
}
.small .project img
{
  width: 110px;
  height: 68px;
  padding: 0 10px 0 0;
}
* html .project img /* fix for the 3px jog */
{
  margin-left: -3px;
}
* html .small /* Holly hack for fixing the peekaboo bug in IE */
{
  height: 1%;
}
.small .odd
{
  margin: 0 20px 0 0;
}
.project h3
{
  margin: 0;
}
.project p
{
  margin: 1em 0 0 0;
}
.small .project h3
{
  font-size: .8em;
}
.small .project h3 strong
{
  display: block;
}
.hover
{
  background-color: #f4f4f4;
  border-color: #000;
  cursor: pointer;
  cursor: hand;
}
.hover img
{
  opacity:0.7;
  -moz-opacity:0.7;
  filter:alpha(opacity=70);
}
#project-show h2,
.project h3 
{
  text-transform: uppercase;
}
#project-show span,
.project span
{
  display: block;
}
.project a
{
  text-decoration: none;
  color: #444 !important;
}
.project a:hover
{
  background-color: #f4f4f4;
  color: #444;
}
.project .number
{
  margin-top: .5em;
  font-size: .8em;
  color: #999;
}
#project-show .number
{
  float: right;
  color: #ccc;
  font-size: 1.6em;
}
/* fix for the missing margin below the slideshow on the project page in IE */
* html #slideshow
{
  margin: 0 0 1em 0;
}

/* article */

hr
{
  height: 2px;
  margin: 20px 0;
  border: none;
  background-color: #eee;
}
.article h2
{
  margin: 0;
}
.article h2 a
{
  text-decoration: none;
  color: #000;
}
.article h2 a:hover
{
  text-decoration: underline;
  color: #000;
  background-color: #fff;
}
.article p
{
  margin: 1em 0;
}
.article p.meta
{
  margin: .5em 0 0 0;
  font-size: .8em;
  color: #999;
}
.article p.meta a
{
  color: #999;
  text-decoration: none;
}
.article p.meta a:hover
{
  background-color: none;
  text-decoration: underline;
  background-color: #fff;
}

/* sidebar */

#sidebar dd
{
  margin: 0 0 1em 0;
}
#sidebar h2
{
  margin 0;
  font-size: 1em;
  font-weight: bold;
}
#sidebar ul
{
  margin: .5em 0 1em 0;
  padding: 0;
  list-style-type: none;
}
#sidebar ul li
{
  margin: 0 0 2px 0;
}
#sidebar ul li a
{  
  color: #000;
  text-decoration: none;
}
#sidebar ul li.selected a
{
  color: #f00;
}
#sidebar ul li a:hover
{
  background-color: #fff;
  text-decoration: underline;
}

/* about page */

#static-index #main,
#static-index #sidebar,
#static-index #sidebar img
{
  width: 300px;
}
#static-index #main h2
{
  float: left;
  margin: 0 .5em 0 0;
  font-size: 1em;
  font-weight: bold;
}
#static-index #main p
{
  margin: 0 0 1em 0;
  text-align: justify;
}
#static-index #sidebar img
{
  display: block;
  margin: 0 0 1em 0;
}
