@charset "UTF-8";
/*!
Theme Name: PhotoBlogger
Theme URI: http://michaelvandenberg.com/portfolio/photoblogger/
Author: Michael Van Den Berg
Author URI: http://michaelvandenberg.com/
Description: PhotoBlogger is a theme specifically  designed for photobloggers, photographers and artists wanting to showcase their art in a fullscreen slider. It’s modern, minimal and responsive, and it’s accessibility-ready. It supports several post formats (quote, link, image and aside), a full width page template, and… well, why don’t you just give it a try? Check out the demo at: http://wp.me/p8Ci4-ju
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: photoblogger
Tags: one-column, two-columns, right-sidebar, accessibility-ready, custom-background, custom-menu, custom-header, featured-image-header, featured-images, full-width-template, theme-options, threaded-comments, blog, photography

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.

PhotoBlogger 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
# Typography
# Elements
# Forms
# Layout
	## Global
	## Header
	## Content
	## Footer
# Navigation
	## Links
	## Menus
	## Social
# Slider
# Accessibility
# Alignments
# Widgets
# Content
    ## Posts and pages
	## Post formats
	## Comments
	## Author bio
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# 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;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
  color: #1f1f1f;
  font-family: "Merriweather", Georgia, serif;
  font-size: 16px;
  font-size: 1rem;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  clear: both;
  font-family: "Fyra Sans", sans-serif;
}

.big-link {
  display: block;
  height: 80px;
  width: 100%;
  text-align: center;
  border-radius: 4px;
  background: #171717;
  -webkit-transition: background 0.2s;
          transition: background 0.2s;
}
.big-link span {
  position: relative;
  top: 25px;
  color: white;
}
.big-link.live-demo {
  background: #293f65;
}
.big-link.download {
  background: #21759b;
}
.big-link.contribute {
  background: #4078c0;
}
.big-link:hover, .big-link:focus {
  background: #d71d1d;
}

p {
  margin-top: 0;
  margin-bottom: 1.5em;
}

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

blockquote {
  margin: 0 1.5em;
}

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%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
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: #ffffff;
  /* Fallback for when there is no custom background color defined. */
}

q {
  quotes: "" "";
}
q:before, q:after {
  content: "";
}

blockquote {
  quotes: "" "";
  margin: 0 0 1.5em 0;
  padding: 1.5em;
  color: #d9d9d9;
  background: #121212;
  border-left: 4px solid #cc0000;
  border-radius: 0 4px 4px 0;
  font-style: italic;
}
blockquote:before, blockquote:after {
  content: "";
}
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;
}

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

ul, ol {
  margin: 0 0 1.5em 0.25em;
}

ul {
  list-style: square;
}

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;
}

img {
  height: auto;
  /* Make sure images are scaled correctly. */
  max-width: 100%;
  /* Adhere to container width. */
}

table {
  margin: 0 0 1.5em;
  width: 100%;
  max-width: 100%;
  border: 1px solid #202020;
  font-size: 14px;
  font-size: 0.875rem;
}

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

thead tr th,
tbody tr th,
tbody tr td,
tfoot tr th,
tfoot tr td {
  border: 1px solid #e1e1e1;
}

thead tr th {
  padding: 0.25rem;
}

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

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: 1px solid;
  border-color: #1f1f1f;
  background: #ffffff;
  color: #1f1f1f;
  line-height: 1;
  padding: .8em 1.2em .6em;
}
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  color: #cc0000;
  border-color: #cc0000;
}
button:active, button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
  color: #cc0000;
  border-color: #cc0000;
  outline: thin dotted;
  outline-color: #cc0000;
}
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus {
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.75);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
  color: #666;
  border: 1px solid #1f1f1f;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
  color: #111;
  outline-offset: -2px;
  outline: #cc0000 auto 5px;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
  padding: 3px;
}

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

/* Default search. */
.search-form {
  position: relative;
  border: 1px solid #1f1f1f;
  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: #1f1f1f;
}
.search-form .search-field:focus {
  outline: none;
  color: #1f1f1f;
}
.search-form .search-submit {
  display: block;
  height: 100%;
  width: 56px;
  background: none;
  border: 0;
  border-radius: 0;
  border-left: 1px solid #1f1f1f;
  color: #1f1f1f;
  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,
.search-form .search-submit:focus {
  cursor: pointer;
  color: #cc0000;
}

/* Mobile search. */
#mobile-search {
  padding-top: 0;
}
#mobile-search .search-form {
  padding: 0 5%;
  border-radius: 0;
  border-top: 2px solid #1f1f1f;
  background: transparent;
}
#mobile-search .search-form label {
  border: 0;
  background: transparent;
  padding-bottom: 0;
  padding-bottom: 1em;
  padding-left: 0;
}
#mobile-search .search-form .search-field {
  color: #ffffff;
  font-size: 14px;
  font-size: 0.875rem;
  background: transparent;
}
#mobile-search .search-form .search-submit {
  color: #ffffff;
  border: 0;
  padding: 0;
  width: 48px;
  margin-right: 2.5%;
}
#mobile-search .search-form .search-submit:hover, #mobile-search .search-form .search-submit:focus {
  color: #ffffff;
}
#mobile-search .search-form .search-submit .genericon {
  font-size: 20px;
  font-size: 1.25rem;
}
#mobile-search .search-form .search-submit:hover .genericon,
#mobile-search .search-form .search-submit:focus .genericon {
  color: #cc0000;
}

/*--------------------------------------------------------------
# Layout
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Global
--------------------------------------------------------------*/
/* Main width. */
.main-width {
  width: 1140px;
  max-width: 90%;
  margin: 0 auto;
}

