/*
Theme Name: Bookmark
Theme URI: https://michaelvandenberg.com/themes/#bookmark
Author: Michael Van Den Berg
Author URI: https://michaelvandenberg.com/
Description: A free blogging theme with nice typography and customizable colors.
Version: 1.0.2
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: bookmark
Tags: one-column, accessibility-ready, custom-background, custom-menu, custom-header, featured-images, full-width-template, theme-options, threaded-comments, blog

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

components is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Accessibility
# Alignments
# Flexbox
# Clearings
# Typography
# Forms
# Buttons
# Formatting
# Lists
# Tables
# Transitions
# Navigation
# Links
# Layout
	## Posts
	## Pages
# Comments
# Widgets
# Infinite scroll
# Media
	## Galleries
# Bookmark
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
  font-family: sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
  display: block;
}

audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden],
template {
  display: none;
}

a {
  background-color: transparent;
}

a:active,
a:hover {
  outline: 0;
}

abbr[title] {
  border-bottom: 1px dotted;
}

b,
strong {
  font-weight: bold;
}

dfn {
  font-style: italic;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

mark {
  background: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 1em 40px;
}

hr {
  box-sizing: content-box;
  height: 0;
}

pre {
  overflow: auto;
}

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}

button {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}

button[disabled],
html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input {
  line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

input[type="search"] {
  -webkit-appearance: textfield;
  box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
}

optgroup {
  font-weight: bold;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #000;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
  outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignnone {
  display: block;
  margin-left: 0;
  margin-right: 0;
}

.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em;
}

.alignright {
  display: inline;
  float: right;
  margin-left: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/*--------------------------------------------------------------
# Flexbox
--------------------------------------------------------------*/
.flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.center {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.space {
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
  content: "";
  display: table;
  table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
  clear: both;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
  color: #212223;
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 300;
  font-size: 18px;
  font-size: 1.125rem;
  line-height: 1.55;
}

h1, h2, h3, h4, h5, h6 {
  clear: both;
  font-weight: 400;
  font-family: "Merriweather", serif;
}

p {
  margin-bottom: 1.5em;
}

dfn, cite, em, i {
  font-style: italic;
}

blockquote {
  quotes: "" "";
  margin: 0 0 1.5em 0;
  padding: 1.5em;
  color: #f1f1f1;
  background: #212223;
  border-left: 8px solid #cc0000;
  border-radius: 0 4px 4px 0;
  font-style: italic;
}

blockquote:before, blockquote:after {
  content: "";
}

blockquote p:first-child {
  margin-top: 0;
}

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

blockquote cite {
  display: block;
  margin-top: 6px;
  text-align: right;
  font-size: 14px;
  font-size: 0.875rem;
  font-style: italic;
  font-weight: bold;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: #eee;
  font-family: "Courier 10 Pitch", Courier, monospace;
  font-size: 15px;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code, kbd, tt, var {
  font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
  font-size: 15px;
  font-size: 0.9375rem;
}

abbr, acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark, ins {
  background: #fff9c0;
  text-decoration: none;
}

big {
  font-size: 125%;
}

strong, b {
  font-weight: 400;
}

.entry-title {
  font-size: 2.25em;
  line-height: 1.45;
  margin: 0.15em 0 0.25em;
}

.widget-title {
  font-size: 18px;
  font-size: 1.125rem;
  margin: 0 0 1em 0;
}

.entry-meta,
.cat-links,
.entry-footer {
  font-size: 18px;
  font-size: 1.125rem;
}

.cat-links {
  font-weight: 400;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.cat-links a,
.cat-links a:visited {
  text-decoration: none;
  color: #cc0000;
}

.cat-links a:hover,
.cat-links a:focus {
  opacity: 0.75;
}

.intro-posts-only .post .entry-content > p:first-of-type,
.intro-enabled .post .entry-content > p:first-of-type {
  font-weight: 400;
  font-size: 20px;
  font-size: 1.25rem;
}

.wp-caption-text {
  font-style: italic;
  font-size: 0.85em;
}

.widget {
  font-size: 18px;
  font-size: 1.125rem;
}

@media screen and (min-width: 480px) {
  body,
  button,
  input,
  select,
  textarea {
    font-size: 20px;
    font-size: 1.25rem;
  }
  .widget-title {
    font-size: 20px;
    font-size: 1.25rem;
  }
  .intro-posts-only .post .entry-content > p:first-of-type,
  .intro-enabled .post .entry-content > p:first-of-type {
    font-size: 21.6px;
    font-size: 1.35rem;
  }
}

@media screen and (min-width: 720px) {
  body,
  button,
  input,
  select,
  textarea {
    font-size: 22px;
    font-size: 1.375rem;
  }
  .entry-meta,
  .cat-links,
  .entry-footer {
    font-size: 20px;
    font-size: 1.25rem;
  }
  .widget-title {
    font-size: 21.6px;
    font-size: 1.35rem;
  }
  .intro-posts-only .post .entry-content > p:first-of-type,
  .intro-enabled .post .entry-content > p:first-of-type {
    font-size: 23.2px;
    font-size: 1.45rem;
  }
  .widget {
    font-size: 20px;
    font-size: 1.25rem;
  }
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
  color: #666;
  border: 1px solid #ccc;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
  color: #111;
}

select {
  border: 1px solid #ccc;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"] {
  padding: 3px;
}

textarea {
  padding-left: 3px;
  width: 100%;
}

/* Default search. */
.search-form {
  position: relative;
  overflow: hidden;
  border: 1px solid #ccc;
  background: white;
}

.search-form label {
  display: block;
  width: 100%;
  padding: 15px 60px 15px 15px;
}

.search-form .search-field {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  font-size: 1rem;
  color: white;
}

.search-form .search-field:focus {
  outline: none;
  color: white;
}

.search-form .search-submit {
  display: block;
  height: 100%;
  width: 56px;
  background: none;
  border: 0;
  border-radius: 0;
  border-left: 1px solid #ccc;
  color: white;
  text-align: center;
  position: absolute;
  top: 0;
  right: 0;
}

.search-form .search-submit .genericon {
  font-size: 24px;
  position: relative;
  top: -1px;
  left: -3px;
}

.search-form .search-submit:hover {
  cursor: pointer;
  color: #cc0000;
}

/* Primary search. */
#primary-search {
  padding: 2rem 5%;
}

#primary-search .search-form {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  border-top: 2px solid white;
  border-bottom: 2px solid white;
}

#primary-search .search-form label {
  border: 0;
  background: transparent;
  padding-bottom: 0;
  padding-bottom: 1em;
  padding-left: 0;
}

