/*!
Theme Name: earthsciences
Theme URI: http://underscores.me/
Author: Zachary Korol-Gold
Author URI: http://thisismy.website
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: es
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

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.

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

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
@font-face {
  font-family: "ES-SPORTS";
  src: url("./font/dodger3condital.ttf");
}
@font-face {
  font-family: "HK Grotesk";
  src: url("./font/HKGrotesk-Light.otf");
}
@font-face {
  font-family: "HK Grotesk";
  src: url("./font/HKGrotesk-LightItalic.otf");
  font-style: italic;
}
@font-face {
  font-family: "HK Grotesk";
  src: url("./font/HKGrotesk-Bold.otf");
  font-weight: bold;
}
@font-face {
  font-family: "HK Grotesk";
  src: url("./font/HKGrotesk-BoldItalic.otf");
  font-weight: bold;
  font-style: italic;
}
/*--------------------------------------------------------------
# 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,
optgroup,
textarea {
  color: #000;
  font-family: "HK Grotesk";
  font-size: 16px;
  font-size: 1rem;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  clear: both;
}

p {
  margin-bottom: 1.5em;
}

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

blockquote {
  border-left: 2px solid black;
  padding: 0 1em;
  margin: 0;
}
@media screen and (min-width: 31em) {
  blockquote {
    padding: 0 2em;
    margin: 0 2em;
  }
}

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

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

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

ul.wp-block-gallery {
  margin: 0;
}

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

figure {
  margin: 1em 0;
  /* Extra wide images within figure tags don't overflow the content area. */
}

article {
  background: transparent;
  display: block;
}

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

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: 1px solid;
  border-color: #888 #888 #888;
  border-radius: 3px;
  background: rgba(250, 250, 250, 0.15);
  color: rgba(0, 0, 0, 0.8);
  font-size: 12px;
  font-size: 0.75rem;
  line-height: 1;
  padding: .6em 1em .4em;
}
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  border-color: #aaa #aaa #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: #000 #000 #000;
  outline: none;
}

.search-form button,
.search-form input[type="button"],
.search-form input[type="reset"],
.search-form input[type="submit"] {
  flex-shrink: 0;
  padding: 0;
  display: block;
  height: 4em;
  width: 4em;
  border: none;
  border-radius: 0;
  color: transparent;
  background-color: transparent;
  background-image: url("img/src.svg");
  background-repeat: no-repeat;
  margin-bottom: 0.5em;
}
.search-form button:hover,
.search-form input[type="button"]:hover,
.search-form input[type="reset"]:hover,
.search-form input[type="submit"]:hover {
  background-image: url("img/wsrc.svg");
}

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: #444;
  border: 1px solid #999;
  border-radius: 3px;
  padding: 3px;
  background-color: transparent;
  outline: none;
}
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: #000;
  border-color: #000;
}

select {
  border: 1px solid #999;
}

textarea {
  width: 100%;
}

