/***
  yaychris screen stylesheet
    by Chris Jones
    http://yaychris.com
    copyright (c) 2009 Chris Jones

  ~* Organization *~
    0. Reset
    1. Layout
    2. Typography
    3. Background images & colors
    4. Image Replacement
    5. Theme
***/

/**
  0. Reset
**/
/* http://meyerweb.com/eric/tools/css/reset/ */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; vertical-align: baseline; background: transparent;
}
body { line-height: 1; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
:focus { outline: 0; }
ins { text-decoration: none; }
del { text-decoration: line-through; }
table { border-collapse: collapse; border-spacing: 0; }
.clearfix:after, .container:after {
  content: "\0020"; 
  display: block; 
  height: 0; 
  clear: both; 
  visibility: hidden;
  overflow:hidden; 
}

/**
  1. Layout
**/
.container {
  width: 950px;
  margin: 0px auto;
  position: relative;
}
header,
footer,
article,
section,
nav {
  display: block;
}

#masthead {
  height: 60px;
  display: block;
  border-bottom: 1px solid #000;
  opacity: .2;
  -webkit-transition: opacity 0.1s linear;
}
#masthead:hover {
  opacity: 1;
}

#masthead .container {
  position: relative;
  height: 60px;
}

#masthead h1,
#masthead h1 a {
  display: block;
  width: 222px;
  height: 32px;
}
#masthead h1 {
  position: absolute;
  bottom: 0; left: 80px;
  border-bottom: 6px solid #fff;
}
.home #masthead h1 {
  border-bottom: 6px solid #000;
}

#masthead nav {
  position: absolute;
  width: 550px;
  bottom: 0; left: 400px;
}

#masthead nav h1 {
  display: block;
  position: absolute;
  top: 0; right: 0;
  width: 0; height: 0;
  overflow: hidden;
}

#masthead nav ul {
  position: absolute;
  bottom: 0; left: 0;
}
#masthead nav ul li {
  position: relative;
  top: -8px;
  float: left;
  width: 120px;
}
.work #masthead nav ul li#work-nav a,
.code #masthead nav ul li#code-nav a,
.blog #masthead nav ul li#blog-nav a {
  border-bottom: 6px solid #000;
}

/* home */
.home #masthead {
  opacity: 1;
  -webkit-transition: none;
}
#content .container {
  padding-bottom: 80px;
}
.home #content {
  padding-top: 60px;
}
.home #content h1#purveyor {
  width: 830px;
  height: 54px;
  position: absolute;
  top: 235px; left: 80px;
}

.home p#lead {
  width: 430px;
  min-height: 150px;
  margin: 0 0 90px 160px;
  padding: 18px 0 55px 160px;
}

.home article#work-inquiries {
  display: block;
  float: left;
  width: 350px;
  margin: 0 90px 0 120px;
}
.home article#right-now {
  display: block;
  float: left;
  width: 310px;
  margin-right: 80px;
}

.home section#content-sub {
  margin: 0 40px 0 80px;
  padding-top: 30px;
}

.home article#about {
  display: block;
  float: left;
  width: 350px;
  margin: 0 90px 0 40px;
}
.home article#links {
  display: block;
  float: left;
  width: 310px;
  margin-right: 40px;
}
.home article#links section ul {
  overflow: auto;
}
.home article#links section li {
  float: left;
  width: 140px;
  margin-right: 10px;
}


/* work */
.work #content {
  padding-top: 60px;
}
.work #content nav#projects {
  float: left;
  width: 190px;
  margin: 0 50px 0 80px;
}
.work #content article#project {
  display: block;
  float: left;
  width: 590px;
  margin-right: 40px;
}
.work #content #slideshow {
  overflow: hidden;
  position: relative;
}
.work #content #slideshow,
.work #content #slideshow ol,
.work #content #slideshow li,
.work #content #slideshow img {
  margin: 0;
  padding: 0;
  width: 590px;
  height: 332px;
}
.work #content #slideshow ol {
  position: absolute;
  top: 0; left: 0;
}
.work #content #slideshow li {
  float: left;
}