#primary-search .search-form .search-field {
  color: white;
  font-size: 16px;
  font-size: 1rem;
  background: transparent;
}

#primary-search .search-form .search-submit {
  color: white;
  border: 0;
  padding: 0;
  width: 40px;
}

#primary-search .search-form .search-submit:hover, #primary-search .search-form .search-submit:focus {
  color: white;
  box-shadow: none;
  -webkit-transform: scale(1.5);
          transform: scale(1.5);
}

#primary-search .search-form .search-submit .genericon {
  font-size: 16px;
  font-size: 1rem;
}

#primary-search .search-form .search-submit:hover .genericon,
#primary-search .search-form .search-submit:focus .genericon {
  color: white;
}

@media screen and (min-width: 720px) {
  /* Primary search. */
  #primary-search {
    padding: 2.5rem 5%;
  }
  #primary-search .search-form .search-field {
    font-size: 24px;
    font-size: 1.5rem;
  }
  #primary-search .search-form .search-submit {
    width: 60px;
  }
  #primary-search .search-form .search-submit .genericon {
    font-size: 24px;
    font-size: 1.5rem;
  }
}

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: 0;
  background: #212223;
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 5px;
  line-height: 1.125em;
  font-size: 18px;
  font-size: 1.125rem;
  text-shadow: 0px 0px 5px #212223;
}

button:active, button:hover, button:focus,
input[type="button"]:active,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:hover,
input[type="submit"]:focus {
  box-shadow: 0px 8px 20px 1px rgba(0, 0, 0, 0.3);
}

@media screen and (min-width: 720px) {
  button,
  input[type="button"],
  input[type="reset"],
  input[type="submit"] {
    line-height: 1.25em;
    font-size: 20px;
    font-size: 1.25rem;
  }
}

/*--------------------------------------------------------------
## Waves
--------------------------------------------------------------*/
/*!
 * Waves v0.7.5
 * http://fian.my.id/Waves 
 * 
 * Copyright 2014-2016 Alfiana E. Sibuea and other contributors 
 * Released under the MIT license 
 * https://github.com/fians/Waves/blob/master/LICENSE 
 */
