/* ==========================================================================
   Includes
   ========================================================================== */

@import "normalize";
@import "colors";
@import "icons";
@import "fonts";
@import "highlight";
@import "image-attribution";

/* ==========================================================================
   Basics
   ========================================================================== */

@supports (flex-wrap: wrap) {
    body {
    	display: flex;
		flex-direction: column;
		min-height: 100vh;
    }
	#wrapper {
		flex: 1;
	}
}

html {
	font-size: 62.5%;
	overflow-x: hidden;
}

html.menu-active,
.menu-active body{
	overflow-y: hidden;
}

body {
	font: 400 2em / 1.5em 'Cardo', serif;
	color: $color-blue-30;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
input,
button,
select,
textarea {
	font-family: 'Fira Sans', sans-serif;
	transition: all ease-out 0.2s;
}

a {
	color: $color-blue-15;
	text-decoration: none;
	font-weight: 400;
	transition: all ease-out 0.2s;
}
a:hover,
a:focus {
	color: $color-black;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Fira Sans', sans-serif;
	text-rendering: optimizeLegibility;
	color: $color-black;
}

h1 {
	font-size: 2em;
	line-height: 1em;
	text-indent: -1px;
	margin: 1em 0 1em;
}

h2 {
	font-size: 1.75em;
	line-height: 1.111em;
	text-indent: -1px;
	margin: 1.143em 0 1.143em;
}

h3 {
	font-size: 1.5em;
	line-height: 1.334em;
	margin: 1em 0 1em;
}

h4 {
	font-size: 1.25em;
	line-height: 1.2em;
	margin: 1.2em 0 1.2em;
}

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

p {
    margin: 0 0 2em;
}

ul, ol {
    margin: 0 0 2em;
    padding-left: 2em;
    box-sizing: border-box;
}

ul {
	list-style: none;
}
li {
	position: relative;
}
ul > li:before,
ol > li:before {
	position: absolute;
	width: 1.5em;
	margin-left: -2em;
	font-family: 'Fira Sans', sans-serif;
	font-size: 1em;
	font-weight: 500;
	line-height: 1.5em;
	text-align: right;
	color: $color-black;
}
ul > li:before {
	margin-top: 0.25em;
	content: '*';
}
ol {
	list-style-type: none;
	counter-reset: item;
}
ol > li:before {
	content: counter(item) ". " !important;
	counter-increment: item;
}

ol ol, ul ul, ul ol, ol ul {
	padding-left: 30px;
	margin: 15px 0;
}

hr {
    display: block;
    height: 1px;
    margin: 0 0 2em;
    padding: 0;
	  background: $color-gray-90;
    border: 0;
}

blockquote {
    margin: 0 0 2em;
    padding: 1em;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-left: 0.25em solid $color-gray-90;
    font-style: italic;
    font-weight: 400;
    color: $color-blue-30;
    background: $color-gray-98;
}
blockquote p {
	margin: 0 0 1em;
}
blockquote p:first-child {
	margin-top: 0;
}
blockquote p:last-child {
	margin-bottom: 0;
}
em, i {
	font-style: italic;
	color: $color-blue-15;
}
strong, b {
	font-weight: 700;
	color: $color-blue-15;
}

small {
    font-size: 0.9em;
    color: $color-blue-30;
}


dl {
    margin: 0 0 2em;
    padding-left: 30px;
}
dl dt {
    font-family: 'Fira Sans', sans-serif;
  	font-weight: 500;
  	font-size: 0.75em;
  	line-height: 1.25em;
    font-weight: 700;
    color: $color-black;
    margin-bottom: 0.334em;
}
dl dt:before {
    content: '';
    position: absolute;
    width: 1em;
    height: 1px;
    margin-left: -30px;
    margin-top: 0.5em;
    background: $color-blue-80;
}
dl dd {
    margin-left: 0;
    margin-bottom: 1em;
}

mark {
    background-color: $color-yellow-100;
}
code, tt {
	position: relative;
	margin: 0 0.334em;
	padding: 0.334em 0.667em;
	font-family: monospace, sans-serif;
	font-size: 0.75em;
	white-space: pre;
	background: $color-gray-98;
  border: 1px solid $color-gray-90;
	top: -2px;
}

pre {
	position: relative;
	margin: 0 0 2em;
	padding: 1em;
	overflow: hidden;
	font-family: monospace, sans-serif;
	white-space: pre;
	background: $color-gray-98;
  border: 1px solid $color-gray-90;
	box-sizing: border-box;
}
pre .lines {
	position: absolute;
	width: 2.667em;
	height: 100%;
	left: 0;
	top: 0;
	padding: 1.334em 0;
	border-right: 1px solid $color-gray-90;
	font-size: 0.75em;
	line-height: 2em;
	text-align: right;
	box-sizing: border-box;
	background: rgba(255,255,255,0.5);
}
pre .lines .line {
	display: block;
	padding-right: 0.334em;
    color: $color-blue-30;
}

pre code, pre tt {
  display: block;
	position: static;
	top: auto;
	margin: -1.334em -1.334em -1.334em 1.334em;
	padding: 1.334em;
	overflow: scroll;
	font-size: 0.75em;
	line-height: 2em;
	white-space: pre;
	background: transparent;
	border: none;
	vertical-align: inherit;
}
pre code.language-text {
  overflow: hidden;
  white-space: normal;
  margin-left: -1.334em;
}

kbd {
    display: inline-block;
    margin-bottom: 0.5em;
    padding: 1px 8px;
    border: $color-gray-90 1px solid;
    color: $color-blue-30;
    text-shadow: $color-white 0 1px 0;
    font-size: 0.9em;
    font-weight: bold;
    background: $color-gray-98;
    border-radius: 4px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 1px 0 0 $color-white inset;
}

table {
	width: 100%;
	max-width: 100%;
	margin: 0 0 2em;
	background-color: transparent;
	border: 1px solid $color-gray-90;
}

table th,
table td {
    position: relative;
    padding: 0.5em;
    line-height: 0.95em;
    text-align: left;
    border: 1px solid $color-gray-90;
}
table th {
	font-family: 'Fira Sans', sans-serif;
	font-weight: 500;
	font-size: 0.75em;
	line-height: 1.25em;
	padding: 0.667em;
	color: $color-black;
}
table td:after {
	position: absolute;
	width: 100%;
	height: 100%;
	left: -1px;
	top: -1px;
	padding: 1px;
	z-index: -1;
	content: '';
	background: $color-gray-98;
}


img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 0 2em;
}

