/* 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, 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,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* html5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}


/* html elements */
html {
  overflow-y: scroll;
}

body {
  font: 16px/28px 'Open Sans', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, "Lucida Grande", sans-serif;
  background: #efede7;
  color: #6a6359;
  -webkit-font-smoothing:antialiased;
  -webkit-text-size-adjust:none;
}

img {
  max-width: 100%;
  height: auto;
}

img.float-left {
  margin: 10px 40px 30px 0;
}

img.float-right {
  margin: 10px 0 30px 40px;
}

a, a:visited {
  color: #000;
  text-decoration: none;
  -webkit-transition:color .25s ease-in-out;
  -moz-transition:color .25s ease-in-out;
  -o-transition:color .25s ease-in-out;
  transition:color .25s ease-in-out;
}

a:hover {
  color: #ff6644;
}

hr {
  width: 50%;
  height: 6px;
  display: block;
  background: #eee;
  margin: 0 auto;
  margin-top: 40px;
  margin-bottom: 40px;
  border: 0;
}

form {
  margin: 0;
  padding: 0;
}

input, textarea {
  border: none;
  outline: none;
  margin: 0;
  padding: 13px 15px 12px 15px;
  background: #e5e5e5;
  color: #999;
  font: 14px/14px 'Open Sans', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, "Lucida Grande", sans-serif;
  -webkit-border-radius: 3px;
     -moz-border-radius: 3px;
      border-radius: 3px;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
      box-sizing: border-box;
}

  input:focus, textarea:focus {
    background: #f2f2f2;
  }


/* grid */
.column, .columns {
  float: left;
  display: inline-block;
  padding: 0 30px;
  margin-bottom: 30px;
  margin: 0 auto;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
      box-sizing: border-box;
}

.eight.columns     { width: 100%;  }
.seven.columns     { width: 87.5%; }
.six.columns       { width: 75%;   }
.five.columns      { width: 62.5%; }
.four.columns      { width: 50%;   }
.three.columns     { width: 37.5%; }
.two.columns       { width: 25%;   }
.one.column        { width: 12.5%; }

.one-third.column  { width: 33.33%;}
.two-thirds.column { width: 66.66%;}

@media only screen and (max-width: 479px) {
  .eight.columns,
  .seven.columns,
  .six.columns,
  .five.columns,
  .four.columns,
  .three.columns,
  .two.columns,
  .one.column,
  .one-third.column,
  .two-thirds.column
  {
    width: 100%;
    margin-bottom: 20px;
  }
}

/* clear */
  .slate:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; }

  .clearfix:before,
  .clearfix:after,
  .row:before,
  .row:after {
    content: '\0020';
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 0; }
  .row:after,
  .clearfix:after {
    clear: both; }
  .row,
  .clearfix {
    zoom: 1; }

  .clear {
    clear: both;
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 0;
  }

/* helpers */
.float-left {
  float: left;
}

.float-right {
  float: right;
}

.padder {
  padding: 20px;
}

/* typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Open Sans', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, "Lucida Grande", sans-serif;
  font-weight: bold;
  color: #000;
  position: relative;
  margin-bottom: 14px;
  line-height: 1;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight:inherit;}
h1 { font-size:48px;}
h2 { font-size:36px;}
h3 { font-size:30px;}
h4 { font-size:24px;}
h5 { font-size:18px;}
h6 { font-size:12px; margin-bottom: 15px}

p       { margin-bottom: 30px;}
em      { font-style: italic;}
ul, ol  { margin-bottom: 30px; padding-left: 40px;}
strong  { font-weight: bold;}
.small  { font-size: 80%;}
.center { text-align: center;}
.highlight { background: #ff6644; padding: 0 5px; color:  #fff; }

header .logo, footer .logo {
  font-family: 'Bangers', 'Open Sans', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, "Lucida Grande", sans-serif;
  font-weight: bold;
}

/* buttons */
button {
  display: inline-block;
  border: 0;
  outline: 0;
  margin: 0;
  padding: 15px;
  height: 44px;
  background: #a6907c;
  color: #fff;
  font: 14px/14px 'Open Sans', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, "Lucida Grande", sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-border-radius: 3px;
     -moz-border-radius: 3px;
      border-radius: 3px;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
      box-sizing: border-box;
  -webkit-font-smoothing:antialiased;
  -webkit-text-size-adjust:none;
  box-shadow: 0 1px 2px rgba(0,0,0,.15);
}