.waves-effect {
  position: relative;
  cursor: pointer;
  display: inline-block;
  overflow: hidden;
  outline: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.waves-effect .waves-ripple {
  position: absolute;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  margin-top: -50px;
  margin-left: -50px;
  opacity: 0;
  background: white;
  background: -webkit-radial-gradient(rgba(204, 0, 0, 0.4) 0, rgba(204, 0, 0, 0.6) 15%, rgba(204, 0, 0, 0.8) 30%, rgba(204, 0, 0, 0.9) 50%, #cc0000 75%);
  background: radial-gradient(rgba(204, 0, 0, 0.4) 0, rgba(204, 0, 0, 0.6) 15%, rgba(204, 0, 0, 0.8) 30%, rgba(204, 0, 0, 0.9) 50%, #cc0000 75%);
  -webkit-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
  -webkit-transition-property: -webkit-transform, opacity;
  -webkit-transition-property: opacity, -webkit-transform;
  transition-property: opacity, -webkit-transform;
  transition-property: transform, opacity;
  transition-property: transform, opacity, -webkit-transform;
  -webkit-transform: scale(0) translate(0, 0);
  transform: scale(0) translate(0, 0);
  pointer-events: none;
}

.waves-effect.waves-light .waves-ripple {
  background: rgba(255, 255, 255, 0.4);
  background: -webkit-radial-gradient(rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0) 70%);
  background: radial-gradient(rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0) 70%);
}

.waves-effect.waves-classic .waves-ripple {
  background: rgba(0, 0, 0, 0.2);
}

.waves-effect.waves-classic.waves-light .waves-ripple {
  background: rgba(255, 255, 255, 0.4);
}

.waves-notransition {
  -webkit-transition: none !important;
  transition: none !important;
}

.waves-button,
.waves-circle {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(circle, white 100%, black 100%);
}

.waves-button,
.waves-button:hover,
.waves-button:visited,
.waves-button-input {
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  outline: none;
  border: none;
  text-align: center;
  z-index: 1;
}

.waves-button-input {
  margin: 0;
  padding: 0.85em 1.1em;
}

.waves-input-wrapper {
  border-radius: 0.2em;
  vertical-align: bottom;
}

.waves-input-wrapper.waves-button {
  padding: 0;
}

.waves-input-wrapper .waves-button-input {
  position: relative;
  top: 0;
  left: 0;
  z-index: 1;
}

.waves-circle {
  text-align: center;
  width: 2.5em;
  height: 2.5em;
  line-height: 2.5em;
  border-radius: 50%;
}

.waves-float {
  -webkit-mask-image: none;
  box-shadow: 0px 1px 1.5px 1px rgba(0, 0, 0, 0.12);
  -webkit-transition: all 300ms;
  transition: all 300ms;
}

.waves-float:active, .waves-float:focus, .waves-float:hover {
  box-shadow: 0px 8px 20px 1px rgba(0, 0, 0, 0.3);
}

.waves-block {
  display: block;
}

/*--------------------------------------------------------------
# Formattings
--------------------------------------------------------------*/
hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
# Lists
--------------------------------------------------------------*/
ul, ol {
  margin: 0 0 1.5em 3em;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

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

dt {
  font-weight: bold;
}

dd {
  margin: 0 1.5em 1.5em;
}

/*--------------------------------------------------------------
# Tables
--------------------------------------------------------------*/
table {
  margin: 0 0 1.5em;
  width: 100%;
  max-width: 100%;
  border: 2px solid currentcolor;
  font-size: 20px;
  font-size: 1.25rem;
}

thead tr {
  color: white;
  background: #212223;
}

thead tr th,
tbody tr th,
tbody tr td,
tfoot tr th,
tfoot tr td {
  border: 2px solid #212223;
}

thead tr th {
  padding: 0.25rem;
}

tbody tr th,
tbody tr td,
tfoot tr th,
tfoot tr td {
  padding: 0.125rem 0.25rem;
}

/* Fix border for the dark footer. */
.widget thead tr th,
.widget tbody tr th,
.widget tbody tr td,
.widget tfoot tr th,
.widget tfoot tr td {
  border-color: currentcolor;
}

/*--------------------------------------------------------------
# Transitions
--------------------------------------------------------------*/
/* Transitions. */
a,
.post-navigation span,
.search-submit .genericon-search {
  -webkit-transition: color 0.25s;
  transition: color 0.25s;
}

.more-link,
.site-title a,
.flickity-prev-next-button {
  -webkit-transition: background 0.25s;
  transition: background 0.25s;
}

input,
.menu-toggle,
.search-submit,
.post-navigation a,
.social-menu-wrapper a {
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
}

.post-thumbnail-link img {
  -webkit-transition: opacity 0.25s;
  transition: opacity 0.25s;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
#primary-navigation {
  padding-top: 2rem;
}

.primary-menu-wrapper {
  margin-bottom: 1em;
}

.primary-menu-wrapper .menu,
.primary-menu-wrapper .sub-menu {
  margin: 0;
  padding: 0;
}

.primary-menu-wrapper .menu-item {
  text-align: center;
}

.primary-menu-wrapper .menu-item a {
  color: white;
  font-size: 24px;
  font-size: 1.5rem;
  text-decoration: none;
}

.primary-menu-wrapper .sub-menu .menu-item a {
  opacity: 0.9;
  font-size: 20px;
  font-size: 1.25rem;
}

.primary-menu-wrapper .sub-menu .sub-menu .menu-item a {
  opacity: 0.8;
  font-size: 16px;
  font-size: 1rem;
}

/* Menu toggle. */
.menu-toggle {
  display: block;
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  min-height: 54px;
  padding: 0.5rem 1rem;
  border-radius: 0;
  border: 3px solid white;
  background: transparent;
  font-size: 12px;
  font-size: 0.75rem;
}

.toggle-text {
  display: inline-block;
  margin-right: 8px;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  color: white;
}

.toggle-lines {
  display: inline-block;
  position: relative;
  top: -4px;
  right: 0;
  width: 24px;
  height: 3px;
  background: white;
  -webkit-transition: background 0s 0.3s;
  transition: background 0s 0.3s;
}

.toggle-lines::before,
.toggle-lines::after {
  position: absolute;
  display: block;
  width: 100%;
  height: 3px;
  background-color: white;
  content: "";
}

.toggle-lines::before {
  top: -8px;
  -webkit-transition: top 0.3s 0.3s, 0s, -webkit-transform 0.3s;
  transition: top 0.3s 0.3s, 0s, -webkit-transform 0.3s;
  transition: top 0.3s 0.3s, transform 0.3s, 0s;
  transition: top 0.3s 0.3s, transform 0.3s, 0s, -webkit-transform 0.3s;
}

.toggle-lines::after {
  bottom: -8px;
  -webkit-transition: bottom 0.3s 0.3s, 0s, -webkit-transform 0.3s;
  transition: bottom 0.3s 0.3s, 0s, -webkit-transform 0.3s;
  transition: bottom 0.3s 0.3s, transform 0.3s, 0s;
  transition: bottom 0.3s 0.3s, transform 0.3s, 0s, -webkit-transform 0.3s;
}

.menu-toggled .toggle-lines {
  background: none;
}

.menu-toggled .toggle-lines::before,
.menu-toggled .toggle-lines::after {
  -webkit-transition-delay: 0s, 0.3s;
          transition-delay: 0s, 0.3s;
}

.menu-toggled .toggle-lines::before {
  top: 0;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

.menu-toggled .toggle-lines::after {
  bottom: 0;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

.menu-toggle:hover,
.menu-toggle:focus,
.menu-toggled:hover,
.menu-toggled:focus {
  background: #161718;
  box-shadow: 0px 0px 2px 2px #161718;
}

.social-menu-wrapper {
  margin: 0 auto;
}

.social-menu-wrapper .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.social-menu-wrapper .menu-item {
  display: inline;
  margin: 0.25em;
}

.social-menu-wrapper a {
  display: inline-block;
  width: 48px;
  height: 48px;
  color: white;
  text-decoration: none;
}

.social-menu-wrapper a::before {
  display: inline-block;
  content: '\f475';
  speak: none;
  color: white;
  line-height: 28px;
  font-family: 'Genericons';
  font-weight: normal;
  font-size: 28px;
  -webkit-transition: color 0.125s ease-in-out, -webkit-transform 0.125s;
  transition: color 0.125s ease-in-out, -webkit-transform 0.125s;
  transition: transform 0.125s, color 0.125s ease-in-out;
  transition: transform 0.125s, color 0.125s ease-in-out, -webkit-transform 0.125s;
  vertical-align: middle;
  text-align: center;
  -webkit-transform: translateY(3px);
          transform: translateY(3px);
  -webkit-font-smoothing: antialiased;
}

.social-menu-wrapper a:hover,
.social-menu-wrapper a:focus {
  -webkit-transform: scale(1.25);
          transform: scale(1.25);
}

/* Social icons. */
.social-menu-wrapper a[href*="wordpress.org"],
.social-menu-wrapper a[href*="wordpress.com"],
.social-menu-wrapper a[href*="michaelvandenberg.com"] {
  background: #464646;
}

.social-menu-wrapper a[href*="wordpress.org"]::before,
.social-menu-wrapper a[href*="wordpress.com"]::before,
.social-menu-wrapper a[href*="michaelvandenberg.com"]::before {
  content: '\f205';
}

.social-menu-wrapper a[href*="facebook.com"],
.social-menu-wrapper a[href*="facebook.com"] {
  background: #3b5998;
}

.social-menu-wrapper a[href*="facebook.com"]::before {
  content: '\f204';
}

.social-menu-wrapper a[href*="twitter.com"],
.social-menu-wrapper a[href*="twitter.com"] {
  background: #00aced;
}

.social-menu-wrapper a[href*="twitter.com"]::before {
  content: '\f202';
}

.social-menu-wrapper a[href*="dribbble.com"],
.social-menu-wrapper a[href*="dribbble.com"] {
  background: #ea4c89;
}

.social-menu-wrapper a[href*="dribbble.com"]::before {
  content: '\f201';
}

.social-menu-wrapper a[href*="plus.google.com"],
.social-menu-wrapper a[href*="plus.google.com"] {
  background: #dd4b39;
}

.social-menu-wrapper a[href*="plus.google.com"]::before {
  content: '\f206';
}

.social-menu-wrapper a[href*="pinterest.com"],
.social-menu-wrapper a[href*="pinterest.com"] {
  background: #cb2027;
}

.social-menu-wrapper a[href*="pinterest.com"]::before {
  content: '\f209';
}

.social-menu-wrapper a[href*="github.com"],
.social-menu-wrapper a[href*="github.com"] {
  background: #4078c0;
}

.social-menu-wrapper a[href*="github.com"]::before {
  content: '\f200';
}

.social-menu-wrapper a[href*="tumblr.com"],
.social-menu-wrapper a[href*="tumblr.com"] {
  background: #32506d;
}

.social-menu-wrapper a[href*="tumblr.com"]::before {
  content: '\f214';
}

.social-menu-wrapper a[href*="youtube.com"],
.social-menu-wrapper a[href*="youtube.com"] {
  background: #bb0000;
}

.social-menu-wrapper a[href*="youtube.com"]::before {
  content: '\f213';
}

.social-menu-wrapper a[href*="flickr.com"],
.social-menu-wrapper a[href*="flickr.com"] {
  background: #ff0084;
}

.social-menu-wrapper a[href*="flickr.com"]::before {
  content: '\f211';
}

.social-menu-wrapper a[href*="vimeo.com"],
.social-menu-wrapper a[href*="vimeo.com"] {
  background: #aad450;
}

.social-menu-wrapper a[href*="vimeo.com"]::before {
  content: '\f212';
}

.social-menu-wrapper a[href*="instagram.com"],
.social-menu-wrapper a[href*="instagram.com"] {
  background: #125688;
}

.social-menu-wrapper a[href*="instagram.com"]::before {
  content: '\f215';
}

.social-menu-wrapper a[href*="codepen.io"],
.social-menu-wrapper a[href*="codepen.io"] {
  background: #111111;
}

.social-menu-wrapper a[href*="codepen.io"]::before {
  content: '\f216';
}

.social-menu-wrapper a[href*="linkedin.com"],
.social-menu-wrapper a[href*="linkedin.com"] {
  background: #007bb5;
}

.social-menu-wrapper a[href*="linkedin.com"]::before {
  content: '\f208';
}

.social-menu-wrapper a[href*="foursquare.com"],
.social-menu-wrapper a[href*="foursquare.com"] {
  background: #0072b1;
}

.social-menu-wrapper a[href*="foursquare.com"]::before {
  content: '\f226';
}

.social-menu-wrapper a[href*="reddit.com"],
.social-menu-wrapper a[href*="reddit.com"] {
  background: #ff5700;
}

.social-menu-wrapper a[href*="reddit.com"]::before {
  content: '\f222';
}

.social-menu-wrapper a[href*="digg.com"],
.social-menu-wrapper a[href*="digg.com"] {
  background: #191919;
}

.social-menu-wrapper a[href*="digg.com"]::before {
  content: '\f221';
}

.social-menu-wrapper a[href*="stumbleupon.com"],
.social-menu-wrapper a[href*="stumbleupon.com"] {
  background: #f74425;
}

.social-menu-wrapper a[href*="stumbleupon.com"]::before {
  content: '\f223';
}

.social-menu-wrapper a[href*="dropbox.com"],
.social-menu-wrapper a[href*="dropbox.com"] {
  background: #007ee5;
}

.social-menu-wrapper a[href*="dropbox.com"]::before {
  content: '\f223';
}

.social-menu-wrapper a[href*="spotify.com"],
.social-menu-wrapper a[href*="spotify.com"] {
  background: #23cf5f;
}

.social-menu-wrapper a[href*="spotify.com"]::before {
  content: '\f223';
}

.social-menu-wrapper a[href*="pocket.com"],
.social-menu-wrapper a[href*="pocket.com"] {
  background: #ee4056;
}

.social-menu-wrapper a[href*="pocket.com"]::before {
  content: '\f223';
}

/* Hide right social icons. */
#social-right {
  display: none;
}

#mobile-navigation .social-menu-wrapper {
  padding: 1.25em 0;
}

@media screen and (min-width: 940px) {
  #social-right {
    display: block;
  }
  #social-right .social-menu-wrapper {
    display: inline;
    position: fixed;
    width: auto;
    right: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    margin-left: 2rem;
  }
  #social-right .social-menu-wrapper li.menu-item {
    display: block;
    margin: 0 0 0 4px;
  }
  #social-right .social-menu-wrapper a {
    padding: 0;
    height: 40px;
    width: 40px;
  }
  #social-right .social-menu-wrapper a::before {
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
    line-height: 24px;
    font-size: 24px;
  }
  #social-right .social-menu-wrapper a::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 40px;
    height: 100%;
    width: 30px;
    background: #161718;
    z-index: -1;
  }
  #social-right .social-menu-wrapper a:hover,
  #social-right .social-menu-wrapper a:focus {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-transform: translateX(-12px);
            transform: translateX(-12px);
  }
}