img[src$="#full"] {
  max-width: none;
  width: 100vw;
  margin: 3em 0;
}

.kg-image-card {
  margin: 0 0 2em;

  .kg-image {
    margin: 0;

    &.kg-image-wide {
      max-width: 48em;
      min-width: 100%;
      width: 75vw;
    }

    &.kg-image-full {
      max-width: none;
      width: 100vw;
      margin-top: 2em;
    }
  }

  figcaption {
    font-family: 'Fira Sans', sans-serif;
    color: $color-blue-60;
    text-align: center;
    max-width: 32em;
    margin: auto;
  	font-size: 0.75em;
  	line-height: 1.25em;
  	padding: 0.667em 0;
  }

  .kg-image-full + figcaption {
    margin-bottom: 1.334em;
  }
}

.fluid-width-video-wrapper {
	margin: 0 0 2em;
}

.clear {
	clear: both;
}
.hidden {
	display: none;
}

@keyframes fadein {
	0% {
	    opacity: .2;
	}
	100% {
		opacity: .9;
	}
}

.avatar {
	position: relative;
	overflow: hidden;
	background: $color-gray-95;
	margin: 0;

	&:before,
	&:after {
		content: '';
		position: absolute;
		z-index: 1;
		width: 50%;
		height: 50%;
		bottom: 35%;
		left: 25%;
		border-radius: 100%;
		background: $color-gray-90;
	}

	&:after {
		width: 100%;
		bottom: -25%;
		left: 0;
	}

	img {
		position: relative;
		z-index: 2;
		display: block;
		width: 100%;
		height: auto;
	}
}

