body,
h1,
h2,
hr,
ul,
li {
  padding: 0;
  margin: 0;
  font-weight: normal;
}
ul,
li {
  list-style: none;
}
.content-left {
  float: right;
  width: 480px;
}
#sidebar {
  width: 204px;
  float: left;
}
h1 {
  font-size: 3em;
  font-family: Arvo,serif;
}
h1 + span {
  font-size: 1.3em;
  display: block;
  margin: .6em 0;
  font-style: italic;
}
h2 {
  margin: 1em 0 .4em;
  color: #e58a29;
}
h3 {
  margin-top: 2em;
}
p {
  margin: 0 0 1em;
  line-height: 1.4em;
}
a {
  color: #e58a29;
  text-decoration: none;
}
.color {
  color: #e58a29;
}
.b {
  -moz-box-shadow: inset 0px 1px 0px 0px #fce2c1;
  -webkit-box-shadow: inset 0px 1px 0px 0px #fce2c1;
  box-shadow: inset 0px 1px 0px 0px #fce2c1;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ffc477), color-stop(1, #e58a29));
  background: -moz-linear-gradient(center top, #ffc477 5%, #e58a29 100%);
  filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ffc477', endColorstr='#e58824');
  background-color: #ffc477;
  -moz-border-radius: 11px;
  -webkit-border-radius: 11px;
  border-radius: 11px;
  border: 1px solid #eeb44f;
  display: inline-block;
  color: #ffffff;
  font-family: arial;
  font-size: 17px;
  font-weight: bold;
  padding: 6px 24px;
  text-decoration: none;
  text-shadow: 1px 1px 0px #cc9f52;
}
.b:hover {
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #e58a29), color-stop(1, #ffc477));
  background: -moz-linear-gradient(center top, #e58a29 5%, #ffc477 100%);
  filter: progid:dximagetransform.microsoft.gradient(startColorstr='#e58a29', endColorstr='#ffc477');
  background-color: #e58a29;
}
.b:active {
  position: relative;
  top: 1px;
}
body {
  font-family: 'PT Sans', sans-serif;
  font-size: 16px;
  background: #ffffff;
  color: #000;
  background: #ffffff url(../bg.jpg) no-repeat center -200px;
  background-attachment: fixed;
}
#w {
  margin: 20px auto;
  width: 94%;
  max-width: 720px;
}
#header {
  position: relative;
  padding: 0 0 10px;
  font-size: 1.6em;
}
#logo {
  position: absolute;
  top: -14px;
  right: 10px;
  height: 96px;
}
#nav {
  overflow: hidden;
  line-height: 3em;
  font-family: Arvo,serif;
}
#nav li {
  float: left;
  margin-right: 10px;
}
#nav li.active a {
  color: #e58a29;
}
#nav a {
  line-height: 2em;
  padding: 0 10px;
  color: #000000;
}
#nav a:hover {
  text-decoration: underline;
}
#content {
  border-top: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
  overflow: hidden;
  padding: 20px 0px;
}
#content img {
  padding: 3px;
  border: 1px solid #cccccc;
}
#content img.left {
  float: left;
  margin-right: 20px;
}
#content img.right {
  float: right;
  margin-left: 20px;
}
#content #portrait {
  width: 204px;
  /*height: 269px;*/
  display: block;
}
#experience {
  clear: both;
}
#experience > li {
  overflow: hidden;
  margin-bottom: .4em;
}
#experience .year {
  font-weight: bold;
  float: left;
  display: block;
  width: 100px;
  margin-right: 10px;
}
#experience span + span {
  display: block;
  float: left;
  width: 365px;
}
#extra-experience {
  position: relative;
  margin-left: -6px;
}
#extra-experience li {
  float: left;
  border-right: 1px solid #ddd;
  padding: 0 6px;
  margin-bottom: .2em;
}
#contact {
  font-size: 1.4em;
  margin-top: 1em;
}
#contact strong {
  display: block;
  line-height: 1em;
}
#contact .small {
  font-size: .7em;
}
#footer {
  font-size: .8em;
  color: #ccc;
  overflow: hidden;
  margin: 20px 0;
}
#footer a {
  float: right;
  color: #ccc;
}
#footer a:hover {
  color: #e58a29;
}
#footer span {
  float: left;
}
@media only screen and (max-width: 480px) {
  body {
    background: #ffffff;
  }
  #experience > li {
    margin-bottom: .8em;
  }
  #experience .year,
  #experience span + span {
    width: auto;
    float: none;
  }
  #extra-experience li {
    border-right: none;
    float: none;
    list-style: disc;
    padding-left: 5px;
    margin-left: 30px;
  }
  #sidebar {
    float: none;
    width: auto;
    margin-top: 20px;
  }
  .content-left {
    width: auto;
    float: none;
  }
}
@media screen and (max-width: 320px) {
  h1 {
    font-size: 2em;
    margin: .4em 0 .4em;
  }
  h1 .color {
    display: block;
  }
  #nav {
    line-height: 1.5em;
  }
  #content .small {
    font-size: 1em;
  }
  #content #portrait {
    width: 96%;
    height: auto;
  }
}
@media only screen and (min-width: 321px) and (max-width: 480px) {
  #content .small {
    font-size: .7em;
  }
  #content #portrait {
    width: 45%;
    height: auto;
    float: left;
    margin-right: 10px;
  }
  #logo {
    height: 2.4em;
  }
}