.comment-navigation,
.posts-navigation,
.post-navigation {
  padding: 1.5em;
}

.site-main .comment-navigation, .site-main
.posts-navigation, .site-main
.post-navigation {
  margin: 0;
  overflow: hidden;
}

.pagination {
  padding: 1.5em 0;
}

.pagination .nav-links {
  text-align: center;
}

.pagination .nav-links > * {
  padding: 0.25em 0.75em;
  border: 1px solid grey;
}

.pagination .nav-links .current {
  font-weight: 400;
}

/* Post navigation. */
.post-navigation .nav-links {
  padding: 0;
}

.post-navigation .nav-links div:nth-child(2) {
  margin-top: 3em;
}

.post-navigation .nav-next,
.post-navigation .nav-previous {
  min-height: 160px;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-color: #161718;
}

.post-navigation a {
  display: block;
  width: 100%;
  min-height: 160px;
  padding: 40px 20px;
  text-decoration: none;
  background: transparent;
}

.post-navigation a:hover,
.post-navigation a:focus {
  color: white;
  box-shadow: 0px 8px 20px 1px rgba(0, 0, 0, 0.3);
  background: rgba(0, 0, 0, 0.75);
}

.post-navigation .meta-nav,
.post-navigation .post-title {
  display: block;
  color: white;
  z-index: 2;
  position: relative;
}