.kg-card-markdown,
.kg-post {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.kg-card-markdown > *,
.kg-post > * {
    min-width: 100%;
}

/* ==========================================================================
   Header
   ========================================================================== */

#blog-header {
	position: relative;
	padding: 6em 0;
	text-align: center;
}
#blog-header:after {
	position: absolute;
	width: 32em;
	height: 1px;
	left: 50%;
	bottom: 0;
	margin-left: -16em;
	content: '';
	background: $color-gray-90;
}
#blog-header.has-cover {
	padding: 9em 0 10em;
	background: $color-black;
	overflow: hidden;
	text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.author-template #blog-header:after,
#blog-header.has-cover:after {
	display: none;
}

.paged #blog-header.has-cover,
.tag-template #blog-header {
	padding: 4em 0;
}
.author-template #blog-header.has-cover {
	padding: 6em 0;
}
.blog-cover {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: 5;
	background: no-repeat scroll center center / cover $color-black;
	animation: 0.5s ease-in forwards fadein;
}
.blog-cover:after {
	position: absolute;
	width: 100%;
	height: 6em;
	left: 0;
	bottom: 0;
	z-index: 8;
	content: '';
	background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.5) 100%);
}
.blog-logo {
	position: fixed;
	max-width: 2em;
	left: 0;
	top: 0;
	margin: 1em;
	z-index: 200;
}
.blog-logo img {
	display: block;
	margin: 0 auto;
}
.blog-name {
	position: relative;
	display: block;
	z-index: 10;
	margin: 0;
	padding: 0;
	font-family: 'Fira Sans', sans-serif;
	font-weight: 700;
	font-size: 2em;
	line-height: 1em;
	text-decoration: none;
}
.home-template .blog-name {
	font-size: 3em;
}
.has-cover .blog-name {
	color: $color-white;
}
.blog-name a {
	text-decoration: none;
	font-weight: inherit;
	color: inherit;
}
.blog-description {
	position: relative;
	display: block;
	z-index: 10;
	margin: 0.25em 0;
	padding: 0;
	font-size: 1em;
	line-height: 1.5em;
}
.home-template .blog-description {
	font-size: 1.5em;
}
.has-cover .blog-description {
	color: $color-white;
}

#wrapper {
	position: relative;
	padding-right: 0;
	transition: all ease-out 0.25s;
}
#wrapper .hidden-close {
	display: none;
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: 350;
}
.menu-active #wrapper {
	padding-right: 16em;
}
.menu-active #wrapper .hidden-close {
	display: block;
}


.inner {
	max-width: 32em;
	margin: 0 auto;
	padding: 0 2em;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

#navigation {}
.nav-button {
	position: fixed;
	top: 0;
	margin: 1em;
	z-index: 200;
}
.nav-button#home-button {
	left: 0;
}
.nav-button.menu-button {
	right: 0;
}
.nav-button a {
	display: block;
	height: 1.5em;
	margin-bottom: 1em;
	padding: 0.5em 1.25em;
	border: 1px solid $color-blue-80;
	font-family: 'Fira Sans', sans-serif;
	font-size: 0.75em;
	line-height: 1.667em;
	text-shadow: none;
	color: $color-blue-60;
	cursor: pointer;
	background: $color-white;
	transition: color,border-color ease 0.3s;
	border-radius: 2em;
}
.nav-button a:hover,
.nav-button a:focus {
	color: $primary-color;
	border-color: $primary-color;
}
.cover-active .nav-button a {
	color: $color-white;
	border-color: rgba(255,255,255,0.5);
	background: transparent;
}
.cover-active .nav-button a:hover,
.cover-active .nav-button a:focus {
	color: $color-white;
	border-color: $color-white;
}
.nav-button a i {
	display: inline-block;
	color: inherit;
}
.nav-button a i:before {
	position: relative;
	width: auto;
	margin: auto;
}

/* ==========================================================================
   Menu
   ========================================================================== */