button:hover {
  background: #8c7764;
  -webkit-transition:all .25s ease-in-out;
  -moz-transition:all .25s ease-in-out;
  -o-transition:all .25s ease-in-out;
  transition:all .25s ease-in-out;
}

button:active {
  background: #806f64;
}

button.light {
  background: #fff;
  color: #555759;
}

button.light:hover {
  background: #a6907c;
  color: #fff;
}


/* header */
header {
  width: auto;
  max-width: 860px;
  margin: 0 auto;
  margin-top: 40px;
  margin-bottom: 20px;
  padding: 0 10px;
  position: relative;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
      box-sizing: border-box;
}

header .logo {
  color: #8c7764;
  float: left;
}

header nav {
  float: right;
  margin-top: 20px;
}

header nav ul li {
  display: inline-block;
  margin-left: 20px;
}

header nav ul li a, header nav ul li a:visited, header nav ul li.search {
  font-size: 14px;
  font-weight: bold;
  color: #aaa28c;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  top: -5px;
}

header nav ul li a:hover, header nav ul li.search:hover {
  color: #fff;
  -webkit-transition:color .25s ease-in-out;
  -moz-transition:color .25s ease-in-out;
  -o-transition:color .25s ease-in-out;
  transition:color .25s ease-in-out;
  border: 0;
}

header .menubutton {
  display: none;
  float: right;
  color: #aaa28c;
  cursor: pointer;
  font-size: 24px;
  line-height: 24px;
}


/* posts */
section {
  display: block;
  position: relative;
  background: #fff;
  padding: 80px 50px;
  width: auto;
  max-width: 860px;
  margin: 0 auto;
  margin-bottom: 40px;
  border-radius: 5px;
  box-shadow: 0 1px 2px rgba(0,0,0,.2), inset 0 -1px 3px #f6f4ee;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
      box-sizing: border-box;
}

.post-image, .post-video {
  max-width: 860px;
  margin: 0 auto;
  margin-bottom: -3px;
  position: relative;
  z-index: 2;
  display: block;
  -webkit-border-top-left-radius: 3px;
  -webkit-border-top-right-radius: 3px;
  -moz-border-radius-topleft: 3px;
  -moz-border-radius-topright: 3px;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}

.post-image {
  margin-bottom: -10px;
}

section .post-date {
  position: absolute;
  top: 80px;
  right: 80px;

  text-align: right;
  font-weight: bold;
  font-size: 16px;
  color: #d7d7d7;
  text-transform: uppercase;
  -webkit-transition:color .25s ease-in-out;
  -moz-transition:color .25s ease-in-out;
  -o-transition:color .25s ease-in-out;
  transition:color .25s ease-in-out;
}

section .post-date:hover {
  color: #ff6644;
}

section .post-title {
  margin-bottom: 30px;
  max-width: 80%;
}

section .post-intro {
  color: #aaa;
  font-size: 20px;
  letter-spacing: 1px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ddd;
}

section button {
  margin: 0;
}

/* post types */
section.quote {
  background: #f6f4ee;
  padding: 80px 80px 30px 200px;
  -webkit-transition:all .25s ease-in-out;
  -moz-transition:all .25s ease-in-out;
  -o-transition:all .25s ease-in-out;
  transition:all .25s ease-in-out;
}

section.quote p {
  font-size: 24px;
  line-height: 48px;
  text-align: right;
  -webkit-transition:all .25s ease-in-out;
  -moz-transition:all .25s ease-in-out;
  -o-transition:all .25s ease-in-out;
  transition:all .25s ease-in-out;
}

section.quote .author {
  display: block;
  font-size: 16px;
  text-transform: uppercase;
  color: #bbb;
  -webkit-transition:all .25s ease-in-out;
  -moz-transition:all .25s ease-in-out;
  -o-transition:all .25s ease-in-out;
  transition:all .25s ease-in-out;
}

section.quote:hover {
  background: #a6907c;
  box-shadow: 0 1px 2px rgba(0,0,0,.2), inset 0 -1px 3px #d83e1c;
}

section.quote:hover p {
  color: #fff;
}

