@charset "UTF-8";
/*!
Theme Name: Magnum Opus
Theme URI: http://michaelvandenberg.com/themes/#magnum-opus
Author: Michael Van Den Berg
Author URI: https://michaelvandenberg.com/
Description: A free portfolio theme powered by Isotope.
Version: 1.0.4
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: magnum-opus
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, rtl-language-support, blog, photography, portfolio

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.

Magnum Opus is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v3 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
# Accessibility
# Alignments
# Widgets
# Content
    ## Posts and pages
	## Post formats
	## Portfolio
	## 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-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: #202020;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-size: 1rem;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  clear: both;
  font-weight: normal;
  font-family: "Roboto Slab", serif;
}

.site-title {
  font-size: 24px;
  font-size: 1.5rem;
  font-family: "Roboto Slab", serif;
}

.site-title a,
.site-title a:visited {
  color: #202020;
  text-decoration: none;
}

.portfolio-title {
  color: white;
  font-weight: normal;
  line-height: 1.4;
}

.entry-title,
.widget-title {
  margin: 0.25rem 0;
}

.entry-title {
  font-size: 2em;
  line-height: 1.4;
}

.entry-title a,
.entry-title a:visited {
  text-decoration: none;
}

body {
  font-size: 18px;
  font-size: 1.125rem;
}

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

blockquote {
  quotes: "" "";
  margin: 0 0 1.5em 0;
  padding: 1.5em;
  color: #202020;
  background: #f1f1f1;
  border-left: 4px solid #202020;
  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 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;
}

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: 2px solid currentcolor;
  font-size: 16px;
  font-size: 1rem;
}

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

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

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

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: 2px solid;
  border-color: currentcolor;
  background: transparent;
  color: currentColor;
  line-height: 1;
  padding: .6em 1em .6em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  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 {
  border-color: #cc0000;
}

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 currentcolor;
  border-radius: 1px;
}

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

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

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

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

/* Default search. */
.search-form {
  position: relative;
  overflow: hidden;
  border: 1px solid currentcolor;
  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: #202020;
}

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

.search-form .search-submit {
  display: block;
  height: 100%;
  width: 56px;
  background: none;
  border: 0;
  border-radius: 0;
  border-left: 1px solid #202020;
  color: #202020;
  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;
}

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

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

#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: #cc0000;
}

@media screen and (min-width: 940px) {
  /* Primary search. */
  #primary-search {
    padding: 2.5rem 0;
  }
  #primary-search .search-form {
    border: 0;
  }
  #primary-search .search-form .search-field {
    font-size: 24px;
    font-size: 2rem;
  }
  #primary-search .search-form .search-submit {
    width: 48px;
  }
  #primary-search .search-form .search-submit .genericon {
    font-size: 24px;
    font-size: 2rem;
  }
}

/*--------------------------------------------------------------
# Layout
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Global
--------------------------------------------------------------*/
.container,
.site-info,
.site-content,
#footer-widgets,
.page-template-template-portfolio .type-page {
  width: 1140px;
  max-width: 90%;
  margin: 0 auto;
}

.front-page-or-portfolio .site-content {
  width: 100%;
  max-width: 100%;
}

/* Overlay. */
.hero-overlay,
.header-overlay {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
}

/* Backgroundsize cover. */
#masthead,
.hero-area,
.sidekick-area,
.featured-item,
.blog-header,
.single-header,
.testimonial-wrapper,
.portfolio-wrapper article {
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

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

.more-link,
.post-navigation a,
.site-first-letter,
.site-icon,
.site-title,
.menu-toggle,
.blog-url,
.portfolio-url,
.flickity-prev-next-button,
.single-jetpack-portfolio .single-header a {
  -webkit-transition: background 0.25s;
  transition: background 0.25s;
}

a::after,
.featured-header,
.featured-meta,
.portfolio-title,
input.submit,
.overlay,
.filter,
.reply a,
.tagcloud a,
.entry-meta a,
.tags-links a,
.entry-content a,
.comment-content a,
.social-navigation a,
.author-description a,
#desktop-navigation .menu-item a::after {
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
}

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

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

/*--------------------------------------------------------------
## Header
--------------------------------------------------------------*/
#hidden-header {
  color: white;
  background: #161718;
}

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

.site-header {
  background: white;
}

.site-header .container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0.25em 0;
}

.site-description {
  display: none;
}

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

.custom-logo-link img {
  display: block;
}

