/*
 __                  __
/\ \                /\ \
\ \ \___   __  __   \_\ \     __
 \ \  _ `\/\ \/\ \  /'_` \  /'__`\
  \ \ \ \ \ \ \_\ \/\ \_\ \/\  __/
   \ \_\ \_\/`____ \ \___,_\ \____\
    \/_/\/_/`/___/> \/__,_ /\/____/
               /\___/
               \/__/

Hyde is an elegant, open source, mobile first theme for Jekyll.  It includes
lightweight styles and placeholder content to get you up and running with a
simple blog in no time.

Designed, built, and released under MIT license by @mdo.

Learn more at http://andhyde.com or https://github.com/mdo/hyde.

*/



/* Body resets
-------------------------------------------------- */

* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #454441;
  background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 10px;
  font-weight: 500;
  line-height: 1.25;
  text-rendering: optimizeLegibility;
}
h1 {
  font-size: 28px;
}
h2 {
  margin-top: 1.6em;
  font-size: 24px;
}
h3 {
  margin-top: 24px;
  font-size: 18px;
}
h4, h5, h6 {
  margin-top: 16px;
  font-size: 16px;
}

p {
  margin: 0 0 15px;
}
.lead {
  font-size: 16px;
}

ul, ol {
  margin-bottom: 15px;
}

hr {
  position: relative;
  margin: 0;
  border: 0;
  border-top: 1px solid #ccc;
}

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

abbr {
  background-color: #eee;
  display: inline-block;
  padding: 3px;
  font-size: 13px;
  font-weight: bold;
  color: #555;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  border-radius: 3px;
}

code, pre {
  padding: 0;
  font-family: Menlo, Consolas, Monaco, monospace;
  font-size: 0.9em;
  border-radius: 3px;
}
code {
  padding: 0 2px;
  background-color: #f7f7f9;
  border: 1px solid #e1e1e8;
}

pre {
  display: block;
  margin: 0 0 14px;
  padding: 15px 20px;
  line-height: normal;
  background-color: #eee;
  overflow-x: auto;
}
pre code {
  padding: 0;
  color: inherit;
  background-color: transparent;
  border: 0;
  font-size: 0.85em;
  word-wrap: normal;
  white-space: pre;
}
.highlight {
  margin-bottom: 15px;
  padding: 15px 0 15px 0;
  border-radius: 5px;
}
.highlight pre {
  margin-bottom: 0;
}

/* Quotes */
blockquote {
  padding: 0 0 0 20px;
  margin: 15px 30px 15px 0;
  border-left: 5px solid #eee;
  font-style:italic;
}
blockquote p {
  color: #7a7a7a;
}

img {
  display: block;
  margin: 0 0 15px;
}


/* Links
-------------------------------------------------- */

a {
  color: #6B001B;
  text-decoration: underline;
}
a:hover {
	color: #555;
  text-decoration: underline;
}


/* Scaffolding
-------------------------------------------------- */

/* Header */
.masthead {
  color: #eee;
  background-color: #66645b;
  border-bottom: 2px solid rgb(139, 137, 123);
}
.masthead-inner {
  padding: 20px;
}
.masthead h1 {
  margin-top: 0;
  font-family: 'Georgia', serif;
}
.masthead .lead {
  margin-bottom: 0;
}
.masthead a {
  color: #eee;
}
.masthead a:hover {
  color: #ddd;
}

.masthead h1 a{
	text-decoration: none;
}

#follow-me {
  font-size: 0.95em;
  margin-top: 30px;
  border-top: 1px solid #f1f1f1;
  padding: 20px;
  /*display: table;*/
}

#recent-articles {
  padding: 0 20px 0 20px;
}

.photo, .short-about {
  display: table-cell;
  vertical-align: top;
}

.short-about {
  padding: 0 0 0 1em;
}

#subpage {
  padding: 0 20px 0 20px;
}

/* Footer area of masthead */
nav {
  margin-top: 14px;
  color: #ccc;
}

footer {
  margin: 10px 0 10px 0;
	color: #bbb;
  font-size: 0.85em;
  padding: 0 20px 0 20px;
}

#home-about {
  margin: 1em 20px 0em 20px;
  font-size: 1.2em;
}

#home-about h1 {
  margin-top: 2em;
}


/* Posts
-------------------------------------------------- */

