/*

Author:     Andy Appleton
Author URL: http: //floatleft.com/

Contents:

0.  Reset
1.  Global Styles & Typography
2.  Modules
3.  Pages

*/
/*********************************************************************************/
/*----------------------- 1.  Reset  --------------------------------------------*/
/*********************************************************************************/
/* Adapted from html5doctor.com reset stylesheet */
html, body, div, span, h1, h2, h3, h4, h5, h6, p, blockquote, pre, code, del,
em, img, q, small, strong, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label,
legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure,
footer, header, nav, section, time {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent; }

article, aside, figure, footer, header, nav, section {
  display: block; }

nav ul {
  list-style: none; }

blockquote, q {
  quotes: none; }

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none; }

a {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent; }

del {
  text-decoration: line-through; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

input, select {
  vertical-align: middle; }

/*********************************************************************************/
/*----------------------- 1.  Global Styles & Typography  -----------------------*/
/*********************************************************************************/
/**************************** General  ********************************************/
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }

html {
  background: #fff;
  color: #505050;
  font: normal 300 100%/1.5 "Proxima Nova Condensed", "proxima-nova-condensed", "Helvetica Neue", Helvetica, Arial, sans-serif; }

.wrapper {
  margin: 0 auto;
  max-width: 1000px;
  padding: 0 20px; }

/**************************** Typography  ****************************************/
@font-face {
  font-family: 'icons';
  src: url("/public/fonts/icomoon/icomoon-2.eot");
  src: url("/public/fonts/icomoon/icomoon-2.eot?#iefix") format("embedded-opentype"), url("/public/fonts/icomoon/icomoon-2.woff") format("woff"), url("/public/fonts/icomoon/icomoon-2.ttf") format("truetype"), url("/public/fonts/icomoon/icomoon-2.svg#svgFontName") format("svg"); }

h1, h2, h3, h4, h5, h6 {
  font-weight: 600; }

h1 {
  font-weight: 300; }

h2 {
  margin-bottom: 0.5em;
  font-size: 1.35em; }

h3 {
  margin-bottom: 0.5em;
  font-size: 1.2em; }

p {
  margin-bottom: 1.3em;
  font-size: 1.1em;
  font-family: chaparral-pro, Georgia, serif;
  font-weight: 400; }

em {
  font-style: italic; }

strong {
  font-weight: 600; }

b {
  font-weight: 300; }

sup {
  font-size: 0.8em;
  vertical-align: super; }

code {
  border: 1px solid #f4f4f4;
  padding: 0 3px 1px;
  background: #fafafa;
  font-family: Inconsolata-dz, Inconsolata, Consolas, Monaco, Courier, monospace;
  font-size: 0.8125em; }

pre {
  overflow: scroll;
  margin-bottom: 1.3em;
  border-left: 5px solid #f4f4f4;
  padding: 0.8em 0.8em 0.8em 20px;
  background: #fafafa;
  font-family: Inconsolata-dz, Inconsolata, Consolas, Monaco, Courier, monospace;
  font-size: 0.8125em; }

ul, ol, dl {
  margin-bottom: 1.3em; }

ul li, ol li {
  margin-bottom: 0.5em; }

blockquote {
  border-left: 5px solid #f4f4f4;
  padding: 0.8em 0.8em 0.8em 20px;
  margin-bottom: 1.3em;
  background: #fafafa; }

/**************************** Links  *********************************************/
a {
  color: #d31414;
  text-decoration: none;
  -webkit-transition: all .1s ease;
  -moz-transition: all .1s ease;
  -ms-transition: all .1s ease;
  -o-transition: all .1s ease;
  transition: all .1s ease; }

a:hover {
  opacity: 0.8; }

a:active {
  position: relative;
  top: 1px; }

a code {
  border-color: #f4f4f4;
  border-bottom-color: #d31414; }

/**************************** Buttons  *******************************************/
a.button, .submit button {
  line-height: 36px;
  height: 36px;
  padding: 10px 36px;
  background: #dfdfdf;
  border: 1px solid #b3b3b3;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  color: #4e4e4e; }
  a.button:hover, .submit button:hover {
    background: #cfcfcf;
    opacity: 1; }

/**************************** Icons  *********************************************/
[data-icon]:before {
  display: block;
  margin-right: 10px;
  font-family: icons;
  content: attr(data-icon); }

[data-icon-after]:after {
  display: block;
  position: relative;
  top: 1px;
  margin-left: 10px;
  font-family: icons;
  content: attr(data-icon-after); }

/**************************** Header  ********************************************/
#site-header {
  overflow: hidden;
  margin-bottom: -17px;
  padding-top: 20px; }
  #site-header .brand {
    display: block;
    float: left; }
  #site-header .brand a {
    padding: 15px 0 0 60px;
    background: transparent url(/public/img/logo.png) no-repeat 0 8px;
    color: #505050;
    font-size: 2.375em;
    font-weight: 300;
    text-transform: lowercase; }
    html.svg #site-header .brand a {
      background: transparent url(/public/img/logo.svg) no-repeat 0 8px;
      background-size: 54px; }
    #site-header .brand a:hover {
      color: #d31414;
      opacity: 1; }
  #site-header .navigation {
    float: right;
    margin-top: 22px; }
  @media only screen and (max-width: 400px) {
    #site-header {
      margin-bottom: 0; }
    #site-header .brand {
      float: none;
      margin: 0 auto;
      width: 175px; }
    #site-header .navigation {
      float: none; }
    #site-header .navigation ul {
      text-align: center; } }