.search-form {
  padding-top: 8em;
  display: flex;
  flex-wrap: nowrap;
  max-width: 100%;
  width: 100%;
  padding-right: 1em;
  padding-left: 1em;
  justify-content: center;
}
.search-form label {
  max-width: 30em;
  flex-shrink: 2;
  flex-grow: 10;
  flex-basis: 15em;
  display: block;
  width: 2em;
  padding-right: 2em;
}
.search-form input[type="text"],
.search-form input[type="email"],
.search-form input[type="url"],
.search-form input[type="password"],
.search-form input[type="search"],
.search-form input[type="number"],
.search-form input[type="tel"],
.search-form input[type="range"],
.search-form input[type="date"],
.search-form input[type="month"],
.search-form input[type="week"],
.search-form input[type="time"],
.search-form input[type="datetime"],
.search-form input[type="datetime-local"],
.search-form input[type="color"],
.search-form textarea {
  -webkit-appearance: none;
  background-color: transparent;
  border-radius: 0;
  padding: 0;
  margin: 0;
  border: none;
  border-bottom: 4px solid black;
  color: black;
  font-size: 2em;
  width: 100%;
  flex-shrink: 0;
  margin-right: 1em;
  margin-bottom: 0.5em;
}
.search-form input[type="text"]::-webkit-input-placeholder,
.search-form input[type="email"]::-webkit-input-placeholder,
.search-form input[type="url"]::-webkit-input-placeholder,
.search-form input[type="password"]::-webkit-input-placeholder,
.search-form input[type="search"]::-webkit-input-placeholder,
.search-form input[type="number"]::-webkit-input-placeholder,
.search-form input[type="tel"]::-webkit-input-placeholder,
.search-form input[type="range"]::-webkit-input-placeholder,
.search-form input[type="date"]::-webkit-input-placeholder,
.search-form input[type="month"]::-webkit-input-placeholder,
.search-form input[type="week"]::-webkit-input-placeholder,
.search-form input[type="time"]::-webkit-input-placeholder,
.search-form input[type="datetime"]::-webkit-input-placeholder,
.search-form input[type="datetime-local"]::-webkit-input-placeholder,
.search-form input[type="color"]::-webkit-input-placeholder,
.search-form textarea::-webkit-input-placeholder {
  color: black;
}
.search-form input[type="text"]:-moz-placeholder,
.search-form input[type="email"]:-moz-placeholder,
.search-form input[type="url"]:-moz-placeholder,
.search-form input[type="password"]:-moz-placeholder,
.search-form input[type="search"]:-moz-placeholder,
.search-form input[type="number"]:-moz-placeholder,
.search-form input[type="tel"]:-moz-placeholder,
.search-form input[type="range"]:-moz-placeholder,
.search-form input[type="date"]:-moz-placeholder,
.search-form input[type="month"]:-moz-placeholder,
.search-form input[type="week"]:-moz-placeholder,
.search-form input[type="time"]:-moz-placeholder,
.search-form input[type="datetime"]:-moz-placeholder,
.search-form input[type="datetime-local"]:-moz-placeholder,
.search-form input[type="color"]:-moz-placeholder,
.search-form textarea:-moz-placeholder {
  color: black;
}
.search-form input[type="text"]::-moz-placeholder,
.search-form input[type="email"]::-moz-placeholder,
.search-form input[type="url"]::-moz-placeholder,
.search-form input[type="password"]::-moz-placeholder,
.search-form input[type="search"]::-moz-placeholder,
.search-form input[type="number"]::-moz-placeholder,
.search-form input[type="tel"]::-moz-placeholder,
.search-form input[type="range"]::-moz-placeholder,
.search-form input[type="date"]::-moz-placeholder,
.search-form input[type="month"]::-moz-placeholder,
.search-form input[type="week"]::-moz-placeholder,
.search-form input[type="time"]::-moz-placeholder,
.search-form input[type="datetime"]::-moz-placeholder,
.search-form input[type="datetime-local"]::-moz-placeholder,
.search-form input[type="color"]::-moz-placeholder,
.search-form textarea::-moz-placeholder {
  color: black;
}
.search-form input[type="text"]:-ms-input-placeholder,
.search-form input[type="email"]:-ms-input-placeholder,
.search-form input[type="url"]:-ms-input-placeholder,
.search-form input[type="password"]:-ms-input-placeholder,
.search-form input[type="search"]:-ms-input-placeholder,
.search-form input[type="number"]:-ms-input-placeholder,
.search-form input[type="tel"]:-ms-input-placeholder,
.search-form input[type="range"]:-ms-input-placeholder,
.search-form input[type="date"]:-ms-input-placeholder,
.search-form input[type="month"]:-ms-input-placeholder,
.search-form input[type="week"]:-ms-input-placeholder,
.search-form input[type="time"]:-ms-input-placeholder,
.search-form input[type="datetime"]:-ms-input-placeholder,
.search-form input[type="datetime-local"]:-ms-input-placeholder,
.search-form input[type="color"]:-ms-input-placeholder,
.search-form textarea:-ms-input-placeholder {
  color: black;
}
.search-form input[type="text"]:focus,
.search-form input[type="email"]:focus,
.search-form input[type="url"]:focus,
.search-form input[type="password"]:focus,
.search-form input[type="search"]:focus,
.search-form input[type="number"]:focus,
.search-form input[type="tel"]:focus,
.search-form input[type="range"]:focus,
.search-form input[type="date"]:focus,
.search-form input[type="month"]:focus,
.search-form input[type="week"]:focus,
.search-form input[type="time"]:focus,
.search-form input[type="datetime"]:focus,
.search-form input[type="datetime-local"]:focus,
.search-form input[type="color"]:focus,
.search-form textarea:focus {
  outline: none;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
  text-decoration: none;
  font-weight: bold;
  color: black;
}
a:visited {
  color: black;
}
a:hover, a:focus, a:active {
  color: black;
  text-decoration: line-through;
}
a:focus {
  outline: thin dotted;
}
a:hover, a:active {
  outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.site-header {
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  max-height: 5em;
  height: 16vw;
  width: 100%;
  overflow: visible;
}

.site-header-bg {
  position: fixed;
  top: 0;
  left: 0;
  max-height: 5em;
  height: 16vw;
  width: 100%;
  overflow: hidden;
  z-index: -1;
  background-color: red;
}
.site-header-bg .site-header-bg-img {
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  background-color: white;
  background-image: url(img/bg.jpg);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.site-branding {
  order: 2;
  width: 40em;
  margin-top: 0.6em;
  margin-right: 1em;
  margin-left: 1em;
  flex-grow: 0;
  flex-basis: 33em;
  z-index: 2;
}

.site-title {
  display: block;
  height: 3em;
  width: 100%;
  background-image: url("./img/es.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: opacity 2s;
}
.site-title:hover {
  opacity: 0.1;
}

.button-container {
  order: 1;
  height: 2.1em;
  width: 2.5em;
  top: 1em;
  margin-left: auto;
  margin-right: 2em;
  display: block;
  position: relative;
  cursor: pointer;
  z-index: 100;
  transition: opacity 0.3s;
}
.button-container:hover {
  opacity: 0.5;
}
.button-container span {
  display: block;
  background: black;
  height: 0.1em;
  width: 2.5em;
  position: absolute;
  transition: transform 0.3s;
  cursor: pointer;
}
.button-container .top {
  top: 0;
}
.button-container .middle {
  top: 1em;
}
.button-container .bottom {
  top: 2em;
}
.button-container.active .top {
  transform: translateY(1em) translateX(0) rotate(45deg);
  background: black;
}
.button-container.active .middle {
  opacity: 0;
  background: black;
}
.button-container.active .bottom {
  transform: translateY(-1em) translateX(0) rotate(-45deg);
  background: black;
}

.overlay {
  z-index: 50;
  background: white;
  height: 0%;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  position: fixed;
  font-size: 2em;
  transition: height 0.35s;
  display: flex;
  overflow: hidden;
}
.overlay.open {
  visibility: visible;
  height: 100%;
  opacity: 1.0;
  overflow: visible;
}
.overlay.open a {
  opacity: 1.0;
}
.overlay nav {
  position: relative;
}
.overlay ul {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 1em;
  margin-left: 1em;
}
.overlay ul li a {
  opacity: 0;
  text-decoration: none;
  font-family: "ES-SPORTS", Times-italic;
}

@media screen and (min-width: 70em) {
  .overlay-menu {
    display: flex;
    align-items: center;
    padding-left: 1em;
  }
  .overlay-menu li:last-child {
    padding-right: 0.75em;
  }

  .overlay-menu > div {
    width: 100%;
  }

  .overlay-menu li {
    flex-shrink: 0;
    padding-left: 0.5em;
  }
}
@media not screen and (min-width: 70em) {
  .overlay-menu {
    width: 100%;
  }
  .overlay-menu li a {
    width: 100%;
    display: block;
  }
  .overlay-menu li a span {
    transition: margin-left ease 0.2s;
  }
  .overlay-menu li a:hover span {
    margin-left: 1em;
  }

  .menu-item a.menu-image-hovered img.menu-image {
    opacity: 1 !important;
  }

  .menu-item a.menu-image-hovered img.hovered-image {
    opacity: 0 !important;
  }

  .menu-item a.menu-image-hovered img.hovered-image,
  .menu-item a.menu-image-hovered:hover img.menu-image {
    /*     transition: opacity 0.25s ease-in-out 0s; */
  }
}
@media screen and (min-width: 70em) {
  .button-container {
    display: none;
  }

  .overlay {
    position: relative;
    opacity: 1.0 !important;
    visibility: visible !important;
    overflow: visible !important;
    background: transparent;
    margin-left: auto;
    font-size: 1.4em;
    width: auto;
    height: auto;
    margin: 0;
    margin-right: 1em;
    flex-grow: 10;
  }
  .overlay ul {
    margin: 0;
    display: flex;
    flex-direction: row;
  }
  .overlay ul li:last-child {
    flex-shrink: 0;
  }
  .overlay ul li {
    display: block;
  }
  .overlay ul li a {
    opacity: 1.0;
  }
  .overlay ul li a:hover {
    color: white;
  }
  .overlay ul li.current-menu-item a {
    color: white !important;
  }
  .overlay #primary-menu {
    display: flex;
    justify-content: space-evenly;
  }

  .overlay-menu {
    margin: 0;
    width: 100%;
  }

  .site-header {
    align-items: stretch;
  }
}
/*--------------------------------------------------------------
# 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;
  word-wrap: normal !important;
  /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #000;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}

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

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

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

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

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
  margin: 0 0 1.5em;
  /* Make sure select elements fit in widgets. */
}
.widget select {
  max-width: 100%;
}

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

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

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

article {
  display: block;
  margin-bottom: 0.5em;
  max-width: 100%;
}
@media screen and (min-width: 31em) {
  article {
    margin-bottom: 1em;
  }
}
@media screen and (min-width: 31em) {
  article {
    margin-bottom: 2em;
  }
}

.search-post-link {
  text-decoration: none;
}

.search-post {
  display: block;
  height: 10em;
  width: 40em;
  max-width: 100%;
  position: relative;
}
@media screen and (min-width: 31em) {
  .search-post {
    width: 40em;
    max-width: 100%;
    height: 12em;
  }
}
@media screen and (min-width: 55em) {
  .search-post {
    height: 15em;
    width: 50em;
    max-width: 100%;
  }
}
.search-post h2 {
  margin: 0;
  line-height: 1.0em;
}
.search-post:hover h2 {
  text-decoration: line-through;
}

.search-post-text .search-post-container {
  padding-left: 0.5em;
}
@media screen and (min-width: 31em) {
  .search-post-text .search-post-container {
    padding: 1em;
  }
}

.search-post-container {
  padding: 0.25em;
  width: 100%;
  overflow: hidden;
  height: 100%;
}
@media screen and (min-width: 31em) {
  .search-post-container {
    padding: 1em;
  }
}

.search-post-text:before {
  display: block;
  content: "";
  width: 3em;
  height: 3em;
  position: absolute;
  bottom: 0;
  left: 0.2em;
  border-bottom: 1px solid black;
  border-left: 1px solid black;
}
.search-post-text:after {
  display: block;
  content: "";
  width: 3em;
  height: 3em;
  position: absolute;
  top: 0;
  right: 0.2em;
  border-top: 1px solid black;
  border-right: 1px solid black;
}

.search-post-text .search-post-container {
  color: black;
}

.search-post-image .search-post-container,
.search-post-split .search-post-container {
  color: white;
}

.search-post .search-post-container {
  position: absolute;
  display: flex;
  z-index: 2;
  justify-content: flex-end;
  flex-direction: column;
}
.search-post .search-post-container header.search-entry-header {
  display: flex;
  flex-direction: column;
  margin-top: 0.5em;
}
.search-post .search-post-thumbnail {
  position: absolute;
  display: block;
  height: 100%;
  width: 100%;
  display: flex;
}
.search-post .search-post-thumbnail img {
  align-self: center;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.search-post-excerpt {
  display: none;
}

.article-search .search-post-category {
  margin-left: 0.25em;
  margin-top: -0.25em;
}
@media screen and (min-width: 31em) {
  .article-search .search-post-category {
    margin-left: 1em;
    margin-top: 0.5em;
  }
}
.article-search .search-post-split .search-post-category,
.article-search .search-post-image .search-post-category {
  color: white;
}
.article-search .search-post-text .search-post-category {
  color: black;
}
.article-search .search-post-category {
  position: absolute;
  top: 0.1em;
  left: 0.1em;
  font-family: "ES-SPORTS";
  font-size: 1em;
}

.article-search.sticky .search-post-thumbnail::before {
  content: '';
  display: block;
  position: absolute;
  background-image: url("./img/eslogo-white-lg-left-sticky.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center right;
  top: -2em;
  bottom: -2em;
  right: 100%;
  width: 100em;
}
.article-search.sticky .search-post-thumbnail::after {
  content: '';
  display: block;
  position: absolute;
  background-image: url("./img/eslogo-white-lg-right-sticky.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center left;
  top: -2em;
  bottom: -2em;
  left: 100%;
  width: 100em;
}

body.archive .page-title {
  font-size: 3em;
  font-family: "ES-SPORTS";
  display: block;
  width: 100%;
}

.archive-description {
  font-size: 1.5em;
  display: block;
  width: 100%;
  margin-bottom: 2em;
}

body.category-writing .article-search header::after {
  display: none;
}

body.category-exhibition .article-search header::after {
  display: none;
}

body.page .entry-title {
  font-size: 3em;
  font-family: "ES-SPORTS";
}

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

.bypostauthor {
  display: block;
}

#fixed-background {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: gainsboro;
  background-image: url("img/bg.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.4;
  z-index: -100;
}

.site-content {
  padding-top: 4.5em;
}

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

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}

.wp-video {
  margin-left: auto;
  margin-right: auto;
}

/* Center videogif by default */
.videogif {
  width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.gallery-item {
  display: inline-block;
  text-align: center;
  vertical-align: top;
  width: 100%;
}
.gallery-columns-2 .gallery-item {
  max-width: 50%;
}
.gallery-columns-3 .gallery-item {
  max-width: 33.33%;
}
.gallery-columns-4 .gallery-item {
  max-width: 25%;
}
.gallery-columns-5 .gallery-item {
  max-width: 20%;
}
.gallery-columns-6 .gallery-item {
  max-width: 16.66%;
}
.gallery-columns-7 .gallery-item {
  max-width: 14.28%;
}
.gallery-columns-8 .gallery-item {
  max-width: 12.5%;
}
.gallery-columns-9 .gallery-item {
  max-width: 11.11%;
}

.gallery-caption {
  display: block;
}

/*--------------------------------------------------------------
# Layout
--------------------------------------------------------------*/
.site-main {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logodiv {
  opacity: 0.5;
  position: fixed;
  z-index: -1;
  display: flex;
  left: 5%;
  bottom: 1em;
  top: 4em;
  justify-content: center;
  align-items: center;
  perspective: 40em;
}

.logo {
  height: 90%;
  width: auto;
  -webkit-animation-name: spinner;
  -webkit-animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-duration: 15s;
  -webkit-transform-style: preserve-3d;
}

@-webkit-keyframes spinner {
  from {
    -webkit-transform: rotateY(0deg);
  }
  to {
    -webkit-transform: rotateY(-360deg);
  }
}
.content-fader {
  display: none;
}

#page {
  display: block;
  min-height: 100vh;
  width: 100%;
  margin-bottom: -4em;
}

#page {
  display: flex;
  flex-direction: column;
}

#content {
  flex: 1 0 auto;
}

.site-footer {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 1em;
  padding-left: 1em;
  padding-right: 1em;
  padding-top: 1em;
  text-align: center;
}

@media screen and (min-width: 55em) {
  .site-content {
    margin: 0em 2em 0em 2em;
  }
}

article:not(.article-search) {
  width: 100%;
  max-width: 54em;
  margin-top: 2em;
}
article:not(.article-search) p {
  font-size: 1.2em;
}
article:not(.article-search) .entry-meta {
  font-size: 1.2em;
}

.article-content {
  margin: 2em;
}
@media screen and (max-width: 31em) {
  .article-content {
    margin: 1em;
  }
}
.article-content img {
  width: 100%;
}

.instagram-content-area article {
  background: transparent;
  max-width: 80%;
}
@media screen and (max-width: 31em) {
  .instagram-content-area article {
    max-width: 100%;
  }
}
.instagram-content-area article .article-content {
  margin: 0;
  max-width: 100%;
  width: 100%;
  background: transparent;
}

.entry-header {
  margin-top: 2em;
}