#menu {
	position: fixed;
	width: 16em;
	height: 100%;
	top: 0;
	right: 0;
	background: $color-gray-95;
	border-left: 1px solid $color-gray-90;
	z-index: 400;
	overflow: hidden;
	font-family: 'Fira Sans', sans-serif;
	box-shadow: inset -2px 0 7px rgba(0,0,0,0.1);
	transform: translate3d(16em,0,0);
	transition: all ease-out 0.25s;
}
.menu-active #menu {
	transform: translate3d(0,0,0);
}
#menu .close-button {
	position: absolute;
	width: 2em;
	height: 2em;
	top: 0;
	right: 0;
	margin: 1em;
	border: 1px solid $color-blue-80;
	color: transparent;
	cursor: pointer;
	transition: all ease 0.3s;
	border-radius: 2em;
	box-sizing: border-box;
	z-index: 500;
}
#menu .close-button:hover,
#menu .close-button:focus {
	transform: rotate(180deg);
	border-color: $primary-color;
}
#menu .close-button:after,
#menu .close-button:before {
	position: absolute;
	width: 1em;
	height: 1px;
	left: 50%;
	top: 50%;
	margin-left: -0.5em;
	content: '';
	background: $color-blue-60;
	transition: all ease 0.3s;
}
#menu .close-button:hover:after,
#menu .close-button:hover:before,
#menu .close-button:focus:after,
#menu .close-button:focus:before {
	background: $primary-color;
}
#menu .close-button:after {
	transform: rotate(45deg);
}
#menu .close-button:before {
	transform: rotate(-45deg);
}
#menu .nav-wrapper {
	position: absolute;
	width: 100%;
	height: 100%;
	overflow-x: hidden;
	overflow-y: scroll;
	box-sizing: border-box;
}
#menu .nav-label {
	display: block;
	padding: 1.667em 2em;
	margin: 0;
	opacity: 0.5;
	font-size: 0.75em;
	line-height: 2em;
}
#menu ul {
	position: relative;
	width: 100%;
	margin: auto;
	padding: 0;
}
#menu li {
	position: relative;
}
#menu li:before {
	position: absolute;
	width: 100%;
	height: 1px;
	left: 1.5em;
	bottom: 0;
	margin: auto;
	content: '';
	background: rgba(0,0,0,0.1);
}
#menu li:last-child:before {
	display: none;
}
#menu li.active {}
#menu li.active:after {
	position: absolute;
	content: '';
	width: 0.2em;
	height: 100%;
	left: 0;
	top: 0;
	background: $primary-color;
}
#menu li a {
	display: block;
	padding: 1.25em 1.5em;
	color: $color-blue-15;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-weight: 400;
}
#menu li a:hover,
#menu li a:focus {
	color: $color-black;
	background: rgba(0,0,0,0.05);
}
#menu li a i {
	position: relative;
	top: -1px;
	font-size: 0.8em;
	color: inherit;
}
#menu li.active a {
	color: $color-black;
	font-weight: 500;
}

/* ==========================================================================
   Reading Progress
   ========================================================================== */

.progress-container {
	position: fixed;
	width: 100%;
	height: 4px;
	left: 0;
	top: 0;
	z-index: 1000;
	background: transparent;
	transition: opacity ease-out 1s;
}
.progress-container.ready {
	opacity: 0.2;
}
.progress-bar {
	display: block;
	width: 0;
	height: 1px;
	background: $primary-color;
	box-shadow: 0 0 1px $primary-color, 0 0 3px $primary-color;
}

/* ==========================================================================
   Footer
   ========================================================================== */

#footer {
	position: relative;
	z-index: 20;
	font-family: 'Fira Sans', sans-serif;
	line-height: 1em;
	padding-bottom: 6em;
}
.credits {
	text-align: center;
	font-size: 0.625em;
	line-height: 1em;
	padding: 1.1em 0;
	overflow: auto;
	opacity: 0.5;
}
.credits a {
	color: inherit;
}
.credits span {
	display: block;
}
.credits-theme {
	float: left;
}
.credits-software {
	float: right;
}

