body {
  background:       #002338;
  color:            black;
  font-size:        87.5%;
  font-family:      Arial, sans-serif;
  line-height:      1.3;
  margin:           0;
  padding:          0;
  text-align:       left;
}

header {
  margin:           1.5em auto 0.75em auto;
  padding:          20px;
  width:            800px;
  height:           175px;
  display:          block;
  position:         relative;
  background:       #fffff6;
  border-radius:         5px;
  -moz-border-radius:    5px;
  -webkit-border-radius: 5px;
}
header figure {
  float:  left;
  margin: 0 15px 0 0;
  width:  175px;
}
header figure img {
  width:    175px;
  height:   175px;
  float:    left;
}
header h1 {
  font-size:  1.5em;
  position:   absolute;
  bottom:     70px;
  right:      20px;
  text-align: right;
}
header nav {
  background:            black;
  font-size:             1.1em;
  height:                40px;
  line-height:           30px;
  margin:                0 auto 0 auto;
  padding:               0;
  text-align:            center;
  width:                 610px;
  border-radius:         5px;
  -moz-border-radius:    5px;
  -webkit-border-radius: 5px;
  position:              absolute;
  bottom:                30px;
  right:                 20px;
}
header nav ul {
  list-style: none;
  margin:     0 auto;
  padding:    0;
  width:      800px;
}
header nav li {
  float:       left; 
  display:     inline;
  margin:      0;
}
header nav a:link, header nav a:visited {
  color:           white;
  display:         inline-block;
  height:          30px;
  padding:         5px 1em;
  text-decoration: none;
}
header nav .active a, header nav a:active {
  background: #003e6a;
  color:      white;
}
header nav a:hover{
  background:      #3277a7;
  color:           white;
}
header nav .active a:hover {
  background: #003e6a;
  color:      white;
}
header nav li:first-child a {
  border-top-left-radius:            5px;
  -moz-border-radius-topleft:        5px;
  -webkit-border-top-left-radius:    5px;
  border-bottom-left-radius:         5px;
  -moz-border-radius-bottomleft:     5px;
  -webkit-border-radius-bottom-left: 5px;
}

section {
  margin: 0 auto 0.75em auto;
  width: 800px;
  padding: 10px 20px 20px 20px;
  background: #fffff6;
  display:               none;
  border-radius:         5px;
  -moz-border-radius:    5px;
  -webkit-border-radius: 5px;
}

#home {display:block;padding-bottom:5px;}

#bios {padding-bottom:5px;}

#edu div .edu-title {
  font-size: 1.25em;
  font-weight: bold;
  color: #002338;
  margin-top: 1em;
}

#edu div .edu-paper {
  font-size: 1em;
  font-style: italic;
}

#edu div .edu-school {
  font-weight: normal;
  font-size:   1em;
}

#exp .exp-job {}

#exp .exp-job .exp-year {
  width: 200px;
  float: left;
  text-align: center;
  margin: 1em 10px 0 0;
}

#exp .exp-job .exp-year b {
  color: #002338;
}

#exp .exp-job .exp-right {
  width: 590px;
  float: right;
  margin: 1em 0 0 0;
}

#exp .exp-job .exp-comp {
  font-size: 1em;
  font-style: italic;
  margin-bottom: 5px;
}
#exp .exp-job .exp-content {
  font-size: 1em;
}

#pub .pub-paper {
  margin-top: 1em;
}

#pub .pub-paper .pub-title {
  font-size:   1.25em;
  font-weight: bold;
  font-style:  italic;
  color:       #002338;
}

#pub .pub-paper .pub-where {
  font-size:   1em;
  font-weight: normal;
}

#pub .pub-paper .pub-author {
  font-size:   0.9em;
  font-weight: normal;
  font-style:  italic;
}

#gpg {
  font-size: 0.9em;
  color: #002338;
  font-family: courier, monospace;
  padding-top: 20px;
}

footer {
  font-size: 0.75em;
  color:     #888888;
  padding: 10px 20px;
  text-align: center;
  width: 800px;
  background: #fffff6;
  margin: 0 auto 20px auto;
  display:block;
  border-radius:         5px;
  -moz-border-radius:    5px;
  -webkit-border-radius: 5px;
}