.hero-area,
.blog-header,
.single-header,
.search-header,
.archive-header,
.not-found-header {
  color: white;
  background: #161718;
}

.hero-area .container,
.blog-header .container,
.single-header .container,
.search-header .container,
.archive-header .container,
.not-found-header .container {
  padding: 3em 0;
}

/*--------------------------------------------------------------
## Content
--------------------------------------------------------------*/
.has-sidebar .site-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

#primary,
#secondary {
  padding-top: 5rem;
}

@media screen and (min-width: 940px) {
  .has-sidebar #content {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
  .has-sidebar #primary {
    padding-right: 7.5%;
    width: 66.6666666667%;
    max-width: 760px;
    border-right: 1px solid #909090;
  }
  .has-sidebar #secondary {
    padding-left: 7.5%;
    width: 33.3333333333%;
    max-width: 380px;
    border-left: 1px solid #909090;
    -webkit-transform: translateX(-1px);
            transform: translateX(-1px);
  }
  .has-sidebar #primary article:not(:last-child) {
    border-bottom: 1px solid #909090;
  }
}

/*--------------------------------------------------------------
## Footer
--------------------------------------------------------------*/
#colophon {
  font-size: 16px;
  font-size: 1rem;
  color: white;
  background: #161718;
}

.site-info {
  padding: 2em 0;
  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: #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: 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 #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;
}

.widget-area {
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
}

#footer-widgets {
  padding-top: 24px;
}

@media screen and (min-width: 940px) {
  #footer-widgets {
    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;
  }
  #footer-widgets .widget {
    width: 30%;
  }
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/* Post navigation. */
.post-navigation .nav-links {
  padding: 0 0 3em 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 {
  background: rgba(0, 0, 0, 0.75);
}

.post-navigation .meta-nav,
.post-navigation .post-title {
  display: block;
}

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

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

.post-navigation a::after {
  display: none !important;
}

/* Posts navigation. */
.posts-navigation .nav-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-bottom: 2.5em;
}

.posts-navigation .nav-previous a,
.posts-navigation .nav-next a {
  text-decoration: none;
}

.posts-navigation .nav-previous a::before {
  position: relative;
  top: 1px;
  content: '\f430';
  font-family: Genericons;
}

.posts-navigation .nav-next a::after {
  position: relative;
  top: 1px;
  content: '\f429';
  font-family: Genericons;
}

/* Portfolio pagination. */
.portfolio-pagination {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 2.5rem 0;
}

.portfolio-pagination a {
  display: table;
  width: 50%;
  text-decoration: none;
}

.portfolio-pagination a:nth-child(2) {
  text-align: right;
}

.portfolio-pagination a:first-child::before {
  position: relative;
  top: 1px;
  content: '\f430';
  font-family: Genericons;
}

.portfolio-pagination a:nth-child(2)::after {
  position: relative;
  top: 1px;
  content: '\f429';
  font-family: Genericons;
}

/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
  color: #202020;
}

a:visited {
  color: #202020;
}

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

a:focus {
  outline: thin dotted;
}

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

.hero-area a,
.sidekick-area a,
.single-header a,
.blog-header a,
.post-navigation a {
  color: #f1f2f3;
  text-decoration: none;
  display: inline-block;
}

.hero-area a:visited,
.sidekick-area a:visited,
.single-header a:visited,
.blog-header a:visited,
.post-navigation a:visited {
  color: #f1f2f3;
}

.hero-area a:hover, .hero-area a:focus, .hero-area a:active,
.sidekick-area a:hover,
.sidekick-area a:focus,
.sidekick-area a:active,
.single-header a:hover,
.single-header a:focus,
.single-header a:active,
.blog-header a:hover,
.blog-header a:focus,
.blog-header a:active,
.post-navigation a:hover,
.post-navigation a:focus,
.post-navigation a:active {
  color: #f1f2f3;
}

.hero-area a::after,
.sidekick-area a::after,
.single-header a::after,
.blog-header a::after,
.post-navigation a::after {
  content: " ";
  display: table;
  position: relative;
  top: -0.125em;
  width: 100%;
  height: 2px;
  opacity: 1;
  background: #f1f2f3;
}

.hero-area a:hover::after, .hero-area a:focus::after,
.sidekick-area a:hover::after,
.sidekick-area a:focus::after,
.single-header a:hover::after,
.single-header a:focus::after,
.blog-header a:hover::after,
.blog-header a:focus::after,
.post-navigation a:hover::after,
.post-navigation a:focus::after {
  top: 0.125em;
  opacity: 1;
  background: #cc0000;
}

