/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
 html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

button.header-info_close {
  display: inline;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  color: rgb(0, 0, 0);
  text-decoration: underline;
  cursor: pointer
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}
.hide {
  display: none !important
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
@font-face {
  font-family: 'Folio-Medium';
  src: url('/wp-content/themes/alexjreed/type/Folio-Medium.eot');
  src: url('/wp-content/themes/alexjreed/type/Folio-Medium.eot?#iefix') format('embedded-opentype'),
    url('/wp-content/themes/alexjreed/type/Folio-Medium.svg#Folio-Medium') format('svg'),
    url('/wp-content/themes/alexjreed/type/Folio-Medium.ttf') format('truetype'),
    url('/wp-content/themes/alexjreed/type/Folio-Medium.woff') format('woff'),
    url('/wp-content/themes/alexjreed/type/Folio-Medium.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}


body,
button,
input,
select,
optgroup,
textarea {
  color: #000;
  font-family: 'Folio-Medium', Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: .03rem
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
  font-weight: normal
}

h1 a {
  text-decoration: none
}

p {
	margin: 0;
  margin-bottom: 1em;
}

.med-type, .main-navigation ul li {
  font-size: 1.8rem;
  line-height: 1.3;
  word-spacing: -.1rem
}

.sm-type, .filters ul li {
  font-size: 1.8rem;
  line-height: 1.35
}

@media only screen and (max-width: 960px) {
  .sm-type, .filters ul li {
    font-size: 1.25rem
  }
  .med-type, .main-navigation ul li {
    font-size: 1.5rem;
  }

}

@media only screen and (max-width: 700px) {
  .sm-type, .filters ul li {
    font-size: 1.25rem
  }
  .med-type, .main-navigation ul li {
    font-size: 1.25rem;
  }
}

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

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

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

big {
  font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
  background: #fff;
  cursor: pointer
}

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

dd {
  margin: 0 1.5em 1.5em;
}

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

img {
  height: auto;
  max-width: 100%;
}

figure {
  margin: 1em 0;
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

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

a:visited {
  color: #000;
}

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

a:focus {
  outline: thin dotted;
}

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

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1;
  padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  border-color: #ccc #bbb #aaa;
}

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

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

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

select {
  border: 1px solid #ccc;
}

textarea {
  width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

.stop-scrolling {
  height: 100%;
  overflow: hidden;
}

.AJR-callout {
  font-family: 'Folio-Medium', helvetica, arial;
  font-size: 10vw;
  line-height: 1;
  word-spacing: -.1rem;
  position: fixed;
  top: 0;
  z-index: 9999;
  width: 100vw;
  min-height: 100vh;
  height: 100%;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center
}

.AJR-callout span {
  display: block;
  text-align: center;
  width: 100%
}

.AJR-callout:not(.hide) ~ .menu_desc {
  visibility: hidden;
}
.AJR-callout:not(.hide) ~ #post-navigation .tag {
  visibility: hidden;
}

.site-header {
  position: fixed;
  width: 100%;
  margin-top: 0;
  display: flex;
  justify-content: space-between;
  top: 0;
  left: 0;
  z-index: 2;
  box-sizing: border-box;
  padding: 18px 100px;
  padding-bottom: 25px;
  background-image: linear-gradient(rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.site-header>* {
  flex: 1 1 0
}

.center {
  text-align:center;
}

body.single .site-header {
  /* one above single img */
  z-index: 10001;
  background-image: none
}
@media only screen and (max-width: 960px) {
  .site-header {
    padding: 18px 50px
  }
}
@media only screen and (max-width: 700px) {
  .site-header {
    padding: 18px 25px
  }
}

/* separated header nav lists */
.list-item {
  display: inline;
}
.cat-list, .tag-list, .project-list {
  display: inline;
}
.list-item .active {
  text-decoration: underline;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: auto;
  grid-column-gap: 6.5%;
  grid-row-gap: 65px;
  margin: 0 100px;
  padding-top: 120px;
  padding-bottom: 75px;
  cursor: none;
}
.col {
  grid-column-end: span 2;
  min-width: unset;
}
@media (max-width: 699.98px) {
  .grid {
    margin: 0 20px;
  }
  body.home:not([data-back]) .col:nth-child(3n),
  .offset {
    grid-column-start: 2;
  }
}

@media (min-width: 700px) and (max-width: 959.98px) {
  .grid {
    grid-template-columns: repeat(12, 1fr);
    margin: 0 50px
  }
  .col {
    grid-column-end: span 4;
  }
  body.home:not([data-back]) .col:nth-child(5n+4),
  .offset {
    grid-column-start: 3;
  }
}
@media (min-width: 960px) {
  .grid {
    grid-template-columns: repeat(16, 1fr);
  }
  .col {
    grid-column-end: span 4;
  }
  body.home:not([data-back]) .col:nth-child(7n+5),
  .offset {
    grid-column-start: 3;
  }
}


.col {
  display: flex;
  flex-direction: column;
  align-items: center
}

.grid > div img {
  max-width: 100%;
  max-height: 100%;
  position: relative;
  object-fit: contain
}

figure.thumbs {
  margin: 0;
  padding: 0;
  cursor: pointer;
  display: flex;
  justify-content: center;
  max-height: 250px
}

figure {
  margin: 0;
  padding: 0;
  cursor: pointer;
  display: flex;
  justify-content: center
}

h1.hovered + .bio {
  opacity: 1;
}

figcaption.full, .bio {
  width: 100%;
  position: fixed;
  left: 0;
  top: 0;
  display: none;
  pointer-events: none;
  box-sizing: border-box;
  padding: 18px 100px;
  /* background: #fff; */
  background-image: linear-gradient(rgba(255, 255, 255, 1) 54px, rgba(255, 255, 255, 0));
  display: block;
  z-index: 3;
  opacity: 0;
  transition: opacity 400ms ease;
}

@media (max-width: 699.98px) {
  .bio {
    padding: 18px 20px;

  }
}

@media (min-width: 700px) and (max-width: 959.98px) {
  .bio {
    padding: 18px 50px;
  }
}

figure.hovered figcaption.full {
  opacity: 1;
}
figcaption.full:before {
  content: 'Alex J. Reed,';
  padding-right: .3rem
}
@media only screen and (max-width: 960px) {
  figcaption.full {
    padding: 18px 50px 25px;
  }
}
@media only screen and (max-width: 700px) {
  figcaption.full {
    padding: 18px 25px 25px;
  }
}
/* hide background when menus are open */
.has-open-menu figcaption.full {
  display: none !important;
}
.has-open-menu .thumbs img {
  z-index: 1 !important;
}

.col .tag {
  margin-bottom: .5rem;
  text-align: center
}

.tag a {
  text-decoration: none;
  text-transform: capitalize
}

.tags-links {
  display: inline;
}

.tags-links:before {
  content: 'Tags:';
  white-space: pre;
}

.single-post_cont {
  width: 100%;
  height: 100vh
}

.single-post_cont figure {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  height: 100%;
}

.single-post_cont .wp-block-image {
	flex-direction: column;
    align-items: center;
	margin: 3rem 0;
}

.single-post_cont .wp-block-image img {
    max-width:50%
}
@media (max-width: 960px) {
        .single-post_cont .wp-block-image img {
            max-width:60%
        }
}
@media (max-width: 700px) {
        .single-post_cont .wp-block-image img {
            max-width:80%
        }
}

.single-post_cont .wp-block-image:first-child {
	margin-top: 0;
}
.single-post_cont .wp-block-image:last-child {
	margin-bottom: 0;
}

.single-post_cont .wp-block-image figcaption {
	font-size: 1.25rem;
	text-align: center;
	width: 100%;
    margin-bottom:0
}
@media (max-width: 960px) {
        .single-post_cont .wp-block-image figcaption {
           	font-size: 1rem;
        }
}
@media (max-width: 700px) {
        .single-post_cont .wp-block-image figcaption {
           	font-size: .875rem;
        }
}

body.single.has-content .site-header {
  background-image: linear-gradient(rgba(255, 255, 255, 1) 54px, rgba(255, 255, 255, 0));
}

.has-content #next-post-button,
.has-content #previous-post-button {
	flex: 0 0 200px;
}

.has-content .single-post_cont {
	cursor: auto;
	padding: 0 100px;
	overflow-y: auto;
}

.has-content .single-post_cont:after {
	content: "";
	background-image: linear-gradient(transparent, var(--background-color, #fff));
	width: 100%;
	height: 61px;
	position: fixed;
	bottom: 0;
	left: 0;
}

.single-post_cont .blocks {
	font-size: 1.75rem;
    line-height:1.25;
    letter-spacing.15rem;
	width: 100%;
	max-width: 1120px;
	justify-content: center;
	align-items: center;
	padding: 125px 0;
	margin: 0 auto;
	z-index: 2;
}

@media (max-width: 960px) {
    .has-content .single-post_cont {
		padding: 0 50px;
	}
    .single-post_cont .blocks {
		font-size: 1.5rem;
        padding: 100px 0;
	}
}

@media (max-width: 700px) {
	.has-content .single-post_cont {
		padding: 0 25px;
	}
	.has-content #next-post-button,
	.has-content #previous-post-button {
		flex: 0 0 100px;
	}
	.single-post_cont .blocks {
		font-size: 1.15rem;
        padding: 85px 0;
	}
}

.contain img {
  height: auto;
  width: auto;
  max-width: 80vw;
  height: 100vh;
  object-fit: contain;
}

.full img {
  position: relative;
  object-fit: cover;
  object-position: center top;
  width: 100%;
  height: 100%;
}

.single-post_desc {
  display: inline;
}

.single-post_title {
  margin: 0;
  padding: 0;
  display: inline
}
.single-post_title:after {
  content: ',';
}

.menu_desc {
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  height: 20px;
  line-height: 0;
  transform: translate(-25px, -25px);

  display: flex;
  justify-content: center;
  align-items: center;
  transform: translate(-50%, -50%);
}
/*
        main:hover .menu_desc{
            visibility:visible;
        }
*/

.hidden {
  visibility: hidden;
}

.show {
  visibility: visible;
}

/* Navigation
--------------------------------------------- */
.main-navigation {
  display: block;
}

.main-navigation ul {
  display: none;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.main-navigation ul li:after {
  content: ","
}

.menu-nav ul li:after {
  content: ","
}
.menu-nav ul li:first-child:before {
  content: ', ';
  margin-left: -0.2430555556em;
}

.main-navigation ul li:last-child::after {
  content: '';
}


.main-navigation ul li:last-child:after, .menu-nav ul li:last-child:after {
  content: "" !important;
}


.main-navigation li {
  position: relative;
}

.main-navigation a {
  text-decoration: none;
  padding-left: .25rem
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
  display: block;
}

@media screen and (min-width: 37.5em) {

  .menu-toggle {
    display: none;
  }

  .main-navigation ul {
    display: flex;
    justify-content: flex-end
  }
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
  display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  text-align: end;
  flex: 1 0 50%;
}

.menu-nav ul {
  list-style: none;
  margin: 0;
  padding: 0
}

.menu-nav ul li {
  display: inline-block
}

.menu-nav ul li a {
  text-decoration: none;
  text-transform: capitalize;
}


.menu-nav h1 {
  display: inline-block;
  margin: 0;
  white-space: nowrap;
}


.menu-nav h1>.full:before {
  content: 'Alex J. Reed,';
  padding-right: .3rem
}

h1>.full {
  width: 100%;
  /* height: 100%; */
  position: fixed;
  left: 0;
  top: 0;
  display: none;
  pointer-events: none;
  box-sizing: border-box;
  padding: 18px 100px;
  /* background: #fff; */
  background-image: linear-gradient(rgba(255, 255, 255, 1) 54px, rgba(255, 255, 255, 0));
  display: block;
  z-index: 3;
  opacity: 0;
  transition: opacity 400ms ease;
}

.header-info {
  padding: 0 0.2430555556em;
}

.filters {
  position: absolute;
  z-index: 2
}

.filters ul {
  padding: 0;
  margin-left: 50px;
  transform: translateY(-18px)
}

.filters ul li {
  display: inline-block
}

.filters ul li:after {
  content: ","
}

.filters ul li:last-child:after {
  content: "" !important;
}

.filters a {
  text-decoration: none;
  cursor: pointer
}
/* Posts and pages
--------------------------------------------- */
.sticky {
  display: block;
}

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

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

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

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

.bypostauthor {
  display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
  margin: 0 0 1.5em;
}

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

/* 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 logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}

/* 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 {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.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;
  clip-path: none;
  color: #000;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

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

/* Alignments
--------------------------------------------- */
.alignleft {

  /*rtl:ignore*/
  float: left;

  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {

  /*rtl:ignore*/
  float: right;

  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

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

/* Transition stuff - NOTE: disabled, enable in initSwup func first */
html, body, .site {
  height: 100%;
}
.site {
  display: grid;
}
.site > footer {
  margin-top: auto;
}
.site-main {
  min-height: 100%;
  position: relative;
  /* opacity: 1; */
  /* transform: none; */
  /* transition: 250ms; */
}
/* html.is-animating.next .site-main,
html.is-animating.previous.is-leaving .site-main {
	transform: translate3d(50px,0,0);
}
html.is-animating.previous .site-main,
html.is-animating.next.is-leaving .site-main {
	transform: translate3d(-50px,0,0);
}
html.is-animating .site-main {
  opacity: 0;
} */

/* "lightbox" background */
/* body .site:after {
	opacity: 0;
	pointer-events: none;
	transition: 125ms;
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--background-color);
	z-index: 9999;
}
body.single .site:after {
	opacity: 1;
	pointer-events: all;
} */

/* dev category active state */
a.tag.active {
  text-decoration: underline;
}
body.has-open-menu .col .tag {
  visibility: hidden;
}
body.has-open-menu #post-navigation {
  pointer-events: none;
}
body.has-open-menu .menu_desc {
  z-index: 7;
}

/* single post div */
#primary {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  pointer-events: none;
  z-index: 10000;
}

/* single post */
body.single {
  overflow: hidden;
}
body.single .filters,
body.single .menu_desc {
  display: none;
}
body.single .single-post_cont {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  pointer-events: all;
  background-color: var(--background-color);
}
body.single .single-post_cont figure {
  cursor: default;
  position: relative;
  z-index: 1;
}

/* prev / next / close buttons */
.single-post-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
}
.post-button {
  position: static;
  display: flex;
  align-items: center;
  height: 100%;
  /* width: 50%; */
  flex: 1 0 50%;
  font-size: 1.8rem;
  pointer-events: all;
  z-index: 1;
}
.post-button, .post-button:focus {
  outline: 0;
}
#previous-post-button {
  justify-content: flex-start;
  padding-left: 20px;
  height: 100%;
  margin-right: auto;
  cursor: none
}
#next-post-button {
  justify-content: flex-end;
  padding-right: 20px;
  margin-left: auto;
  cursor: none
}
.post-button .follow {
  visibility: hidden;
}
#page[style] .post-button:hover .follow {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: none;
  top: var(--top);
  left: var(--left);
  visibility: visible;
}
#page:not([style]) .post-button:hover .follow {
  top: 50%;
  transform: translate(0, -50%);
}
#close-post-button {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  pointer-events: all;
  padding: 15px;
  margin-left: 80px;
  text-decoration: none
}