/* Flexbox. */
.flex {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

/* Fullscreen. */
.fullscreen {
  height: 960px;
  height: 100vh;
  width: 100%;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

/* Genericons. */
.posted-on::before,
.byline::before,
.tags-links::before,
.cat-links::before,
.comments-link::before,
.edit-link::before,
.featured-more::after {
  speak: none;
  display: inline-block;
  line-height: 16px;
  font-family: 'Genericons';
  font-weight: normal;
  font-size: 16px;
  -webkit-transition: -webkit-transform 0.125s, color 0.125s ease-in-out;
  transition: transform 0.125s, color 0.125s ease-in-out;
  vertical-align: middle;
  text-align: center;
  -webkit-font-smoothing: antialiased;
}

/* Text Shadow. */
.has-slider-img .single-title,
.has-slider-img .single-meta,
.has-slider-img .featured-title a,
.has-slider-img .featured-title a:visited,
.has-slider-img .featured-more,
.has-slider-img .featured-more:visited,
.has-slider-img .site-title,
.has-slider-img .social-menu-wrapper a::before,
.has-slider-img #desktop-navigation .menu-item a,
.has-post-thumbnail .single-title,
.has-post-thumbnail .single-meta,
.has-post-thumbnail .featured-title a,
.has-post-thumbnail .featured-title a:visited,
.has-post-thumbnail .featured-more,
.has-post-thumbnail .featured-more:visited,
.has-post-thumbnail .site-title,
.has-post-thumbnail .social-menu-wrapper a::before,
.has-post-thumbnail #desktop-navigation .menu-item a {
  text-shadow: 0px 0px 2px #1f1f1f;
}

.format-image .entry-title {
  text-shadow: 0px 0px 2px #1f1f1f;
}

/* Box shadow. */
/* Transitions. */
a,
.post-navigation span,
.featured-more::after,
.search-submit .genericon-search,
.format-image .entry-title {
  -webkit-transition: color 0.2s;
          transition: color 0.2s;
}

.thumbnail-overlay {
  -webkit-transition: opacity 0.2s;
          transition: opacity 0.2s;
}

.more-link,
.post-navigation a,
.social-navigation a,
.flickity-prev-next-button {
  -webkit-transition: background 0.2s;
          transition: background 0.2s;
}

/* Prevent flickering in Safari. */
#top-bar *,
#featured * {
  -webkit-backface-visibility: hidden;
}

/* Selection. */
::-moz-selection {
  color: white;
  background-color: #0f0f0f;
}
::selection {
  color: white;
  background-color: #0f0f0f;
}

/*--------------------------------------------------------------
## Header
--------------------------------------------------------------*/
/* Has slider image or thumbnail. */
.has-slider-img #top-bar,
.has-post-thumbnail #top-bar {
  position: absolute;
  top: 0;
  border-bottom: 0;
}
.has-slider-img .site-title a,
.has-slider-img .site-title a:hover,
.has-slider-img .site-title a:focus,
.has-slider-img .site-title a:active,
.has-slider-img .site-title a:visited,
.has-post-thumbnail .site-title a,
.has-post-thumbnail .site-title a:hover,
.has-post-thumbnail .site-title a:focus,
.has-post-thumbnail .site-title a:active,
.has-post-thumbnail .site-title a:visited {
  color: #ffffff;
}

#masthead {
  position: relative;
}

#top-bar {
  width: 100%;
  min-height: 40px;
  z-index: 3;
  padding: 8px 16px;
  border-bottom: 1px solid #e1e1e1;
}

/* Hidden header. */
#hidden-header {
  background: #121212;
}

/* Site branding. */
.site-branding {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

.site-title {
  margin: 0;
  padding: 12px 12px 12px 0;
  font-size: 1.5em;
  font-weight: bold;
  font-family: "Fyra Sans", sans-serif;
}

.site-title a,
.site-title a:hover,
.site-title a:focus,
.site-title a:active,
.site-title a:visited {
  color: #1f1f1f;
  text-decoration: none;
}

.site-description {
  display: none;
}

/* Custom logo. */
.custom-logo-link {
  margin-right: 0.75em;
}

/* Overlay. */
.overlay {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  background: rgba(0, 0, 0, 0.25);
}

/* Custom header (image). */
.custom-header-container {
  display: block;
  padding: 40px 0;
  border-bottom: 1px solid #e1e1e1;
}

.custom-header-inner {
  background: #121212;
}
.custom-header-inner img {
  display: block;
  width: 100%;
  height: 100%;
}
.custom-header-inner a:hover img,
.custom-header-inner a:focus img {
  opacity: 0.6;
}

/*--------------------------------------------------------------
## Content
--------------------------------------------------------------*/
#featured {
  background: #121212;
}

#primary .post,
#primary .page,
#primary .portfolio,
#secondary .widget,
.author-info,
.page-header,
.page-content,
.post-navigation,
.comments-area,
.comment-form-area {
  border-bottom: 1px solid #e1e1e1;
}

.widget-inner {
  padding: 40px 0;
}

.entry-content,
.comment-content,
.author-bio {
  line-height: 1.6;
}

@media screen and (min-width: 1024px) {
  #content {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
    max-width: 100%;
  }

  #primary {
    width: calc( 760px +  ( 50% - 570px ) );
    border-right: 1px solid #e1e1e1;
  }

  #primary .post,
  #primary .page,
  #primary .portfolio,
  #primary .author-info,
  #primary .page-header,
  #primary .page-content,
  #primary .post-navigation,
  #primary .comments-area,
  #primary .comment-form-area,
  #primary .pagination-container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    padding-left: calc( 5% + ( 5% * 1 / 3 ) );
    padding-right: 40px;
  }

  #secondary {
    width: calc( 380px +  ( 50% - 570px ) );
    border-top: 0;
    border-left: 1px solid #e1e1e1;
    margin-left: -1px;
  }

  #secondary .widget {
    padding-left: 40px;
    padding-right: calc( 10% + ( 10% * 2 / 3 ) );
  }

  .article-inner,
  .widget-inner,
  .author-info-inner,
  .page-header-inner,
  .page-content-inner,
  .post-navigation .nav-links,
  .comments-area-inner,
  .comment-form-area-inner,
  .pagination {
    margin: 0;
    width: 100%;
    max-width: 720px;
  }

  .widget-inner {
    max-width: 340px;
  }

  /* No sidebar. */
  body.no-sidebar #primary {
    width: 100%;
    max-width: 800px;
    border-left: 1px solid #e1e1e1;
  }
  body.no-sidebar #primary .post,
  body.no-sidebar #primary .page,
  body.no-sidebar #primary .portfolio,
  body.no-sidebar #primary .author-info,
  body.no-sidebar #primary .page-header,
  body.no-sidebar #primary .page-content,
  body.no-sidebar #primary .post-navigation,
  body.no-sidebar #primary .comments-area,
  body.no-sidebar #primary .comment-form-area,
  body.no-sidebar #primary .pagination-container {
    padding-left: 40px;
  }

  /* Full Width Page Template. */
  body.full-width-page-template #primary {
    width: 1140px;
    max-width: 90%;
    margin: 0 auto;
    border-left: 1px solid #e1e1e1;
  }
  body.full-width-page-template #primary .page,
  body.full-width-page-template #primary .author-info,
  body.full-width-page-template #primary .comments-area,
  body.full-width-page-template #primary .comment-form-area {
    padding-left: 40px;
  }
  body.full-width-page-template .article-inner,
  body.full-width-page-template .author-info-inner,
  body.full-width-page-template .comments-area-inner,
  body.full-width-page-template .comment-form-area-inner {
    max-width: 100%;
  }
}
/*--------------------------------------------------------------
## Footer
--------------------------------------------------------------*/
#colophon {
  margin-top: -1px;
  border-top: 1px solid #e1e1e1;
}

