html {
  background: #eee url('../img/pattern.png');
  height: 100%;
  width: 100%;
  position: relative;
}
 
body {
  color: #333;
  font-family: 'Maven Pro', sans-serif;
  margin: 0 auto;
  min-width: 960px;
  height: 100%;
  position: relative;
}

.clearfix {
  clear: both;
}

.accent {
  color: #FA6500;
}

.bold {
  font-weight: bold;
}

.italic {
  font-style: italic;
}

.circle {
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
}

strong {
  background-color: #ffecaf;
  padding: 3px 7px;
}

a {
  text-decoration: none;
  color: #FA6500;
  font-weight: bold;
  transition-property: color; 
  transition-duration: 0.10s;
  transition-timing-function: linear;
}

a:hover {
  text-decoration: none;
  color: #333;
  transition-duration: 0.25s;
}

.sidebar {
  min-height: 300px;
  margin: 0 auto;
  min-width: 300px;
  width: 360px;
  position: absolute;
  left: 0px;
  top: 30px;
}

/* NAME/PICTURE WIDGET */

.logo {
  text-decoration: none;
  display: block;
  width: 250px;
  margin: 25px auto 0;
  display: none;
}

.sidebar .logo {
  margin: 45px auto 50px;
  display: block; 
}

.logo .picture {
	display: inline-block;
	vertical-align: middle;
  width: 42px; /* img plus border */
  height: 43px; /* img plus border plus padding */
}

.logo .picture img {
	border: 1px solid #eee;
	height: 44px;
	width: 44px;
}

.logo .name {
	display: inline-block;
	font-size: 2em;
  line-height: 1.5em;
  font-weight: bold;
	letter-spacing: 1px;
	margin: 0 0 0 10px;
	overflow-y: hidden;
	word-spacing: -1px;
	vertical-align: middle;
}


/* SIDEBAR ABOUT WIDGET */

.sidebar .about {
  margin: 0 25px 50px 30px;
  line-height: 1.3em;
  text-align: center;
}


/* SIDEBAR LINKS WIDGET */
.sidebar .links {
  margin: 0 45px 50px;
  text-align: center
}

.sidebar .links ul {
  margin: 0;
}

.sidebar .links ul li {
  float: left;
  width: 50%;
  padding: 0;
  font-size: 1.2em;
  line-height: 1.5em;
  font-weight: normal !important;
  list-style-type: none;
  margin: 0;
  white-space: nowrap;
}


/* SIDEBAR NEWSLETTER WIDGET */
.sidebar .newsletter {
  background: rgba(0, 0, 0, 0.05);
  margin-bottom: 60px;
  position: relative;
  padding: 15px 0 25px;
}
.sidebar .newsletter h3 {
  font-weight: normal;
  font-size: 1.2em;
}
.sidebar .newsletter:before {
  top: 0;
}
.sidebar .newsletter:after {
  bottom: 0;
}
.sidebar .newsletter h3 {
  text-align: center;
  font-weight: bold !important;
  margin: 0;
}
.sidebar .newsletter p {
  text-align: center;
  font-size: 1em;
  margin-bottom: 15px;
}
.sidebar .newsletter form {
  text-align: center;
  line-height: 35px;
}
.sidebar .newsletter input[type="email"] {
  font-family: 'Maven Pro', sans-serif;
  font-size: 1em;
  padding: 2px 5px;
  width: 50%;
  height: 26px;
}
.sidebar .newsletter input[type="submit"] {
  cursor: pointer;
  font-size: 0.8em;
  padding: 6px 10px;
  background: #42291f;
  border: 1px solid #42291f;
  color: #fff;
  position: relative;
  top: -1px;
  width: 100px;
  transition-property: background, border;
  transition-duration: 0.10s, 0.10s;
  transition-timing-function: linear;
}
.sidebar .newsletter input[type="submit"]:hover {
  background: #FA6500;
  border: 1px solid #FA6500;
  color: #fff;
  transition-duration: 0.25s, 0.25s;

}
.sidebar .newsletter input[type="submit"]:active {
  position: relative;
  top: 1px;
  left: 1px;
}

/* SIDEBAR CALL TO ACTIONS */
.sidebar .cta {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px
}
.sidebar .cta p {
  margin: 0;
}
.sidebar .cta i {
  padding-left: 5px;
}


/* SIDEBAR CONTACT WIDGET */

.sidebar .contact {
  text-align: center;
  margin-bottom: 70px;
}

.sidebar .contact .circle {
  color: #fff;
  display: inline-block;
  background: #42291f;
  width: 36px;
  height: 36px;
  text-align: center;
  transition-property: background; 
  transition-duration: 0.10s;
  transition-timing-function: linear;
}

