.highlight table td { padding: 5px; }
.highlight table pre { margin: 0; }
.highlight, .highlight .w {
  color: #7388f5;
  background-color: #151515;
}
.highlight .err {
  color: #151515;
  background-color: #ac4142;
}
.highlight .c, .highlight .cd, .highlight .cm, .highlight .c1, .highlight .cs {
  color: #90a959;
}
.highlight .cp {
  color: #f4bf75;
}
.highlight .dl {
	color: #d28445
}
.highlight .nt {
  color: #f4bf75;
}
.highlight .o, .highlight .ow {
  color: #d0d0d0;
}
.highlight .p, .highlight .pi {
  color: #d0d0d0;
}
.highlight .gi {
  color: #90a959;
}
.highlight .gd {
  color: #ac4142;
}
.highlight .gh {
  color: #6a9fb5;
  background-color: #151515;
  font-weight: bold;
}
.highlight .k, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kv {
  color: #aa759f;
}
.highlight .kc {
  color: #d28445;
}
.highlight .kt {
  color: #d28445;
}
.highlight .kd {
  color: #6a9fb5;
}
.highlight .s, .highlight .sb, .highlight .sc, .highlight .sd, .highlight .s2, .highlight .sh, .highlight .sx, .highlight .s1 {
  color: #d28445;
}
.highlight .sr {
  color: #75b5aa;
}
.highlight .si {
  color: #8f5536;
}
.highlight .se {
  color: #8f5536;
}
.highlight .nn {
  color: #f4bf75;
}
.highlight .nc {
  color: #f4bf75;
}
.highlight .no {
  color: #f4bf75;
}
.highlight .na {
  color: #6a9fb5;
}
.highlight .m, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .il, .highlight .mo, .highlight .mb, .highlight .mx {
  color: #90a959;
}
.highlight .ss {
  color: #90a959;
}

pre.highlight * {
	border: 0 none;
	margin: 0px;
	padding: 0px;
}

:root {
  --brand-color:           #999999;
  --brand-color-light:     hsl(var(--brand-color), 5%);
  /* --brand-color-dark:      darken(--brand-color, 35%); */

  /* --site-title-color:      --brand-color-light; */

  --text-color:            #bbbbbb;
  --background-color:      #181818;
  --code-background-color: #212121;

  --link-base-color:       #79b8ff;
  --link-visited-color:    var(--link-base-color);
  --link-hover-color:      var(--text-color);

  --border-color-01:       var(--brand-color-dark);
  --border-color-02:       var(--brand-color-light);
  --border-color-03:       var(--brand-color);

  --table-text-color:      var(--text-color);
  /* --table-zebra-color:     lighten(--background-color, 4%);
  --table-header-bg-color: lighten(--background-color, 10%);
  --table-header-border:   lighten(--background-color, 21%); */
  --table-border-color:    var(--border-color-01);
}

html {
	font-size: 16px;
}

/**
 * Reset some basic elements
 */
body, h1, h2, h3, h4, h5, h6,
p, blockquote, pre, hr,
dl, dd, ol, ul, figure {
	margin: 0;
	padding: 0;
}

/**
 * Basic styling
 */
body {
	font: 400 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", "Segoe UI Symbol", "Segoe UI Emoji", "Apple Color Emoji", Roboto, Helvetica, Arial, sans-serif;
	color: #bbbbbb;
	background-color: #181818;
	-webkit-text-size-adjust: 100%;
	-webkit-font-feature-settings: "kern" 1;
	-moz-font-feature-settings: "kern" 1;
	-o-font-feature-settings: "kern" 1;
	font-feature-settings: "kern" 1;
	font-kerning: normal;
	display: flex;
	min-height: 100vh;
	flex-direction: column;
	overflow-wrap: break-word;
}

/**
 * Set `margin-bottom` to maintain vertical rhythm
 */
h1, h2, h3, h4, h5, h6,
p, blockquote, pre,
ul, ol, dl, figure,
.highlight {
	margin-bottom: 15px;
}

hr {
	margin-top: 30px;
	margin-bottom: 30px;
}

/**
 * `main` element
 */
main {
	display: block;
  /* Default value of `display` of `main` element is 'inline' in IE 11. */;
}

/**
 * Images
 */
img {
	max-width: 100%;
	vertical-align: middle;
}

/**
 * Figures
 */
figure > img {
	display: block;
}

figcaption {
	font-size: 14px;
}

/**
 * Lists
 */
ul, ol {
	margin-left: 30px;
}

li > ul,
li > ol {
	margin-bottom: 0;
}

/**
 * Headings
 */