/* Site info. */
.site-info-inner {
  padding: 24px 0;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  min-height: 76px;
}
.site-info-inner .sep {
  display: none;
}
.site-info-inner .copyright,
.site-info-inner .description,
.site-info-inner .generator,
.site-info-inner .designer {
  display: block;
  text-align: center;
}

.site-info-inner-left {
  font-size: 14px;
  font-size: 0.875rem;
}

.site-info-inner-right {
  margin: 12px 0;
}

/* 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: #505050;
  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: #858585;
}
.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: thin dotted;
}

.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 #858585;
  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 #505050;
  z-index: 5;
}

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

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

@media screen and (min-width: 1024px) {
  #tertiary {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }

  #tertiary {
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
  }
  #tertiary .widget {
    width: 30%;
  }

  /* Site info. */
  .site-info-inner {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
        -ms-flex-direction: row;
            flex-direction: row;
  }
  .site-info-inner .sep,
  .site-info-inner .description,
  .site-info-inner .generator,
  .site-info-inner .designer {
    display: inline;
  }
  .site-info-inner .copyright,
  .site-info-inner .description,
  .site-info-inner .generator,
  .site-info-inner .designer {
    text-align: left;
  }
}
/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/* Pagination. */
.pagination-container {
  border-bottom: 1px solid #e1e1e1;
}

.pagination {
  width: 1140px;
  max-width: 90%;
  margin: 0 auto;
}

.pagination .nav-links {
  margin-top: 24px;
  margin-top: 1.5rem;
  margin-bottom: 24px;
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 14px;
  font-size: 0.875rem;
}
.pagination .nav-links .page-numbers {
  display: inline-block;
  text-align: center;
  padding: 2px 8px;
  height: 26px;
  min-height: 26px;
  max-height: 26px;
  -webkit-transition: 0.25s;
          transition: 0.25s;
  border-radius: 3px;
  text-decoration: none;
  color: #ffffff;
  background: #121212;
}
.pagination .nav-links .prev {
  float: left;
}
.pagination .nav-links .next {
  float: right;
}
.pagination .nav-links .prev::before {
  position: relative;
  top: 1px;
  content: '\f430';
  font-family: Genericons;
}
.pagination .nav-links .next::after {
  position: relative;
  top: 1px;
  content: '\f429';
  font-family: Genericons;
}
.pagination .nav-links .current,
.pagination .nav-links .page-numbers:not(.dots):hover,
.pagination .nav-links .page-numbers:not(.dots):focus {
  background: #cc0000;
}
.pagination .nav-links .page-numbers:not(.dots):hover,
.pagination .nav-links .page-numbers:not(.dots):focus {
  background: #cc0000;
}
.pagination .nav-links .page-numbers.current:hover {
  background: #cc0000;
}

.infinite-scroll .pagination {
  display: none;
}

/* Post navigation. */
.post-navigation .nav-links {
  padding: 40px 0;
}
.post-navigation .nav-links div:nth-child(2) {
  margin-top: 40px;
}
.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: #121212;
}
.post-navigation a {
  display: block;
  width: 100%;
  min-height: 160px;
  padding: 40px;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.25);
}
.post-navigation a:hover,
.post-navigation a:focus {
  background: rgba(0, 0, 0, 0.6);
}
.post-navigation .meta-nav,
.post-navigation .post-title {
  display: block;
  color: #ffffff;
}
.post-navigation .meta-nav {
  margin-bottom: 0.5em;
  letter-spacing: 4px;
  font-size: 14px;
}
.post-navigation .post-title {
  font-size: 1.5em;
  font-weight: bold;
  font-family: "Fyra Sans", sans-serif;
}
.post-navigation a:hover .meta-nav,
.post-navigation a:focus .meta-nav,
.post-navigation a:hover .post-title,
.post-navigation a:focus .post-title {
  color: #cc0000;
}

/* Comment navigation. */
#comment-nav-below {
  padding: 1.5em 0 0 0;
}

@media screen and (min-width: 1024px) {
  .pagination {
    margin: 0;
    width: 100%;
    max-width: 720px;
  }
}
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
  color: #1f1f1f;
}
a:visited {
  color: #1f1f1f;
}
a:hover, a:focus, a:active {
  color: #cc0000;
}
a:focus {
  outline: thin dotted;
}
a:hover, a:active {
  outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
/* Has slider or thumbnail. */
.has-slider-img #desktop-navigation .menu-item a,
.has-slider-img #desktop-navigation .menu-item a:visited,
.has-post-thumbnail #desktop-navigation .menu-item a,
.has-post-thumbnail #desktop-navigation .menu-item a:visited {
  color: #ffffff;
}
.has-slider-img #desktop-navigation .menu-item a:hover,
.has-slider-img #desktop-navigation .menu-item a:focus,
.has-slider-img #desktop-navigation .menu-item a:active,
.has-post-thumbnail #desktop-navigation .menu-item a:hover,
.has-post-thumbnail #desktop-navigation .menu-item a:focus,
.has-post-thumbnail #desktop-navigation .menu-item a:active {
  color: #cc0000;
}

/* Both desktop and mobile navigation. */
.main-navigation .menu,
.main-navigation .menu-item,
.main-navigation .sub-menu {
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-size: 0.875rem;
  font-family: "Roboto", sans-serif;
}
.main-navigation .menu-item {
  list-style: none;
}
.main-navigation .menu-item a,
.main-navigation .menu-item a:visited {
  display: block;
  padding: 5px;
  text-decoration: none;
}
.main-navigation .menu-item a:hover,
.main-navigation .menu-item a.focus {
  color: #cc0000 !important;
}

/* Mobile navigation. */
#mobile-navigation .primary-menu-wrapper {
  border-top: 1px solid #1f1f1f;
}
#mobile-navigation a,
#mobile-navigation a:visited {
  padding: 14px 5%;
  color: #ffffff;
  border-top: 1px solid #1f1f1f;
}
#mobile-navigation .sub-menu a {
  padding-left: 12.5%;
}
#mobile-navigation .sub-menu .sub-menu a {
  padding-left: 20%;
}
#mobile-navigation .menu-title h2 {
  margin: 0;
  padding: 16px 5%;
  font-size: 24px;
  color: #ffffff;
}

