/*!
Theme Name: La Panzanella
Theme URI: http://underscores.me/
Author: Jacob McFarland
Author URI: https://www.herocreative.com/
Description: Theme for La Panzanella
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: lapanzanella
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.

La Panzanella is based on Underscores https://underscores.me/, (C) 2012-2020 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 https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> 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;
}

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

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

/* 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
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
  color: #7F7F7F;
  font-family: brandon-grotesque, sans-serif;
  font-size: 20px;
  font-size: 1.25rem;
  line-height: 1.5;
}

p.p-small {
  font-size: 16px;
  font-size: 1rem;
}

.larger {
  font-size: 25px;
  font-size: 1.5625rem;
}

.color-red {
  color: #9e3223;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  clear: both;
  color: #9e3223;
}
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: inherit;
}

h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.5em;
}

h1 {
  font-size: 40px;
  font-size: 2.5rem;
  text-transform: uppercase;
  color: #525229;
  line-height: 1;
}
@media (min-width: 768px) {
  h1 {
    font-size: 60px;
    font-size: 3.75rem;
  }
}

h2 {
  font-size: 30px;
  font-size: 1.875rem;
}

h3 {
  font-size: 20px;
  font-size: 1.25rem;
}

h4 {
  font-size: 13px;
  font-size: 0.8125rem;
}

h5 {
  font-size: 13px;
  font-size: 0.8125rem;
}

.h-small {
  font-size: 20px;
  font-size: 1.25rem;
}

.h-grey {
  color: #7F7F7F;
}

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

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

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

ul,
ol {
  margin: 0 0 1.5em 0;
  padding-left: 1.4rem;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li {
  margin-bottom: 0.5rem;
}

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

dt {
  font-weight: 700;
}

dd {
  margin: 0 1.5em 1.5em;
}

.no-style {
  list-style: none;
  padding-left: 0;
}

/* 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
--------------------------------------------- */
.site-header:-webkit-direct-focus, .site-header:focus, .site-header {
  outline: none;
  outline-color: none;
  outline-style: none;
  outline-width: none;
}

a {
  color: #525229;
  text-decoration: none;
}
a:visited {
  color: #000;
}
a:hover, a:focus, a:active {
  color: #b94535;
}
a:focus {
  outline: thin dotted;
  outline-width: 2px;
  outline-color: #000;
}
a:focus:not(:focus-visible) {
  /* Remove the focus indicator on mouse-focus for browsers
     that do support :focus-visible */
  outline: none;
}
a:focus-visible {
  /* Draw a very noticeable focus style for
     keyboard-focus on browsers that do support
     :focus-visible */
  outline: thin dotted;
  outline-width: 2px;
  outline-color: #000;
}
a:hover, a:active {
  outline: 0;
}

/* Forms
--------------------------------------------- */
.btn, button,
input[type=button],
input[type=reset],
input[type=submit] {
  border: none;
  line-height: 1;
  padding: 1em 1em 0.8em;
  display: inline-block;
  text-transform: uppercase;
  font-size: 12px;
  font-size: 0.75rem;
  margin-bottom: 1rem;
  color: #7F7F7F;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.5s;
}
.btn.btn-main, button.btn-main,
input[type=button].btn-main,
input[type=reset].btn-main,
input[type=submit].btn-main {
  background-color: #9e3223;
  color: #fff;
}
.btn.btn-main:hover, button.btn-main:hover,
input[type=button].btn-main:hover,
input[type=reset].btn-main:hover,
input[type=submit].btn-main:hover {
  background-color: #bb3b29;
}
.btn.btn-secondary, button.btn-secondary,
input[type=button].btn-secondary,
input[type=reset].btn-secondary,
input[type=submit].btn-secondary {
  background-color: #525229;
  color: #fff;
}
.btn.btn-secondary:hover, button.btn-secondary:hover,
input[type=button].btn-secondary:hover,
input[type=reset].btn-secondary:hover,
input[type=submit].btn-secondary:hover {
  background-color: #6a6a35;
}
.btn.btn-outline, button.btn-outline,
input[type=button].btn-outline,
input[type=reset].btn-outline,
input[type=submit].btn-outline {
  border: 1px solid;
  border-color: #9e3223;
  color: #9e3223;
}
.btn.btn-white, button.btn-white,
input[type=button].btn-white,
input[type=reset].btn-white,
input[type=submit].btn-white {
  background-color: #fff;
  color: #9e3223;
}
.btn.disabled, button.disabled,
input[type=button].disabled,
input[type=reset].disabled,
input[type=submit].disabled {
  cursor: none;
}