.site-footer a {
  color: #f1f2f3;
}

.site-footer a:visited {
  color: #f1f2f3;
}

.site-footer a:hover, .site-footer a:focus, .site-footer a:active {
  text-decoration: none;
  color: #f1f2f3;
  box-shadow: inset 0 -0.125em #cc0000;
}

.site-info a {
  text-decoration: none;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.primary-menu-wrapper .menu {
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 15px;
  font-size: 0.9375rem;
}

.primary-menu-wrapper .menu-item {
  list-style: none;
  font-family: "Roboto", sans-serif;
}

.primary-menu-wrapper .menu-item a,
.primary-menu-wrapper .menu-item a:visited {
  display: block;
  padding: 5px;
  text-decoration: none;
}

.primary-menu-wrapper .menu-item a:hover,
.primary-menu-wrapper .menu-item a.focus {
  color: #cc0000;
}

/* Mobile navigation. */
#mobile-navigation {
  padding-top: 2em;
}

#mobile-navigation .menu-item a {
  padding: 0.5em;
  color: white;
}

#mobile-navigation .menu-item a:hover,
#mobile-navigation .menu-item a.focus {
  color: #cc0000;
}

#mobile-navigation .sub-menu .menu-item {
  text-transform: none;
}

/* Desktop navigation. */
#desktop-navigation .menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

#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;
  color: #202020;
}

#desktop-navigation .menu-item a:hover,
#desktop-navigation .menu-item a:focus,
#desktop-navigation .menu-item a:active {
  color: #202020;
}

#desktop-navigation .menu-item a::after {
  content: "";
  display: table;
  position: relative;
  top: 0;
  width: 100%;
  height: 3px;
  opacity: 0;
  background: #cc0000;
}

#desktop-navigation .menu-item a:hover::after,
#desktop-navigation .menu-item a:focus::after {
  top: 0.25em;
  opacity: 1;
}

#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 .menu-item-has-children a:hover::after,
#desktop-navigation .menu-item-has-children a:focus::after {
  top: 0;
  opacity: 0;
}

#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 #161718;
  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: 30;
  top: 12px;
  left: 8px;
  right: auto;
  -webkit-transition: 0.25s;
  transition: 0.25s;
  margin-left: -10px;
  border: 8px solid transparent;
  border-right-color: white;
}

#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 {
  left: -5px;
  border-right-color: #161718;
}

#desktop-navigation .sub-menu a {
  width: 200px;
  padding: 8px;
  border-radius: 0;
  color: white;
  background: #161718;
}

#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: #a4a4a4;
}

#desktop-navigation .sub-menu a::after {
  display: none;
}

#desktop-navigation .sub-menu .menu-item:hover .sub-menu,
#desktop-navigation .sub-menu .menu-item.focus .sub-menu {
  position: absolute;
  top: 0;
  left: -53%;
  padding: 0;
}

#desktop-navigation ul.sub-menu {
  opacity: 0;
  -webkit-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, -webkit-transform 0.25s ease-in-out;
  transition: opacity 0.25s ease-in-out, transform 0.25s ease-in-out;
  transition: opacity 0.25s ease-in-out, transform 0.25s ease-in-out, -webkit-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);
          transform: translate(0, 0) scale(1);
}

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

.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 {
  border-color: white;
}

/* Search toggle. */
#search-toggle a::before {
  content: '\f400';
  speak: none;
  display: inline-block;
  line-height: 18px;
  font-family: 'Genericons';
  font-weight: bold;
  font-size: 18px;
  -webkit-transition: -webkit-transform 0.125s, color 0.125s ease-in-out;
  -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(-1px);
          transform: translateY(-1px);
  -webkit-font-smoothing: antialiased;
}

#search-toggle a::after,
#mobile-navigation #search-toggle {
  display: none !important;
}

/* Hide desktop navigation. */
#desktop-navigation {
  display: none;
}

@media screen and (min-width: 940px) {
  #mobile-navigation,
  .menu-toggle-container {
    display: none;
  }
  #desktop-navigation {
    display: block;
  }
}

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

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

.social-menu-wrapper a::before {
  content: '\f475';
  speak: none;
  color: white;
  line-height: 24px;
  font-family: 'Genericons';
  font-weight: normal;
  font-size: 24px;
  -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-left: 4px;
  }
  #social-right .social-menu-wrapper a {
    padding: 0;
    height: 40px;
    width: 40px;
  }
  #social-right .social-menu-wrapper a::before {
    display: inline-block;
  }
  #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);
  }
}