/* Desktop navigation. */
#desktop-navigation .menu {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  font-weight: bold;
  text-transform: uppercase;
}
#desktop-navigation .menu-item {
  position: relative;
  padding: 8px 0;
  text-align: center;
  z-index: 2;
}
#desktop-navigation .menu-item a {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 14px;
  font-weight: 400;
  color: #1f1f1f;
}
#desktop-navigation .menu-item a:hover,
#desktop-navigation .menu-item a:focus,
#desktop-navigation .menu-item a:active {
  color: #cc0000;
}
#desktop-navigation .menu-item:hover > ul.sub-menu, #desktop-navigation .menu-item.focus > ul.sub-menu {
  left: 50%;
  height: auto;
  width: auto;
  opacity: 1;
  margin-top: 0;
  overflow: visible;
  -webkit-backface-visibility: hidden;
}
#desktop-navigation .sub-menu {
  position: absolute;
  top: auto;
  left: -9999px;
  height: 1px;
  width: 1px;
  padding-top: 10px;
  padding-left: 0;
  margin-left: -100px;
  opacity: 0;
  overflow: hidden;
  text-transform: none;
}
#desktop-navigation .sub-menu:after {
  content: "";
  display: block;
  position: absolute;
  border: 10px solid transparent;
  border-bottom: 10px solid #121212;
  left: 50%;
  top: -10px;
  margin-left: -10px;
}
#desktop-navigation .sub-menu .menu-item {
  position: relative;
  padding: 0;
}
#desktop-navigation .sub-menu .menu-item-has-children::after {
  content: "";
  display: block;
  position: absolute;
  z-index: 3000;
  top: 12px;
  left: auto;
  right: 0;
  -webkit-transition: 0.25s;
          transition: 0.25s;
  margin-left: -10px;
  border: 6px solid transparent;
  border-left-color: #ffffff;
}
#desktop-navigation .sub-menu .menu-item-has-children:hover::after,
#desktop-navigation .sub-menu .menu-item-has-children:focus::after,
#desktop-navigation .sub-menu .menu-item-has-children:active::after,
#desktop-navigation .sub-menu .menu-item-has-children.focus::after {
  right: -12px;
  border-left-color: #121212;
}
#desktop-navigation .sub-menu a {
  width: 200px;
  padding: 8px 0;
  border-radius: 0;
  color: #ffffff;
  background: #121212;
}
#desktop-navigation .sub-menu a:hover,
#desktop-navigation .sub-menu a:focus,
#desktop-navigation .sub-menu a:active,
#desktop-navigation .sub-menu a.focus {
  color: #cc0000;
}
#desktop-navigation .sub-menu .menu-item:hover .sub-menu,
#desktop-navigation .sub-menu .menu-item.focus .sub-menu {
  position: absolute;
  top: 0;
  left: 153%;
  padding: 0;
}
#desktop-navigation .sub-menu .menu-item:hover .sub-menu a,
#desktop-navigation .sub-menu .menu-item.focus .sub-menu a {
  background: #121212;
}
#desktop-navigation ul.sub-menu {
  opacity: 0;
  -webkit-transform: translate(0, -15%) scale(0.75);
      -ms-transform: translate(0, -15%) scale(0.75);
          transform: translate(0, -15%) scale(0.75);
  -webkit-transition: opacity 0.25s ease-in-out, -webkit-transform 0.25s ease-in-out;
          transition: opacity 0.25s ease-in-out, transform 0.25s ease-in-out;
}
#desktop-navigation li.menu-item:hover > ul.sub-menu,
#desktop-navigation li.menu-item.focus > ul.sub-menu {
  opacity: 1;
  -webkit-transform: translate(0, 0) scale(1);
      -ms-transform: translate(0, 0) scale(1);
          transform: translate(0, 0) scale(1);
}
#desktop-navigation ul.sub-menu li.menu-item:first-child a {
  border-radius: 4px 4px 0 0;
}
#desktop-navigation ul.sub-menu li.menu-item:last-child a {
  border-radius: 0 0 4px 4px;
}
#desktop-navigation ul.sub-menu li.menu-item:only-child a {
  border-radius: 4px;
}
#desktop-navigation ul.sub-menu ul.sub-menu li.menu-item a {
  border-radius: 0;
}
#desktop-navigation ul.sub-menu ul.sub-menu li.menu-item:first-child a {
  border-radius: 4px 4px 0 0;
}
#desktop-navigation ul.sub-menu ul.sub-menu li.menu-item:last-child a {
  border-radius: 0 0 4px 4px;
}
#desktop-navigation ul.sub-menu ul.sub-menu li.menu-item:only-child a {
  border-radius: 4px;
}

/* Desktop style when social menu is not active. */
.no-social-menu #desktop-navigation .menu-item:last-child a {
  padding-right: 0;
}

/* Menu toggle. */
.menu-toggle {
  display: block;
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  min-height: 40px;
  padding: 0.8em;
  border: 0;
  border-radius: 0;
  background: #ffffff;
}

.toggle-lines {
  display: inline-block;
  position: relative;
  top: -4px;
  right: 0;
  width: 24px;
  height: 3px;
  background: #1f1f1f;
  -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: #1f1f1f;
  content: "";
  -webkit-transition-duration: 0.3s, 0.3s;
          transition-duration: 0.3s, 0.3s;
  -webkit-transition-delay: 0.3s, 0s;
          transition-delay: 0.3s, 0s;
}

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

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

.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);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}

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

/* Move menu-toggle further down when admin-bar is active. */
.admin-bar .menu-toggle {
  top: 60px;
}

/* Reveal & hide. */
#desktop-navigation {
  display: none;
}

@media screen and (min-width: 840px) {
  /* Reveal & hide. */
  .menu-toggle-container,
  #mobile-navigation {
    display: none;
  }

  #desktop-navigation {
    display: block;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }
}
/*--------------------------------------------------------------
## Social
--------------------------------------------------------------*/
.social-menu-wrapper {
  display: inline-block;
}
.social-menu-wrapper .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}
.social-menu-wrapper li.menu-item {
  display: inline-block;
  margin-left: 4px;
}
.social-menu-wrapper a {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #121212;
}
.social-menu-wrapper a::before {
  content: '\f475';
  speak: none;
  display: inline-block;
  line-height: 16px;
  font-family: 'Genericons';
  font-weight: normal;
  font-size: 16px;
  margin-top: 4px;
  -webkit-transition: -webkit-transform 0.125s, color 0.125s ease-in-out;
          transition: transform 0.125s, color 0.125s ease-in-out;
  vertical-align: middle;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  color: #ffffff;
}

/* Social top. */
.has-post-thumbnail #social-top a,
.has-slider-img #social-top a {
  background: rgba(255, 255, 255, 0.2);
}
.has-post-thumbnail #social-top a::before,
.has-slider-img #social-top a::before {
  color: #ffffff;
}

/* Social footer. */
#social-footer a {
  background: #121212;
}
#social-footer a::before {
  color: #ffffff;
}