.post-navigation .meta-nav {
  margin-bottom: 0.5em;
  letter-spacing: 4px;
  font-size: 16px;
  font-size: 1rem;
}

.post-navigation .post-title {
  font-weight: bold;
  font-family: "Merriweather", serif;
  font-size: 24px;
  font-size: 1.5rem;
}

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

a:visited {
  color: currentColor;
}

a:hover, a:focus, a:active {
  color: #cc0000;
}

a:hover img, a:focus img, a:active img {
  opacity: 0.75;
}

a:focus {
  outline: thin dotted;
}

a:hover, a:active {
  outline: 0;
}

a.image-link {
  border-bottom: 0 !important;
}

.entry-content a {
  border-bottom: 2px solid #cc0000;
}

#primary-menu a,
.widget-area a {
  color: #fff;
}

#primary-menu a:visited,
.widget-area a:visited {
  color: #fff;
}

#primary-menu a:hover, #primary-menu a:focus, #primary-menu a:active,
.widget-area a:hover,
.widget-area a:focus,
.widget-area a:active {
  text-decoration: none;
  color: #fff;
  box-shadow: inset 0 -0.125em #cc0000;
}

.more-link {
  display: inline-block;
}

/*--------------------------------------------------------------
# Layout
--------------------------------------------------------------*/
html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
  box-sizing: inherit;
}

body {
  background: #fff;
  /* Fallback for when there is no custom background color defined. */
}

.widgets-container {
  width: 1280px;
  max-width: 90%;
  margin: 0 auto;
}

.article-inner,
.nav-links,
.page-content,
.page-header-inner,
.comments-inner,
.comment-form-inner {
  width: 800px;
  max-width: 90%;
  margin: 0 auto;
}