section.quote:hover .author {
  color: #c93c1d;
}

/* blockquote */
blockquote {
  width: 100%;
  padding: 0 0 0 30px;
  margin: 10px 0 30px 0;
  border-left: 10px solid #a6907c;
  font-size: 18px;
  color: #838689;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
      box-sizing: border-box;
}


/* metadata */
.metadata {
  padding: 20px 0;
}

.metadata span {
  display: block;
  color: #888;
}

.metadata i {
  margin-right: 20px;
}


/* pagination */
.pagination {
  width: 100%;
  text-align: center;
}

.pagination button {
  margin-bottom: 5px;
}

.pagination button:disabled {
  color: #bababa;
  margin-bottom: 5px;
}

.pagination button:hover:disabled {
  background: #ddd;
}

/* archives */
.archives {
  padding-top: 80px;
  padding-left: 5px;
}

.archives ul {
  margin-bottom: 50px;
}

.archives ul li {
  padding: 0 0 5px 0;
}

/* styled archives elements */
.archives .styled {
  display: block;
  background: url('/assets/images/circle.png') no-repeat left;
  margin-top: 40px;
  margin-left: -50px;
  padding-left: 50px;
  line-height: 30px;
}

.archives .styled-ul {
  list-style: none;
  margin: -20px 0 -5px 10px;
  padding: 20px 0 50px 30px;
  border-left: 10px solid #eee;
}

.archives .styled-ul-last {
  list-style: none;
  margin: -20px 0 50px 10px;
  padding: 20px 0 0 30px;
  border-left: 10px solid #eee;
}


/* footer */
footer {
  max-width: 780px;
  margin: 0 auto;
  margin-top: 70px;
  margin-bottom: 100px;
  position: relative;
}

footer h4, footer h5, footer h6 {
  color: #aaa28c;
}

/* social buttons */
button.facebook, button.twitter, button.linkedin, button.google-plus, button.github {
  height: 40px;
  width: 40px;
  padding: 13px;
  margin-bottom: 5px;
}

button.facebook {
  background: #3b5998;
}

button.facebook:hover {
  background: #2d4577;
}

button.twitter {
  background: #33ccff;
}

button.twitter:hover {
  background: #19abdc;
}

button.linkedin {
  background: #4875b4;
}

button.linkedin:hover {
  background: #204c8b;
}

button.google-plus {
  background: #dc453c;
}

button.google-plus:hover {
  background: #d73d32;
}

button.github {
  background: #777777;
}

button.github:hover {
  background: #555555;
}

button.links {
  height: 40px;
  padding: 13px;
  margin-bottom: 5px;
  background: #ff6644;
}

button.links:hover {
  background: #c93c1d;
}


/* media queries */
@media only screen and (max-width: 767px) {
  header, section, section.quote {
    padding: 20px;
    width: auto;
    margin-bottom: 20px;
  }

  section.quote {
    padding: 60px 20px 10px 60px;
  }

  header {
    margin-top: 20px;
    margin-bottom: 0;
  }

  header .menubutton {
    display: block;
  }

  header nav {
    display: none;
    width: 100%;
    float: left;
    margin-top: 10px;
  }

  header nav ul li {
    margin-left: 0;
    text-align: center;
    width: 100%;
  }

  header nav ul li a, header nav ul li a:visited, header nav ul li.search {
    top: 0;
    display: block;
    width: 100%;
    padding: 10px;
    text-align: center;
    margin-bottom: 5px;
  }

  header .search-popup {
    position: relative;
    top: 0;
    right: 0;
    padding: 15px 15px 25px 15px;
  }

  header .search-popup input, header .search-popup button {
    width: 100%;
  }

  header .search-popup button {
    top: 10px;
  }

  section, .post-image, .post-video {
    margin-left: 20px;
    margin-right: 20px;
  }

  section {
    padding: 30px 0;
  }

  section .post-date {
    position: relative;
    top: -25px;
    left: 0;
  }

  section.quote p {
    font-size: 20px;
    line-height: 32px;
  }

  section.quote p .author {
    margin-top: 10px;
  }

  footer {
    padding: 0 25px;
    margin-top: 50px;
  }
}

@media only screen and (min-width: 768px) {
  header nav {
    display: block !important;
  }
}