/* Social background colors. */
#social-top .social-menu-wrapper a[href*="wordpress.org"]:hover,
#social-top .social-menu-wrapper a[href*="wordpress.com"]:hover,
#social-top .social-menu-wrapper a[href*="michaelvandenberg.com"]:hover,
#social-top .social-menu-wrapper a[href*="wordpress.org"]:focus,
#social-top .social-menu-wrapper a[href*="wordpress.com"]:focus,
#social-top .social-menu-wrapper a[href*="michaelvandenberg.com"]:focus,
#social-footer .social-menu-wrapper a[href*="wordpress.org"]:hover,
#social-footer .social-menu-wrapper a[href*="wordpress.com"]:hover,
#social-footer .social-menu-wrapper a[href*="michaelvandenberg.com"]:hover,
#social-footer .social-menu-wrapper a[href*="wordpress.org"]:focus,
#social-footer .social-menu-wrapper a[href*="wordpress.com"]:focus,
#social-footer .social-menu-wrapper a[href*="michaelvandenberg.com"]:focus {
  background: #464646;
}
#social-top .social-menu-wrapper a[href*="wordpress.org"]::before,
#social-top .social-menu-wrapper a[href*="wordpress.com"]::before,
#social-top .social-menu-wrapper a[href*="michaelvandenberg.com"]::before,
#social-footer .social-menu-wrapper a[href*="wordpress.org"]::before,
#social-footer .social-menu-wrapper a[href*="wordpress.com"]::before,
#social-footer .social-menu-wrapper a[href*="michaelvandenberg.com"]::before {
  content: '\f205';
}
#social-top .social-menu-wrapper a[href*="facebook.com"]:hover,
#social-top .social-menu-wrapper a[href*="facebook.com"]:focus,
#social-footer .social-menu-wrapper a[href*="facebook.com"]:hover,
#social-footer .social-menu-wrapper a[href*="facebook.com"]:focus {
  background: #3b5998;
}
#social-top .social-menu-wrapper a[href*="facebook.com"]::before,
#social-footer .social-menu-wrapper a[href*="facebook.com"]::before {
  content: '\f204';
}
#social-top .social-menu-wrapper a[href*="twitter.com"]:hover,
#social-top .social-menu-wrapper a[href*="twitter.com"]:focus,
#social-footer .social-menu-wrapper a[href*="twitter.com"]:hover,
#social-footer .social-menu-wrapper a[href*="twitter.com"]:focus {
  background: #00aced;
}
#social-top .social-menu-wrapper a[href*="twitter.com"]::before,
#social-footer .social-menu-wrapper a[href*="twitter.com"]::before {
  content: '\f202';
}
#social-top .social-menu-wrapper a[href*="dribbble.com"]:hover,
#social-top .social-menu-wrapper a[href*="dribbble.com"]:focus,
#social-footer .social-menu-wrapper a[href*="dribbble.com"]:hover,
#social-footer .social-menu-wrapper a[href*="dribbble.com"]:focus {
  background: #ea4c89;
}
#social-top .social-menu-wrapper a[href*="dribbble.com"]::before,
#social-footer .social-menu-wrapper a[href*="dribbble.com"]::before {
  content: '\f201';
}
#social-top .social-menu-wrapper a[href*="plus.google.com"]:hover,
#social-top .social-menu-wrapper a[href*="plus.google.com"]:focus,
#social-footer .social-menu-wrapper a[href*="plus.google.com"]:hover,
#social-footer .social-menu-wrapper a[href*="plus.google.com"]:focus {
  background: #dd4b39;
}
#social-top .social-menu-wrapper a[href*="plus.google.com"]::before,
#social-footer .social-menu-wrapper a[href*="plus.google.com"]::before {
  content: '\f206';
}
#social-top .social-menu-wrapper a[href*="pinterest.com"]:hover,
#social-top .social-menu-wrapper a[href*="pinterest.com"]:focus,
#social-footer .social-menu-wrapper a[href*="pinterest.com"]:hover,
#social-footer .social-menu-wrapper a[href*="pinterest.com"]:focus {
  background: #cb2027;
}
#social-top .social-menu-wrapper a[href*="pinterest.com"]::before,
#social-footer .social-menu-wrapper a[href*="pinterest.com"]::before {
  content: '\f209';
}
#social-top .social-menu-wrapper a[href*="github.com"]:hover,
#social-top .social-menu-wrapper a[href*="github.com"]:focus,
#social-footer .social-menu-wrapper a[href*="github.com"]:hover,
#social-footer .social-menu-wrapper a[href*="github.com"]:focus {
  background: #4078c0;
}
#social-top .social-menu-wrapper a[href*="github.com"]::before,
#social-footer .social-menu-wrapper a[href*="github.com"]::before {
  content: '\f200';
}
#social-top .social-menu-wrapper a[href*="tumblr.com"]:hover,
#social-top .social-menu-wrapper a[href*="tumblr.com"]:focus,
#social-footer .social-menu-wrapper a[href*="tumblr.com"]:hover,
#social-footer .social-menu-wrapper a[href*="tumblr.com"]:focus {
  background: #32506d;
}
#social-top .social-menu-wrapper a[href*="tumblr.com"]::before,
#social-footer .social-menu-wrapper a[href*="tumblr.com"]::before {
  content: '\f214';
}
#social-top .social-menu-wrapper a[href*="youtube.com"]:hover,
#social-top .social-menu-wrapper a[href*="youtube.com"]:focus,
#social-footer .social-menu-wrapper a[href*="youtube.com"]:hover,
#social-footer .social-menu-wrapper a[href*="youtube.com"]:focus {
  background: #bb0000;
}
#social-top .social-menu-wrapper a[href*="youtube.com"]::before,
#social-footer .social-menu-wrapper a[href*="youtube.com"]::before {
  content: '\f213';
}
#social-top .social-menu-wrapper a[href*="flickr.com"]:hover,
#social-top .social-menu-wrapper a[href*="flickr.com"]:focus,
#social-footer .social-menu-wrapper a[href*="flickr.com"]:hover,
#social-footer .social-menu-wrapper a[href*="flickr.com"]:focus {
  background: #ff0084;
}
#social-top .social-menu-wrapper a[href*="flickr.com"]::before,
#social-footer .social-menu-wrapper a[href*="flickr.com"]::before {
  content: '\f211';
}
#social-top .social-menu-wrapper a[href*="vimeo.com"]:hover,
#social-top .social-menu-wrapper a[href*="vimeo.com"]:focus,
#social-footer .social-menu-wrapper a[href*="vimeo.com"]:hover,
#social-footer .social-menu-wrapper a[href*="vimeo.com"]:focus {
  background: #aad450;
}
#social-top .social-menu-wrapper a[href*="vimeo.com"]::before,
#social-footer .social-menu-wrapper a[href*="vimeo.com"]::before {
  content: '\f212';
}
#social-top .social-menu-wrapper a[href*="instagram.com"]:hover,
#social-top .social-menu-wrapper a[href*="instagram.com"]:focus,
#social-footer .social-menu-wrapper a[href*="instagram.com"]:hover,
#social-footer .social-menu-wrapper a[href*="instagram.com"]:focus {
  background: #125688;
}
#social-top .social-menu-wrapper a[href*="instagram.com"]::before,
#social-footer .social-menu-wrapper a[href*="instagram.com"]::before {
  content: '\f215';
}
#social-top .social-menu-wrapper a[href*="codepen.io"]:hover,
#social-top .social-menu-wrapper a[href*="codepen.io"]:focus,
#social-footer .social-menu-wrapper a[href*="codepen.io"]:hover,
#social-footer .social-menu-wrapper a[href*="codepen.io"]:focus {
  background: #111111;
}
#social-top .social-menu-wrapper a[href*="codepen.io"]::before,
#social-footer .social-menu-wrapper a[href*="codepen.io"]::before {
  content: '\f216';
}
#social-top .social-menu-wrapper a[href*="linkedin.com"]:hover,
#social-top .social-menu-wrapper a[href*="linkedin.com"]:focus,
#social-footer .social-menu-wrapper a[href*="linkedin.com"]:hover,
#social-footer .social-menu-wrapper a[href*="linkedin.com"]:focus {
  background: #007bb5;
}
#social-top .social-menu-wrapper a[href*="linkedin.com"]::before,
#social-footer .social-menu-wrapper a[href*="linkedin.com"]::before {
  content: '\f208';
}
#social-top .social-menu-wrapper a[href*="foursquare.com"]:hover,
#social-top .social-menu-wrapper a[href*="foursquare.com"]:focus,
#social-footer .social-menu-wrapper a[href*="foursquare.com"]:hover,
#social-footer .social-menu-wrapper a[href*="foursquare.com"]:focus {
  background: #0072b1;
}
#social-top .social-menu-wrapper a[href*="foursquare.com"]::before,
#social-footer .social-menu-wrapper a[href*="foursquare.com"]::before {
  content: '\f226';
}
#social-top .social-menu-wrapper a[href*="reddit.com"]:hover,
#social-top .social-menu-wrapper a[href*="reddit.com"]:focus,
#social-footer .social-menu-wrapper a[href*="reddit.com"]:hover,
#social-footer .social-menu-wrapper a[href*="reddit.com"]:focus {
  background: #ff5700;
}
#social-top .social-menu-wrapper a[href*="reddit.com"]::before,
#social-footer .social-menu-wrapper a[href*="reddit.com"]::before {
  content: '\f222';
}
#social-top .social-menu-wrapper a[href*="digg.com"]:hover,
#social-top .social-menu-wrapper a[href*="digg.com"]:focus,
#social-footer .social-menu-wrapper a[href*="digg.com"]:hover,
#social-footer .social-menu-wrapper a[href*="digg.com"]:focus {
  background: #191919;
}
#social-top .social-menu-wrapper a[href*="digg.com"]::before,
#social-footer .social-menu-wrapper a[href*="digg.com"]::before {
  content: '\f221';
}
#social-top .social-menu-wrapper a[href*="stumbleupon.com"]:hover,
#social-top .social-menu-wrapper a[href*="stumbleupon.com"]:focus,
#social-footer .social-menu-wrapper a[href*="stumbleupon.com"]:hover,
#social-footer .social-menu-wrapper a[href*="stumbleupon.com"]:focus {
  background: #f74425;
}
#social-top .social-menu-wrapper a[href*="stumbleupon.com"]::before,
#social-footer .social-menu-wrapper a[href*="stumbleupon.com"]::before {
  content: '\f223';
}
#social-top .social-menu-wrapper a[href*="dropbox.com"]:hover,
#social-top .social-menu-wrapper a[href*="dropbox.com"]:focus,
#social-footer .social-menu-wrapper a[href*="dropbox.com"]:hover,
#social-footer .social-menu-wrapper a[href*="dropbox.com"]:focus {
  background: #007ee5;
}
#social-top .social-menu-wrapper a[href*="dropbox.com"]::before,
#social-footer .social-menu-wrapper a[href*="dropbox.com"]::before {
  content: '\f223';
}
#social-top .social-menu-wrapper a[href*="spotify.com"]:hover,
#social-top .social-menu-wrapper a[href*="spotify.com"]:focus,
#social-footer .social-menu-wrapper a[href*="spotify.com"]:hover,
#social-footer .social-menu-wrapper a[href*="spotify.com"]:focus {
  background: #23cf5f;
}
#social-top .social-menu-wrapper a[href*="spotify.com"]::before,
#social-footer .social-menu-wrapper a[href*="spotify.com"]::before {
  content: '\f223';
}
#social-top .social-menu-wrapper a[href*="pocket.com"]:hover,
#social-top .social-menu-wrapper a[href*="pocket.com"]:focus,
#social-footer .social-menu-wrapper a[href*="pocket.com"]:hover,
#social-footer .social-menu-wrapper a[href*="pocket.com"]:focus {
  background: #ee4056;
}
#social-top .social-menu-wrapper a[href*="pocket.com"]::before,
#social-footer .social-menu-wrapper a[href*="pocket.com"]::before {
  content: '\f223';
}