/* ==========================================================================
   Index
   ========================================================================== */

#blog-author {
	position: relative;
	z-index: 40;
	margin: auto 6em;
}
#blog-author:after {
	position: absolute;
	width: 32em;
	height: 1px;
	left: 50%;
	bottom: 0;
	margin-left: -16em;
	content: '';
	background: $color-gray-90;
}
#blog-author .post-author {
	margin-top: -5em;
	padding-bottom: 3em;
	border: 0;
}
#blog-author.has-cover .post-author-avatar {
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	margin-top: 0.5em;
}
#blog-author.has-cover .post-author-avatar img {
	border: 0.125em solid $color-white;
}
#blog-author .post-author-name {
	padding: 0.334em 0 0;
	font-size: 2em;
	line-height: 1em;
}
#blog-author.has-cover .post-author-name {
	padding: 0.667em 0;
	font-weight: 500;
	letter-spacing: 0.025em;
	line-height: 1.334em;
	color: $color-white;
}
#blog-author.has-cover .post-author-about {
	margin-top: -0.667em;
}


.container {
	position: relative;
}
.container .post {
	padding: 4em 0;
}
.container .post:after {
	position: absolute;
	width: 32em;
	height: 1px;
	left: 50%;
	bottom: 0;
	margin-left: -16em;
	content: '';
	background: $color-gray-90;
}
.container .post.featured .post-title:after {
	position: absolute;
	width: 1em;
	height: 1em;
	left: -1.75em;
	top: 0;
	margin-top: -0.25em;
	font-family: 'icons';
	font-size: 0.5em;
	font-style: normal;
	font-weight: normal;
	content: '\e808';
	color: $color-yellow-100;
	text-align: center;
}

/* ==========================================================================
   Post
   ========================================================================== */

.post.page-template {
	padding-bottom: 4em;
}
.page-template #footer:after {
	position: absolute;
	width: 32em;
	height: 1px;
	left: 50%;
	top: 0;
	margin-left: -16em;
	content: '';
	background: $color-gray-90;
}

/* ==========================================================================
   Post
   ========================================================================== */

#post-header {
	position: relative;
	padding-top: 6em;
}
#post-header.has-cover {
	padding: 16em 0 2em;
	background: $color-black;
	overflow: hidden;
	text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.post-cover {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: 5;
	background: no-repeat scroll center center / cover $color-black;
	animation: 0.5s ease-in forwards fadein;
}
.post-cover:after {
	position: absolute;
	width: 100%;
	height: 12em;
	left: 0;
	bottom: 0;
	z-index: 8;
	content: '';
	background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.5) 100%);
	background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.5) 100%);
}
.post {
	position: relative;
	z-index: 10;
}
.post-title {
	position: relative;
	z-index: 10;
	margin: 0 0 0.25em;
	line-height: 1em;
	font-weight: 700;
	text-indent: -1px;
	color: $color-black;
}
.has-cover .post-title {
	color: $color-white;
}
.post-title a {
	text-decoration: none;
	color: inherit;
	font-weight: inherit;
}
.post-meta {
	position: relative;
	z-index: 10;
	display: block;
	margin-bottom: 1.334em;
	font-family: 'Fira Sans', sans-serif;
	font-size: 0.75em;
	font-weight: 400;
	line-height: 1.334em;
  color: $color-blue-60;
}
.has-cover .post-meta {
	color: $color-white;
	opacity: 0.75;
}
.post-meta a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid transparent;
}
.post-meta a:hover,
.post-meta a:focus {
	border-color: rgba(0,0,0,0.5);
}
.has-cover .post-meta a:hover,
.has-cover .post-meta a:focus {
	border-color: rgba(255,255,255,0.5);
}
.post-excerpt p {
	margin: 0.5em 0 0;
}
.post-content {
  padding: 2em 0;
}
.post-content a {
	border-bottom: 1px solid $primary-color;
}
.post-content a:hover,
.post-content a:focus {
	color: $primary-color;
}

/* ==========================================================================
   Post Info
   ========================================================================== */