body .gform_legacy_markup_wrapper .gform_footer input.button, body .gform_legacy_markup_wrapper .gform_footer input[type=submit], body .gform_legacy_markup_wrapper .gform_page_footer input.button, body .gform_legacy_markup_wrapper .gform_page_footer input[type=submit] {
  font-size: 12px;
  font-size: 0.75rem;
  width: auto;
  margin: inherit;
}
@media only screen and (min-width: 641px) {
  body .gform_legacy_markup_wrapper .gform_footer input.button, body .gform_legacy_markup_wrapper .gform_footer input[type=submit], body .gform_legacy_markup_wrapper .gform_page_footer input.button, body .gform_legacy_markup_wrapper .gform_page_footer input[type=submit] {
    font-size: 12px;
    font-size: 0.75rem;
    width: auto;
    margin: inherit;
  }
}

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: #7F7F7F;
  border: 1px solid #9e3223;
  background-color: #fff;
  padding: 3px;
  font-size: 16px;
  font-size: 1rem;
}
select {
  border: 1px solid #525229;
  background: #525229;
  color: #fff;
  font-size: 16px;
  padding: 0.4rem 0.5rem;
}

textarea {
  width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background-color: #9e3223;
  margin-top: 40px;
  transition: all 700ms ease;
  padding-top: 0;
  height: 40px;
}
.site-header .site-header-wrap {
  transition: all 700ms ease;
  z-index: 100;
}
.site-header .row {
  display: flex;
  align-items: center;
  margin: 0;
  transition: all 700ms ease;
  position: relative;
}
.site-header .row > * {
  position: relative;
}
.site-header:before, .site-header:after {
  content: "";
  height: 40px;
  width: 100%;
  position: absolute;
  background-position: bottom left;
  background-repeat: repeat-x;
  background-size: 2500px 40px;
  left: 0;
  z-index: 0;
  transition: all 700ms ease;
  visibility: 1;
}
.site-header:before {
  top: -10px;
  background-image: url(/wp-content/themes/lapanzanella/assets/nav_texture_top_1.svg);
}
.site-header:after {
  bottom: -10px;
  background-image: url(/wp-content/themes/lapanzanella/assets/nav_texture_bottom_1.svg);
}
.site-header .site-branding {
  width: 100%;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 22px;
  left: 0;
  transition: all 700ms ease;
  transition-delay: 1s;
}
.site-header .site-branding img {
  width: 165px;
  -webkit-transition: all 0.35s ease;
  -moz-transition: all 0.35s ease;
  -o-transition: all 0.35s ease;
  transition: all 0.35s ease;
  transition-delay: 1s;
}
.site-header .site-branding .custom-logo-link {
  display: inline-block;
  line-height: 0;
  position: absolute;
  z-index: 50;
}
.site-header #menu-toggle {
  margin-bottom: 0;
  margin-left: auto;
  z-index: 10;
  background: transparent;
  cursor: pointer;
  padding: 0.3em;
  top: 3px;
}
.site-header #menu-toggle .bar-1, .site-header #menu-toggle .bar-2, .site-header #menu-toggle .bar-3 {
  width: 20px;
  height: 1px;
  background-color: #fff;
  margin: 6px 0;
  transition: 0.4s;
}
.site-header .nav-overlay {
  visibility: hidden;
  width: 100%;
  height: 1px;
  padding-top: 0px;
  text-align: center;
  opacity: 0;
  transition: all 700ms ease;
  z-index: 10;
}
.site-header .nav-right .search-toggle {
  display: none;
}
.site-header .trp-language-switcher.trp-language-switcher-container {
  position: absolute;
  top: -35px;
  left: -10px;
}
.site-header .trp-language-switcher.trp-language-switcher-container a {
  color: #fff;
  text-decoration: none;
}
.site-header .search-form-container {
  margin-bottom: 2rem;
}
.site-header .search-form-container .search-form label {
  position: relative;
}
.site-header .search-form-container .search-form .search-icon {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0.5rem;
  width: 1rem;
  height: 1rem;
  margin: auto auto auto 0;
  fill: #9e3223;
}
.site-header .search-form-container .search-form .search-field {
  padding-left: 2rem;
}
.site-header input.search-field {
  border-radius: 60px;
}
@media (min-width: 1050px) {
  .site-header .row {
    height: 40px;
  }
  .site-header button#menu-toggle {
    display: none;
  }
  .site-header .nav-overlay {
    position: relative;
    visibility: visible;
    width: 100%;
    padding-top: 0;
    opacity: 1;
    display: flex;
    justify-content: space-between;
    background: transparent;
    z-index: 5;
    height: auto;
  }
  .site-header .nav-overlay .nav-left, .site-header .nav-overlay .nav-right {
    z-index: 10;
    position: relative;
    display: flex;
    align-items: center;
  }
  .site-header .nav-overlay .nav-left {
    order: 1;
  }
  .site-header .nav-overlay .nav-right {
    order: 2;
    font-weight: bold;
    font-size: 14px;
    font-size: 0.875rem;
  }
  .site-header .nav-overlay .nav-right > * {
    margin-left: 1.5rem;
  }
  .site-header .nav-overlay .nav-right .btn-white {
    background: #9e3223;
    color: #fff;
    order: 1;
    margin-bottom: 0;
    font-size: 14px;
    font-size: 0.875rem;
    padding: 0;
    line-height: 1.5;
  }
  .site-header .nav-overlay .nav-right .trp-language-switcher.trp-language-switcher-container {
    order: 2;
    position: relative;
    top: auto;
    left: auto;
    cursor: pointer;
  }
  .site-header .nav-overlay .nav-right .trp-language-switcher.trp-language-switcher-container > div {
    background-position: calc(100% - 10px) calc(1em + -6px), calc(100% - 5px) calc(1em + -6px);
  }
  .site-header .nav-overlay .nav-right .trp-language-switcher.trp-language-switcher-container .trp-ls-shortcode-current-language {
    padding-left: 0;
    padding-top: 0;
    padding-bottom: 0;
  }
  .site-header .nav-overlay .nav-right .trp-language-switcher.trp-language-switcher-container .trp-ls-shortcode-current-language a {
    padding: 0;
  }
  .site-header .nav-overlay .nav-right .trp-language-switcher .trp-ls-shortcode-language.trp-ls-clicked, .site-header .nav-overlay .nav-right .trp-language-switcher:hover .trp-ls-shortcode-language.trp-ls-clicked {
    top: -4px;
  }
  .site-header .nav-overlay .nav-right .search-toggle {
    display: inline-block;
    order: 3;
    margin-bottom: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
  }
  .site-header .nav-overlay .nav-right .search-toggle .search-icon {
    fill: #fff;
    width: 16px;
    height: 16px;
  }
  .site-header .nav-overlay .nav-right .search-form-container {
    display: none;
    width: 300px;
    padding: 0.5rem;
    position: absolute;
    top: 35px;
    right: -5px;
    background-image: url(/wp-content/themes/lapanzanella/assets/LaPanz_searchbar.svg);
    background-size: 100%;
    background-position: bottom center;
    margin-bottom: 0;
  }
  .site-header .nav-overlay .nav-right .search-form-container input.search-field {
    width: 100%;
  }
}

