html, body {
    min-width: 770px;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: white;
    color: #363636;
    font: 1em Arial, "Liberation Sans", sans-serif;
}

div {position: relative;}
a {
  color: #909FAB;
  text-decoration: none;
  }
a:hover {
  color: #CC0000;
  text-decoration: underline;
  }
input {
  border: 1px solid #262626;
  background: #f5f5f5;
}

img {
  border: 0;
}

#navigation,
#content,
#footer {
  width: auto;
  max-width: 700px;
  margin: 0 auto;
}

#header {
  width: 100%;
  height: 38px;
  overflow: hidden;
  border-bottom: 5px solid #c00;
}
#content {
  margin-top: 2em;
  clear: left;
  min-height: 85%;
}

#footer {
  font-size: 10px;
  color: #999;
  text-align: right;
  border-top: 1px solid #999;
  text-align: right;
}

#footer a {
  color: #88de2c;
}
/* Navigation */

#navigation {
  margin: 0 auto;
  padding: 0;
  list-style: none inside;
}
#navigation li {
  float: left;
/*  height: 3em;*/

}

#navigation a {
  font-size: 1em;
  color: transparent;
}
#navigation a:hover {
  font-size: 2em;
}

#about,
#blog,
#projects,
#contact {
  display: block;
  height: 40px;
  background: transparent url('images/nav_rg.png') no-repeat scroll 0 0;

  margin: 0 0.2em;
}

#about {
  width: 64px;
  background-position: 0 19px;
}
#about.active,
#about:hover {
  width: 134px;
  background-position: 0 -39px;
}
#blog {
  width: 50px;
  background-position: -132px 19px;
}
#blog.active,
#blog:hover {
  width: 103px;
  background-position: -132px -39px;
}
#projects {
  width: 96px;
  background-position: -238px 19px;
}
#projects.active,
#projects:hover {
  width: 190px;
  background-position: -238px -39px;
}
#contact {
  width: 88px;
  background-position: -437px 19px;
}
#contact.active,
#contact:hover {
  width: 175px;
  background-position: -437px -39px;
}

h2 {
  font-variant: small-caps;
  color: #999;
  /* border-bottom: 5px solid #c00; */
  border-bottom: 5px solid #15649c;
}

a img {border: 5px solid transparent;}
a:hover img {
  border: 5px solid #c00;
}