.post-info {
	margin-top: 2em;
	overflow: hidden;
}
.post-share {
	max-width: 25%;
	float: right;
}
.post-share a {
	display: block;
	width: 2em;
	height: 2em;
	margin: 0.334em 0 0.334em 0.667em;
	padding: 0;
	float: left;
	font-size: 0.75em;
	line-height: 2em;
	text-align: center;
	text-decoration: none;
	color: $color-white;
	border-radius: 2px;
	transition: all ease 0.3s;
}
.post-share a:hover,
.post-share a:focus {
	background-color: $color-blue-15;
}
.post-share a i {
	color: inherit;
}
.post-share a i:before {
	width: auto;
	height: auto;
}
.post-share .twitter {
	background-color: $color-social-twitter;
}
.post-share .facebook {
	background-color: $color-social-facebook;
}
.post-share .googleplus {
	background-color: $color-social-googleplus;
}
.post-tags {
	max-width: 75%;
	float: left;
	font-family: 'Fira Sans', sans-serif;
}
.post-tags a {
	display: inline-block;
	margin: 0 0.334em 0.667em 0;
	padding: 0.575em 1em;
	background: $color-white;
	border: 1px solid $primary-color;
	font-size: 0.75em;
	font-weight: 500;
	line-height: 1.334em;
	text-align: center;
	text-decoration: none;
	color: $primary-color;
	border-radius: 2em;
	transition: all ease 0.3s;
	box-sizing: border-box;
}
.post-tags a:hover,
.post-tags a:focus {
	background: $primary-color;
	color: $color-white;
}

/* ==========================================================================
   Post Author
   ========================================================================== */

.post-author {
	position: relative;
	margin: 2em 0 0;
	padding: 2em 0;
	z-index: 10;
	border-top: 1px solid $color-gray-90;
	border-bottom: 1px solid $color-gray-90;
	clear: both;
  font-family: 'Fira Sans', sans-serif;
}
.post-author-avatar {
	position: relative;
	float: left;
	width: 5em;
	height: 5em;
	margin: -0.5em 0 0 1.5em;
	overflow: hidden;
	border-radius: 10em;
	box-sizing: border-box;

	@media only screen and (max-width: 480px) {
		width: 4em;
		height: 4em;
		margin: 0 1em 1em 0
  }
}
.post-author-avatar img {
	width: 100%;
	margin: auto;
	border-radius: 10em;
	box-sizing: border-box;
}
.post-author-bio {
	padding-left: 10em;
  font-size: 0.75em;
  line-height: 1.334em;

  @media only screen and (max-width: 480px) {
    padding-left: 0;
  }
}
.post-author-name {
	margin: 0;
	padding: 0;
  font-size: 1.334em;
  line-height: 1em;
  text-indent: inherit;
}
.post-author-about {
	margin: 0.667em 0 0.334em;
}
.post-author-bio span {
	position: relative;
	font-size: 0.8em;
	display: inline-block;
	margin-top: 1.25em;
	margin-right: 1.25em;
	font-weight: 400;
	opacity: 0.75;
}
.post-author-bio i {
	color: inherit;
}
.post-author-bio a {
	color: inherit;
	text-decoration: none;
	font-weight: inherit;
	border-bottom: 1px solid transparent;
}
.post-author-bio a:hover,
.post-author-bio a:focus {
	text-decoration: underline;
}

/* ==========================================================================
   Post Authors
   ========================================================================== */

.post-authors {
	position: relative;
	margin: 2em 0 0;
	padding: 2em 0;
	z-index: 10;
	border-top: 1px solid $color-gray-90;
	border-bottom: 1px solid $color-gray-90;
	clear: both;
  text-align: center;
  font-family: 'Fira Sans', sans-serif;
}
.post-authors-info {
  margin: 0 0 0.334em;
  font-size: 0.75em;
  line-height: 1.334em;
}
.post-authors-authors {
  margin: 0;
	padding: 0;
  text-indent: inherit;
}

/* ==========================================================================
   Post Comments
   ========================================================================== */