.full-width-page .article-inner {
  width: 1280px;
}

body.search .page-content {
  margin: 0 auto;
}

/*--------------------------------------------------------------
## Single Column / No Active Sidebar
--------------------------------------------------------------*/
.no-sidebar .site-main {
  margin: 0;
}

.no-sidebar .content-area {
  float: none;
  margin-left: auto;
  margin-right: auto;
}

/*--------------------------------------------------------------
## Posts
--------------------------------------------------------------*/
.sticky {
  display: block;
}

.hentry {
  margin: 0;
}

.hentry,
.comments-list-container,
.comment-form-container,
.post-navigation,
body.search .page-content {
  padding: 3.5em 0;
}

.updated:not(.published) {
  display: none;
}

.single .byline,
.group-blog .byline {
  display: inline;
}

.page-content,
.entry-content,
.entry-summary {
  margin: 0;
}

.entry-meta,
.single-footer {
  display: inline-block;
  margin-bottom: 1em;
  padding: 0.1em 0.25em;
}

.small-avatar img {
  height: 25px;
  width: 25px;
  height: 1.25em;
  width: 1.25em;
  border-radius: 50%;
  vertical-align: text-bottom;
}

a.comments-link,
.comment-reply-link {
  display: inline-block;
  background: #212223;
  color: white;
  outline: none;
  padding: 0.5rem 1.25rem;
  border-radius: 5px;
  line-height: 1.125em;
  margin-right: 0.5rem;
  font-size: 18px;
  font-size: 1.125rem;
}

.comments-link-text,
.comment-reply-link {
  z-index: 2;
  position: relative;
  text-shadow: 0px 0px 5px #212223;
}

.more-link {
  display: table;
  margin-top: 1rem;
}

body.search .page-content {
  padding-top: 2.5em;
}

section.no-results .search-field,
section.no-results .genericon-search {
  text-shadow: none;
  color: #212223;
}

@media screen and (min-width: 720px) {
  a.comments-link,
  .reply {
    line-height: 1.25em;
    font-size: 20px;
    font-size: 1.25rem;
  }
}

/*--------------------------------------------------------------
## Pages
--------------------------------------------------------------*/
.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

.full-width-page .post-thumbnail {
  margin: 1.125em 0 0.25em;
}

/*--------------------------------------------------------------
# Comments
--------------------------------------------------------------*/
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

.comments-area {
  padding: 0;
  margin: 0;
}

.comments-title {
  margin-top: 0;
}

.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

.comment-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.comment-list .children {
  margin-left: 1.5em;
}

.comment-body {
  padding: 1.5em 0;
}

.children .comment-body {
  padding-left: 1.5em;
  padding-right: 1.5em;
}

.comment-meta {
  display: block;
  min-height: 48px;
}

.comment-metadata {
  font-size: 90%;
}

.comment-author .avatar {
  float: left;
  margin-right: 12px;
  -webkit-transform: translateY(7px);
          transform: translateY(7px);
}

.children {
  list-style: none;
}

.depth-2 {
  background: rgba(48, 42, 67, 0.038);
}

.depth-3,
.depth-4,
.depth-5 {
  background: rgba(48, 42, 67, 0.038);
}

.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

.reply {
  line-height: 1em;
}

.comment-reply-link,
.comment-awaiting-moderation {
  font-size: 16px;
  font-size: 1rem;
}

.comments-link:hover,
.comments-link:focus,
.comment-reply-link:hover,
.comment-reply-link:focus {
  color: #fff;
}

.comment-reply-link:hover,
.comment-reply-link:focus {
  box-shadow: 0px 8px 20px 1px rgba(0, 0, 0, 0.3);
}

.comment-awaiting-moderation {
  margin-bottom: 0;
  font-weight: bold;
}

/* Comment form. */
.comment-form-author label,
.comment-form-author input,
.comment-form-email label,
.comment-form-email input,
.comment-form-url label,
.comment-form-url input,
.comment-form-comment label,
.comment-form-comment input {
  display: block;
  width: 100%;
}

.comment-form-author label,
.comment-form-email label,
.comment-form-url label,
.comment-form-comment label {
  margin-bottom: 6px;
}

.comment-form-author input,
.comment-form-email input,
.comment-form-url input,
.comment-form-comment input,
textarea#comment {
  padding: 15px;
  border: 1px solid currentcolor;
  background-color: rgba(0, 0, 0, 0.025);
}

.comment-form-author input:focus,
.comment-form-email input:focus,
.comment-form-url input:focus,
.comment-form-comment input:focus,
textarea#comment:focus {
  background-color: white;
}

.form-submit {
  margin-top: 3em;
  margin-bottom: 0;
}

.no-comments {
  margin: 0;
}

.comment-subscription-form {
  margin-top: 1.5em;
}

.comment.depth-1 .comment-respond {
  padding-bottom: 1.5em;
}

.comment.depth-2 .comment-respond,
.comment.depth-3 .comment-respond,
.comment.depth-4 .comment-respond,
.comment.depth-5 .comment-respond {
  padding: 0 1.5em 1.5em 1.5em;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
#secondary {
  padding: 2em 0;
  color: #fff;
  background: #212223;
}

.widget {
  margin: 0em;
  padding: 24px 0;
  margin-bottom: 3rem;
  /* Make sure select elements fit in widgets. */
}

.widget ul,
.widget ul.sub-menu,
.widget ul.children {
  margin-left: 24px;
  margin-left: 1.5rem;
}