/*--------------------------------------------------------------
# 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: #202020;
  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
--------------------------------------------------------------*/
.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-header {
  display: block;
}

.widget-title {
  display: inline-block;
  margin: 0;
  margin-bottom: 1.5rem;
  padding-bottom: 2px;
  border-bottom: 2px solid #cc0000;
  text-transform: uppercase;
  font-family: "Roboto", sans-serif;
  font-weight: bold;
  font-size: 16px;
  font-size: 1rem;
}

.widget {
  margin: 0em;
  padding: 24px 0;
  margin-bottom: 3rem;
  font-size: 16px;
  font-size: 1rem;
  /* 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-block;
  text-decoration: none;
}

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

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

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

#secondary .widget:first-child {
  padding-top: 0;
}

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

.widget.jetpack_subscription_widget {
  margin-bottom: 3em;
  padding: 24px 20px;
  font-size: 90%;
  color: white;
  background: #161718;
}

.widget.jetpack_subscription_widget inputinput[type=email] {
  padding: 8px;
  border: 1px solid currentcolor;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.single-title {
  margin-bottom: 0.4em;
}

.entry-meta {
  margin-bottom: 1.5em;
}

.small-avatar img {
  margin-right: 0.5em;
  border-radius: 50%;
  -webkit-transform: translateY(5px);
          transform: translateY(5px);
}

/* Entry header. */
.entry-header {
  margin-bottom: 1.5em;
}

/* Entry content. */
.entry-content p:first-child {
  margin-top: 0;
}

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

/* Post thumbnail. */
.post-thumbnail img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  -webkit-backface-visibility: hidden;
}

.post-thumbnail,
.post-thumbnail-link,
.post-thumbnail-link img {
  display: block;
}

.post-thumbnail {
  background: #161718;
}

.post-thumbnail-link:hover img {
  opacity: 0.4;
}

.post-thumbnail,
.page .post-thumbnail,
.single .post-thumbnail {
  margin-bottom: 2em;
}

.page-links {
  font-size: 16px;
  font-size: 1rem;
}

ul {
  padding-left: 1em;
}

/* No results. */
.no-results {
  padding: 2.5em 0;
}

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

.hentry {
  margin: 0 0 2.5em;
  padding-bottom: 2.5em;
}

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

/*--------------------------------------------------------------
## Post formats
--------------------------------------------------------------*/
.format-aside .special-content,
.format-quote .special-content,
.format-image .post-thumbnail {
  margin-bottom: 1.25em;
}

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

/* 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;
  font-family: "Roboto Slab", serif;
  background: transparent;
  line-height: 1.5;
  text-align: center;
  text-shadow: 0px 0px 5px #202020;
}

.format-quote .special-content blockquote cite {
  font-style: normal;
}

.format-quote .special-content blockquote a,
.format-quote .special-content blockquote a:visited {
  color: white;
  text-decoration: none;
}

.format-quote .special-content blockquote a:hover, .format-quote .special-content blockquote a:focus,
.format-quote .special-content blockquote a:visited:hover,
.format-quote .special-content blockquote a:visited:focus {
  text-decoration: underline;
}

/* Image post format. */
.format-image .entry-title {
  width: 100%;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(calc( -50% + 25px));
          transform: translateY(calc( -50% + 25px));
  margin: 0;
  opacity: 0;
  color: white;
  text-align: center;
}

.format-image .post-thumbnail-link {
  display: block;
  position: relative;
}

.format-image .post-thumbnail-link:hover .entry-title {
  opacity: 1;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

/* Link post format. */
.format-link .entry-title a::before {
  position: relative;
  margin-right: 5px;
  top: 9px;
  content: '\f107';
  font-size: 120%;
  font-family: Genericons;
  speak: none;
}

.single-format-link .single-title a {
  text-decoration: none;
}

.single-format-link .single-title a::before {
  position: relative;
  margin-right: 5px;
  top: 10px;
  content: '\f107';
  font-size: 120%;
  font-family: Genericons;
  speak: none;
}

/*--------------------------------------------------------------
## Portfolio
--------------------------------------------------------------*/
#primary.portfolio {
  padding-top: 0;
}

#primary.portfolio .entry-content {
  padding-top: 5rem;
}

.portfolio-wrapper {
  display: block;
  background: #303030;
}

