/* 
  html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline)
  v1.4 2009-07-27 | Authors: Eric Meyer & Richard Clark
  html5doctor.com/html-5-reset-stylesheet/
*/
html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}
a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}
ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}
mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}
del {
  text-decoration: line-through;
}
abbr[title],
dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}
input,
select {
  vertical-align: middle;
}
select,
input,
textarea,
button {
  font: 99% sans-serif;
}
html {
  overflow-y: scroll;
}
strong,
th {
  font-weight: 700;
}
th,
td,
td img {
  vertical-align: middle;
}
sub {
  vertical-align: sub;
  font-size: smaller;
}
sup {
  vertical-align: super;
  font-size: smaller;
}
pre {
  white-space: pre-wrap;
  white-space: pre;
}
textarea {
  overflow: auto;
}
label,
input[type="button"],
input[type="submit"],
input[type="image"],
button {
  cursor: pointer;
}
button,
input,
select,
textarea {
  margin: 0;
}
input[disabled],
select[disabled],
textarea[disabled] {
  opacity: 0.8;
  color: #777;
}
button {
  width: auto;
  overflow: visible;
}
.ie7 img {
  -ms-interpolation-mode: bicubic;
}
html {
  background-color: #fcfcfc;
  overflow-y: scroll;
}
#wrap {
  max-width: 780px;
  min-width: 280px;
  margin: 0 auto;
  padding: 60px 20px 80px;
  position: relative;
}
body,
select,
input,
textarea {
  color: #444;
  font-family: "Helvetica Neue", sans-serif;
  font-size: 16px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Helvetica Neue", sans-serif;
  font-weight: 500;
}
pre,
code,
kbd,
samp {
  font-family: Menlo, Consolas, "Courier New", Courier, Mono, monospace;
}
a {
  text-decoration: none;
  color: #5d7de2;
}
a:hover,
a:active {
  outline: none;
}
a,
a:active,
a:visited {
  color: #19599f;
}
a:hover {
  text-decoration: underline;
}
::-moz-selection {
  background: #5d7de2;
  color: #fff;
  text-shadow: none;
}
::selection {
  background: #5d7de2;
  color: #fff;
  text-shadow: none;
}
a:link {
  -webkit-tap-highlight-color: #5d7de2;
}
.hidden {
  display: none;
  visibility: hidden;
}
legend,
.vhidden {
  position: absolute !important;
  left: -9999em;
  text-indent: -9999px;
  margin-bottom: -999em;
}
time {
  color: #bcbcbc;
  font-family: "Helvetica Neue", sans-serif;
}
#content {
  width: 100%;
  position: relative;
}
h1 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #5d7de2;
}
h1 a {
  color: #5d7de2 !important;
  text-decoration: none !important;
}
.posts time,
.projects time {
  margin-right: 10px;
  display: inline-block;
  width: 110px;
  text-align: right;
}
.posts li,
.projects li {
  padding: 10px 0;
  font-family: "Helvetica Neue", sans-serif;
}
.page {
  padding-top: 40px;
}
.page #wrap {
  padding-top: 20px;
}
.page #header h1 {
  font-size: 15px;
}
#content .post {
  padding-bottom: 1.5em;
  border-bottom: 1px dotted #ddd;
}
#content .post a[rel=external] {
  content: " " url(/images/external.gif);
}
#content .post blockquote {
  font-family: "Helvetica Neue", sans-serif;
  font-weight: 400;
  overflow: hidden;
}
#content .post blockquote strong {
  font-weight: 700;
}
#content .post h1 {
  display: inline-block;
  vertical-align: middle;
  font-size: 27px;
}
#content .post h2 {
  font-size: 20px;
  margin-top: 40px;
  padding-bottom: 5px;
  border-bottom: 1px solid #ccc;
}
#content .post .date {
  font-size: 0.875em;
  padding: 1px 3px 6px;
}
#content .post p {
  margin: 1.5em 0;
  line-height: 1.65;
  font-weight: 300;
}
#content .post p > code {
  padding: 0 2px;
  background-color: #eee;
  font-size: 92%;
}
#content .post ul,
#content .post ol {
  padding-left: 2em;
}
#content .post ol li {
  list-style: decimal inside;
  color: #09395F;
  padding-bottom: 5px;
}
#content .post ul li {
  list-style: disc outside;
  padding-bottom: 5px;
}
#content .post img,
#content .post audio,
#content .post video,
#content .post .block {
  display: block;
  margin: 20px auto;
}
#content h1 {
  font-size: 24px;
  margin-bottom: 0;
  color: #333;
}
#related {
  margin: 60px 0 20px;
  padding-right: 200px;
  position: relative;
}
#related time {
  font-size: 0.95em;
}
#related ul {
  padding: 10px 0 10px 20px;
  list-style: disc inside;
}
#related li {
  padding: 5px 0;
}
#related #adsense {
  position: absolute;
  right: 40px;
  top: 0px;
}
.highlight {
  font-size: 0.875em;
  border: 1px solid #222;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: none;
  position: relative;
  box-shadow: inset 0 2px 9px rgba(0, 0, 0, 0.4);
}
#footer {
  height: 80px;
  width: 100%;
  margin: 0 auto;
  max-width: 940px;
  position: fixed;
  bottom: 0;
  border-top: 1px solid #dfdfdf;
  padding: 0 0 10px;
  background-color: #fbfbfb;
  font-size: 0.9em;
  line-height: 1.2;
  z-index: 8;
}
#footer .col {
  float: left;
  width: 50%;
  min-width: 200px;
}
#footer ul {
  text-align: right;
}
#footer .n {
  padding-bottom: 3px;
  display: block;
}
#footer .email {
  display: block;
}
#footer .vcard {
  padding: 10px 0;
}
#footer .links {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0 40px 0 20px;
  line-height: 41px;
  text-align: right;
}
#footer .links li {
  display: inline-block;
  width: 75px;
  text-decoration: underline;
}
.page #wrap {
  padding-bottom: 20px;
}
.page #footer {
  position: relative;
  margin-top: 40px;
}
@media only screen and (max-width: 764px) {
  #footer .links li {
    width: 70px;
  }
  #footer .col {
    margin-bottom: 5px;
  }
}
@media only screen and (max-width: 480px) {
  .posts a {
    display: block;
    margin-top: 5px;
    line-height: 1.2;
  }
  .posts time {
    font-size: 0.9em;
  }
  #footer {
    height: 120px;
  }
  #footer .col {
    width: auto;
    clear: left;
    padding-right: 10px;
  }
  #footer .links {
    padding-left: 0;
    padding-top: 5px;
    border-top: 1px solid #ddd;
  }
  #footer .links li {
    float: left;
    text-align: left;
    width: 80px;
  }
  #related {
    padding-right: 0;
  }
  #related .posts li {
    padding: 5px 0 0;
  }
  #related .posts ul {
    padding-bottom: 10px;
  }
  #related #adsense {
    position: static;
    margin: 20px 0 20px 20px;
  }
}
@media screen and (max-height: 560px) {
  #wrap {
    padding-bottom: 20px;
  }
  #footer {
    position: static;
    margin-top: 20px;
  }
  #footer:after {
    display: none;
  }
}