.post-comments {
	position: relative;
	padding: 2em 0;
	text-align: center;
	border-bottom: 1px solid $color-gray-90;
	box-sizing: border-box;
}
.post-comments.activated {
	margin: -1px 0 0;
	padding: 1em;
	background: $color-gray-98;
	border: 1px solid $color-gray-90;
}
.post-comments-activate {
	display: inline-block;
	margin: 0;
	padding: 0.5em 1.25em;
	border: 1px solid $color-blue-80;
	font-family: 'Fira Sans', sans-serif;
	font-size: 0.75em;
	line-height: 1.334em;
	color: $color-blue-60;
	text-align: center;
	cursor: pointer;
	transition: all ease 0.3s;
	border-radius: 2em;
}
.post-comments-activate:hover,
.post-comments-activate:focus {
	color: $primary-color;
	border-color: $primary-color;
}
.activated .post-comments-activate {
	display: none;
}

/* ==========================================================================
   Post Subscribe
   ========================================================================== */

.post-subscribe {
	position: relative;
	padding: 2em 0;
	text-align: center;
	border-bottom: 1px solid $color-gray-90;
	box-sizing: border-box;

	p {
		margin: 1.25em 0 0;
		font-size: 0.8em;
		line-height: 1.25em;
	}

	.post-subscribe-form {
		display: flex;
		justify-content: center;

		.post-subscribe-input {
			width: 100%;
			font-size: 0.8em;
			height: 2.5em;
			padding: 0.25em 1em;
			border: 1px solid $color-blue-80;
			border-right: none;
			appearance: none;
			outline: none;
			box-shadow: none;
			box-sizing: border-box;
			border-radius: 4em 0 0 4em;

			&:hover {
				border-color: $color-blue-60;
			}

			&:focus {
				border-color: $color-red-95;
			}
		}

		.post-subscribe-button {
			display: inline-block;
			font-size: 0.8em;
			height: 2.5em;
			padding: 0 1em;
			font-weight: 500;
			color: $color-white;
			background: $color-red-95;
			border: 0;
			appearance: none;
			outline: none;
			box-shadow: none;
			box-sizing: border-box;
			border-radius: 0 4em 4em 0;
		}
	}
}

/* ==========================================================================
   Post Comments
   ========================================================================== */

.post-nav {
	position: relative;
	border-bottom: 1px solid $color-gray-90;
}
.post-nav:after {
	position: absolute;
	content: '';
	width: 1px;
	height: 100%;
	left: 50%;
	top: 0;
	background: $color-gray-90;
	z-index: 2;
}
.post-nav-next,
.post-nav-prev {
	display: block;
	width: 50%;
}
.post-nav-next {
	float: left;
}
.post-nav-prev {
	float: right;
}
.post-nav-teaser {
	padding: 1.5em 0;
	min-height: 6em;
}
.post-nav-next .post-nav-teaser {
	padding-right: 1em;
}
.post-nav-prev .post-nav-teaser {
	padding-left: 1em;
}
.post-nav i {
	position: absolute;
	top: 50%;
	width: 2em;
	height: 2em;
	margin-top: -1em;
	font-size: 2em;
	line-height: 2em;
	text-align: center;
	transition: all ease-out 0.3s;
	color: $color-gray-90;
}
.post-nav-next i {
	left: 0;
	margin-left: -1.75em;
}
.post-nav-prev i {
	right: 0;
	margin-right: -1.75em;
}
.post-nav a:hover i,
.post-nav a:focus i {
	color: $primary-color;
}
.post-nav-title {
	margin: 0 0 0.5em;
	padding: 0;
	font-size: 1em;
	line-height: 1em;
	color: inherit;
}
.post-nav-excerpt {
	margin: 0;
	font-size: 0.75em;
	line-height: 1.334em;
}

/* ==========================================================================
   Pagination
   ========================================================================== */