/* Wrapper for all posts on homepage */
.posts {
  margin-left:  20px;
  margin-right: 20px;
  max-width: 650px;
}

.posts hr {
  border-color: #f1f1f1;
}

.single-post {
        padding: 0 20px 0 20px;
}

/* Single post */
.post {
  margin-top: 40px;
  margin-bottom: 40px;
}
.post h1 a {
	text-decoration: underline;
}
.post-meta {
  display: block;
  margin: -10px 0 10px;
  color: #9a9a9a;
}

/* Error pages (404)
-------------------------------------------------- */

.fourohfour {
  margin-top: 40px;
  margin-bottom: 40px;
}


/* Pagination
-------------------------------------------------- */

.pagination {
  overflow: hidden; /* clearfix */
  margin-top: 40px;
  font-weight: bold;
  color: #ccc;
  text-align: center;
  border-top: 1px solid #eee;
  max-width: 650px;
}
.pagination a,
.pagination span {
  float: left;
  width: 50%;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  padding: 20px;
}
.pagination a:first-child,
.pagination span:first-child {
  border-right: 1px solid #eee;
}
.pagination a:hover {
  text-decoration: none;
  background-color: #f5f5f5;
}

#online-profiles, #online-profiles-label {
  display: none;
}

.table-container {
  display: table;
}

.cell {
  display: table-cell;
  vertical-align: top;
}

/* About
-------------------------------------------------- */

#about-photo {
  width: 120px;
}

#about-top ul {
  margin-top: 0;
  margin-bottom: 0;
}

#about-social-icons img {
  width: 30px;
  height: 30px;
  display: inline;
  margin: 0;
}

#about-social-icons a:not(:last-child) {
  margin-right: 1.5em;
}

#about-social-icons a:hover {
  opacity: 0.7;
}

.app-info-container {
  padding: 1em 0 1em 0;
}

.app-name {
  width: 130px;
  margin: 0 auto 0 auto;
}

.app-name h3 {
  font-size: 1.2em;
  font-weight: 500;
  margin-top: 0;
}

.app-name img {
  text-align: center;
  width: 88px;
  height: 88px;
}

.app-name a:hover img {
  opacity: 0.7;
}

.app-name a {
  text-decoration: none;
}

#cta {
  font-size: 1.4em;
  text-align: center;
  margin: 2em 0 2em 0;
}

#cta span {
  background-color: #ddd;
  padding: 10px 20px;
  border-radius: 5px;
}

#cta a {
  text-decoration: none;
}

.app-info-container .headline {
  font-style: italic;
}


/* Large screens
-------------------------------------------------- */

@media (min-width: 768px) {

  body {
    font-size: 18px;
  }
  .lead {
    font-size: 16px;
  }

  /* Center container and menu in available real estate */
  .container {
    margin-left: auto;
    margin-right: auto;
    width: 660px;
  }
  
  .masthead-inner {
      margin-left: auto;
      margin-right: auto;
      width: 660px;
      padding-left: 0;
      padding-right: 0;
  }    

  /* Remove mobile device padding from list of posts */
  .posts {
    margin-left: 0;
    margin-right: 0;
  }
  .single-post {
    padding: 0;
  }
  /* Increase space between posts */
  .post {
    margin-top: 40px;
    margin-bottom: 40px;
  }

  /* Make pagination stand alone */
  .pagination {
    margin-bottom: 60px;
    border: 1px solid #eee;
  }

  #online-profiles {
    display: block;
  }
  #online-profiles-label {
    display: inline;
  }
  footer {
    padding: 0;
  }
  #follow-me {
    padding: 20px 0 20px 0;
  }
  #recent-articles {
    padding: 0;  
  }
  #subpage {
    padding: 0;
  }
  #home-about {
    margin-left: 0px;
    margin-right: 0px;
  }
}

video.center, img.center {
    display:block;
    margin:1em auto;
}

.post video, .post img {
    max-width: 100%;
}

.post img {
    height: auto;
}

img.wide {
  max-width: 110%;
  margin-left: -5%;
  margin-right: -5%;
}

.post code {
    word-wrap: break-word;
}

.post pre code {
    word-wrap: normal;
}

.post .image-caption {
    font-size: 0.9em;
    text-align:center;
    width: 80%;
    margin: 0 auto 2em auto;
    color: #777;
}