.sidebar .contact .circle:hover {
  background: #FA6500;
  transition-duration: 0.25s;
}

.sidebar .contact .circle i {
  font-size: 1.3em;
  position: relative;
  top: 8px;
  vertical-align: middle;
  width: 22px;
  height: 22px;
  display: inline-block;
}

/* mutate fontawesome styles a bit for consistency */
.sidebar .contact .circle.email i {
  font-size: 1.1em;
  top: 9px;
}
.sidebar .contact .circle.twitter i {
  top: 9px;
}
.sidebar .contact .circle.linkedin i {
  font-size: 1.2em;
}
.sidebar .contact .circle.hn i {
  font-size: 1.2em;
  font-style: normal;
  top: 9px;
}



/* MAIN CONTENT AREA */

.curved-hz-2:before {
  top: 0;
  bottom: 0;
  left: 10px;
  right: 10px;
  -moz-border-radius: 100px / 10px;
  border-radius: 100px / 10px;
}

.container {
  border: 0;
  min-height: 750px;
  margin: 0 0 100px 0;
  padding: 50px 100px;
  position: absolute;
  right: 0;
  left: 360px;
  top: 30px;
  background: #fff;
}

.content {
  max-width: 600px;
  position: relative;
  z-index: 1;
}

.content.list-view:first-child h1 {
  padding-top: 40px;
}

h1, h2, h3, h4, h5, h6, p, ul, ol, li {
  letter-spacing: -1px;
  word-spacing: 0px;
  -webkit-font-smoothing: antialiased;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  color: #333;
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a {
  color: #FA6500;
}


h1 {
  font-size: 2em;
  line-height: 1.2em;
  padding: 0 0 0 0;
  margin-bottom: 25px;
}

h2 {
  font-size: 1.6em;
  line-height: 1.2em;
  padding: 10px 0 0 0;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.3em;
  line-height: 1.2em;
  padding: 10px 0 0 0;
  margin-bottom: 20px;
}

h4 {
  font-size: 1.3em;
  line-height: 1.2em;
  padding: 10px 0 5px 0;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(51, 51, 51, 0.5);
}

h5 {
  font-size: 1.1em;
  margin-bottom: 7px;
  font-weight: normal;
}

p {
  font-weight: 400;
  font-size: 1.1em;
  line-height: 1.7em;
  padding: 0;
  margin-bottom: 25px;
}

blockquote {
  background: #ddd;
  padding: 10px;
  margin: 0 -10px 35px -10px;;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
}
blockquote p {
  margin: 0;
  position: relative;
  margin-left: 30px;
  padding: 0 10px;
}
blockquote:before {
  content: '\201C'; /* unicode left double quote */
  font-size: 4.5em;
  position: absolute;
  margin-left: 0;
  margin-top: -7px;
  filter:         alpha(opacity=(50));
  -ms-filter:     "progid:DXImageTransform.Microsoft.Alpha(Opacity=(50))";
  -moz-opacity:   0.5;
  -khtml-opacity: 0.5;
  opacity:        0.5;
}

ol, ul {
  font-weight: 400;
  font-size: 1.1em;
  line-height: 1.3em;
  padding: 0;
  margin-bottom: 25px;
  margin-left: 25px;
  list-style: inherit;
}
ol {
  list-style-type: decimal;
}
ol li, ul li {
  list-style-position: outside;
  line-height: 1.7em;
}

hr {
  margin: 35px 0 25px;
}

caption {
  font-style: italic;
}

code {
  padding: 0.2em 0.3em;
  font-size: 75%;
  background-color: rgba(0,0,0,0.04);
  font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
}

p.post-meta {
  color: #b6aba7;
}

.flash {
    background-color: #ffecaf;
}
.transition-duration-instant {
    transition-duration: 0s;
    -moz-transition-duration: 0s;
    -o-transition-duration: 0s;
    transition-duration: 0s;
}
.transition-duration-medium {
    transition-duration: 0.25s;
    -moz-transition-duration: 0.25s;
    -o-transition-duration: 0.25s;
    transition-duration: 0.25s;
}

.content > div {
  margin: 25px 0;
}

.content > iframe {
  margin: 25px 0;
}

.gist {
  font-size: 0.8em;
  margin-bottom: 25px;
}

div.highlight {
  font-size: 0.8em;
  line-height: 1.2em;
  margin: 45px 0; /* extra padding top/bottom due to backsplash :before offset */;
  padding: 7px;
  max-width: 580px;
  position: relative;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
}
div.highlight:before {
  position: absolute;
  top: -7px;
  right: -7px;
  bottom: -7px;
  left: -7px;
  display: block;
  content: "";
  background: #eee url('../img/pattern.png');
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  z-index: -1;
}
pre {
  overflow: auto;
  font-family: 'Envy Code R', 'Droid Sans Mono', 'Bitstream Vera Sans Mono', 'DejaVu Sans Mono', Inconsolata, Consolas, monospace;
}

.content img {
  display: block;
  max-width: 600px;
  position: relative;
  z-index: 1;
  margin: 40px auto;
}

.content img, .content > iframe {
  padding: 7px;
  margin-left: -7px;
  margin-right: -7px;
  width: 100%;
  background: #eee url('../img/pattern.png');
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
}

h1 .date {
  font-size: 0.5em;
  margin: 0;
  padding-left: 5px;
  white-space: nowrap;
}
h1 .date:before {
  content: "/";
  padding-right: 2px;
}

/* SHARING WIDGET */

.share {
  margin: 70px -10px 0 -10px;
  text-align: center;
  font-size: 1.1em;
  font-weight: bold;
  padding: 10px;
  background: #eee url('../img/pattern.png');
}
.share span {
  position: relative;
  padding-right: 25px;
}
.share i {
  display: inline-block;
  padding: 0 5%;
  cursor: pointer;
  position: relative;
  top: 1px;
  transition-property: color; 
  transition-duration: 0.10s;
  transition-timing-function: linear;
}
.share i:hover {
  color: #FA6500;
  transition-duration: 0.25s;
}
.share .box a:hover {
  color: #FA6500;
}
.share .box {
  display: inline-block;
  font-family: 'Maven Pro', sans-serif;
  padding: 0 3px;
}
.share i.icon-linkedin .box {
  padding: 0 5px;
}

/* COMMENTS */

#disqus_thread {
  margin: 100px 0;
}

