/* Reset */
* {
  margin: 0;
  padding: 0;
  font-size: 1em;
  font-weight: normal;
  text-align: left;
}

/* Base */
li {
  list-style-type:none;
}

/* Body, type, size */
body {
  background: #151515;
  font-family: "Helvetica Neue", Helvetica, Arial, Verdana, sans-serif;
  font-size: 75%;
  color: white;
  margin: 0 65px;
}
a {
  color: white !important;
}
a:hover  {
  color: #C4005E !important;
}

/* Title, intro */
#title {
  background: left center no-repeat url(../images/title_bkg.gif);
  font-size: 1.25em;
  line-height: 1;
  padding-left: 46px;
  margin-top: 30px;
  margin-bottom: 0.6em;
}
#title strong {
  color: #C4005E;
  display: block;
}
#header {
  border-bottom: 1px solid #333333;
  padding-bottom: 1em;
  width: 100%;
  float: left;
}
#intro {
  line-height: 1.3;
  padding-left: 6px;
  float: left;
}
#downloads {
  background: left top no-repeat url(../images/links/pdf.gif);
/*  font-size: 0.9em;*/
  padding-left: 36px;
  min-height: 28px;
  float: right;
}
#downloads strong {
  font-weight: bold;
  display: block;
}

/* Projects */
#projects,
#projects h1,
#projects p,
#projects li {
  float: left;
}
#projects {
  width: 100%;
  margin-left: -65px;
  float: left;
}
#projects li {
  background: left bottom no-repeat;
  padding-top: 15px;
  width: 100%;
  height: 309px;
  float: left;
}
#projects h1 {
  font-weight: bold;
  font-size: 3.4em;
  margin-left: 65px;
}
#projects p {
  border-left: 1px solid #333333;
  padding-left: 1em;
  margin: 1.4em 0 0 1em;
  width: 20em;
}
#projects p.linkOut a {
  background: #C4005E;
  color: white !important;
  text-decoration: none;
  padding: 0.2em 0.4em;
  font-size: 1.2em;
}

#pekky {
  background-image: url(../images/projects/pekky.gif) !important;
}
#pekky .linkOut a {
  background: #339999 !important;
  color: black !important;
}
#gluttonberg {
  background-image: url(../images/projects/gluttonberg.gif) !important;
}
#gluttonberg .linkOut a {
  background: #00CDFF !important;
}
#brik {
  background-image: url(../images/projects/brik.gif) !important;
}
#brik .linkOut a {
  background: #6C4141 !important;
}
#turings-apple {
  background-image: url(../images/projects/turings-apple.gif) !important;
}
#turings-apple .linkOut a {
  background: #336533 !important;
}
#codenice {
  background-image: url(../images/projects/codenice.gif) !important;
}
#codenice .linkOut a {
  background: #FF6200 !important;
}
#codenice .linkOut {
  font-weight: bold;
}
#mreel {
  background-image: url(../images/projects/mreel.gif) !important;
}
#mreel .linkOut a {
  background: #680031 !important;
}
#theruleofthree {
  background-image: url(../images/projects/theruleofthree.gif) !important;
}
body #theruleofthree .linkOut a {
  background: white !important;
  color: black !important;
}

/* Links, meta */
#links, 
#meta {
  border-top: 1px solid #333333;
  width: 565px;
  float: left;
  clear: both;
}

/* Links */
#links {
  background: #151515;
  padding: 1em 0 0 0;
}
#links li,
#links a {
  float: left;
}
#links li {
  margin-bottom: 0.4em;
  min-height: 2.5em;
  width: 240px;
}
#links a {
  background: left top no-repeat;
  text-decoration: none;
  font-size: 0.9em;
  padding-left: 40px;
  min-height: 28px;
}
#twitter a {
  background-image: url(../images/links/twitter.gif);
}
#facebook a {
  background-image: url(../images/links/facebook.gif);
}
#email a {
  background-image: url(../images/links/email.gif);
}

/* Meta */
#meta {
  padding: 0.5em 0;
  height: 1em;
}
#meta h1,
#meta p {
  font-size: 0.9em;
  color: #333333;
  float: left;
}
#meta h1 {
  margin-right: 0.5em;
}

/* Javascript enabled */
.javascript #links, 
.javascript #meta,
.javascript #projects,
.javascript #projectControls {
  position: fixed;
}
.javascript #projects {
  margin-bottom: 2px;
  bottom: 7.8em;
  z-index: 1;
}
.javascript #projects li {
  overflow: hidden;
}
.javascript #links {
  margin-bottom: 1px;
  bottom: 2em;
  z-index: 2;
}
.javascript #meta {
  bottom: 0;
}

/* Project paging controls */
#projectControls {
  left: 65px;
  bottom: 10em;
  z-index: 2;
}
#projectControls li,
#projectControls a {
  float: left;
}
#projectControls a {
  background:left top no-repeat url(../images/paging.gif);
  width: 25px;
  height: 21px;
  /* hide text */
  text-indent: -1000em;
  letter-spacing: -1000em;
}
#projectControls #next {
  background-position: right top;
  padding-left: 1px;
}

/* Tooltip */
#tooltip {
  background:left top no-repeat url(../images/tooltip_bkg.gif);
  margin: 5px 0 0 0;
  width: 222px;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 20;
  overflow: hidden;
}
#tooltip p {
  font-size: 0.9em;
  border-bottom: 2px solid #333333;
  border-right: 2px solid #333333;
  padding: 12px 15px 8px 15px;
  margin: 0 0 0 25px;
  width: 165px;
}
#tooltip.left-position {
  background-position: right top;
}
#tooltip.left-position p {
  border-right: 0;
  border-left: 2px solid #333333;
  margin: 0 25px 0 0;
}

/* Splash, loading */
#splash {
  background: #C4005E;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 20;
}
#splash p {
  margin: 200px 0 0 65px;
}
#splash p strong {
  font-weight: bold;
  font-size: 3em;
  display: block;
}