/* Hide on mobile. */
#social-top,
#desktop-search {
  display: none;
}

@media screen and (min-width: 840px) {
  #social-top,
  #desktop-search {
    display: block;
  }
}
/*--------------------------------------------------------------
# Slider
--------------------------------------------------------------*/
.flickity-enabled {
  position: relative;
}

.flickity-enabled:focus {
  outline: none;
}

.flickity-viewport {
  overflow: hidden;
  position: relative;
  height: 100%;
}

.flickity-slider {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* draggable */
.flickity-enabled.is-draggable {
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.flickity-enabled.is-draggable .flickity-viewport {
  cursor: move;
  cursor: -webkit-grab;
  cursor: grab;
}

.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

/* ---- previous/next buttons ---- */
.flickity-prev-next-button {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  z-index: 1;
  border: none;
  border-radius: 50%;
  background: white;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  /* vertically center */
  -webkit-transform: translateY(-50%);
  ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
}

.flickity-prev-next-button:hover {
  background: #121212;
}

.flickity-prev-next-button:focus {
  outline: none;
  box-shadow: 0 0 0 4px #cc0000;
}

.flickity-prev-next-button:active {
  filter: alpha(opacity=60);
  /* IE8 */
  opacity: 0.6;
}

.flickity-prev-next-button.previous {
  left: 10px;
}

.flickity-prev-next-button.next {
  right: 10px;
}

/* right to left */
.flickity-rtl .flickity-prev-next-button.previous {
  left: auto;
  right: 10px;
}

.flickity-rtl .flickity-prev-next-button.next {
  right: auto;
  left: 10px;
}

.flickity-prev-next-button:disabled {
  filter: alpha(opacity=30);
  /* IE8 */
  opacity: 0.3;
  cursor: auto;
}

.flickity-prev-next-button svg {
  position: absolute;
  left: 20%;
  top: 20%;
  width: 60%;
  height: 60%;
}

.flickity-prev-next-button .arrow {
  fill: #fff;
}

/* color & size if no SVG - IE8 and Android 2.3 */
.flickity-prev-next-button.no-svg {
  color: #fff;
  font-size: 26px;
}

/* ---- page dots ---- */
.flickity-page-dots {
  position: absolute;
  width: 100%;
  bottom: 2.5%;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
  line-height: 1;
}

.flickity-rtl .flickity-page-dots {
  direction: rtl;
}

.flickity-page-dots .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 8px;
  background: white;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  filter: alpha(opacity=25);
  /* IE8 */
  opacity: 0.25;
  cursor: pointer;
}

.flickity-page-dots .dot.is-selected {
  filter: alpha(opacity=100);
  /* IE8 */
  opacity: 1;
}

/* Custom slider styles. */
.single-header,
.featured-header {
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.single-title,
.featured-title {
  font-size: 32px;
  font-size: 2rem;
}

.single-title,
.single-meta,
.featured-title,
.featured-title a,
.featured-title a:visited,
.featured-more,
.featured-more:visited,
.featured-more::after,
.featured-more::after {
  color: #ffffff;
  text-align: center;
  text-decoration: none;
}

.featured-title a:hover,
.featured-title a:focus,
.featured-more:hover,
.featured-more:focus,
.featured-more:hover::after,
.featured-more:focus::after {
  color: #cc0000;
}

.featured-more {
  display: block;
  font-family: "Fyra Sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: 14px;
  font-size: 0.875rem;
}

.featured-more::after {
  font-family: 'Genericons';
  content: '\f429';
  margin-top: -4px;
  font-size: 18px;
  font-size: 1.125rem;
}

/* Hide flickity buttons on small screens. */
.flickity-prev-next-button {
  display: none;
}

@media screen and (min-width: 600px) {
  .single-title,
  .featured-title {
    font-size: 40px;
    font-size: 2.5rem;
  }

  .flickity-prev-next-button {
    display: inline;
  }
}
@media screen and (min-width: 840px) {
  .single-title,
  .featured-title {
    font-size: 48px;
    font-size: 3rem;
  }
}
/*--------------------------------------------------------------
# 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: #fff;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #1f1f1f;
  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;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
  margin: 0em;
  /* Make sure select elements fit in widgets. */
}
.widget .widget-title {
  display: inline-block;
  margin: 0;
  margin-bottom: 1.5rem;
  padding-bottom: 2px;
  text-transform: uppercase;
  border-bottom: 2px solid;
  font-size: 18px;
  font-size: 1.125rem;
}
.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.photoblogger_widget_recent_comments ul, .widget.photoblogger_widget_recent_entries ul, .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.photoblogger_widget_recent_comments ul.sub-menu,
.widget.photoblogger_widget_recent_comments ul.children, .widget.photoblogger_widget_recent_entries ul.sub-menu,
.widget.photoblogger_widget_recent_entries ul.children, .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.photoblogger_widget_recent_comments ul.sub-menu li,
.widget.photoblogger_widget_recent_comments ul.children li, .widget.photoblogger_widget_recent_entries ul.sub-menu li,
.widget.photoblogger_widget_recent_entries ul.children li, .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_entries li, .widget.widget_recent_comments 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 {
  padding-bottom: 4px;
}
.widget.widget_recent_entries a, .widget.widget_recent_comments 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 {
  display: inline-block;
  text-decoration: none;
}
.widget.widget_recent_entries .post-date {
  display: block;
  font-style: italic;
  font-size: 14px;
  font-size: 0.875rem;
}
.widget.photoblogger_widget_recent_comments .widget-title, .widget.photoblogger_widget_recent_entries .widget-title {
  margin-bottom: 1.75rem;
}
.widget.photoblogger_widget_recent_comments li, .widget.photoblogger_widget_recent_entries li {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
.widget.photoblogger_widget_recent_comments li a, .widget.photoblogger_widget_recent_entries li a {
  text-decoration: none;
  word-wrap: break-word;
}
.widget.photoblogger_widget_recent_comments img, .widget.photoblogger_widget_recent_entries img {
  max-width: 75px;
  max-height: 75px;
}
.widget.photoblogger_widget_recent_comments img:hover,
.widget.photoblogger_widget_recent_comments a:focus img, .widget.photoblogger_widget_recent_entries img:hover,
.widget.photoblogger_widget_recent_entries a:focus img {
  -webkit-filter: grayscale(75%);
          filter: grayscale(75%);
}
.widget.photoblogger_widget_recent_comments .widget-thumbnail, .widget.photoblogger_widget_recent_entries .widget-thumbnail {
  -webkit-flex-shrink: 0;
      -ms-flex-negative: 0;
          flex-shrink: 0;
  margin-right: 1rem;
}
.widget.photoblogger_widget_recent_comments span.post-date,
.widget.photoblogger_widget_recent_comments div.comment-widget-author {
  display: block;
  font-style: italic;
  font-size: 14px;
  font-size: 0.875rem;
}
.widget.photoblogger_widget_recent_comments .comment-widget-author-link a {
  font-weight: normal;
  background: transparent;
}
.widget.photoblogger_widget_recent_comments .comment-widget-author-link a:hover {
  background: transparent;
}
.widget.photoblogger_widget_recent_entries .post-date {
  display: block;
  font-style: italic;
  font-size: 14px;
  font-size: 0.875rem;
}
.widget.widget_calendar caption {
  margin-bottom: 4px;
}
.widget.widget_calendar tbody td {
  text-align: center;
}
.widget.widget_search input[type="search"]:focus {
  color: #111;
  outline-offset: 15px;
  outline: #cc0000 auto 5px;
}
.widget select {
  max-width: 100%;
}

/* Styles for Jetpack widgets. */
.widget-grofile .widget-title {
  padding-bottom: 20px;
}

.widget_contact_info .contact-map {
  margin-bottom: 20px;
}
.widget_contact_info .confit-address,
.widget_contact_info .confit-phone {
  margin-bottom: 8px;
}

#secondary-inner .widget {
  padding-bottom: 1.5rem;
  margin: 1.5rem 0;
  border-bottom: 2px solid #171717;
}

@media screen and (min-width: 840px) {
  #secondary-inner .widget:first-child {
    margin: 0;
  }
}
@media screen and (min-width: 1140px) {
  #secondary-inner .widget:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }
}
/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.entry-header {
  padding-bottom: 1.0em;
}