h1, h2, h3, h4, h5, h6 {
	font-weight: 400;
}

/**
 * Links
 */
a {
	color: #79b8ff;
	text-decoration: none;
}

a:visited {
	color: #79b8ff;
}

a:hover {
	color: #bbbbbb;
	text-decoration: underline;
}

.social-media-list a:hover, .pagination a:hover {
	text-decoration: none;
}

.social-media-list a:hover .username, .pagination a:hover .username {
	text-decoration: underline;
}

/**
 * Blockquotes
 */
blockquote {
	color: #999999;
	border-left: 4px solid #404040;
	padding-left: 15px;
	font-size: 1.125rem;
	font-style: italic;
}

blockquote > :last-child {
	margin-bottom: 0;
}

blockquote i, blockquote em {
	font-style: normal;
}



/**
 * Tags
 */
.tags {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
	display: inline;
}

.tags li {
	display: inline-block;
	margin-left: 10px;
}

.tags a:before {
  /* color: #999999; */
}
.tags a {
  color: #999999;
}

/**
 * Code formatting
 */
pre,
code {
	font-family: "Menlo", "Inconsolata", "Consolas", "Roboto Mono", "Ubuntu Mono", "Liberation Mono", "Courier New", monospace;
	font-size: 0.9375em;
	border: 1px solid #404040;
	border-radius: 3px;
	background-color: #212121;
}

code {
	padding: 1px 5px;
}

pre {
	padding: 8px 12px;
	overflow-x: auto;
}

pre > code {
	border: 0;
	padding-right: 0;
	padding-left: 0;
}

.highlight {
	border-radius: 3px;
	background: #212121;
}

.highlighter-rouge .highlight {
	background: #212121;
}

/**
 * Wrapper
 */
.wrapper {
	max-width: calc(800px - (30px));
	margin-right: auto;
	margin-left: auto;
	padding-right: 15px;
	padding-left: 15px;
}

@media screen and (min-width: 800px) {
	.wrapper {
		max-width: calc(800px - (30px * 2));
		padding-right: 30px;
		padding-left: 30px;
	}
}

/**
 * Clearfix
 */
.wrapper:after {
	content: "";
	display: table;
	clear: both;
}

/**
 * Icons
 */
.orange {
	color: #f66a0a;
}

.grey {
	color: #828282;
}

.svg-icon {
	width: 16px;
	height: 16px;
	display: inline-block;
	fill: currentColor;
	padding: 5px 3px 2px 5px;
	vertical-align: text-bottom;
}

/**
 * Tables
 */
table {
	margin-bottom: 30px;
	width: 100%;
	text-align: left;
	color: #bbbbbb;
	border-collapse: collapse;
	border: 1px solid #404040;
}

table tr:nth-child(even) {
	background-color: #222222;
}

table th, table td {
	padding: 10px 15px;
}

table th {
	background-color: #323232;
	border: 1px solid #4e4e4e;
}

table td {
	border: 1px solid #404040;
}

@media screen and (max-width: 800px) {
	table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		-ms-overflow-style: -ms-autohiding-scrollbar;
	}
}

/**
 * Site header
 */
.site-header {
	border-top: 5px solid #999999;
	border-bottom: 1px solid #404040;
	min-height: 55.95px;
	line-height: 54px;
	position: relative;
}

.site-title {
	letter-spacing: -1px;
	margin-bottom: 0;
}

@media screen and (max-width: 600px) {
	.site-title {
		padding-right: 45px;
	}
}

.site-title, .site-title:visited {
	color: #a6a6a6;
}

.site-nav {
	position: absolute;
	top: 9px;
	right: 15px;
	background-color: #181818;
	border: 1px solid #404040;
	border-radius: 5px;
	text-align: right;
}

.site-nav .nav-trigger {
	display: none;
}

.site-nav .menu-icon {
	float: right;
	width: 36px;
	height: 26px;
	line-height: 0;
	padding-top: 10px;
	text-align: center;
}

.site-nav .menu-icon > svg path {
	fill: #999999;
}

.site-nav label[for="nav-trigger"] {
	display: block;
	float: right;
	width: 36px;
	height: 36px;
	z-index: 2;
	cursor: pointer;
}

.site-nav input ~ .trigger {
	clear: both;
	display: none;
}

.site-nav input:checked ~ .trigger {
	display: block;
	padding-bottom: 5px;
}

.site-nav .page-link {
	color: #bbbbbb;
	line-height: 1.5;
	display: block;
	padding: 5px 10px;
	margin-left: 20px;
}

.site-nav .page-link:not(:last-child) {
	margin-right: 0;
}