.widget li:not(:first-child) {
  margin-top: 8px;
  margin-top: 0.5rem;
}

.widget.widget_recent_comments ul, .widget.widget_categories ul, .widget.widget_archive ul, .widget.widget_recent_entries ul, .widget.widget_rss ul, .widget.widget_meta ul, .widget.widget_pages ul, .widget.widget_links ul, .widget.widget_nav_menu ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.widget.widget_recent_comments ul.sub-menu,
.widget.widget_recent_comments ul.children, .widget.widget_categories ul.sub-menu,
.widget.widget_categories ul.children, .widget.widget_archive ul.sub-menu,
.widget.widget_archive ul.children, .widget.widget_recent_entries ul.sub-menu,
.widget.widget_recent_entries ul.children, .widget.widget_rss ul.sub-menu,
.widget.widget_rss ul.children, .widget.widget_meta ul.sub-menu,
.widget.widget_meta ul.children, .widget.widget_pages ul.sub-menu,
.widget.widget_pages ul.children, .widget.widget_links ul.sub-menu,
.widget.widget_links ul.children, .widget.widget_nav_menu ul.sub-menu,
.widget.widget_nav_menu ul.children {
  margin-left: 24px;
  margin-left: 1.5rem;
}

.widget.widget_recent_comments ul.sub-menu li,
.widget.widget_recent_comments ul.children li, .widget.widget_categories ul.sub-menu li,
.widget.widget_categories ul.children li, .widget.widget_archive ul.sub-menu li,
.widget.widget_archive ul.children li, .widget.widget_recent_entries ul.sub-menu li,
.widget.widget_recent_entries ul.children li, .widget.widget_rss ul.sub-menu li,
.widget.widget_rss ul.children li, .widget.widget_meta ul.sub-menu li,
.widget.widget_meta ul.children li, .widget.widget_pages ul.sub-menu li,
.widget.widget_pages ul.children li, .widget.widget_links ul.sub-menu li,
.widget.widget_links ul.children li, .widget.widget_nav_menu ul.sub-menu li,
.widget.widget_nav_menu ul.children li {
  margin-top: 8px;
  margin-top: 0.5rem;
}

.widget.widget_recent_comments li, .widget.widget_recent_entries li, .widget.widget_categories li, .widget.widget_archive li, .widget.widget_rss li, .widget.widget_meta li, .widget.widget_pages li, .widget.widget_links li, .widget.widget_tag_cloud li {
  padding-bottom: 4px;
}

.widget.widget_recent_comments a, .widget.widget_recent_entries a, .widget.widget_categories a, .widget.widget_archive a, .widget.widget_rss a, .widget.widget_meta a, .widget.widget_pages a, .widget.widget_links a, .widget.widget_tag_cloud a {
  display: inline;
  text-decoration: none;
  border-bottom-color: transparent;
}

.widget.widget_calendar caption {
  margin-bottom: 4px;
}

.widget.widget_calendar tbody td {
  text-align: center;
}

.widget.widget_search .search-field,
.widget.widget_search .genericon-search {
  text-shadow: none;
  color: #212223;
}

.widget.widget_search .search-submit:hover .genericon-search,
.widget.widget_search .search-submit:focus .genericon-search {
  color: #cc0000;
}

.widget select {
  max-width: 100%;
}

