@import url(http://fonts.googleapis.com/css?family=Sorts+Mill+Goudy:400);

body {
  padding:50px;
  font-size:18px;
  font-family: "ff-dagny-web-pro",  Helvetica, Arial, sans-serif;
  color:#333;
  font-weight:400;
  line-height:160%;
}

h1, h2, h3, h4, h5, h6 {
  color:#111;
  margin:0 0 20px;
  font-weight:600;
}

p, ul, ol, table, pre, dl {
  margin:0 0 15px;
}

sub { line-height:1.1; font-size: 15px; margin-bottom:15px;}

h1, h2, h3 {
  line-height:1.2;
}

ul, li { margin: 10px 0px;}

h3 {font-size:20px;}

h3 { margin: 30px 0 15px 0;}

h4 {}

h1 {
  font-size:28px;
}
.content h1 {
  float:right;
  width:100%;
  margin-bottom:10px;
}
h2 {
  color:#393939;
}
.content h2 {
  margin-top:30px;
  margin-bottom:15px;
}
h4, h5, h6 {
  margin-bottom:7px;
  margin-top:20px;
}

a {
  color:#39c;
  font-weight:400;
  text-decoration:none;
}

a:hover {
  color:#069;
}

a small {
  font-size:11px;
  color:#777;
  margin-top:-0.6em;
  display:block;
}

a:hover small {
  color:#777;
}

.wrapper {
  width:860px;
  margin:0 auto;
}

blockquote {
  border-left:1px solid #e5e5e5;
  margin:30px 0;
  padding:0 0 0 20px;
  font-style:italic;
}

code, pre {
  font-family: Monaco, 'Lucida Console', Terminal;
  color: #333;
  font-size:12px;
}

pre {
  padding:8px 15px;
  background: #f8f8f8;  
  border-radius:5px;
  border:1px solid #e5e5e5;
  overflow-x: auto;
}

table {
  width:100%;
  border-collapse:collapse;
}

th, td {
  text-align:left;
  padding:5px 10px;
  border-bottom:1px solid #e5e5e5;
}

dt {
  color:#444;
  font-weight:700;
}

th {
  color:#444;
}

img {
  max-width:100%;
}

header {
  width:205px;
  float:left;
  position:fixed;
}

header h1 {
  font-size:16px;
  margin-bottom:3px;
  font-weight:600;
}

header p {
  font-size:13px;
  line-height:140%;
}

header p#projects {
  margin-bottom:6px;
  margin-top:6px;
}

header img {
  margin-bottom:20px;
}


strong {
  color:#222;
  font-weight:600;
}

section {
  width:500px;
  float:right;
  padding-bottom:50px;
}

section.excerpt {
  width:600px;
}

.twitter_box:after, .twitter_box:before {
    width: 0; height: 0;
    position: absolute;
    top: 100%;
    border: solid transparent;
    pointer-events: none;
    content: " ";
    }

.postlist {
  margin-top:20px;
}

.twitter_box:before {
    left: 20%;
    border-top-color: #aaa;
    border-width: 4px;
    margin-left: -4px;
    }
.twitter_box:after {
    left: 20%;
    border-top-color: #fff;
    border-width: 3px;
    margin-left: -3px;
    }

.twitter_box #followers {
    width: 100%; height: auto;
    position: absolute;
    top: 0px; left: 0px;
    font-family: "Helvetica Neue", helvetica, arial, sans-serif;
    font-size: 15px; line-height: 33px;
    letter-spacing: 0;
    white-space: nowrap;
    color: #333;
    text-align: center;
    -webkit-font-smoothing: subpixel-antialiased;
   }

.twitter_box {
    width: 58px; height: 33px;
    position: relative;
    background: #fff;
    border: 1px solid #ddd;
    margin-bottom: 4px;
    }

span.pluginCountTextDisconnected {}

section.postcontent {
  padding-bottom:30px;
}

section.postcontent img {
  margin: 10px 0;
}

section.byline {
  padding-bottom:30px;
}

small {
  font-size:11px;
}

hr {
  border:0;
  background:#e5e5e5;
  height:1px;
  margin:0 0 25px;
}