.post .aspect-ratio {
  position: relative;
  max-width: 110%;
  height: 0;
  padding-bottom: 62%;
  margin: 1em -5% 1em -5%;
}

.post .aspect-ratio iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0; top: 0;
}

.footnotes {
	font-size:0.8em;
    margin-top: 2em;
    border-top: 1px solid rgb(139, 137, 123);
}

#subpage-header {
    margin: 1.2em 0 1em 0;
}

ul.archive li {
    padding-top:0.2em;
}

p#about-top {
  padding-top: 1em;
}

ul#find-me {
  padding-bottom: 2em;
}

.highlight  { background: #ffffff; }
.highlight .c { color: #999988; font-style: italic } /* Comment */
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.highlight .k { font-weight: bold } /* Keyword */
.highlight .o { font-weight: bold } /* Operator */
.highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */
.highlight .cp { color: #999999; font-weight: bold } /* Comment.Preproc */
.highlight .c1 { color: #999988; font-style: italic } /* Comment.Single */
.highlight .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
.highlight .gd .x { color: #000000; background-color: #ffaaaa } /* Generic.Deleted.Specific */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gr { color: #aa0000 } /* Generic.Error */
.highlight .gh { color: #999999 } /* Generic.Heading */
.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
.highlight .gi .x { color: #000000; background-color: #aaffaa } /* Generic.Inserted.Specific */
.highlight .go { color: #888888 } /* Generic.Output */
.highlight .gp { color: #555555 } /* Generic.Prompt */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #aaaaaa } /* Generic.Subheading */
.highlight .gt { color: #aa0000 } /* Generic.Traceback */
.highlight .kc { font-weight: bold } /* Keyword.Constant */
.highlight .kd { font-weight: bold } /* Keyword.Declaration */
.highlight .kp { font-weight: bold } /* Keyword.Pseudo */
.highlight .kr { font-weight: bold } /* Keyword.Reserved */
.highlight .kt { color: #445588; font-weight: bold } /* Keyword.Type */
.highlight .m { color: #009999 } /* Literal.Number */
.highlight .s { color: #d14 } /* Literal.String */
.highlight .na { color: #008080 } /* Name.Attribute */
.highlight .nb { color: #0086B3 } /* Name.Builtin */
.highlight .nc { color: #445588; font-weight: bold } /* Name.Class */
.highlight .no { color: #008080 } /* Name.Constant */
.highlight .ni { color: #800080 } /* Name.Entity */
.highlight .ne { color: #990000; font-weight: bold } /* Name.Exception */
.highlight .nf { color: #990000; font-weight: bold } /* Name.Function */
.highlight .nn { color: #555555 } /* Name.Namespace */
.highlight .nt { color: #000080 } /* Name.Tag */
.highlight .nv { color: #008080 } /* Name.Variable */
.highlight .ow { font-weight: bold } /* Operator.Word */
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
.highlight .mf { color: #009999 } /* Literal.Number.Float */
.highlight .mh { color: #009999 } /* Literal.Number.Hex */
.highlight .mi { color: #009999 } /* Literal.Number.Integer */
.highlight .mo { color: #009999 } /* Literal.Number.Oct */
.highlight .sb { color: #d14 } /* Literal.String.Backtick */
.highlight .sc { color: #d14 } /* Literal.String.Char */
.highlight .sd { color: #d14 } /* Literal.String.Doc */
.highlight .s2 { color: #d14 } /* Literal.String.Double */
.highlight .se { color: #d14 } /* Literal.String.Escape */
.highlight .sh { color: #d14 } /* Literal.String.Heredoc */
.highlight .si { color: #d14 } /* Literal.String.Interpol */
.highlight .sx { color: #d14 } /* Literal.String.Other */
.highlight .sr { color: #009926 } /* Literal.String.Regex */
.highlight .s1 { color: #d14 } /* Literal.String.Single */
.highlight .ss { color: #990073 } /* Literal.String.Symbol */
.highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */
.highlight .vc { color: #008080 } /* Name.Variable.Class */
.highlight .vg { color: #008080 } /* Name.Variable.Global */
.highlight .vi { color: #008080 } /* Name.Variable.Instance */
.highlight .il { color: #009999 } /* Literal.Number.Integer.Long */
.highlight .lineno { color: #888; }