.work #content #slideshow-nav li {
  float: left;
  width: 3em;
}
.work #content article aside {
  display: block;
  float: right;
  width: 210px;
  margin-left: 40px;
  margin-bottom: 20px;
  padding: 10px;
}


/* blog */
.blog #content {
  padding-top: 50px;
}
.post #content .container {
  padding-bottom: 20px;
}
.blog article header {
  width: 750px;
  padding: 0 40px 20px 40px;
  margin: 0 40px 20px 80px;
}

.archive article nav ol li {
  padding: 0 80px 0 400px;
}
.archive article nav ol li span {
  float: left;
  width: 190px;
  margin-left: -200px;
  text-align: right;
}

.post article p.byline {
  width: 150px;
  float: right;
  margin-right: -160px;
  padding-right: 10px;
}
.post article #intro {
  width: 350px;
  float: left;
  margin-left: 120px;
  margin-right: 90px;
}
.post article #body {
  clear: both;
  width: 550px;
  margin: 0 auto;
}
.post section#after-post-links {
  padding-top: 3em;
}



/* footer */
footer {
  display: block;
  clear: both;
}


/***
  2. Typography
***/
body {
  font-size: 12px;
  font-family: "Helvetica Neue", "Helvetica", Arial, sans-serif;
  line-height: 1.5;
}

.redacted {
  background-color: #000;
}

#masthead nav ul li {
  font-size: 18px;
  font-weight: bold;
  line-height: 1;
}

#masthead nav ul li a,
#masthead nav ul li a:hover {
  text-decoration: none;
}

#content a,
footer a {
  text-decoration: none;
  color: #2581bb;
  border-bottom: 1px solid #2581bb;
}
#content a:visited,
footer a:visited {
  color: #5b92b4;
  border-bottom: 1px dotted #5b92b4;
}
#content a:hover,
footer a:hover {
  border-bottom: none;
}

#content article p,
#content section p,
#content article ul,
#content section ul,
#content article ol,
#content section ol {
  margin-bottom: 1.714285714em;
}


#content {
  font-size: 14px;
  line-height: 1.714285714;
}


/* home */
.home p#lead {
  font-size: 18px;
  line-height: 2;
  -webkit-text-size-adjust: none; /* Turn off mobile safari text resizing */
}

.home article#work-inquiries h1,
.home article#right-now h1 {
  font-size: 30px;
  font-family: Georgia, sans-serif;
  font-style: italic;
}
.home article#right-now ul {
  list-style: circle;
}
.home #content-sub h1 {
  font-size: 18px;
  font-family: Georgia, sans-serif;
  font-style: italic;
}

.home #content article,
.home #content section {
  font-size: 14px;
  line-height: 1.714285714;
}


/* work */
.work #content nav#projects h1 {
  font-family: Georgia, sans-serif;
  font-size: 24px;
}
.work #content nav#projects ul {
  font-size: 14px;
  padding-left: 40px;
}

.work #content #slideshow-nav a {
  display: block;
  font-size: 16px;
  text-align: center;
  color: #fff;
  background-color: #000;
  border: none;
}
.work #content #slideshow-nav li.current a,
.work #content #slideshow-nav a:hover {
  color: #000;
  background-color: #fff;
}

.work #content article h1 {
  font-family: Georgia, sans-serif;
  font-size: 24px;
  font-style: italic;
}
.work #content article aside {
  font-size: 12px;
  line-height: 1.5;
}
.work #content article aside p.link {
  font-size: 14px;
  line-height: 1.285714286;
  padding-bottom: 1.285714286em;
  text-align: center;
}
.work #content article aside p,
.work #content article aside ul {
  margin-bottom: 0;
  padding: 0 10px;
}
.work #content article aside ul li {
  list-style-type: circle;
  margin-left: 20px;
}
.work #content article aside p.collaboration {
  padding-top: 1.5em;
  text-align: center;
}
.work #content article aside p:first-child {
  padding-top: 10px;
}
.work #content article aside p:last-child {
  padding-bottom: 10px;
}