/* offset footer from absolute margin to force bottom of page to be visible */
.footer {
  position: absolute;
  margin-top: 60px;
  height: 150px;
}

/* FOR THE MULTI-POST VIEW ON MAIN CONTENT AREA */
.post {
  margin-bottom: 70px;
}
.post .cover {
  display: table-cell;
  vertical-align: middle;
}
.post .cover img {
  width: 200px;
  margin: 0;
  padding: 5px;
}
.post .cover a {
  position: relative;
}
.post .meta {
  padding: 0 30px;
  display: table-cell;
  vertical-align: middle;
}
.post .meta h1 {
  margin-bottom: 5px;
}
.post .meta .caption {
  margin: 0;
}
.post .meta .more {
  font-weight: bold;
  margin: 0 5px;
}

.nav .prev {
  position: absolute;
  left: 5px;
}
.nav .next {
  position: absolute;
  right: 5px;
}

/* MEDIA QUERIES FOR MOBILE DEVICES */

@media only screen and (max-device-width: 600px), only screen and (max-width: 600px) {

  /* coerce body to be stacked */
  body {
    min-width: 100%;
  }

  .sidebar {
    min-height: inherit;
    margin: 0;
    min-width: inherit;
    width: 100%;
    position: relative;
    left: auto;
    top: auto;
  }

  .logo {
    display: block;
  }

  .container {
    border: 0;
    min-height: inherit;
    margin: 0 0 100px 0;
    padding: 50px 20px;
    position: relative;
    right: auto;
    left: auto;
    top: auto;
    background: #fff;
  }

  .content {
    max-width: 100%;
    position: relative;
    z-index: 1;
  }

  /* misc nicety fixes */

  .container {
    margin: 25px 0 50px;
    padding: 30px 20px;
  }

  .sidebar {
    /* hacks to get display: table-cell to have right padding */
    padding-top: 1px;
    padding-bottom: 1px;
  }

  .sidebar .links ul {
    text-align: center;
  }

  .share span {
    display: none;
  }

  /* multi posts view */
  .post {
    caption-side: top;
    width: 100%;
  }
  .post .meta {
    display: table-caption;
    padding: 0;
  }
  .post .cover {
    padding: 15px 0 0;
    width: 100%;
  }
  .post .cover img {
    width: 95%;
    margin: 0 auto;
  }
}

/* remove css-intensive stuff on mobile */

@media only screen and (max-device-width: 600px) {

  a {
    transition-property: none; 
    transition-duration: none; 
    transition-timing-function: none;
  }

  .sidebar .newsletter input[type="submit"] {
    transition-property: none;
    transition-duration: none; 
    transition-timing-function: none;
  }

  .sidebar .contact .circle {
    transition-property: none; 
    transition-duration: none; 
    transition-timing-function: none;
  }

  .share i {
    transition-property: none;
    transition-duration: none;
    transition-timing-function: none;
  }

}