/* Entry title. */
.entry-title {
  margin: 0;
  font-size: 32px;
  font-size: 2rem;
}

.entry-title a,
.entry-title a:visited {
  color: #1f1f1f;
  text-decoration: none;
  border-bottom: 0px solid #cc0000;
}

.entry-title a:hover,
.entry-title a:focus {
  color: #cc0000;
}

/* Thumbnail. */
.entry-thumbnail,
.special-content {
  margin-bottom: 20px;
}

.entry-thumbnail img {
  display: block;
}

.entry-thumbnail,
.entry-thumbnail a,
.entry-thumbnail img {
  width: 100%;
  height: auto;
}

.entry-thumbnail-link {
  display: block;
  position: relative;
}

.thumbnail-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  z-index: 2;
  background: rgba(0, 0, 0, 0.5);
}

.entry-thumbnail-link:hover .overlay,
.entry-thumbnail-link:focus .overlay {
  opacity: 1;
}

/* Underscores. */
.sticky {
  display: block;
}

.hentry,
.page-content {
  margin: 0;
  padding-top: 40px;
  padding-bottom: 40px;
}

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

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

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

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

/* Meta. */
.entry-meta,
.entry-footer {
  font-size: 16px;
  font-size: 1rem;
}

.entry-meta {
  margin-top: 0.5em;
}