.open {
  overflow: hidden;
}
.open .site-header {
  height: 100%;
  margin: 0;
}
.open .site-header .site-header-wrap {
  padding-top: 40px;
  margin-bottom: 140px;
  height: 100%;
}
.open .site-header .container {
  height: 100%;
}
.open:before, .open:after {
  visibility: 0;
}
.open .nav-overlay {
  visibility: visible;
  opacity: 1;
  padding-top: 60px;
  padding-bottom: 20px;
  height: 100%;
}
.open #menu-toggle .bar-1 {
  -webkit-transform: rotate(-45deg) translate(-9px, 6px);
  transform: rotate(-45deg) translate(-4px, 4px);
}
.open #menu-toggle .bar-2 {
  opacity: 0;
}
.open #menu-toggle .bar-3 {
  -webkit-transform: rotate(45deg) translate(-8px, -8px);
  transform: rotate(45deg) translate(-6px, -6px);
}
@media (min-width: 400px) {
  .open .site-branding img {
    width: 180px;
  }
}

.trp-ls-shortcode-language.trp-ls-clicked {
  background: #9e3223;
}

.trp-language-switcher > div {
  box-sizing: border-box;
  padding: 3px 20px 3px 5px;
  border: none;
  /* border-radius: 3px; */
  background-image: linear-gradient(45deg, transparent 50%, white 50%), linear-gradient(135deg, white 50%, transparent 50%);
  background-position: calc(100% - 8px) calc(1em + 0px), calc(100% - 3px) calc(1em + 0px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  background-color: transparent;
}

.main-navigation {
  display: block;
  width: 100%;
}
.main-navigation ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.main-navigation ul ul {
  -webkit-transition: max-height 1s;
  -moz-transition: max-height 1s;
  -ms-transition: max-height 1s;
  -o-transition: max-height 1s;
  transition: max-height 1s;
  max-height: 0;
  text-align: center;
  z-index: -200;
  overflow: hidden;
}
.main-navigation ul ul a {
  font-size: 13px;
  font-size: 0.8125rem;
}
.main-navigation ul ul ul {
  left: -999em;
  top: 0;
}
.main-navigation ul ul li {
  margin: 0;
  padding: 0.5rem 0;
  transition: opacity 1.5s;
  opacity: 0;
}
.main-navigation ul ul li:hover > ul, .main-navigation ul ul li.focus > ul {
  display: block;
  left: auto;
}
.main-navigation ul ul a {
  font-weight: 400;
}
.main-navigation ul li.menu-item-has-children:hover .sub-menu,
.main-navigation ul li.menu-item-has-children[aria-expanded=true] .sub-menu {
  max-height: 300px;
  overflow: visible;
}
.main-navigation ul li.menu-item-has-children:hover .sub-menu li,
.main-navigation ul li.menu-item-has-children[aria-expanded=true] .sub-menu li {
  opacity: 1;
}
.main-navigation li {
  position: relative;
  margin: 1.25rem 0;
}
.main-navigation a {
  display: block;
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
  font-weight: bold;
}
@media (min-width: 1050px) {
  .main-navigation > ul {
    display: flex;
  }
  .main-navigation > ul li {
    margin: 0 1.5rem 0 0;
  }
  .main-navigation > ul li a {
    font-size: 14px;
    font-size: 0.875rem;
    padding: 0.5rem 0;
  }
  .main-navigation ul ul {
    position: absolute;
    top: 20px;
    top: 30px;
    left: -30px;
    flex-direction: column;
    text-align: left;
    width: auto;
    flex-wrap: nowrap;
    background-image: url(/wp-content/themes/lapanzanella/assets/LaPanz_menu_1.svg);
    background-size: 100%;
    background-position: bottom center;
  }
  .main-navigation ul ul li {
    padding: 5px 30px;
  }
  .main-navigation ul ul li:first-child {
    padding-top: 15px;
  }
  .main-navigation ul ul li:last-child {
    padding-bottom: 15px;
  }
  .main-navigation ul ul li a {
    font-size: 14px;
    font-size: 0.875rem;
    white-space: nowrap;
    padding: 0;
  }
}

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

@media screen and (min-width: 1050px) {
  .menu-toggle {
    display: none;
  }
}
.switcher {
  position: relative;
  display: inline-block;
  vertical-align: top;
  margin-right: 4.5em;
}
.switcher__desc {
  padding-left: 1em;
  min-height: 4em;
}
.switcher__content {
  position: absolute;
  display: block;
  margin: 0;
  padding: 0 1.3em;
  background: #9e3223;
  max-width: 10em;
  left: -18px;
}
.switcher__content li {
  padding: 5px 0;
  margin: 0;
  list-style-type: none;
  white-space: nowrap;
}
.switcher__content li:first-child {
  padding-top: 15px;
}
.switcher__content li a {
  font-size: 14px;
  font-size: 0.875rem;
  text-transform: uppercase;
  font-weight: 400;
}

.exp_button {
  display: none;
  color: #fff;
  font-weight: bold;
  margin-bottom: 0;
  font-size: 14px;
  font-size: 0.875rem;
  padding: 0;
  line-height: 1.5;
  background: transparent;
}
.exp_button[aria-expanded=true] svg {
  transform: rotate(180deg);
}
.exp_button[aria-expanded=false] + ul {
  display: block;
}

.exp_button {
  display: block;
}
.exp_button[aria-expanded=false] + ul {
  display: none;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 540px) {
  .container {
    max-width: 470px;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}
@media (min-width: 1050px) {
  .container {
    max-width: 1010px;
  }
}

.row {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -20px;
  margin-left: -20px;
}
.row.row-inner {
  width: 100%;
  margin: 0;
}
.row.prd {
  padding-top: 2rem;
}
.row.prd.prd-first {
  padding-top: 0;
}
@media (min-width: 768px) {
  .row.prd {
    padding-top: 4rem;
  }
}

.col-full, .col-half, .col-third, .col-two-third, .col-quarter, .col-three-quarter {
  position: relative;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
}

@media (min-width: 768px) {
  .col-quarter {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
  }

  .col-half {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  .col-third {
    -ms-flex: 0 0 33.33%;
    flex: 0 0 33.33%;
    max-width: 33.33%;
  }

  .col-two-third {
    -ms-flex: 0 0 66.67%;
    flex: 0 0 66.67%;
    max-width: 66.67%;
  }

  .col-three-quarter {
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%;
  }
}
main {
  display: block;
  margin-top: -40px;
  overflow: auto;
  position: relative;
  background-position: top center;
  background-image: url(/wp-content/themes/lapanzanella/assets/test-bg-8.jpg);
  background-size: contain;
  background-repeat: repeat;
}
main .site-main-inner {
  padding-top: 130px;
  padding-bottom: 60px;
  background-image: url(/wp-content/themes/lapanzanella/assets/villa-img.png);
  background-position: center 130px;
  background-repeat: no-repeat;
  background-size: 100%;
}
@media (min-width: 1050px) {
  main .site-main-inner {
    background-size: 1200px;
    padding-bottom: 100px;
    background-position: center 100px;
  }
}

.site-footer {
  background: #9e3223;
  color: #fff;
  position: relative;
  padding-top: 1.875rem;
  padding-bottom: 1rem;
  font-size: 16px;
  font-size: 1rem;
  z-index: 0;
}
.site-footer:before {
  top: -10px;
  background-image: url(/wp-content/themes/lapanzanella/assets/nav_texture_top_1.svg);
  content: "";
  height: 40px;
  width: 100%;
  position: absolute;
  background-position: bottom left;
  background-repeat: repeat-x;
  background-size: 2500px 40px;
  left: 0;
  z-index: -1;
}
.site-footer a {
  color: #fff;
}
.site-footer .row > div {
  align-self: center;
}
.site-footer .footer-social, .site-footer .footer-menu, .site-footer .legal, .site-footer .footer-logo {
  text-align: center;
}
.site-footer .soc-icon {
  display: inline-block;
  margin-left: 0.75rem;
  margin-right: 0.75rem;
  height: 20px;
}
.site-footer .soc-icon img {
  height: 100%;
}
.site-footer .footer-logo img {
  max-width: 218px;
  width: 100%;
}
.site-footer .footer-logo {
  margin-bottom: 1.5rem;
}
.site-footer .footer-menu {
  margin-bottom: 0.5rem;
}
@media (min-width: 768px) {
  .site-footer .footer-social {
    order: 2;
  }
  .site-footer .footer-legal {
    order: 1;
  }
  .site-footer .footer-social, .site-footer .footer-menu {
    text-align: right;
  }
  .site-footer .legal, .site-footer .footer-logo {
    text-align: left;
  }
  .site-footer .soc-icon {
    margin-left: 1.5rem;
    margin-right: 0;
  }
  .site-footer .footer-menu, .site-footer .footer-logo {
    margin-bottom: 2rem;
  }
}

.footer-navigation ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.footer-navigation ul li {
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.footer-navigation ul a {
  text-transform: uppercase;
}
@media (min-width: 768px) {
  .footer-navigation ul {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
  }
  .footer-navigation ul li {
    margin-left: 1.5rem;
    margin-top: 0rem;
    margin-bottom: 0rem;
  }
}

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

/* Posts and pages
--------------------------------------------- */
/* Components */
body.stop-transitions * {
  transition: none !important;
}

.sticky {
  display: block;
}

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

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

.search article {
  margin-bottom: 2rem;
}
.search article h2 {
  margin-bottom: 0;
}

.blog article, .archive article {
  margin-bottom: 2rem;
}
.blog .post-image, .archive .post-image {
  align-self: center;
}
.blog .post-content .entry-meta.sub-title, .archive .post-content .entry-meta.sub-title {
  margin-bottom: 1rem;
}

.single-post .post-thumbnail {
  margin-bottom: 1rem;
}

.page-title {
  padding: 20px 0;
  text-align: center;
}
.page-title .entry-image {
  padding-top: 20px;
  margin-bottom: 20px;
}
.page-title.with-sub h1 {
  margin-bottom: 0;
}
.page-title .sub-title {
  color: #525229;
  font-size: 25px;
  font-size: 1.5625rem;
  font-weight: bold;
  margin-top: 0;
}
.page-title span.sub-title {
  display: block;
}
@media (min-width: 768px) {
  .page-title {
    padding: 40px 0;
  }
  .page-title .sub-title {
    font-size: 30px;
    font-size: 1.875rem;
  }
  .page-title .entry-image {
    padding-top: 0;
    margin-bottom: 40px;
  }
}

.listing-grid {
  padding-top: 2rem;
  text-align: center;
}
.listing-grid .grid-title h2 {
  font-size: 40px;
  font-size: 2.5rem;
  text-transform: uppercase;
}
.listing-grid .grid-item {
  padding-top: 2rem;
}
.listing-grid .grid-item p {
  margin-top: 0;
  font-size: 16px;
  font-size: 1rem;
}
.listing-grid .grid-item a {
  color: inherit;
  display: block;
}
.listing-grid .grid-item h3 {
  margin-bottom: 0;
}
.listing-grid .grid-link {
  margin-top: 2rem;
}
.listing-grid.recipes h2, .listing-grid.recipes h3 {
  color: #525229;
}
.listing-grid.products h2, .listing-grid.products h3 {
  color: #9e3223;
}
.listing-grid.products .grid-item h2 {
  font-size: 20px;
  font-size: 1.25rem;
  margin-bottom: 0;
}
.listing-grid.featured {
  margin-top: 2rem;
}
@media (min-width: 768px) {
  .listing-grid.featured {
    margin-top: 4rem;
  }
}

.Accordion {
  margin: 0;
  padding: 0;
}

.Accordion h3 {
  margin-top: 0;
  padding: 0;
  position: relative;
}

.Accordion-trigger {
  background: none;
  color: #9e3223;
  display: flex;
  align-items: center;
  margin: 0;
  font-size: 20px;
  font-size: 1.25rem;
  font-weight: bold;
  padding: 0 0 0 1rem;
  position: relative;
  text-align: left;
  width: 100%;
  outline: none;
}

button {
  border-style: none;
}

.Accordion button::-moz-focus-inner {
  border: 0;
}

.Accordion-title {
  display: block;
  pointer-events: none;
  border: transparent 2px solid;
  border-radius: 5px;
  padding: 0.25em;
  outline: none;
  text-transform: capitalize;
}

.Accordion-trigger:focus .Accordion-title {
  border-color: #79adfb;
}

.Accordion-icon {
  border: solid #9e3223;
  border-width: 0 2px 2px 0;
  height: 0.5rem;
  pointer-events: none;
  position: absolute;
  z-index: 1;
  transform: translateY(-60%) rotate(45deg);
  left: 0;
  width: 0.5rem;
}

.Accordion-trigger:focus .Accordion-icon,
.Accordion-trigger:hover .Accordion-icon {
  border-color: #79adfb;
}

.Accordion-trigger[aria-expanded=true] .Accordion-icon {
  transform: translateY(-50%) rotate(-135deg);
}

.Accordion-panel {
  margin: 0;
  padding: 0 0rem 1rem 1rem;
}

/* For Edge bug https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/4806035/ */
.Accordion-panel[hidden] {
  display: none;
}

.image-overflow {
  margin: 4rem 0;
  align-items: center;
}
.image-overflow .overflow-content {
  padding-bottom: 2rem;
}
@media (min-width: 768px) {
  .image-overflow .overflow-content {
    order: 2;
    padding-bottom: 0;
  }
  .image-overflow .overflow-image {
    order: 1;
  }
  .image-overflow.img-right .overflow-image {
    order: 2;
  }
  .image-overflow.img-right .overflow-content {
    order: 1;
  }
}
@media (min-width: 1050px) {
  .image-overflow {
    margin: 5rem 0;
  }
  .image-overflow .overflow-content {
    margin-left: auto;
  }
  .image-overflow .overflow-image img {
    min-width: 420px;
    min-height: 420px;
    margin-left: -80px;
    position: relative;
  }
  .image-overflow.img-right .overflow-content {
    margin-left: 0;
  }
  .image-overflow.img-right .overflow-image img {
    margin-left: 40px;
  }
}

.recipe-archive,
.recipe-filter {
  padding-top: 2rem;
}

.recipe-filter .filters {
  display: flex;
  flex-wrap: wrap;
}
.recipe-filter .filters .facetwp-facet {
  margin-right: 1rem;
}

.recipe .col-full.attributon {
  font-size: smaller;
  font-style: italic;
  margin-top: 2rem;
}
.recipe .page-title {
  padding-bottom: 0;
}
.recipe .directions .col-half {
  padding-top: 2rem;
}
.recipe .description .col-full {
  padding-top: 2rem;
}
.recipe .recipe-top {
  color: #9e3223;
  font-weight: bold;
}
.recipe .recipe-top a {
  text-decoration: underline;
  color: #9e3223;
}
.recipe .recipe-top p,
.recipe .recipe-top .btn {
  margin-bottom: 0;
}
.recipe .recipe-top .col-half {
  align-self: center;
  padding-bottom: 1rem;
}
.recipe .recipe-actions {
  display: flex;
  align-items: center;
}
.recipe .recipe-actions div.simplesocialbuttons {
  margin: 0 1rem 0 0;
}
.recipe .recipe-actions .simplesocialbuttons.simplesocial-round-icon button:after {
  line-height: 36px;
  font-size: 20px;
  font-size: 1.25rem;
}
.recipe .recipe-actions .simplesocialbuttons.simplesocial-round-icon button {
  color: #9e3223;
  border-color: #9e3223;
  border: none;
  background: transparent;
  margin: 0;
}
.recipe ul li, .recipe ol li {
  margin-bottom: 1.5rem;
}

@media print {
  @page {
    size: portrait;
  }
  body.single-recipe {
    margin: 0;
    color: #000;
    background-color: #fff;
    font-size: 15px;
  }
  body.single-recipe main {
    background-image: none;
    margin-top: 0px;
    overflow: visable !important;
  }
  body.single-recipe h1 {
    font-size: 30px;
    margin-bottom: 15px !important;
  }
  body.single-recipe h2 {
    font-size: 20px;
  }
  body.single-recipe footer,
body.single-recipe .featured,
body.single-recipe #menu-toggle,
body.single-recipe .nav-overlay,
body.single-recipe .site-header:before,
body.single-recipe .site-header:after,
body.single-recipe .recipe-actions, body.single-recipe .geo-notifcation {
    display: none !important;
  }
  body.single-recipe header {
    position: relative;
    top: 0;
    margin-top: 0;
    background: transparent;
  }
  body.single-recipe header .site-branding {
    top: 0;
    position: relative;
  }
  body.single-recipe header .site-branding .custom-logo-link {
    z-index: 0;
    position: relative;
  }
  body.single-recipe .site-main-inner {
    padding: 50px;
    background-image: none;
  }
  body.single-recipe .container {
    max-width: 100%;
  }
  body.single-recipe .container .row {
    display: block;
  }
  body.single-recipe .container .row .col-half {
    max-width: 100%;
  }
  body.single-recipe li {
    margin-bottom: 0.2rem;
  }
  body.single-recipe .directions .col-half {
    padding-top: 0rem;
  }
  body.single-recipe .description .col-full {
    padding-top: 0rem;
  }
}
.pairing-guide .pairing-item {
  text-align: center;
}
.pairing-guide .pairing-item button {
  padding: 0;
  margin: 0;
}
.pairing-guide .pairing-category {
  padding-top: 3rem;
  border-bottom: 2px solid #9e3223;
  padding-bottom: 2rem;
}
.pairing-guide .pairing-category:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.pairing-guide .pairing-item {
  padding-top: 2rem;
  transition: all 0.875s;
}
.pairing-guide .pairing-item.disabled {
  opacity: 0.5;
}
.pairing-guide .pairing-content.show-pane {
  padding-top: 2rem;
}
@media (min-width: 768px) {
  .pairing-guide .pairing-row .pairing-content {
    order: 4;
  }
  .pairing-guide .pairing-row > div::nth-child(1) {
    order: 1;
  }
  .pairing-guide .pairing-row > div::nth-child(3) {
    order: 2;
  }
  .pairing-guide .pairing-row > div::nth-child(5) {
    order: 3;
  }
}

.pairings {
  text-align: center;
}
.pairings h3 {
  text-transform: uppercase;
}
.pairings .col-third {
  padding-bottom: 1.5rem;
}
.pairings ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pairings ul a {
  text-decoration: underline;
  color: inherit;
}

.hide-show .hide-show-title {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hide-show .sep-line {
  width: 100%;
  height: 2px;
  background: #9e3223;
}

.hide-show-trigger {
  background: none;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-transform: capitalize;
  margin-bottom: 0;
  position: relative;
  padding-left: 0.15em;
  margin: 0 0.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  line-height: 1;
  white-space: nowrap;
}
.hide-show-trigger .hide-show-icon {
  border: solid #9e3223;
  border-width: 0 3px 3px 0;
  height: 0.6rem;
  pointer-events: none;
  position: absolute;
  z-index: 1;
  transform: translateY(-60%) rotate(45deg);
  transition: all 0.875s;
  right: 0.3em;
  width: 0.6rem;
  top: 50%;
}
.hide-show-trigger.show .hide-show-icon {
  transform: translateY(-50%) rotate(-135deg);
}

.hidden-pane {
  max-height: 0;
  visibility: hidden;
  overflow: hidden;
  opacity: 0;
  transition: all 0.875s;
}
.hidden-pane.show-pane {
  max-height: 2000px;
  visibility: visible;
  opacity: 1;
  overflow: auto;
  transition: all 0.875s;
}

.nutrition-facts {
  font-size: 16px;
  font-size: 1rem;
}
.nutrition-facts .col-half {
  display: flex;
  flex-wrap: wrap;
}
.nutrition-facts .dv-col {
  width: 100%;
  text-align: right;
}
.nutrition-facts .dv-col.off-mobile {
  display: none;
}
.nutrition-facts .left-col {
  min-width: 75%;
}
.nutrition-facts .right-col {
  text-align: right;
  min-width: 25%;
}
@media (min-width: 768px) {
  .nutrition-facts .dv-col.off-mobile {
    display: block;
  }
}
.nutrition-facts .p-small {
  margin-top: 1em;
}

.product-line {
  margin-top: 4rem;
  background: rgba(255, 255, 255, 0.5);
}
.product-line .col-half {
  align-self: center;
  padding-top: 2rem;
}
.product-line .col-half.product-desc > * {
  margin-right: 2rem;
}
.product-line img {
  margin: 0 auto;
  display: block;
}
@media (min-width: 768px) {
  .col-half.product-desc {
    padding-left: 2rem;
  }
}
.quotes {
  padding: 4rem 0;
  text-align: center;
  font-weight: 800;
}
.quotes p {
  border-top: 4px solid #9e3223;
  padding-top: 0.8rem;
}

.open-positions .col-third {
  padding-bottom: 2rem;
}
.open-positions h3 {
  font-size: 25px;
  font-size: 1.5625rem;
}
.open-positions .job a {
  text-transform: uppercase;
  color: #9e3223;
}

.home .hero {
  padding-top: 10rem;
  padding-bottom: 2rem;
  text-align: center;
  background-position: center;
  background-size: cover;
  -webkit-mask-size: 102% 100%;
  mask-size: 102% 100%;
  mask-position: center;
  -webkit-mask-position: center;
}
.home .hero h1, .home .hero p {
  color: #fff;
  text-shadow: 1px 2px 9px #000000A8;
}
.home .hero h1 {
  margin: 0;
  line-height: 1.2;
}
.home .hero p {
  font-size: 25px;
  font-size: 1.5625rem;
}
.home .hero .hero-content {
  max-width: 100%;
}
.home .hero p, .home .hero .btn {
  margin-top: 1rem;
  margin-bottom: 0;
}
.home .hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}
@media (min-width: 768px) {
  .home .hero .container {
    height: 70vh;
    min-height: 600px;
  }
  .home .hero .hero-content {
    max-width: 55%;
  }
}

.home .image-overflow {
  margin: 2rem 0;
}
.home .image-overflow:first-child {
  margin-top: 5rem;
}
.home .image-overflow:last-child {
  margin-bottom: 0;
}
.home .image-overflow h2 {
  font-size: 40px;
  font-size: 2.5rem;
  line-height: 1.2;
}
.home .site-main-inner {
  background: none;
  padding-top: 0;
}
.home .featured-wrapper {
  background-image: url(/wp-content/themes/lapanzanella/assets/villa-img.png);
  background-size: 100%;
  background-position: center top;
  background-repeat: no-repeat;
  margin-top: 0;
  padding-top: 2rem;
}
@media (min-width: 768px) {
  .home .listing-grid.products {
    margin: 0 0 10rem;
  }
  .home .featured-wrapper {
    padding-top: 5rem;
  }
}
@media (min-width: 1050px) {
  .home .featured-wrapper {
    background-size: 1200px;
    padding-top: 15rem;
  }
}

div#geo-notifcation {
  display: none;
  padding: 2rem 0;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
  background: #fff;
  max-width: 400px;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2);
}

a.close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
}

/* Pages */
.single-product .descrition, .single-product .ingredients {
  align-items: center;
}
.single-product img.packaging-image {
  max-height: 300px;
  margin: 0 auto;
  display: block;
}
.single-product .store-locator {
  text-align: center;
}
.single-product .store-locator form.find-store-form {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.single-product .store-locator form.find-store-form label {
  position: absolute;
  opacity: 0;
}
.single-product .store-locator form.find-store-form input {
  text-align: center;
  min-width: 150px;
}
.single-product .store-locator form.find-store-form .btn {
  margin-bottom: 0;
}
.single-product .store-locator form.find-store-form:after {
  height: 1px;
  width: 100%;
  background: #9e3223;
  position: absolute;
  content: "";
  z-index: -1;
  top: 50%;
}
.single-product .sizing {
  margin-bottom: 1rem;
  color: #9e3223;
}
.single-product .sizing * {
  margin-right: 1rem;
}
.single-product .sizing .btn {
  margin-bottom: 0;
}
.single-product .image-overflow .ingredient-label {
  display: flex;
}
.single-product .image-overflow .ingredient-label img {
  height: 40px;
  margin-right: 1rem;
}
.single-product .image-overflow .ingredient-label, .single-product .image-overflow .btn {
  margin: 2rem 0 0 0;
}
.single-product .flavors {
  display: flex;
  margin: 0 -10px;
  flex-wrap: wrap;
}
.single-product .flavors a {
  width: 100%;
  text-align: center;
  margin: 0 10px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.3s;
}
.single-product .flavors a:hover {
  box-shadow: 0 2px;
}
@media (min-width: 400px) {
  .single-product .flavors a {
    width: calc(50% - 20px);
  }
}
@media (min-width: 1050px) {
  .single-product .flavors a {
    width: calc(33.33% - 20px);
  }
}

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

.with-mask {
  width: 100%;
  -webkit-mask-image: url(/wp-content/themes/lapanzanella/assets/photo_mask_white.png);
  mask-image: url(/wp-content/themes/lapanzanella/assets/photo_mask_white.png);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

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