@media screen and (min-width: 600px) {
	.site-nav {
		position: static;
		float: right;
		border: none;
		background-color: inherit;
	}

	.site-nav label[for="nav-trigger"] {
		display: none;
	}

	.site-nav .menu-icon {
		display: none;
	}

	.site-nav input ~ .trigger {
		display: block;
	}

	.site-nav .page-link {
		display: inline;
		padding: 0;
		margin-left: auto;
	}

	.site-nav .page-link:not(:last-child) {
		margin-right: 20px;
	}
}

/**
 * Site footer
 */
.site-footer {
	border-top: 1px solid #404040;
	padding: 30px 0;
}

.footer-heading {
	font-size: 1.125rem;
	margin-bottom: 15px;
}

.feed-subscribe .svg-icon {
	padding: 5px 5px 2px 0;
}

.contact-list,
.social-media-list,
.pagination {
	list-style: none;
	margin-left: 0;
}

.footer-col-wrapper,
.social-links {
	font-size: 0.9375rem;
	color: #999999;
}

.footer-col {
	margin-bottom: 15px;
}

.footer-col-1,
.footer-col-2 {
	width: calc(50% - (30px / 2));
}

.footer-col-3 {
	width: calc(100% - (30px / 2));
}

@media screen and (min-width: 800px) {
	.footer-col-1 {
		width: calc(35% - (30px / 2));
	}

	.footer-col-2 {
		width: calc(20% - (30px / 2));
	}

	.footer-col-3 {
		width: calc(45% - (30px / 2));
	}
}

@media screen and (min-width: 600px) {
	.footer-col-wrapper {
		display: flex;
	}

	.footer-col {
		width: calc(100% - (30px / 2));
		padding: 0 15px;
	}

	.footer-col:first-child {
		padding-right: 15px;
		padding-left: 0;
	}

	.footer-col:last-child {
		padding-right: 0;
		padding-left: 15px;
	}
}

/**
 * Page content
 */
.page-content {
	padding: 30px 0;
	flex: 1 0 auto;
}

.page-heading {
	font-size: 2rem;
}

.post-list-heading {
	font-size: 1.75rem;
}

.post-list {
	margin-left: 0;
	list-style: none;
}

.post-list > li {
	margin-bottom: 30px;
}

.post-meta {
	font-size: 14px;
	color: #999999;
}

.post .post-header .post-meta {
	border: solid;
	border-width: 1px 0px 1px 0px;
	padding: 6px 0;
}

.post-link {
	display: block;
	font-size: 1.5rem;
}

/**
 * Posts
 */
.post-header {
	margin-bottom: 30px;
}

.post-title,
.post-content h1 {
	font-size: 2.625rem;
	letter-spacing: -1px;
	line-height: 1.15;
}

@media screen and (min-width: 800px) {
	.post-title,
    .post-content h1 {
		font-size: 2.625rem;
	}
}

.post-content {
	margin-bottom: 30px;
}

.post-content h1, .post-content h2, .post-content h3 {
	margin-top: 60px;
}

.post-content h4, .post-content h5, .post-content h6 {
	margin-top: 30px;
}

.post-content h2 {
	font-size: 1.75rem;
}

@media screen and (min-width: 800px) {
	.post-content h2 {
		font-size: 2rem;
	}
}

.post-content h3 {
	font-size: 1.375rem;
}

@media screen and (min-width: 800px) {
	.post-content h3 {
		font-size: 1.625rem;
	}
}

.post-content h4 {
	font-size: 1.25rem;
}

.post-content h5 {
	font-size: 1.125rem;
}

.post-content h6 {
	font-size: 1.0625rem;
}

.social-media-list, .pagination {
	display: table;
	margin: 0 auto;
}

.social-media-list li, .pagination li {
	float: left;
	margin: 5px 10px 5px 0;
}

.social-media-list li:last-of-type, .pagination li:last-of-type {
	margin-right: 0;
}

.social-media-list li a, .pagination li a {
	display: block;
	padding: 7.5px;
	border: 1px solid #404040;
}

.social-media-list li a:hover, .pagination li a:hover {
	border-color: #a6a6a6;
}

/**
 * Pagination navbar
 */
.pagination {
	margin-bottom: 30px;
}

.pagination li a, .pagination li div {
	min-width: 41px;
	text-align: center;
	box-sizing: border-box;
}

.pagination li div {
	display: block;
	padding: 7.5px;
	border: 1px solid transparent;
}

.pagination li div.pager-edge {
	color: #404040;
	border: 1px dashed;
}

/**
 * Grid helpers
 */
@media screen and (min-width: 800px) {
	.one-half {
		width: calc(50% - (30px / 2));
	}
}
