/**** HTML5 blocks ****/
section, header, footer, article, figure, figcaption, aside, nav {
  display: block;
}

* {
  margin: 0;
  padding: 0;
}

body {
  background: #E8E8E8;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Arial, sans-serif;
  font-size: 13px;
  line-height: 1.6em;
  color: #444;
}



h1, h2, h3, h4, h5, h6,
article aside time,
article aside .tags,
#page-header .options a,
#pagination {
  font-family: "purista-web-1","purista-web-2", Georgia, serif;
}

p, ul, ol, pre {
  margin-bottom: 0.8em;
}

#wrap {
  width: 830px;
  margin: 30px auto 30px;
}

/* page-header */

#page-header {
  position: relative;
  height: 170px;
  margin-bottom: 2px;

}

#page-header h1 {
  font-weight: 200;
  font-style: italic;
  font-size: 136px;
  position: absolute;
  left: 0px;
  top: 60px;
}

#page-header h1 a {
  color: #FFF;
}


#page-header h1, #page-header h2, #page-header h3 {

}

#page-header h2 {
  position: absolute;
  top: 100px;
  right: 100px;
  font-weight: 800;
  
  text-transform: uppercase;
  font-size: 20px;
  letter-spacing: 0.1em;
  color: #058;
}


#page-header h3 {
  position: absolute;
  top: 120px;
  right: 60px;
  font-weight: 400;
  font-size: 19px;
  font-style: italic;
  color: #AAA;
}


#page-header h2 {

} 

#page-header .options {
  position: absolute;
  right: 0;
}

#page-header .options > * {
  display: inline-block;
}

#page-header .options .button {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 15px;
  margin-right: 1.0em;
  letter-spacing: 0.1em;
}

#search-field input[type="text"] {
  -webkit-appearance: searchfield;
}

pre, code, kbd {
  font-family: Monaco, Menlo, 'Courier New', monospace;
  font-size: 12px;
}

pre {
  background: #111;
  padding: 1.0em;
  overflow: auto;
  color: #FFF;
}

code {

}

kbd {
  border-style: solid;
  border-color: #DDD;
  border-width: 1px 2px 2px 1px;
  font-style: normal;
  padding: 0.1em 0.2em;
  margin: 0 0.2em;
  border-radius: 2px;
}

blockquote code { font-style: normal; }

a {
  color: #D73;
  text-decoration: none;
}
a:hover {
  color: #058;
}

a img {
  border: none;
}

hr {
  border: none;
  border-bottom: 2px solid #e8e8e8;
  margin: 2.0em 0;
}

article {

  padding: 30px;
  background: #FFF;
  margin-bottom: 2px;
}

article:after {
  content: '';
  clear: both;
  display: block;
  visibility: hidden;
  height: 0;
}

article h1 {
  font-size: 21px;
  font-weight: 400;
  margin-bottom: 0.8em;
  line-height: 1.2em;
  color: #888;
}

article .link h1 {
  font-size: 16px;
  font-style: italic;
}

article .content {
  width: 560px;
float: left;
}

article .content ul,
article .content ol {
  margin-left: 1.5em;
}

article .content li {
  margin-bottom: 0.2em;
}

h2 {
  font-weight: 600;
  margin-bottom: 1.0em;
  font-size: 16px;
  color: #888;
}

blockquote {
  padding-left: 1.0em;
  margin-left: 1.0em;
  font-style: italic;
  border-left: 2px solid #E8E8E8;
}

article img, article iframe {
  border: 2px solid #E8E8E8;
}

article img {
  display: block;
  max-width: 100%;
  box-sizing: border-box;
}

article aside {
  width: 180px;
  float: left;
  margin-left: 30px;
}

article aside time {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 0.5em;
  display: block;
}

article aside .tags {
  list-style: none;
  font-style: italic;
  font-weight: 400;
}
article aside .tags a {
  color: #BBB;
}
article aside .tags a:hover {
  color: #058;
}




/* Pagination */

#pagination {
  background: #FFF;
  position: relative;
  height: 30px;
  line-height: 30px;
}

#pagination .next,
#pagination .previous {
  position: absolute;
  top: 0;
}
#pagination .next {
  right: 0;
}

#pagination a {
  display: block;
  width: 120px;
  text-align: center;
  font-weight: 600;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
#pagination .next a {
  border-left: 3px solid #E8E8E8;
}
#pagination .previous a {
  border-right: 3px solid #E8E8E8;
}

#pagination a:hover {
    background: #058;
  color: #FFF;
}

#pagination .next a:after,
#pagination .next a:before,
#pagination .previous a:after,
#pagination .previous a:before,
#pagination .current:before,
#pagination .current:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  border-style: solid;
}
#pagination .previous a:after {
  border-color: transparent #E8E8E8;
  border-width: 15px 15px 15px 0;
  right: 0;
}
#pagination .previous a:before {
  border-color: #E8E8E8 transparent ;
  border-width: 15px 15px 15px 0;
  left: 0;
}
#pagination .current:before {
  border-color: transparent #FFF;
  border-width: 15px 15px 15px 0 ;
  left: 108px;
}
#pagination .next a:after {
  border-color: #E8E8E8 transparent;
  border-width: 15px 0 15px 15px;
  right: 0;
}
#pagination .next a:before {
  border-color: transparent #E8E8E8;
  border-width: 15px 0 15px 15px;
  left: 0;
}
#pagination .current:after {
  border-color: transparent #FFF;
  border-width: 15px 0 15px 15px;
  right: 108px;
}


#pagination .current {
    text-align: center;
  font-style: italic;
  color: #AAA;
}

/* PrettyPrint */

pre .str { color: #79BD56; } /* string */
pre .kwd { color: #E39B79;  } /* keyword */
pre .com { color: #888; } /* comment - skyblue */
pre .typ { color: #98fb98; } /* type    - lightgreen */
pre .lit { color: #DE8E50; } /* literal */
pre .pun { color: #FEA; }    /* punctuation */
pre .pln { color: #fff; }    /* plaintext */
pre .tag { color: #A1C8FD;  } /* html/xml tag    - lightyellow*/
pre .atn { color: #bdb76b; } /* attribute name  - khaki*/
pre .atv { color: #ffa0a0; } /* attribute value - pink */
pre .dec { color: #98fb98; } /* decimal         - lightgreen */


/**** Footer ****/

#site-footer {
  padding-top: 5.0em;
  text-align: center;
  font-size: 11px;
}

#site-footer ul {
  list-style: none;
}

#site-footer li {
  display: inline;
  padding: 0 1.5em;
}

#site-footer a { color: #888; }
#site-footer a:hover { color: #058; }