.pagination {
	position: relative;
	height: 2em;
	margin: 0;
	padding: 2em 0;
	font-family: 'Fira Sans', sans-serif;
}
.pagination:after {
	position: absolute;
	width: 32em;
	height: 1px;
	left: 50%;
	bottom: 0;
	margin-left: -16em;
	content: '';
	background: $color-gray-90;
}
.pagination a {
	position: relative;
	display: block;
	height: 1.334em;
	margin: -1px 0;
	padding: 0.667em 1em;
	z-index: 100;
	border: 1px solid $color-blue-80;
	font-size: 0.75em;
	line-height: 1.5em;
	text-align: center;
	text-decoration: none;
	color: $color-blue-60;
	transition: all ease 0.3s;
	border-radius: 2em;
}
.pagination .pagination-prev {
	float: right;
	padding-left: 1.334em;
}
.pagination .pagination-next {
	float: left;
	padding-right: 1.334em;
}
.pagination a:hover,
.pagination a:focus {
	color: $primary-color;
	border-color: $primary-color;
}
.pagination .pagination-label {
	position: relative;
	top: -0.167em;
	display: inline-block;
	height: 1.334em;
	line-height: 1.334em;
}
.pagination a i {
	position: relative;
	width: auto;
	margin: auto;
	color: inherit;
	font-size: 1.334em;
	line-height: 0.75em;
}
.pagination .pagination-info {
	position: absolute;
	width: 100%;
	height: 2.667em;
	left: 0;
	z-index: 50;
	display: block;
	font-size: 0.75em;
	line-height: 2.667em;
	text-align: center;
}

.extra-pagination {
	display: none;
}
.extra-pagination .pagination:after {
	top: auto;
	bottom: 0;
}
.paged .extra-pagination {
	display: block;
}

/* ==========================================================================
   Media Queries - Smaller than 960px
   ========================================================================== */

@media only screen and (max-width: 960px) {
	#wrapper {
		transform: translate3d(0,0,0);
	}
	.menu-active #wrapper {
		padding-right: 0;
		transform: translate3d(-16em,0,0);
	}
	.blog-logo,
	.nav-button {
		position: absolute;
	}
	#blog-author {
		margin: auto;
	}
}

/* ==========================================================================
   Media Queries - Smaller than 640px
   ========================================================================== */

@media only screen and (max-width: 640px) {
	html {
	    font-size: 50%;
	}
	.post-share,
	.post-tags {
		max-width: none;
		float: none;
		margin: 0 0 2em;
	}
	.post-share a {
		margin-left: 0;
		margin-right: 0.667em;
	}
	.post-nav i {
		font-size: 1.5em;
	}
}

/* ==========================================================================
   Media Queries - Smaller than 480px
   ========================================================================== */


@media only screen and (max-width: 480px) {
	.inner {
		padding: 0 16px;
	}
	.post-template #main-header {
		padding: 16px 0;
	}
	#main-nav a {
		margin: 16px;
	}
	.container .post.featured .post-title:after {
		left: 0;
		top: -1.75em;
	}
	.post-content img,
	.post-content .fluid-width-video-wrapper {
		width: 100%;
		margin-left: auto;
	}
	.post-nav:after {
		display: none;
	}
	.post-nav-next,
	.post-nav-prev {
		display: block;
		width: 100%;
	}
	.post-nav-teaser {
		position: relative;
		min-height: 4em;
		padding: 2em 0;
	}
	.post-nav-next .post-nav-teaser:after {
		position: absolute;
		content: '';
		width: 100%;
		height: 1px;
		left: 0;
		bottom: 0;
		margin-bottom: -1px;
		background: $color-gray-90;
		z-index: 2;
	}
	.post-nav-next .post-nav-teaser {
		padding-right: 0;
		padding-left: 1.5em;
	}
	.post-nav-prev .post-nav-teaser {
		padding-left: 0;
		padding-right: 1.5em;
	}
	.post-nav-next i {
		margin-left: -1em;
	}
	.post-nav-prev i {
		margin-right: -1em;
	}
}

/* ==========================================================================
   Media Queries - Smaller than 320px
   ========================================================================== */


@media only screen and (max-width: 320px) {
	.pagination .pagination-label {
		display: none;
	}
}