/* header post count */
#post-count {
  text-decoration: none;
  cursor: default;
}

/* lightbox post count */
.post-count {
  position: absolute;
  padding: 18px 100px;
  bottom: 0;
  right: 0
}

@media (max-width: 960px) {
	#close-post-button {
		margin-left: 35px;
	}
	.post-count {
		padding: 18px 50px;
	}
}

@media (max-width: 700px) {
	#close-post-button {
		margin-left: 10px;
	}
	.post-count {
		padding: 18px 25px;
	}
}

/* mobile menu */
.mobile-filter-button,
.mobile-filter-lists {
  display: none;
}
@media (max-width: 700px) {
	.menu_desc {display: none;}
	.header-info {display: none;}
	.grid {cursor: auto;}

  .mobile-filter-button,
  .mobile-filter-lists {
    display: block;
  }

	.mobile-filter-lists:before {
		content: "";
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 67px;
		background-image: linear-gradient(rgb(255, 255, 255), rgba(255, 255, 255, 0));
	}

	.mobile-filter-button {
		cursor: pointer;
    font: inherit;
    background:none;
		border: 0;
    padding: 0;
		position: absolute;
    right: 25px;
    top: 18px;
		width: 78px;
		text-align: left;
    white-space: nowrap;
	}
	.mobile-filter-lists {
		display: none;
		background-color: #fff;
        width: 100%;
		height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        padding: 67px 25px 100px;
        z-index: -1;
		overflow-y: auto;
	}
	.mobile-filter-button.is-active + .mobile-filter-lists {
		display: block;
	}
	.mobile-filter-lists ul {
		margin-bottom: 18px;
	}
	.mobile-filter-lists ul:last-child {
		margin-bottom: 0;
	}
	.mobile-filter-lists ul li:first-child:before,
	.mobile-filter-lists ul li:after {
		content: none;
	}
	.mobile-filter-lists ul li {
		display: block;
	}
}

/* hover state fix */
    #post-navigation .post .tag {
        opacity: 1;
        /* transition: opacity 400ms ease; */
}

    .general {
        padding:18px 100px;
        display:flex;
        justify-content:space-between
    }
@media only screen and (max-width: 960px) {
    .general {
        padding:18px 50px;
    }

@media only screen and (max-width: 700px) {
    .general {
        padding:18px 25px;
    }