.entry-footer {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.posted-on,
.byline,
.cat-links,
.byline {
  margin-right: 8px;
}

/* Content. */
.entry-content h1:first-child,
.entry-content h2:first-child,
.entry-content h3:first-child,
.entry-content h4:first-child,
.entry-content h5:first-child,
.entry-content h6:first-child {
  margin-top: 0;
}

/* Genericons. */
.posted-on::before {
  content: '\f307';
  margin-right: 4px;
}

.byline::before {
  content: '\f304';
  margin-top: -2px;
  margin-right: -1px;
}

.tags-links::before {
  content: '\f302';
  margin-right: 4px;
  margin-top: -2px;
}

.cat-links::before {
  content: '\f301';
  margin-right: 4px;
  margin-top: -1px;
}

.comments-link::before {
  content: '\f300';
  margin-right: 4px;
  margin-top: -2px;
}

.edit-link::before {
  content: '\f411';
}

/* Read more. */
a.more-link {
  display: table;
  margin-top: 1em;
  padding: 1px 4px;
  color: white;
  text-decoration: none;
  background: #1f1f1f;
}
a.more-link:hover, a.more-link:focus {
  background: #cc0000;
}

@media screen and (min-width: 840px) {
  article.post,
  article.page,
  article.portfolio {
    font-size: 17px;
    font-size: 1.0625rem;
  }
}
/*--------------------------------------------------------------
## Post formats
--------------------------------------------------------------*/
.format-link .special-content p:last-child,
.format-quote .special-content p:last-child {
  margin-bottom: 0;
}
.format-link .special-content a,
.format-quote .special-content a {
  color: white;
}
.format-link .special-content a:hover,
.format-link .special-content a:active,
.format-link .special-content a:focus,
.format-quote .special-content a:hover,
.format-quote .special-content a:active,
.format-quote .special-content a:focus {
  color: #cc0000;
}

/* Aside post format. */
.format-aside .special-content {
  padding: 2em 40px;
}
.format-aside .special-content {
  border: 1px solid transparent;
  padding: 0 40px;
  line-height: 2;
  font-size: 16px;
  font-size: 1rem;
  border-radius: 2px;
  box-shadow: inset 0px 0px 25px 5px rgba(18, 18, 18, 0.5);
  background: -webkit-linear-gradient(#999999 5%, #ffdb58 0);
  background: linear-gradient(#999999 5%, #ffdb58 0);
  background-size: 100% 32px;
}
.format-aside .special-content p {
  margin: 32px 0;
}

/* Link post format. */
.format-link .special-content {
  font-size: 22px;
  padding: 40px 30px;
  letter-spacing: -1px;
  background: #121212;
}

/* Quote post format. */
.format-quote .special-content {
  background: #cc0000;
}
.format-quote .special-content blockquote {
  margin: 0;
  padding: 40px 30px;
  border: 0;
  color: white;
  font-size: 28px;
  font-weight: bold;
  font-style: normal;
  letter-spacing: -1px;
  font-family: "Fyra Sans", sans-serif;
  background: transparent;
  text-align: center;
  text-shadow: 0px 0px 5px #1f1f1f;
}
.format-quote .special-content blockquote cite {
  font-style: normal;
  letter-spacing: 0;
}

/* Image post format. */
.format-image .entry-title {
  color: white;
}
.format-image .entry-title:hover {
  color: #cc0000;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comments-area-inner,
.comment-form-area-inner {
  padding: 40px 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;
  margin-bottom: 0.75em;
  font-size: 15px;
  font-size: 0.9375rem;
}

.comment-author .avatar {
  float: left;
  margin-right: 12px;
}

.children {
  list-style: none;
}

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

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

.comment.depth-1:last-child article {
  padding-bottom: 0;
}

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

/* Reply button/link. */
.reply {
  display: block;
}

.reply a {
  border: 1px solid;
  border-color: #1f1f1f;
  background: transparent;
  color: #1f1f1f;
  line-height: 1;
  padding: .4em .8em .3em;
  text-decoration: none;
  font-size: 14px;
  font-size: 0.875rem;
}
.reply a:hover {
  color: #cc0000;
  border-color: #cc0000;
}
.reply a:active, .reply a:focus {
  color: #cc0000;
  border-color: #cc0000;
}

.comment-reply-title {
  margin-top: 0;
  font-size: 24px;
  font-size: 1.5rem;
}

.pingback .comment-body {
  padding: 0.5em;
}

.comment-awaiting-moderation {
  display: table;
  margin: 1.5em 0;
  padding: 0.25em;
  color: white;
  border-radius: 2px;
  background: maroon;
  font-size: 14px;
  font-size: 0.875rem;
}

.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;
}

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

.no-comments {
  margin: 0;
}

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

/*--------------------------------------------------------------
## Author Bio
--------------------------------------------------------------*/
.author-info {
  padding-top: 1.5em;
  padding-bottom: 1.5em;
  padding-top: 40px;
  padding-bottom: 40px;
}
.author-info .author-heading {
  margin-top: 0;
}
.author-info .author-info-inner {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
.author-info .author-avatar {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  min-width: 98px;
  max-width: 98px;
}
.author-info .author-title {
  margin: 0 0 0.25rem 0;
}
.author-info .author-bio {
  display: block;
  margin: 0;
}
.author-info .author-link::after {
  content: '\f429';
  position: relative;
  top: 3px;
  display: inline-block;
  width: 1.4em;
  font-size: 16px;
  line-height: 1;
  font-family: "Genericons", sans-serif;
  text-decoration: inherit;
  font-weight: normal;
  font-style: normal;
  text-align: center;
  vertical-align: top;
  text-decoration: none;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll .pagination-container,
.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;
}

.infinite-loader .spinner {
  margin: 0 auto;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.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%;
}

/* Remove whitespace beneath image. */
img {
  vertical-align: text-bottom;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.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;
  font-size: 0.875em;
  font-style: italic;
}

.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;
}