@media screen and (min-width: 940px) {
  .widgets-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .widgets-container .widget {
    width: 30%;
  }
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  /* Theme Footer (when set to scrolling) */
  display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
img {
  height: auto;
  /* Make sure images are scaled correctly. */
  max-width: 100%;
  /* Adhere to container width. */
  vertical-align: text-bottom;
  /* Remove excessive whitespace beneath image. */
}

.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery-caption {
  display: block;
}

.gallery-item {
  float: left;
  margin: 0 4px 4px 0;
  overflow: hidden;
  position: relative;
}

.gallery-columns-1.gallery-size-medium,
.gallery-columns-1.gallery-size-thumbnail,
.gallery-columns-2.gallery-size-thumbnail,
.gallery-columns-3.gallery-size-thumbnail,
.gallery-columns-4.gallery-size-thumbnail,
.gallery-columns-5.gallery-size-thumbnail,
.gallery-columns-6.gallery-size-thumbnail,
.gallery-columns-7.gallery-size-thumbnail,
.gallery-columns-8.gallery-size-thumbnail,
.gallery-columns-9.gallery-size-thumbnail {
  display: table;
  margin: 0 auto 1.5em;
}

.gallery-columns-1 .gallery-item,
.gallery-columns-2 .gallery-item,
.gallery-columns-3 .gallery-item,
.gallery-columns-4 .gallery-item,
.gallery-columns-5 .gallery-item,
.gallery-columns-6 .gallery-item,
.gallery-columns-7 .gallery-item,
.gallery-columns-8 .gallery-item,
.gallery-columns-9 .gallery-item {
  text-align: center;
}

.gallery-columns-3 .gallery-item {
  max-width: 31%;
  max-width: calc(33% - 4px);
}

.gallery-columns-4 .gallery-item {
  max-width: 23%;
  max-width: calc(25% - 4px);
}

.gallery-columns-5 .gallery-item {
  max-width: 19%;
  max-width: calc(20% - 4px);
}

.gallery-columns-6 .gallery-item {
  max-width: 15%;
  max-width: calc(16.7% - 4px);
}

.gallery-columns-7 .gallery-item {
  max-width: 13%;
  max-width: calc(14.28% - 4px);
}

.gallery-columns-8 .gallery-item {
  max-width: 11%;
  max-width: calc(12.5% - 4px);
}

.gallery-columns-9 .gallery-item {
  max-width: 9%;
  max-width: calc(11.1% - 4px);
}

.gallery-columns-1 .gallery-item:nth-of-type(1n),
.gallery-columns-2 .gallery-item:nth-of-type(2n),
.gallery-columns-3 .gallery-item:nth-of-type(3n),
.gallery-columns-4 .gallery-item:nth-of-type(4n),
.gallery-columns-5 .gallery-item:nth-of-type(5n),
.gallery-columns-6 .gallery-item:nth-of-type(6n),
.gallery-columns-7 .gallery-item:nth-of-type(7n),
.gallery-columns-8 .gallery-item:nth-of-type(8n),
.gallery-columns-9 .gallery-item:nth-of-type(9n) {
  margin-right: 0;
}

.gallery-columns-1.gallery-size-medium figure.gallery-item:nth-of-type(1n+1),
.gallery-columns-1.gallery-size-thumbnail figure.gallery-item:nth-of-type(1n+1),
.gallery-columns-2.gallery-size-thumbnail figure.gallery-item:nth-of-type(2n+1),
.gallery-columns-3.gallery-size-thumbnail figure.gallery-item:nth-of-type(3n+1) {
  clear: left;
}

.gallery-caption {
  background-color: rgba(0, 0, 0, 0.7);
  box-sizing: border-box;
  color: #fff;
  font-size: 12px;
  line-height: 1.3;
  margin: 0;
  max-height: 50%;
  opacity: 0;
  padding: 2px 8px;
  position: absolute;
  bottom: 0;
  left: 0;
  text-align: left;
  -webkit-transition: opacity 400ms ease;
  transition: opacity 400ms ease;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.gallery-caption:before {
  box-shadow: 0 -10px 15px #000 inset;
  content: "";
  height: 100%;
  min-height: 49px;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
}

.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
  display: none;
}

/*--------------------------------------------------------------
# Borders
--------------------------------------------------------------*/
#top-bar,
.page-header,
.header-inner,
#navigation-bar,
article.post,
article.page,
.navigation,
.comments-list-container,
.comment-form-container,
.widget-area {
  border-bottom: 1px solid rgba(0, 0, 0, 0.14);
}

.entry-meta,
.single-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.14);
  border-bottom: 1px solid rgba(0, 0, 0, 0.14);
}

/*--------------------------------------------------------------
# Bookmark
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Site header
--------------------------------------------------------------*/
#hidden-header {
  background: #212223;
}

#hidden-header .container {
  padding: 2em;
}

.bar {
  min-height: 70px;
  padding: 0 1rem;
}

.header-inner {
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

.overlay-header {
  height: 100%;
  width: 100%;
  padding: 4em 2em;
  background-image: -webkit-linear-gradient(top left, rgba(33, 34, 35, 0.75), rgba(204, 0, 0, 0.75));
  background-image: linear-gradient(to bottom right, rgba(33, 34, 35, 0.75), rgba(204, 0, 0, 0.75));
}

.site-title,
.site-description {
  color: white;
  text-align: center;
  text-shadow: 0px 0px 2px #212223;
}

.site-title {
  margin: 1.25em 0;
  font-weight: bold;
  font-family: "Source Sans Pro", sans-serif;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 24px;
  font-size: 1.5rem;
}

.site-title a {
  display: inline-block;
  padding: 0.25em 0.75em;
  border: 3px solid white;
}

.site-title a:hover, .site-title a:focus, .site-title a:active {
  color: white;
  background: rgba(0, 0, 0, 0.5);
}

.site-description {
  font-size: 16px;
  font-size: 1rem;
}

@media screen and (min-width: 720px) {
  .site-title {
    font-size: 33.6px;
    font-size: 2.1rem;
  }
  .site-description {
    font-size: 18px;
    font-size: 1.125rem;
  }
}

/*--------------------------------------------------------------
# Site footer
--------------------------------------------------------------*/
.site-footer {
  padding: 2.5em;
  text-align: center;
}

/* Back to top. */
a.back-to-top:active,
a.back-to-top:focus {
  color: white;
}

.back-to-top {
  position: fixed;
  right: 1.0%;
  bottom: -7.5%;
  height: 15px;
  width: 40px;
  padding: 3px 5px;
  font-size: 10px;
  font-weight: bold;
  color: #454545;
  opacity: 0.5;
  z-index: 3;
  visibility: hidden;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  -webkit-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
  background-color: #757575;
}

.back-to-top span {
  color: white;
  font-size: 24px;
}

.back-to-top:hover, .back-to-top:focus {
  opacity: 1;
  text-decoration: none;
}

.back-to-top:focus {
  outline: white;
}

.back-to-top::before {
  content: '';
  position: absolute;
  left: 0px;
  top: -20px;
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 20px solid #757575;
  z-index: 4;
}

.back-to-top::after {
  content: '';
  position: absolute;
  left: 0px;
  bottom: 0;
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 20px solid #454545;
  z-index: 5;
}

.back-to-top:hover,
.back-to-top:focus {
  height: 40px;
  color: #fff;
}

.show-back-to-top {
  display: block;
  bottom: 1.25%;
  color: #fff;
  visibility: visible;
}