/* blog */
.blog article header h1 {
  font-family: Georgia, serif;
  font-size: 48px;
  font-style: italic;
  line-height: 1.25;
}

.blog article nav ol li {
  font-size: 18px;
  line-height: 1.333333333;
  margin-bottom: 1.333333333em;
}

.blog article #intro p.sub-title {
  font-size: 18px;
  line-height: 1.333333333;
  margin-bottom: 1.333333333em;
  font-weight: bold;
}
.blog article p.byline {
  font-size: 14px;
  font-style: italic;
  line-height: 1.714285714;
  margin-bottom: 1.714285714em;
  text-align: right;
}
.blog article h2 {
  font-family: Georgia, serif;
  font-size: 24px;
  font-style: italic;
  line-height: 1;
  margin: 0 0 1em -40px;
}
.blog article h3 {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.333333333;
}
.blog article #body ol { list-style: decimal; }
.blog article #body ul { list-style: circle; }
.blog article #body pre {
  margin-bottom: 1.714285714em;
}
.blog article #body code {
  font-family: Consolas, monospace;
  color: #444;
}
.blog article #body sup {
  vertical-align: super;
  font-size: 11px;
  line-height: 0;
  padding: 3px;
}
.post article #body hr {
  width: 33%;
  margin-bottom: 2em;
}
.post article #body ol.footnotes {
  font-size: 12px;
  padding: 1em 40px;
  border-top: 1px solid #ccc;
}

.post section#after-post-links {
  text-align: center;
}
.post section#after-post-links p {
  font-size: 12px;
  line-height: 2;
  margin-bottom: 2em;
}
.post section#after-post-links p#back-to-archive {
  font-size: 18px;
  line-height: 1.333333333em;
  margin-bottom: 1.333333333em;
}


/* footer */
footer p {
  font-size: 11px;
  text-align: center;
  margin-bottom: 1.636363636em;
}


/***
  3. Background Images & Colors
***/

/* home */
.home p#lead {
  background: transparent url(/images/styles/cartoon.gif) no-repeat 0 0;
}
.home section#content-sub {
  background: transparent url(/images/styles/home-tile-bg.gif) repeat-x 0 0;
}

/* work */
.work ol#slideshow-nav {
  background-color: #000;
}
.work #content article aside {
  background: transparent url(/images/styles/tile-bg.gif) repeat 0 0;
}
.work #content article aside p,
.work #content article aside ul {
  background-color: rgba(255, 255, 255, 0.93);
}

/* blog */
.blog article header {
  background: transparent url(/images/styles/home-tile-bg.gif) repeat-x bottom left;
}

/* footer */
.blog footer .container {
  padding-top: 30px;
  background: transparent url(/images/styles/home-tile-bg.gif) repeat-x top left;
}


/***
  4. Image Replacement
***/
#masthead h1 a,
.home #content h1#purveyor,
footer h1 {
  display: block;
  overflow: hidden;
  text-indent: -9999px;
  text-align: left;
}

#masthead h1 a {
  background: transparent url(/images/styles/logo.png) no-repeat 0 0;
}

/* home */
.home #content h1#purveyor {
  background: transparent url(/images/styles/purveyor-bg.gif) no-repeat 0 0;
}

footer h1 {
  width: 92px; height: 15px;
  margin: 0 auto 10px auto;
  background: transparent url(/images/styles/copyright.gif) no-repeat 0 0;
}


/***
  5. Theme
***/
#masthead h1 a {
  background-color: #000;
}
#masthead h1 a:hover {
  background-color: #2581bb;
}

#masthead nav ul li a {
  color: #000;
}
#masthead nav ul li a:hover {
  color: #2581bb;
}