footer {
  width:270px;
  float:left;
  position:fixed;
  bottom:50px;
}

section.meta h3 {
  margin-bottom:10px;
  font-size: 18px;
}

section.excerpt h3 {
  margin-bottom:5px;
  margin-top:0px;
}

section.excerpt p.meta {
  margin-bottom:30px;
}

section.excerpt .date {
  margin-bottom:2px;
  font-size:13px;
  text-align:left;
}

section.excerpt .entry {
  margin-bottom:7px;
}

.meta p {
  font-size:15px;
  margin-bottom:10px;
}

#share_sidebar {
  float:left;
  width:60px;
  text-align:right;
  height:100px;
  position:fixed;
  right:20px;
  top:10px;
  margin-top:10px;
}

section.content {
  margin-right:120px;
}

#share_sidebar .buffer-button {
  padding-top:6px;
}

#share-widget {
  line-height:100%;
  text-align: right;
}


#hackernews {
  position:relative;
  right:-9px;
  top:-14px;
  }


  section.copy p {
    line-height: 1.3;
  }


@media print, screen and (max-width: 900px) {

  body {
    padding-top:40px;
  }
  
  div.wrapper {
    width:auto;
    margin:0;
  }

  header, section, footer {
    float:none;
    position:static;
    width:auto;
  }

  div#header-image {
    float:left;
    height:180px;
    padding-right:30px;
  }

  div#header-text {
    width:150px;
    height:180px;
    float:left;
  }


section.excerpt {
  width:auto;
}
  
  header {
    float:left;
    width: 90%;
    padding-bottom:20px;
  }

  header #title {
    float:left;
    width:301px;
    clear: none;
  }

  header #follow {
    float:right;
    width:70px;
    clear: none;
    padding-top:4px;
  }

  section.content {
    margin-left:0;
    margin-right:60px;
  }

  section.meta h3, section.meta p {
    margin-bottom: 10px;
  }
 section.copy 
  {
    padding:0;
  }

  #share_sidebar {
    width:60px;
    position:fixed;
    float:right;
    margin-left:0;
    right:25px;
    margin-top:230px;
  }

  
  section {
    padding:20px 0;
  }

  
  section.byline {
    padding:0px;
  }
  
  header a small {
    display:inline;
  }
  
  header ul {
    position:absolute;
    right:50px;
    top:52px;
  }

}

@media print, screen and (max-width: 720px), screen and (max-width: 640px) and (max-height:320px) {
  body {
    word-wrap:break-word;
    padding:40px;
  }
  
  header {
  }
  
  header#follow{
    margin-left:-40px;
  }

  pre, code {
    word-wrap:normal;
  }

  #share_sidebar {
  }

  section.content {
    width:auto;
  }


}

@media print, screen and (max-width: 480px), screen and (max-width: 640px) and (max-height:320px) {
  body {
    padding:15px;
  }
  
  header {
    margin-bottom:10px;
  }

  header ul {
    display:none;
  }

  header #title {
    width: 204px;
    padding-right:0;
    height:auto;
  }

  header #follow {
    float:right;
    width:143px;
    clear: none;
    padding-top:10px;
    margin-right:0;
    width:100px;
    line-height:220%;
    padding-left:0px;
  }



  div#header-image {
    float:left;
    height:auto;
    padding-right:30px;
  }

  div#header-text {
    width:150px;
    height:150px;
    float:left;
  }



  #share_sidebar {
    float:left;
    position:relative;
    width:100%;
    margin:0;
    text-align:left;
    right:0;
  }

  #share_sidebar div, #share_sidebar iframe {
    float:left;
    margin-right:10px;
  }

  #buffer {
    top:-6px;
    position: relative;
  }

  #hackernews {
    clear:both;
    position:relative;
    width:50px;
    top:0px;
    display:block;
    clear:both;
  }

  section.content, section.excerpt {
    margin-right:0;
    padding:0;margin:0;
  }

  section.meta {
    float:left;
  }
  
}

@media print {
  body {
    padding:0.4in;
    font-size:12pt;
    color:#444;
  }
}