/* Portfolio filter. */
.filter-toggle {
  position: absolute;
  -webkit-transform: translateY(-100%);
          transform: translateY(-100%);
  z-index: 3;
  left: 0;
  color: white;
  background: rgba(22, 23, 24, 0.8);
  box-shadow: 0px 0px 2px 2px rgba(22, 23, 24, 0.8);
}

.filter-toggle-text {
  color: currentColor;
  margin-right: 0.75em;
}

.portfolio-filter {
  display: block;
  width: 100%;
  max-width: 100%;
  background: #f1f1f1;
}

.portfolio-filter ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin: 0;
  padding: 1.25em 0 2.5em;
  max-width: 100%;
}

.filter {
  display: inline;
  min-height: 37px;
  margin: 1.25em 0.75em 0 0;
  padding: 0.25em 0.4em;
  list-style: none;
  cursor: pointer;
  background: #ffffff;
}

.filter.active {
  color: white;
  background: #303030;
  background-attachment: fixed;
}

/* Portfolio items. */
.portfolio-wrapper article {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  margin: 0;
}

/* Gutter – no gutter. */
.gutter-sizer {
  display: none;
  width: 0;
  height: 0;
}

/* Inner link. */
.portfolio-inner {
  display: block;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  padding: 10%;
  position: absolute;
  text-decoration: none;
  background: transparent;
}

.portfolio-inner:hover, .portfolio-inner:focus, .portfolio-inner:active {
  opacity: 1;
  background: rgba(0, 0, 0, 0.75);
}