body.portfolio #site-header .navigation ul li a.portfolio {
  color: #d31414; }

body.about #site-header .navigation ul li a.about {
  color: #d31414; }

body.contact #site-header .navigation ul li a.contact {
  color: #d31414; }

/**************************** Footer  ********************************************/
#site-footer {
  clear: both;
  padding: 70px 0 20px;
  background: #f4f4f4 url(/public/img/logo-small.png) no-repeat center 20px; }
  html.svg #site-footer {
    background: #f4f4f4 url(/public/img/logo-small.svg) no-repeat center 20px;
    background-size: 31px; }
  #site-footer .navigation ul {
    text-align: center; }

/*********************************************************************************/
/*----------------------- 2.  Modules  ------------------------------------------*/
/* Styles for reusable HTML modules ---------------------------------------------*/
/*********************************************************************************/
/**************************** Navigation  ****************************************/
.navigation ul {
  margin-bottom: 0; }
.navigation ul li {
  display: inline-block;
  margin-bottom: 0;
  padding: 0 5px; }
.navigation ul li a {
  color: #505050;
  text-transform: lowercase; }
  .navigation ul li a:hover {
    color: #d31414;
    opacity: 1; }

/**************************** Intro  *********************************************/
#intro {
  padding: 20px;
  background: #f4f4f4;
  text-align: center; }
  #intro h1 {
    font-size: 2.25em;
    line-height: 1.2;
    font-weight: 300; }
  #intro h1 b {
    display: block;
    font-weight: 300; }
  #intro p {
    margin-bottom: 20px;
    font-family: "Proxima Nova Condensed", "proxima-nova-condensed", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1.25em; }
  #intro p a.button {
    margin-top: 30px;
    font-size: 0.8em; }
  #intro a.portfolio-link {
    color: #a8a8a8; }
    #intro a.portfolio-link:hover {
      color: #505050;
      opacity: 1; }

/****************************  Layout > 1Column  *********************************/
.layout-1-col {
  margin-bottom: 60px;
  margin-top: 60px;
  overflow: hidden; }

/****************************  Layout > 2 Column  *********************************/
.layout-2-col {
  margin-bottom: 60px;
  margin-top: 60px;
  overflow: hidden; }
  .layout-2-col .main-col {
    float: left;
    width: 70.833333333%; }
  .layout-2-col .sidebar {
    float: right;
    width: 27.083333333%; }
  @media only screen and (max-width: 650px) {
    .layout-2-col .main-col {
      float: none;
      width: 100%; }
    .layout-2-col .sidebar {
      float: none;
      width: 100%; } }

/**************************** Blog > Layout  *************************************/
.hfeed .sidebar {
  margin-top: 55px; }

