/*
 Solarized is the best color scheme, fight me, 1v1 on dust2
$ase03:     #002b36;
$base02:    #073642;
$base01:    #586e75;
$base00:    #657b83;
$base0:     #839496;
$base1:     #93a1a1;
$base2:     #eee8d5;
$base3:     #fdf6e3;
$yellow:    #b58900;
$orange:    #cb4b16;
$red:       #dc322f;
$magenta:   #d33682;
$violet:    #6c71c4;
$blue:      #268bd2;
$cyan:      #2aa198;
$green:     #859900;
 */


 article,
 figcaption,
 figure,
 footer,
 header,
 nav,
 section,
 time {
   display: block;
 }
 
 html {
   font-size: 100%;
   -ms-text-size-adjust: 100%;
   -webkit-text-size-adjust: 100%;
 }
 body {
   font-family: Helvetica, sans-serif;
   font-size: 16px;
   line-height: 150%;
   text-align: left;
   color: #586e75;
   background-color: #fdf6e3;
   padding: 5px;
   min-width: 740px;
 }
 
 header {
   /* background-color: #073642; */
   height: 50px;
   line-height: 50px;
   padding: 0 20px 5px 20px;
   border-left: 1px dotted #073642;
   border-right: 1px dotted #073642;
   border-bottom: 1px dotted #073642;
 }
 
 .wrapper {
   display: table;
   width: 100%;
 }
 
 .content {
   display: table-cell;
   border-left: 1px dotted #073642;
   border-right: 1px dotted #073642;
   padding: 0 20px 5px 20px;
 }
 
 .sidebar {
   display: table-cell;
   width: 25%;
   border-right: 1px dotted #073642;
   padding: 0 20px 5px 20px;
 }
 
 footer {
   border-top: 1px dotted #073642;
   line-height: 30px;
   padding: 0 5px;
   font-size: 0.8em;
 }
 
 
 /* Header */
 
 header a {
   /*color: #93a1a1;*/
   border-bottom: none;
   color: #586e75;
 }
 
 header a:hover, a:active {
   text-decoration: none;
   border-bottom: none;
   color: #268bd2;
 }
 
 header a.title {
   font-size: 1.5em;
   font-weight: 700;
 }
 
 header .feeds {
   float: right;
   text-align: right;
   width: 25%;
   height: 41px;
   padding-top: 9px;
 }
 
 header .feeds a {
   display: block;
   float: right;
   padding-right: 5px;
   width: 40px;
 }
 
 header .feeds a:hover,
 header .feeds a:active {
   border-bottom: none;
 }
 
 header .pages {
   float: right;
 }
 
 header .pages a {
   font-size: 1.1em;
 }

 
 /* Titles */
 
 h1, h2, h3, h4, h5, h6 {
     font-weight: 400;
     line-height: 125%;
 }
 
 h1 {
   font-size: 2em;
   margin: 0.67em 0;
   padding: 0.7em 0 0.3em;
 }
 
 h1 a {
   color: inherit;
   border-bottom: none;
 }
 
 
 /* Texts */
 
 p {
   margin: 0.8em 0 0.5em;
 }
 
 a {
   text-decoration: none;
   border-bottom: 1px dotted #073642;
   color: #268bd2;
 }
 
 a:hover, a:active {
   text-decoration: none;
   border-bottom: 1px solid #268bd2;
   color: #268bd2;
 }
 
 .literal {
   font-size: 0.9em;
   border: 1px solid #fdf6e3;
   padding: 0px 5px;
 }
 
 pre {
   font-family: 'Source Code Pro',monospace;
   background: none repeat scroll 0 0 #fdf6e3;
   border-radius: 2px;
   font-size: 0.9em;
   font-style: normal;
   letter-spacing: 0.015em;
   line-height: 130%;
   padding: 0.7em;
   white-space: pre-wrap;
   word-wrap: break-word;
 }
 
 hr {
   margin: 40px 5% 60px 5%;
   color: #fdf6e3;
   box-shadow: 0.1em 0.1em 0.1em #fdf6e3;
   border-radius: 5px;
 }
 
 
 /* Article */
 
 article.summary {
   margin-bottom: 40px;
   clear: both;
 }
 
 article.summary > div {
   margin-left: 28%;
 }
 
 article.full .metadata,
 article.summary .metadata {
   padding: 1%;  
   border: 1px dotted #fdf6e3;
   /* box-shadow: 0.1em 0.1em 0.1em #fdf6e3;*/
   font-style: italic;
 }
 
 article.full .metadata {
   width: 25%;
   float: right;
   margin: 0 0 2% 1%;
 }
 
 article.summary .metadata {
   width: 23%;
   float: left;
   margin: 0 1% 2% 0 ;
 }
 
 .metadata p {
   margin: 0;
 }
 
 /* Listings */
 
 ol.archive li {
   margin: 8px 0;
 }
 
 ol.archive li time,
 ol.archive li .tags
  {
   line-height: 140%;
   font-size: 0.8em;
   margin: 0;
 }
 
 /* Pagination */
 
 .pagination {
   width: 100px;
   margin: 1em auto;
 }
 
 /* Responsive */
 
 @media (min-width: 1280px) {
  body {
    margin: 0 16%;
  }
}

@media (max-width: 1279px) {
  /* medium displays */
  body {
    margin: 0 4%;
    font-size: 18px;
    padding: 0 5px 5px 5px;
    margin-left: 5px;
  }
  .content {
    border-left: none;
    border-right: 2px dotted #073642;
    padding: 0 5px 0 5px;
  }
  header {
    border-left: none;
    border-right: none;
    border-bottom: 2px dotted #073642;
  }
  footer {
    border-top: 2px dotted #073642;
  }
  .sidebar {
    border-right: none;
    padding: 0 5px 0 5px;
  }
}

@media (max-width: 600px) {
  /* small displays */
  .wrapper{
    border-collapse: collapse;
  }
  .content {
    display: table-footer-group;
    border-right: none;
    border-bottom: none;
  }
  .sidebar {
    border-bottom: 2px dotted #073642;
    display: table-header-group;
    width: 100%;
    padding: 5px 5px 0 5px;
  }
  body {
    /* can't really go lower */
    min-width: 320px;
  }
}