/* Center title & content. */
.portfolio-wrapper .entry-header {
  margin-top: 50%;
  text-align: center;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

/* Filter toggle effects. */
.filter-toggled .toggle-lines {
  background: none;
}

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

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

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

.filter-toggle:hover,
.filter-toggle:focus,
.filter-toggled:hover,
.filter-toggled:focus {
  border-color: white;
}

/* Portfolio article title. */
.portfolio-title {
  -webkit-transform: translateY(25px);
          transform: translateY(25px);
}

.portfolio-inner:hover .portfolio-title {
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

/* Category tags. */
.single-jetpack-portfolio .single-header a {
  margin-right: 1em;
  padding: 6px 10px;
  border-radius: 4px;
  text-decoration: none;
  color: white;
  background: #202020;
}

.single-jetpack-portfolio .single-header a:hover, .single-jetpack-portfolio .single-header a:focus {
  background: #cc0000;
}

@media screen and (min-width: 720px) {
  .portfolio-wrapper article {
    width: 50%;
    padding-bottom: 50%;
  }
}

@media screen and (min-width: 940px) {
  .portfolio-wrapper article {
    width: 33.3333333333%;
    padding-bottom: 33.3333333333%;
  }
}

/*--------------------------------------------------------------
## Front Page
--------------------------------------------------------------*/
.sidekick-area,
.testimonial-wrapper {
  background-attachment: fixed;
}

#primary.front-page {
  padding-top: 0;
}

/* Blog & Portfolio urls. */
.url-container {
  font-family: "Roboto Slab", serif;
  background: #161718;
}

.blog-url,
.portfolio-url {
  display: block;
  width: 100%;
  padding: 1.5em 0;
  font-size: 110%;
  text-align: center;
  text-decoration: none;
  background: #161718;
  background-clip: border-box;
}

.blog-url .container,
.portfolio-url .container {
  color: white;
}

.blog-url:hover, .blog-url:focus,
.portfolio-url:hover,
.portfolio-url:focus {
  background: #cc0000;
}

/* Overlay. */
.hero-overlay {
  background: rgba(0, 0, 0, 0.75);
}

.sidekick-overlay,
.testimonial-overlay {
  padding: 3em 0;
  background: rgba(255, 255, 255, 0.75);
}

.sidekick-overlay {
  color: white;
  background: rgba(0, 0, 0, 0.75);
}

/* Featured items. */
.featured-item {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  margin: 0;
}

.featured-inner .featured-title,
.featured-inner .featured-meta {
  color: white;
  text-align: center;
}

.featured-inner .container,
.featured-meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.featured-inner .container {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  height: 100%;
}

.featured-meta {
  display: none;
  margin-top: 1.5em;
}

.featured-meta .small-avatar img {
  max-width: 25px;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

.featured-meta .featured-author {
  margin-right: 0.3em;
}

/* Hover effects. */
.featured-header,
.featured-meta {
  -webkit-transform: translateY(25px);
          transform: translateY(25px);
}

.featured-inner:hover .featured-header,
.featured-inner:hover .featured-meta {
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

/* Featured title. */
.featured-title {
  margin: 0 0 0.25em 0;
  -webkit-transform: translateY(25px);
          transform: translateY(25px);
}

/* Inner link. */
.featured-inner {
  display: block;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  padding: 10% 0;
  position: absolute;
  text-decoration: none;
  background: transparent;
}

.featured-inner:hover, .featured-inner:focus, .featured-inner:active {
  opacity: 1;
  background: rgba(0, 0, 0, 0.75);
}

/* Testimonials. */
.testimonial-container .jetpack-testimonial {
  max-width: 75%;
  margin: 0 auto;
  text-align: center;
}

.testimonial-section-title {
  text-align: center;
  margin-bottom: 1.5em;
}

.testimonial-section-description {
  margin-bottom: 3em;
}

.testimonial-container .post-thumbnail {
  background: transparent;
}

.testimonial-container .post-thumbnail img {
  width: 100%;
  height: 100%;
  max-width: 150px;
  max-height: 150px;
  border-radius: 50%;
  margin: 0 auto;
}

/* Center text. */
.hero-area,
.sidekick-area,
.testimonial-section-title,
.testimonial-section-description {
  text-align: center;
}

/* Blockquotes on the frontpage. */
.hero-area blockquote,
.sidekick-area blockquote,
.testimonial-section-description blockquote {
  max-width: 80%;
  margin: 15px auto;
  padding: 20px 10px;
  border: 0;
  color: white;
  font-size: 24px;
  font-weight: bold;
  font-style: normal;
  font-family: "Roboto Slab", serif;
  background: transparent;
  line-height: 1.5;
  text-align: center;
  text-shadow: 0px 0px 5px #202020;
}

.hero-area blockquote cite,
.sidekick-area blockquote cite,
.testimonial-section-description blockquote cite {
  font-style: normal;
}

.hero-area br,
.sidekick-area br,
.testimonial-section-description br {
  display: none;
}

@media screen and (min-width: 720px) {
  .featured-item {
    padding-bottom: 50%;
  }
  .featured-title {
    font-size: 175%;
  }
  .featured-meta {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .testimonial-container .jetpack-testimonial {
    max-width: 60%;
  }
  .hero-area blockquote,
  .sidekick-area blockquote,
  .testimonial-section-description blockquote {
    max-width: 80%;
    font-size: 28px;
    margin: 30px auto;
    padding: 50px 25px;
    border: 2px solid white;
  }
  .hero-area blockquote cite,
  .sidekick-area blockquote cite,
  .testimonial-section-description blockquote cite {
    font-style: normal;
  }
}

@media screen and (min-width: 940px) {
  .featured-item {
    padding-bottom: 33.3333333333%;
  }
  .featured-title {
    font-size: 200%;
  }
  .testimonial-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
  .testimonial-container .jetpack-testimonial {
    max-width: 30%;
    margin: 0;
    width: 300px;
  }
  .hero-area blockquote,
  .sidekick-area blockquote,
  .testimonial-section-description blockquote {
    margin: 40px auto;
    padding: 80px 40px;
  }
  .hero-area blockquote cite,
  .sidekick-area blockquote cite,
  .testimonial-section-description blockquote cite {
    font-style: normal;
  }
}

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

.bypostauthor {
  display: block;
}

.comments-area {
  padding: 0;
  margin-bottom: 5em;
}

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

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

.bypostauthor {
  display: block;
}

.comment-list {
  margin: 0;
  padding: 0;
  padding-bottom: 40px;
  list-style: none;
  font-size: 16px;
  font-size: 1rem;
}

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

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

.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-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

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

/*--------------------------------------------------------------
## Author bio
--------------------------------------------------------------*/
.author-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 3em;
  padding: 24px 20px;
  font-size: 90%;
  color: white;
  background: #161718;
}

.author-heading {
  margin-top: 0;
}

.author-avatar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  min-width: 98px;
  max-width: 98px;
  margin-right: 1rem;
}

.author-title {
  margin: 0 0 0.25rem 0;
  font-size: 20.8px;
  font-size: 1.3rem;
}

.author-bio {
  margin: 0 0 1rem 0;
}

.author-description a {
  background: transparent;
  border: 2px solid;
  font-size: 16px;
  font-size: 1rem;
  line-height: 1;
  padding: .4em .8em .3em;
  border-color: white;
  color: white;
  text-decoration: none;
}

.author-description a:hover, .author-description a:active, .author-description a:focus {
  border-color: #cc0000;
}

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

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