/**************************** Blog > Post  ***************************************/
.hentry {
  margin-bottom: 90px; }
  .hentry header {
    margin-bottom: 1.3em; }
  .hentry header h1 {
    font-size: 1.7em;
    font-weight: 600; }
  .hentry header h1 a {
    color: #505050;
    line-height: 1; }
    .hentry header h1 a:hover {
      color: #d31414;
      opacity: 1; }
  .hentry header time {
    color: #a8a8a8; }
  .hentry header .author,
  .hentry header#intro .author {
    margin: 0;
    font-size: 1em;
    color: #a8a8a8; }
  .hentry img {
    max-width: 100%; }
  .hentry li {
    margin-left: 1.1em;
    font-family: chaparral-pro, Georgia, serif;
    font-size: 1em; }

/**************************** Blog > Pagination  *********************************/
.pagination {
  padding-top: 60px;
  overflow: hidden; }
  .pagination a {
    display: block;
    text-align: center;
    padding: 0;
    width: 140px; }
  .pagination a.older {
    float: left; }
  .pagination a.newer {
    float: right; }

/**************************** Blog > Footnotes  **********************************/
.footnotes {
  border-top: 1px solid #a8a8a8;
  padding-top: 1.3em; }

/**************************** Sidebar  *******************************************/
.sidebar .about {
  position: relative;
  padding-left: 30%;
  min-height: 100px;
  overflow: hidden;
  font-family: "Proxima Nova Condensed", "proxima-nova-condensed", "Helvetica Neue", Helvetica, Arial, sans-serif; }
.sidebar .about img {
  position: absolute;
  left: 0;
  top: 0;
  width: 25%;
  max-width: 100px; }

/**************************** Social Links  **************************************/
.social li {
  list-style: none;
  font-family: "Proxima Nova Condensed", "proxima-nova-condensed", "Helvetica Neue", Helvetica, Arial, sans-serif; }
.social li a {
  color: #505050;
  font-size: 1.25em; }
  .social li a:hover {
    color: #d31414;
    opacity: 1; }
.social li a:before {
  float: left;
  height: 20px;
  line-height: 20px;
  width: 20px;
  padding: 6px;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  background: #d8d8d8;
  color: #fff;
  font-size: 0.75em;
  text-align: center; }
.social li a[data-icon="!"]:before {
  padding: 6px 5px;
  font-size: 0.7em; }
.social li a[data-icon="!"]:hover:before {
  background: #7bbbe9; }
.social li a[data-icon="&"]:hover:before {
  background: #505050; }
.social li a[data-icon="$"]:before {
  padding: 6px;
  font-size: 0.7em; }
.social li a[data-icon="$"]:hover:before {
  background: #5f8dc2; }
.social li a[data-icon="%"]:hover:before {
  background: #e14034; }
.social li a[data-icon="#"]:before {
  padding: 6px;
  font-size: 0.7em; }
.social li a[data-icon="#"]:hover:before {
  background: #faaf60; }
.social li a:hover:before {
  background: #c8c8c8; }

/**************************** Portfolio  *****************************************/
.portfolio-list {
  margin-top: 60px;
  overflow: hidden; }
  .portfolio-list .hentry {
    overflow: hidden; }
  .portfolio-list .portfolio-entry {
    float: right;
    width: 56.25%; }
  .portfolio-list a.portfolio-link {
    color: #a8a8a8; }
    .portfolio-list a.portfolio-link:hover {
      color: #505050;
      opacity: 1; }
  .portfolio-list .portfolio-image {
    display: block;
    float: left;
    width: 41.666666667%;
    padding: 10px;
    background: #f4f4f4;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    transition: all .2s; }
    .portfolio-list .portfolio-image:hover {
      background: #ececec; }
  @media only screen and (max-width: 400px) {
    .portfolio-list .portfolio-entry {
      float: none;
      width: 100%; }
    .portfolio-list .portfolio-image {
      float: none;
      width: 100%; } }

/**************************** Comments  ******************************************/
#disqus_thread {
  margin-top: 60px; }
  #disqus_thread #dsq-new-post h3 {
    font-size: 1.25em; }
  #disqus_thread .dsq-collapse-toggle {
    right: 10px; }
  #disqus_thread .dsq-comment-text {
    font-size: 1em; }
  #disqus_thread #dsq-subscribe {
    display: none; }
  #disqus_thread #dsq-content #dsq-messagesx-toolbar-icon {
    height: 22px;
    width: 20px; }

/*********************************************************************************/
/*----------------------- 3.  Pages  --------------------------------------------*/
/* Styles for individual pages, scoped to <html> element id or class ------------*/
/*********************************************************************************/
/**************************** Index  *********************************************/
body.index #intro h1 {
  margin-top: 20px; }

/**************************** About  *********************************************/
body.about .main-col img {
  float: left;
  margin: 0 20px 10px 0; }

/**************************** 404  ***********************************************/
body.not-found section.layout-1-col {
  text-align: center; }
