/*!
Theme Name: Geistlich
Theme URI: https://edaptive.media
Author: EDAPTIVE MEDIA
Author URI: https://edaptive.media
Description: Description
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: geistlich
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.

Geistlich 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
# Global Resize
# Header
# Archive Pages
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
	- Change Variation
# Utilities
	- Accessibility
	- Alignments

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

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

/* Imports
--------------------------------------------- */
@import "./css/custom-properties.css";

/* 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%;
	scroll-behavior: smooth;
}

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

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: grid;
	width: 100%;
}

main#primary .entry-content > * {
	padding-block: 3rem;
	padding-inline: var(--h-spacing);
	border-radius: 0 !important;
	margin-bottom: 0 !important;
}


/* 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: 50%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.75em;
}

/* 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: #404040;
	font-family: 'IBM Plex Sans', sans-serif, "Helvetica Neue", sans-serif;
	font-size: 1em;
	line-height: 1em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	margin-top:0;
	margin-bottom: 1rem;
	line-height: 1.1em;
}

h2 {
	font-size: 1.75em;
	line-height: 1.2em;
}

p {
	font-size: 1em;
	margin: 0;
	margin-bottom: 1rem;
	line-height: 1.2em;
}

p:last-child {
	margin: 0;
}

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

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
	font-style: normal;
}

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: var(--bg-grey-blue);
	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;
}

ul {
	list-style: none;
}

ol {
	list-style: decimal;
}

li {
	margin: 0;
}

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%;
	display: block;
}

figure {
	margin: 0;
}

figure.footnote figcaption {
	margin: 0 !important;
	padding: 0 !important;
	font-size: .65rem;
}

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

/* Links
--------------------------------------------- */
a {
	color: var(--blue);
}

a:visited {
	color: var(--lt-blue);
}

a:hover,
a:focus,
a:active {
	color: var(--dk-blue);
}

a:focus {
	outline: thin dotted;
}

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

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	font-size: .8rem;
	border-radius: .2em;
	padding: .6em;
	line-height: 1em;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: .5em;
	color: #fff;
	align-items: center;
	border: solid 1px var(--dk-blue);
	background-color: var(--dk-blue);
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	
}

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

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"] {
	color: var(--grey);
	border: 1px solid var(--dk-blue);
	display: block;
	border-radius: .125rem;
	padding: .25rem .5rem;
	width: 100%;
	box-sizing: border-box;
	font-size: 16px;
	line-height: 1.5rem;
	height: 2rem;
	-moz-appearance: none;
	-webkit-appearance: none;
	box-shadow: 0 .09rem .125rem rgba(0,0,0,.2);
	min-height: 2rem;
}


input[type="number"] {
	padding-right: .5em;
}


textarea {
	color: var(--grey);
	border: 1px solid var(--dk-blue);
	display: block;
	border-radius: .125rem;
	padding: .25rem .5rem;
	width: 100%;
	box-sizing: border-box;
	font-size: 16px;
	line-height: 1rem;
	min-height: 1rem;
	-moz-appearance: none;
	-webkit-appearance: none;
	box-shadow: 0 .09rem .125rem rgba(0,0,0,.2);
}

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 {
	-moz-appearance: none;
	-webkit-appearance: none;
	color: var(--grey);
	border: 1px solid var(--dk-blue);
	display: block;
	border-radius: .125rem;
	padding: .25rem .5rem;
	width: 100%;
	box-sizing: border-box;
	font-size: 16px;
	line-height: 1.5rem;
	height: 2rem;
	box-shadow: 0 .09rem .125rem rgba(0,0,0,.2);
	background-image: url(./img/select-arrow.svg);
	background-position: calc(100% - .25rem) center;
	background-repeat: no-repeat;
	background-size: 1.2rem;
	cursor: pointer;
}


textarea {
	width: 100%;
}

label {
	display: block;
}

div.wpforms-container-full .wpforms-confirmation-container-full, div[submit-success]>.wpforms-confirmation-container-full:not(.wpforms-redirection-message) {
	background: transparent !important;
	border: 1px solid var(--dk-blue) !important;
	color: #000 !important;
	padding: 1rem !important;
	border-radius: var(--container-radius) !important;
	margin-top: 1rem !important;
}

#wpforms-form-10800966 .wpforms-image-choices-image img {
	height: 3rem;
	width: 4rem;
	object-fit: contain;
	object-position: center;
}

#wpforms-form-10800966 input[type=radio] + label::before {
	content: unset !important;
}
#wpforms-form-10800966 .wpforms-image-choices-item label {
	width: 100%;
}

#wpforms-form-10800966 .wpforms-image-choices.wpforms-image-choices-modern {
	grid-template-columns: repeat( auto-fit, minmax(130px, 1fr) ) !important;
}

#wpforms-form-10800966 .wpforms-image-choices.wpforms-image-choices-modern .wpforms-image-choices-label {
	font-size: .75rem;
	margin-top: 0;
}
#wpforms-form-10800966 ul.wpforms-image-choices-modern .wpforms-image-choices-item label {
	border-color: var(--lt-grey);
	padding: .5rem;
}

#wpforms-form-10800966 .wpforms-field.wpforms-field-checkbox ul li {
	align-items: stretch;
}

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

/* Global Resize
--------------------------------------------- */

html {font-size: 20px;}
@media (max-width:1400px), (max-height:1200px) {
	html {font-size: 19px;}
}
@media (max-width:1200px), (max-height:1000px) {
	html {font-size: 18px;}
}
@media (max-width:960px), (max-height:800px) {
	html {font-size: 17px;}
}
@media (max-width:500px), (max-height:600px) {
	html {font-size: 16px;}
}

/* Site Header
--------------------------------------------- */


header#masthead {
	padding: 1.5em;
	border-bottom: solid 1px var(--bg-grey);
}


footer#colophon {
	padding-left: 1.5em;
	padding-right: 1.5em;
	padding-top: 3em;
	padding-bottom: 3em;
}

.social-icons {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 1rem;
}

.social-icons a {
	display: block;
}

.social-icons a img {
	height: 1.5rem;
	width: auto;
	display: block;
}

 .block-content-section, .block-downloads, .em-cart-wrapper  {
	 padding: 1.5em;
 }

#order_review.pay-order {
	 padding: 1.5em;
 }
 .less-padding {
	  padding-top: 3em;
	  padding-bottom: 3em;
 }
footer.entry-footer {
	 padding: 1.5em;
 }
.woocommerce-notices-wrapper {
	  padding: 0 1.5em;
  }



header#masthead, .block-content-section, .block-downloads, footer#colophon, footer.entry-footer, .woocommerce-notices-wrapper, #order_review.pay-order, .em-cart-wrapper {
	  padding-left: var(--h-spacing);
	  padding-right: var(--h-spacing);
  }


/* Site Footer */

footer#colophon {
	display: grid;
	gap: 3em 1.5em;
	grid-template-columns: 1fr 1fr;
	color: #fff;
	background: rgb(0,80,200);
	background: linear-gradient(45deg, rgba(0,80,200,1) 10%, rgba(0,155,250,1) 90%);
	background-image: url(./img/footer-wave.png),  linear-gradient(45deg, rgba(0,80,200,1) 10%, rgba(0,155,250,1) 90%);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	margin-top: auto;
	padding-top: 8rem;
}

footer#colophon .wpforms-field-label {
	margin-bottom: .5em;
}

footer#colophon h3, footer#colophon a {
	color: #fff;
	padding: 0;
	margin: 0;
	text-decoration: none;
	line-height: 1em;
}

footer#colophon a:hover {
	text-decoration: underline;
}

footer#colophon h3 {
	margin-bottom: .5em;
}

footer#colophon ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

footer#colophon .subscribe {
	grid-column: 1/-1;
	font-size: .85em;
}

footer#colophon .contact {
	grid-column: 1/-1;
	font-size: .85em;
}

footer#colophon .help {
	grid-column: 1;
	font-size: .85em;
}

footer#colophon .about {
	grid-column: 2;
	font-size: .85em;
}

footer#colophon .company {
	grid-column: 1/-1;
	font-size: .85em;
}

footer#colophon .brand {
	grid-column: 1/-1;
}

footer#colophon .brand svg {
	height: 1.5em;
	display: block;
}

footer#colophon .rule {
	height: 1px;
	background: #fff;
	grid-column: 1/-1;
	display: block;
}

footer#colophon .site-info {
	grid-column: 1/-1;
}




@media (min-width: 36em) {

footer#colophon .subscribe {
	grid-column: 1;
}

footer#colophon .contact {
	grid-column: 2;
}

footer#colophon .help {
	grid-column: 1;
}

footer#colophon .about {
	grid-column: 2;
}


footer#colophon .company {
	grid-column: 1;
}

footer#colophon .brand {
	grid-column: 2;
}

footer#colophon .rule {
	height: 1px;
	background: #fff;
	display: block;
	grid-column: 1/-1;
}

footer#colophon .site-info {
	grid-column: 1/-1;
}

}


@media (min-width: 50em) {
	footer#colophon {
		grid-template-columns: 1fr 1fr 1fr;
	}
	footer#colophon .subscribe {
		grid-column: 1;
	}
	
	footer#colophon .contact {
		grid-column: 3;
	}
	
	footer#colophon .help {
		grid-column: 1;
	}
	
	footer#colophon .company {
		grid-column: 3;
	}
	
	footer#colophon .brand {
		grid-column: 1;
	}
	
	footer#colophon .rule {
		height: 1px;
		background: #fff;
		display: block;
		grid-column: 1/-1;
	}
	
	footer#colophon .site-info {
		grid-column: 2/-1;
	}
	
}

.edit-link {
	
	padding: .25rem 0 0 0;
	border-radius: 0 0 0 .25em;
	position: fixed;
	top: 0;
	left: var(--h-spacing);
	font-size: .7rem;
	line-height: 1em;
	z-index: 100000;
	display: flex;
	gap: .5rem;
}

@media (min-height: 800px) {
	.has-announcement-bar:not(.hide-announcement-bar) .edit-link {
		top: 3rem;
	}
}



/* Announcements
--------------------------------------------- */

#announcements {
	background-color: #00629B;
	transition: all .5s ease;
	height: 3em;
	display: block;
	overflow: hidden;
	position: relative;
}

@media (min-height: 800px) {
	#announcements {
		position: sticky;
		z-index: 1010;
		top: 0;
	}
}

#announcements.hidden {
	pointer-events: none;
	transition: all .5s ease;
	height: 0;
}

#announcements .slider {
	position: absolute;
	left: 0;
	right: 0;
	bottom:0;
	height: 3em;
	z-index: 1;
}
#announcements #close-an {
	position: absolute;
	bottom: 0;
	right: 1.5em;
	height: 3em;
	width: 2em;
	display: block;
	background-color: transparent;
	background-image: url(./img/close-white.svg) !important;
	background-size: 1em !important;
	background-repeat: no-repeat !important;
	background-position: center right !important;
	border: none !important;
	padding: 0 !important;
	margin: 0 !important;
	font-size: 1em;
	z-index: 2;
	cursor: pointer;
}
#announcements #close-an:hover {
	background-color: transparent;
}
#announcements .announcement {
	text-align: center;
	display: flex !important;
	padding: 0 4em 0 2.5rem;
	height: 3em;
	align-items: center;
	color:#fff;
	font-weight: 400;
	line-height: 1em;
	justify-content: center;
}
#announcements .announcement .text {
	line-height: 1em;
}

#announcements .announcement .text > * {
	margin: 0;
	padding: 0;
	font-size: clamp(.65rem, 2.5vw, .8rem);
}

#announcements .announcement img {
	display: inline-block;
	vertical-align: middle;
	height: 1.5rem;
	width: auto;
	margin: -.75em .5em -.75em 0;
}

#announcements .announcement a {
	color:#ffffff;
	text-decoration: underline;
}
#announcements .announcement a:hover {
	color:rgba(0,0,0,.5);
}


/*--------------------------------------------------------------
# Archive Pages
--------------------------------------------------------------*/

.archive-list {
	display: grid;
	padding: 1.5rem var(--h-spacing);
	gap: 1.5rem;
	background: var(--bg-grey);
}

.archive-list article {
	background: #fff;
	display: flex;
	flex-direction: column;
	border-radius: .25rem;
	overflow: hidden;
}

.archive-list article .featured-image img {
	aspect-ratio: 16/9;
	object-fit: cover;
	object-position: center;
}

.archive-list article .text {
	display: grid;
	gap: .5rem;
}

.archive-list article .text {
	padding: 1rem;
	
}

.archive-list article h2.archive-heading {
	font-size: 1rem;
	color: var(--blue);
	margin: 0;
	padding: 0;
}

.archive-list article a, .archive-list article a:hover {
	text-decoration: none;
}

@media (min-width: 50em) {
	.archive-list {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 70em) {
	.archive-list {
		grid-template-columns: 1fr 1fr 1fr;
	}
}


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

/* Navigation
--------------------------------------------- */

header#masthead {
	z-index: 1000;
	display: flex;
	gap: 1em;
	position: sticky;
	top: 0;
	background: #fff;
	left: 0;
	right: 0;
	transition: top .5s ease;
	justify-content: space-between;
	align-items: center;
}

header#masthead .contact-info {
	text-align: right;
}

@media (max-width:550px) {
	header#masthead {
		display: grid;
		position: relative;
		grid-template-columns: 1fr;
		padding: 0;
		width: 100%;
		gap: 0;
	}
	header#masthead > div {
		padding-block: 1rem;
		padding-inline: var(--h-spacing);
		width: 100%;
		order: 2;
	}
	header#masthead .contact-info {
		padding-block: .5rem;
		text-align: left !important;
		background: var(--blue);
		color: #fff;
		order: 1;
	}
	header#masthead .contact-info a {
		color: #fff;
	}
}


/* Hamburger Icon
--------------------------------------------- */
.hamburger {
	padding: 0 0 1.5em 0;
	display: inline-block;
	cursor: pointer;
	transition-property: opacity, filter;
	transition-duration: 0.15s;
	transition-timing-function: linear;
	font: inherit;
	color: inherit;
	text-transform: none;
	background-color: transparent;
	border: 0;
	margin: 0;
	overflow: visible;
}

.hamburger.toggled .hamburger-inner,
.hamburger.toggled .hamburger-inner::before,
.hamburger.toggled .hamburger-inner::after {
	background-color: var(--blue);
}

.hamburger-box {
	width: 1.5em;
	height: 1.5em;
	display: block;
	position: relative;
}

.hamburger-inner {
	display: block;
	top: 50%;
	margin-top: -1px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
	width: 1.5em;
	height: 2px;
	background-color: var(--blue);
	border-radius: 2px;
	position: absolute;
	transition-property: transform;
	transition-duration: 0.15s;
	transition-timing-function: ease;
}

.hamburger-inner {
	background: transparent;
}

.hamburger-inner::before,
.hamburger-inner::after {
	content: "";
	display: block;
}

.hamburger-inner::before {
	top: -.4em;
}

.hamburger-inner::after {
	bottom: -.4em;
}
	
/* Hamburger Animation
--------------------------------------------- */

.hamburger--spin .hamburger-inner {
	transition-duration: 0.22s;
	transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--spin .hamburger-inner::before {
	transition: top 0.1s 0.25s ease-in, opacity 0.1s ease-in;
}

.hamburger--spin .hamburger-inner::after {
	transition: bottom 0.1s 0.25s ease-in, transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--spin.toggled .hamburger-inner {
	transform: rotate(225deg);
	transition-delay: 0.12s;
	transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}

.hamburger--spin.toggled .hamburger-inner::before {
	top: 0;
	transition: top 0.1s ease-out, opacity 0.1s 0.12s ease-out;
}

.hamburger--spin.toggled .hamburger-inner::after {
	bottom: 0;
	transform: rotate(-90deg);
	transition: bottom 0.1s ease-out, transform 0.22s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
}






.main-navigation {
	display: flex;
	gap: 1em;
}

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

.main-navigation .menu-item a {
	text-decoration: none;
}

.main-navigation .menu-item a:hover {
	text-decoration: underline;
}


a.inner-menu-link {
	border-bottom: 1px solid var(--dk-blue);
	padding-bottom: 1rem;
	font-weight: 600;
	color: var(--dk-blue) !important;
	text-decoration: none;
	font-size: .9rem;
}

a.inner-menu-link:hover {
	text-decoration: underline;
}


a.main-menu-link {
	color: var(--dk-blue);
	text-decoration: none;
	font-weight: 500;
	line-height: 1em;
	font-size: .9rem;
}

	

@media (min-width:70em) {
	.main-navigation {
		flex-direction: row;
		justify-content: flex-start;
		align-items: flex-end;
	}
	
	.secondary-menu.toggled .main-menu-button a {
		color: var(--blue);
	}
	
	.secondary-menu:not(.toggled) button.main-menu-button:hover .arrow-toggle {
	  animation: bounce 2s infinite;
	  position: relative;
	}
	
	@keyframes bounce {
	  0%, 20%, 50%, 80%, 100% {
		top: 0;
	  }
	  40% {
		top: .25em;
	  }
	  60% {
		top: .125em;
	  }
	}
	
	.secondary-menu .main-menu-button {
		line-height: 1em;
		padding: .5em .5em 1.5em .5em;
		border-radius: 0;
		border-top-right-radius: .25em;
		border-top-left-radius: .25em;
		overflow: hidden;
	}
	.secondary-menu.toggled .main-menu-button {
		overflow: hidden;
	}
	.secondary-menu .inner-menu {
		position: absolute;
		padding: 1.5rem;
		padding-left: var(--h-spacing);
		padding-right: var(--h-spacing);
		left: 0;
		right: 0;
		z-index: 1000;
		pointer-events: none;
		  background: rgba(245, 247, 248, .75);
		  -webkit-backdrop-filter: saturate(250%) blur(1em);
		  backdrop-filter: saturate(250%) blur(1em);
	}
	
	.secondary-menu.toggled .inner-menu {
		box-shadow: 0 .5em 1em rgb(0 0 0 / 0.1);
		pointer-events: all;
		border-bottom: solid 1px #fff;
	}
	.secondary-menu .inner-menu > ul.menu {
		flex-direction: row;
		justify-content: flex-start;
	}
}


.buy-menu {
	position: fixed;
	top:-100vh;
	left: var(--h-spacing);
	right: var(--h-spacing);
	height: calc(100vh - 3em);
	height: calc(var(--vh, 1vh) * 100 - 3em);
	margin: auto;
	z-index: 10000;
	background: #fff;
	border-radius: .2rem;
	opacity: 0;
	transition: all .75s ease;
	box-shadow: 0 0 0 800px rgba(0,0,0, .7);
	overflow: hidden;
}


.sub-nav-wrap {
	position:sticky;
	  top: 0;
	  z-index: 100;
	  transition: top .5s ease;
}
@media (min-width: 550px) {
	.sub-nav-wrap {
	position:sticky;
	  top: 5.25em;
}
}

@media (min-height: 800px) {
	.has-announcement-bar:not(.hide-announcement-bar) .sub-nav-wrap {
		top: 7.5em;
	}
}

nav#sub-navigation {
	border-bottom: solid 1px #fff;
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: nowrap;
	padding: .5rem;
	padding-left: var(--h-spacing);
	padding-right: var(--h-spacing);
	justify-content: space-between;
	width:100%;
	  background: rgba(245, 247, 248, .75);
	  -webkit-backdrop-filter: saturate(250%) blur(1em);
	  backdrop-filter: saturate(250%) blur(1em);
}

nav#sub-navigation ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: .5rem 1.5rem;
	font-size: .75rem;
}


nav#sub-navigation button, .shop-all-products  {
	flex-shrink: 0;
	padding: .25rem 1rem;
	font-size: .8rem;
	border-radius: 1rem;
}
nav#sub-navigation a {
	white-space: nowrap;
}
nav#sub-navigation a, #buy-product-menu-button, .shop-all-products {
	display: block;
	text-decoration: none;
	color: var(--dk-blue);
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	gap:.5em;
	align-items: center;
	border-radius: 0;
}
nav#sub-navigation a:hover {
	text-decoration: underline;
}
nav#sub-navigation a::after, #buy-product-menu-button::after, .shop-all-products::after {
	
	height: 1em;
	width: 1em;
	background-image: url(./img/arrow-circle.svg);
	background-size: .9em;
	background-position: center;
	background-repeat: no-repeat;
	flex-shrink: 0;
}

#buy-product-menu-button, .shop-all-products {
	color: #fff !important;
	background: var(--dk-blue);
}

#buy-product-menu-button:hover, .shop-all-products:hover {
	color: #fff !important;
	text-decoration: underline;
}

nav#sub-navigation a[href^="#"]::after {
	background-image: url(./img/anchor-arrow.svg);
}

.buy-menu header {
	padding: .75em 1.5em;
	display: flex;
	gap: 1.5em;
	justify-content: space-between;
	align-items: center;
	height: 5em;
	border-bottom: solid 1px var(--lt-grey);
}

.buy-menu footer {
	padding: .75em 1.5em;
	display: flex;
	gap: 1.5em;
	justify-content: flex-end;
	align-items: center;
	height: 3em;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	border-top: solid 1px var(--lt-grey);
	background: #fff;
}

.buy-menu-title {
	margin: 0 !important;
	font-size: clamp(0.9rem, 1vw + 1rem, 2.2rem);
	font-weight: 400;
	color: var(--grey);
}

#buy-product-menu-button {
	cursor: pointer;
}

#close-product-menu-button {
	padding: 0;
	border-radius: 0;
	height: 1.5rem;
	width:1.5rem;
	border: none;
	flex-shrink: 0;
	background-color: transparent;
	background-repeat: no-repeat;
	background-image:url(./img/close-grey.svg);
	background-size: 1.5rem;
	background-position: center;
	cursor: pointer;
}

.buy-menu-products {
	display: grid;
	grid-template-columns: 1fr;
	align-content: start;
	overflow: scroll;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 3em;
	top: 5em;
	padding: 1rem;
	gap: 1rem;
	background: var(--bg-grey);
}

.buy-menu-products .product-sub-heading {
	grid-column: 1/-1;
}

@media screen and (min-width: 50em) {
	.buy-menu-products {
	grid-template-columns: 1fr 1fr;
}
}

@media screen and (min-width: 70em) {
		.buy-menu-products {
		grid-template-columns: 1fr 1fr 1fr;
	}
}

.buy-menu-products .buy-product > .woocommerce {
	height: 100%;
	display: grid;
}


.buy-menu.toggled {
	top:1.5em;
	opacity: 1;
}

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

.post,
.page {
	margin: 0;
}

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

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

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

#page {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	min-height: 100vh;
}


.search.search-results .site-main {
	padding-block: 3rem;
	padding-inline: var(--h-spacing);
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat( auto-fit, minmax(350px, 1fr) );
}

@media (max-width: 500px) {
	.search.search-results .site-main {
		grid-template-columns: 1fr;
	}
}

.search.search-results .site-main .page-header, .search.search-results .site-main .posts-navigation {
	grid-column: 1/-1;
}
.search.search-results .site-main .posts-navigation {
	margin-bottom: 0;
}

.search.search-results .site-main .nav-links {
	height: 1rem;
}

.search.search-results .site-main article {
	border-radius: var(--container-radius);
	box-shadow: 0 .25em 1em rgb(0 0 0 / 0.2);
	padding: 1.5rem;
	position: relative;
}

.search.search-results .site-main article .post-link {
	position: absolute;
	inset: 0;
	z-index: 10;
}

.search.search-results .entry-title {
	font-size: 1.2rem;
}

/* 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: block;
	margin: 0;
}
.custom-logo-link img {
	display: block;
	height: 1.75em;
	width: auto;
	max-width: 100%;
	object-fit: contain;
	object-position: center left;
}

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

.disclaimer {
	font-size: .85em;
	margin:  0;
}

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


/* Change Variations
--------------------------------------------- */

.jquery-modal.blocker {
	display: grid;
	place-content: center;
	padding: 1.5em;
	background-color:rgba(0,0,0,0.6);
}

.jquery-modal.blocker .vrn-variable-form.modal {
	padding: 1.5em;
	width: 30em;
	max-width: calc(100vw - 3em);
	border-radius: .125rem;
	display: grid !important;
	box-shadow: none;
	box-sizing: border-box;
}

.jquery-modal.blocker .vrn-variable-form .vrn-column-container {
	width: 100%;
	float: none;
	padding: 0;
}

.jquery-modal.blocker .vrn-variable-form .vrn-column-container .vrn-title {
	margin: 0;
}

.jquery-modal.blocker .vrn-variable-form .vrn-column-container .product-code {
	margin: 0;
	font-size: .9em;
	color: var(--lt-grey);
}

.vrn-variable-form.modal .vrn-column-container select {
	padding: .25em .5em;
	margin: 0;
}

.jquery-modal.blocker .vrn-variable-form .close-modal {
	top:0;
	right: 0;
	height: 1.5em;
	width: 1.5em;
	background-image: url(./img/close-grey.svg);
	background-size: .85em;
	background-position: center;
}


.ttt-pnwc-container {
	padding: 1.5em;
	border-radius: .125rem;
	width: 30em;
	max-width: calc(var(--vw, 1vw) * 100 - 3em) !important;
	box-sizing: border-box;
}

button.ttt-pnwc-close {
	top: 0 !important;
	right: 0 !important;
	height: 1.5em;
	width: 1.5em;
	border-radius: 0;
	background-image: url(./img/close-grey.svg);
	background-size: .85em;
	background-repeat: no-repeat;
	background-position: center;
	font-size: 1em;
	transition: none;
	background-color: transparent;
}

button.ttt-pnwc-close:hover {
	transform: none !important;
	background-color: transparent;
}

button.ttt-pnwc-close::before {display: none;}

.ttt-pnwc-notice {
	padding: 0 !important;
	justify-content: flex-start;
	background: transparent;
}

.ttt-pnwc-notice-icon {display: none;}

.ttt-pnwc-message {
	padding: .25em 0;
}

.ttt-pnwc-notice:after {
	background: transparent !important;
}

/* VSEL Modifications
--------------------------------------------- */

.vsel-info-block.vsel-alignleft {
	width: auto !important;
}

.vsel-shortcode {
	margin: 0;
	padding: 0;
}
.vsel-image-info, .vsel-meta {
	width: 100% !important;
	float: none;
	order: 2;
}
.vsel-content h3.vsel-meta-title {
	margin: 0 !important;
	font-size: 1.1rem;
}
.vsel-image-info {
	order: 1 !important;
	width: min-content !important;
}
.vsel-content {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1rem;
	padding:0 !important;
	border-bottom: 0 !important;
}

.vsel-shortcode .vsel-content {
	margin:0 0 1rem 0 !important;
	padding: 1rem !important;
	background: #fff;
	border-radius: .25rem;
}

.vsel-meta-cats {
	font-size: .85rem;
	color: var(--dk-blue);
	font-weight: 600;
	text-transform: uppercase;
}

.vsel-content:after {
	display: none;
}

.vsel-meta {
	width: 100% !important;
	display: flex;
	flex-direction: column;
	color: var(--grey);
	gap: .5rem;
}

.vsel-meta > * {
	order: 10;
	margin: 0 !important;
}
.vsel-meta-cats {
	order: 1;
}

.vsel-image-info {
	width: min-content !important;
	float: none;
}

.vsel-meta-date {
	margin: 0 !important;
}

.vsel-end-icon {
	display: none;
}

.vsel-start-icon .vsel-year {
 display: none;
}

.block-event-featured-content, .block-header-vertical-offset {
	margin: 1.5rem var(--h-spacing);
	padding: 1.5rem;
	  background: rgba(245, 247, 248, .75);
	  -webkit-backdrop-filter: saturate(250%) blur(1em);
	  backdrop-filter: saturate(250%) blur(1em);
	display: grid;
	grid-template-columns: minmax( 0, 1fr);
	gap: 1.5rem;
	z-index: 10;
	position: relative;
	border-radius: .25rem;
}

.block-header-vertical-offset > div {
	width: 100%;
}

.block-event-featured-content aside {
	display: grid;
	align-self: start;
	gap: 1rem;
}

.block-event-featured-content h3 {
	font-size: .85rem;
	color: var(--blue);
	margin: 0;
}

.block-event-featured-content .event-type {
	font-size: .85rem;
	text-transform: uppercase;
	color: var(--dk-blue);
	font-weight: 500;
}

.block-event-featured-content aside h1, .block-event-featured-content aside > p {
	margin: 0 !important;
}

.wp-block-cover + .block-event-featured-content, .wp-block-cover + .block-header-vertical-offset {
	margin-top: -4rem;
}
/*
.wp-block-cover.palate-free-logo {
	position: relative;
	align-items: center;
}

@media (max-width: 700px) {
	.wp-block-cover.palate-free-logo {
		padding-top: 9rem;
	}
}
.wp-block-cover.palate-free-logo::after {
	height: 6rem;
	width:6rem;
	background-image: url(./img/palate-free-logo.png);
	background-repeat: no-repeat;
	background-position: center 1.5rem;
	background-size: contain;
	margin-left: auto;
	content: '3';
	z-index: 1;
	position: absolute;
	top: 3em;
	right: var(--h-spacing);
}
*/
.block-event-featured-content h1 {
	font-size: 1.6rem !important;
	color: var(--blue);
}


@media (min-width: 850px) {
	.block-event-featured-content {
		grid-template-columns: minmax( 0, 2fr) 1fr;
	}
	
	aside.featured {
		border-left: solid 1px var(--lt-grey-blue);
		padding-left: 1.5rem;
	}
}

a.post-featured-download, .vsel-meta-link a {
	pointer-events: all;
	padding: .45rem .55rem;
	background: var(--dk-blue);
	text-decoration: none;
	color: #fff;
	cursor: pointer;
	border-radius: .125em;
	font-size: .75em;
	display: flex;
	gap: .5rem;
	flex-wrap: nowrap;
	align-items: center;
	line-height: .75rem;
	text-transform: uppercase;
	white-space: nowrap;
	width: max-content;
}

a.post-featured-download:hover, .vsel-meta-link a:hover {
	text-decoration: underline;
}

a.post-featured-download img {
	height: 1em;
	width: auto;
	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;
}

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

/*--------------------------------------------------------------
# WP Forms Overrides
--------------------------------------------------------------*/

div.wpforms-container.wpforms-container-full {
	margin: 0;
	padding: 0;
}

#wpforms-155-field_2-container {
	padding: 0;
	margin: 0;
}

#wpforms-155-field_2-container label {
	font-size: 1.3em;
	font-weight: 500;
}


#wpforms-10766712 .wpforms-form label.wpforms-error {
	color: #fff !important;
}


/* Modals
--------------------------------------------- */

.pop-up-modal {
	position: fixed;
	background: rgba(0,0,0,.7);
	z-index: 1000;
	opacity: 0;
	top: -110vh;
	pointer-events: none;
	display: grid;
	align-items: center;
	justify-content: center;
	place-items: center;
	  -webkit-backdrop-filter: saturate(150%) blur(.5em);
	  backdrop-filter: saturate(150%) blur(.5em);
}

.pop-up-modal > * {
	width: calc(var(--vw, 1vw) * 100 - 3em) !important;
	max-width: 60em !important;
}


.pop-up-modal.toggled {
	top: 0;
	opacity: 1;
	inset: 0;
	pointer-events: all;
}

.pop-up-modal button.close-modal {
	position: absolute;
	top: 2rem;
	right: 2rem;
	border: none;
	outline: none;
	height: 1.5em;
	width: 1.5em;
	background-color: transparent;
	background-position: right center;
	background-repeat: no-repeat;
	background-image: url(./img/close-white.svg);
	pointer-events: all;
	cursor: pointer;
	text-indent: -200vw;
}

.pop-up-modal .modal-wrap {
	height: auto;
	max-height: calc(100vh - 6em);
	top: 1.5em;
	position: relative;
	overflow: scroll;
	background: #fff;
	padding: 1.5rem;
}

.pop-up-modal .modal-wrap.form {
	max-width: 36em !important;
}




/* Sliders
--------------------------------------------- */


.slick-loading .slick-list
{
	background: #fff url('./img/ajax-loader.gif') center center no-repeat;
}

/* Icons */
@font-face
{
	font-family: 'slick';
	font-weight: normal;
	font-style: normal;

	src: url('./fonts/slick.eot');
	src: url('./fonts/slick.eot?#iefix') format('embedded-opentype'), url('./fonts/slick.woff') format('woff'), url('./fonts/slick.ttf') format('truetype'), url('./fonts/slick.svg#slick') format('svg');
}

.slick-slider {
	width: 100%;
	overflow: hidden;
}







/* Dots */


.slick-dots
{
	position: absolute;
	bottom: 2em;
	left: 1em;
	right: 1em;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	padding: 0;
	margin: 0;
	list-style: none;
	gap: .85em;
}

@media all and (min-width:90em) {
	.slick-dots {
		left: calc( 1em + 5%);
		right: calc( 1em + 5%);
	}
}

@media all and (min-width:110em) {
	.slick-dots {
		left: calc( 1em + 10%);
		right: calc( 1em + 10%);
	}
}

@media all and (min-width:130em) {
	.slick-dots {
		left: calc( 1em + 15%);
		right: calc( 1em + 15%);
	}
}



.slick-dots li
{
	position: relative;
	display: block;
	padding: 0;
	cursor: pointer;
	background-color: transparent;
	margin: 0;
}
.slick-dots li button
{
	display: block;
	position: relative;
	font-size: 1em;
	width: .5em;
	height: .5em;
	border-radius: .5em;
	margin: 0; padding: 0;
	cursor: pointer;
	border: 0;
	outline: none;
	background: transparent;
	text-indent: -9999px;
	background: var(--blue);
	opacity: .5;
	transition: width .25s ease-in-out;
}

.dk-bg .slick-dots li button {
	background: #fff;
}
.slick-dots li button:hover,
.slick-dots li button:focus
{
	outline: none;
}
.slick-dots li.slick-active button
{
	opacity: 1;
	width: 1.5em;
}

.post-gallery .slick-dots, .inner-slider .slick-dots,  .modal-slider .slick-dots {
	position: relative;
	justify-content: center;
	padding: 1.5em 2.5em .25em 2.5em;
	bottom: unset;
	left: unset;
	right: unset;
	top: unset;
}



/* Arrows */
.slick-prev,
.slick-next, .nav-next a, .nav-previous a, .woocommerce-Button--previous, .woocommerce-Button--next
{
	font-size: 1em;
	position: absolute;
	bottom:0;
	display: block;
	width: 2em;
	height: 1em;
	padding: 0;
	z-index: 10;
	cursor: pointer;
	text-indent: -99999em;
	border: none;
	outline: none;
	color: transparent;
	background-color:transparent;
	background-repeat: no-repeat;
	background-position: center;
}
.nav-next, .nav-previous {
	position: relative;
}

.slick-arrow.slick-disabled {
	opacity: .3;
	cursor: default;
}

.inner-slider .slick-prev, .modal-slider .slick-prev, .query-slider .slick-prev, .nav-previous a, .woocommerce-Button--previous
{
	left: 0;
	background-image: url(./img/blue-arrow-left.svg);
}
.inner-slider .slick-next, .modal-slider .slick-next, .query-slider .slick-next, .nav-next a, .woocommerce-Button--next
{
	right: 0;
	background-image: url(./img/blue-arrow-right.svg); 
}

.dk-bg .inner-slider .slick-prev, .dk-bg .modal-slider .slick-prev
{
	background-image: url(./img/white-arrow-left.svg);
}
.dk-bg .inner-slider .slick-next, .dk-bg .modal-slider .slick-next
{
	background-image: url(./img/white-arrow-right.svg);
}


.pagination, .woocommerce-pagination {
	display: flex;
	gap: 2rem;
	justify-content: center;
	margin-top: 1.5rem;
}
.pagination .nav-next, .pagination .nav-previous {
	width: 2rem;
}
.pagination .nav-next a, .pagination .nav-previous a, .woocommerce-Button--previous, .woocommerce-Button--next
{
	position: relative;
	left: auto;
	right: auto;
}


/*--------------------------------------------------------------
# Wordpress Block Overrides
--------------------------------------------------------------*/






*[ID] {
	scroll-margin-top:4.5em;
}


/* Search and Filter */

.search-filter.is-style-full  {
	  padding: 3em 1.5em;
	  padding-left: var(--h-spacing);
	  padding-right: var(--h-spacing);
  }


section.search-filter {
	display: grid;
	gap: 1em;
	background: var(--bg-grey);
}

label.sf-label-checkbox {
	border: solid 1px var(--lt-grey-blue) !important;
}

.sf-field-reset {
	position: absolute;
	top: 0;
	right: 0;
}

.sf-field-search::after {
	content: '';
	height: 2rem;
	width: 2rem;
	background-image: url(./img/search-icon.svg);
	background-size: 1rem;
	background-repeat: no-repeat;
	background-position: center;
	position: absolute;
	top: 0;
	right: 0;
}

.sf-field-search {
	width: calc(100% - 2.5em);
	position: relative;
}



.sf-field-taxonomy-content-type, .sf-field-taxonomy-news-category {
	width: 100%;
}

.sf-field-taxonomy-content-type label, .sf-field-taxonomy-content-type input, .sf-field-search label, .sf-field-search input, .sf-field-taxonomy-news-category label {
	width: 100%;
}

@media (min-width:40em) {
	.sf-field-search {
		width: calc(60% - 1.5em);
	}
	
	.woocommerce-products-header .sf-field-search {
		width: calc(100% - 2.5em);
		position: relative;
	}
	
	.sf-field-taxonomy-content-type, .sf-field-taxonomy-news-category {
		width: calc(40% - 2em);
	}
}

.sf-field-reset .search-filter-reset {
	width: 2rem;
	height: 2rem;
	background-color: transparent;
	background-image: url(./img/close-grey.svg);
	background-size: 1.2rem;
	background-repeat: no-repeat;
	background-position: center;
	border: 0;
	cursor: pointer;
}

#search-filter-form-772 {
	margin-top: 1.5rem;
}

.searchandfilter ul {
	position: relative;
	margin: 0;
	display: flex;
	justify-content: flex-start;
	gap: 1rem;
	flex-wrap: wrap;
}

.sf-field-taxonomy-therapeutic-area ul, .sf-field-taxonomy-product_cat ul, .sf-field-taxonomy-product-tags ul {
	gap: .5em;
}

.sf-field-taxonomy-therapeutic-area ul li label, .sf-field-taxonomy-product_cat ul li label, .sf-field-taxonomy-product-tags ul li label {
	font-size: .75em;
	padding: .5em .75em !important;
}



.searchandfilter li[data-sf-field-input-type=checkbox] label {
	gap: 0;
}

.searchandfilter li[data-sf-field-input-type=checkbox] label::before {
	margin-right: .75rem;
}

.sf-field-taxonomy-therapeutic-area, .sf-field-taxonomy-product_cat, .sf-field-taxonomy-product-tags {
	width: 100%;
}

.sf-field-taxonomy-therapeutic-area .sf-count, .sf-field-taxonomy-product-tags .sf-count {
	margin-left: auto;
}

.sf-field-taxonomy-therapeutic-area ul, .sf-field-taxonomy-product-tags ul {
	display: grid;
	grid-template-columns: 1fr;
	width: 100%;
}


@media (min-width:400px) {
	.sf-field-taxonomy-therapeutic-area ul, .sf-field-taxonomy-product-tags ul {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width:40em) {
	.sf-field-taxonomy-therapeutic-area ul, .sf-field-taxonomy-product-tags ul {
		grid-template-columns: 1fr 1fr 1fr;
	}
}

@media (min-width:50em) {
	.sf-field-taxonomy-therapeutic-area ul, .sf-field-taxonomy-product-tags ul {
		grid-template-columns: 1fr 1fr 1fr 1fr;
	}
}



.sf-field-taxonomy-therapeutic-area ul li {
	width: 100%;
	display: block;
}


@media (min-width:70em) {
	.sf-field-taxonomy-therapeutic-area ul, .sf-field-taxonomy-product-tags ul {
		display: flex;
	}
	.sf-field-taxonomy-therapeutic-area ul li, .sf-field-taxonomy-product-tags ul li {
		width: max-content;
	}
}

.sf-field-taxonomy-therapeutic-area ul li label, .sf-field-taxonomy-product-tags ul li label {
	line-height: 1em;
	height: 100%;
	display: flex;
	align-items: center;
}



.sf-field-taxonomy-therapeutic-area label, .sf-field-taxonomy-product-tags label {
	background-color: #fff;
	font-size: .8em;
}

.searchandfilter ul li {
	padding: 0 !important;
}

.search-filter-results {
	display: grid;
	gap: 1.5rem;
}

.search-filter__results-wrap {
	display: grid;
	gap: 1.5rem;
}

@media (min-width:510px) {
	.search-filter__results-wrap {
		grid-template-columns: 1fr 1fr;
}
}

@media (min-width:800px) {
	.search-filter__results-wrap {
		grid-template-columns: 1fr 1fr 1fr;
}
}



@media (min-width:1000px) {
	.search-filter__results-wrap {
		grid-template-columns: 1fr 1fr 1fr 1fr;
}
}

.search-filter__result {
	background: #fff;
	position: relative;
	border-radius: .75rem;
	overflow: hidden;
	display: grid;
	grid-auto-rows: minmax(min-content, max-content);
		transform: translateY(0);
		transition: transform .5s ease;
		box-shadow: 0 0.5em 0.7em rgb(0 0 0 / 0.1);
	}
 @media (pointer: fine) {
	.search-filter__result:hover {
		transform: translateY(-.5em);
	}
	}	
	


.search-filter__result .wp-post-image {
	width: 100%;
	object-fit: cover;
	inset: 0;
	z-index: 1 !important;
	aspect-ratio: 16/9;
	position: absolute;
}

.search-filter__result .featured-preview {
	height: 8em;
	width: calc(100% - 1.5em);
	object-fit: contain;
	object-position: left;
	top: 3em;
	left: .75em;
	z-index: 9;
	position: absolute;
}

.search-filter__result .embed-container {
	z-index: 7;
}

.search-filter__result.download {
	background: url(./img/matrix-backdrop.jpg);
	background-size: cover;
	background-position: center right;
}
.search-filter__result.download > img {
	height: 10em;
	width: calc(100% - 2em);
	display: block;
	box-sizing: border-box;
	object-fit: contain;
	inset: 1.5em 1em;
	z-index: 1;
	position: absolute;
	z-index: 11;
	pointer-events: none;
}

.search-filter__result-link {
	z-index: 8;
	position: absolute;
	inset: 0;
	background: transparent;
}

.search-filter__result-inner {
	padding: 1em;
	z-index: 10;
	pointer-events: none;
	display: grid;
	align-content: end;
	gap: .5rem;
	position: relative;
	border-top: solid 1px var(--bg-grey);
}

.search-filter__result-title {
	color: var(--blue);
	font-weight: 500;
	font-size: .85rem;
	line-height: 1.2em;
	margin-bottom: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	line-clamp: 3;
	overflow: hidden;
	padding-bottom: .05rem;
}

.search-filter__result-features {
	display: flex;
	flex-wrap: wrap;
	gap: .5em;
}

.search-filter__result-features a {
	pointer-events: all;
	padding: .25rem .6rem;
	background: var(--dk-blue);
	text-decoration: none;
	color: #fff;
	cursor: pointer;
	border-radius: 1rem;
	font-size: .5rem;
	display: flex;
	gap: .25rem;
	flex-wrap: nowrap;
	align-items: center;
	line-height: .75rem;
	text-transform: uppercase
}

.search-filter__result-features a:hover {
	text-decoration: underline;
}

.search-filter__result-features a img {
	height: .6rem;
	width: auto;
	display: block;
}


vimeo-embed {
  border-radius: 0.25rem;
  display: grid;
 position: relative;
 padding-bottom: 56.25%;
 height: 0;
 overflow: hidden;
 width: 100%;
 max-width: 100%;
}
vimeo-embed iframe,
vimeo-embed object, 
vimeo-embed embed  { 
  border: 0;
  border-radius: inherit;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}



/* Custom Page Templates */


#solutions-page-nav {
	padding: 3rem var(--h-spacing);
}

#solutions-page-nav .menu {
	display: grid;
	gap: 1.5rem;
	margin: 0;
}

@media (min-width:38em) {
	#solutions-page-nav .menu {
	grid-template-columns: 1fr 1fr;
	}
}

@media (min-width:60em) {
	#solutions-page-nav .menu {
	grid-template-columns: 1fr 1fr 1fr;
	}
}

#solutions-page-nav .menu > li {
	background: var(--bg-grey);
	padding: 1rem;
	border-radius: .25rem;
	display: grid;
	gap: .75rem;
	align-content: start;
}


#solutions-page-nav .menu > li > a {
	text-transform: uppercase;
	font-weight: 600;
}


#solutions-page-nav .menu > li .sub-menu {
	margin: 0;
}


/* Login Process */

.first-time-login-message {
	padding: .75rem;
	font-size: .85rem;
	margin-bottom: 1.5rem;
	border: solid 1px var(--lt-grey);
}


/* Search */

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

form.search-form {
	padding: 1.5rem var(--h-spacing);
	position: fixed;
	top:-8.5em;
	left: 0;
	right: 0;
	background-color: var(--blue);
	overflow: hidden;
	z-index: 1005;
	transition: top .5s ease-in, padding .5s ease;
}


section form.search-form {
	position: relative;
	top: 0;
	color:#fff;
	background: none;
	margin: 0;
}



form.search-form.toggled {
	top: 0em;
	transition: top .5s ease-out;
}
@media (max-height: 800px) {
	form.search-form.toggled {
		padding: 3rem var(--h-spacing);
	}
}
@media (min-height: 800px) {
	.has-announcement-bar:not(.hide-announcement-bar) form.search-form.toggled {
		top: 3em;
	}
}

form.search-form input.search-field {
	width: 100%;
	padding: .5rem 2.5rem;
	line-height: 1rem;
	color: #fff;
	border: 1px solid #fff;
	border-radius: 0;
	font-size: 20px;
	-webkit-appearance: none;
	margin: 0;
	background:none;
}


form.search-form input[type="search"].search-field {
	outline: none;
	  box-shadow: none;
}

form.search-form input[type="search"].search-field::placeholder {
	color: #fff;
}

form.search-form button {
	background: none;
	border: none;
	height: 2rem;
	width: 2rem;
	display: inline-block;
	padding: 0;
	vertical-align: top;
	margin: 0;
	cursor: pointer;
	position: absolute;
	top:50%;
	transform: translateY(-50%);
	right:0;
	left: 0;
}

form.search-form button svg {
	height: 2em;
	width: 2em;
}

form.search-form button#search {
	background: none;
	color:#fff;
	left: var(--h-spacing);
	margin: 0 0 0 .25rem;
}

form.search-form button#close-search {
	background: none;
	color:#fff;
	height: 1.5rem;
	width: 1.5rem;
	left: auto;
	right:var(--h-spacing);
	margin: 0 .25rem 0 0 ;
}

form.search-form button#close-search svg {
	height: 1.5em;
	width: 1.5em;
}

form.search-form button svg path {
	fill: #fff;
}

#search.search-btn {
	background: transparent;
	border: none;
	padding: 0;
	cursor: pointer;
}

#search.search-btn svg {
	height: 2em;
	width: 2em;
}

.learndash-wrapper {
	display: grid;
}

.ld-course-list-items .ld_course_grid .thumbnail.course .ribbon {
	padding: .25rem .75rem;
	border-radius: 2rem;
	top: .75rem;
	left: .75rem;
	background: #8945c1;
}

.ld-course-list-items .ld_course_grid .thumbnail.course .ribbon::before {
	content: unset;
}

.ld-course-list-items .ld_course_grid .ld_course_grid_button {
	margin: 1rem 0 0 0 !important;
}

.ld-course-list-items .ld_course_grid .ld_course_grid_button .btn {
	width: max-content;
	padding: .25rem .75rem;
	border-radius: 2rem;
}

.ld-course-list-items .ld_course_grid .thumbnail .caption {
	padding: 3rem 1rem 1rem 1rem;
	position: relative;
}
.ld-course-list-items .ld_course_grid .thumbnail .caption::before {
	content: "1 CE Credit";
	background: linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%);
	border-radius: 2rem;
	padding: .25rem .75rem;
	display: inline-block;
	font-size: .75rem;
	font-weight: 400;
	line-height: .85rem;
	color: #fff;
	position: absolute;
	top: 1rem;
}

.ld-course-list-items.row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	margin-inline: 0;
}

@media(min-width:600px) {
	.ld-course-list-items.row {
		grid-template-columns: 1fr 1fr;
	}
}

@media(min-width:1000px) {
	.ld-course-list-items.row {
		grid-template-columns: 1fr 1fr 1fr;
	}
}

@media(min-width:1300px) {
	.ld-course-list-items.row {
		grid-template-columns: 1fr 1fr 1fr 1fr;
	}
}
.ld-course-list-items .ld_course_grid {
	margin: 0;
	border-radius: 1rem;
	overflow: hidden;
	max-width: 100%;
	padding: 0;
}

.ld-course-list-items .ld_course_grid .thumbnail.course {
	height: 100%;
	border: none;
	background: #f1f1f1;
}

.learndash-wrapper .ld-progress {
	margin: 1rem 0 0 0 !important;
}

.learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-name {
	align-items: center;
}
.learndash-wrapper .ld-alert {
	margin-top: 0 !important;
}

.wpProQuiz_infopage table, .wpProQuiz_infopage tbody, .wpProQuiz_infopage tr, .wpProQuiz_infopage td {
	width:100% !important;
	display: grid;
}

.single-sfwd-courses .post-thumbnail {
	border-radius: 1rem;
	overflow: hidden;
	align-self: start;
	border: solid 1px #e1e1e1;
}

.single-sfwd-courses article.sfwd-courses {
	display: grid;
	gap: 1.5rem 3rem;
}

@media (min-width: 800px) {
	.single-sfwd-courses .entry-header {
		grid-column: 1/-1;
	}
	
	.single-sfwd-courses article.sfwd-courses {
		grid-template-columns: 3fr 2fr;
	}
}

.single-sfwd-courses .learndash-wrapper .ld-progress {
	display: grid !important;
	margin: 0 !important;
}

.learndash-wrapper .wpProQuiz_content .wpProQuiz_button, .learndash-wrapper .wpProQuiz_content .wpProQuiz_button2, .learndash-wrapper .ld-button, .learndash-wrapper #learndash_mark_complete_button, .learndash-wrapper .learndash_mark_complete_button, .learndash-wrapper .wpProQuiz_content a#quiz_continue_link {
	padding: .25rem .75rem !important;
}

.learndash-wrapper .ld-alert-certificate .ld-button {
	padding-left: 40px !important;
}

.learndash-wrapper .ld-breadcrumbs .ld-breadcrumbs-segments {
	white-space: normal !important;
}

.learndash-wrapper .wpProQuiz_content ul.wpProQuiz_questionList input.wpProQuiz_questionInput {
	height: .875rem !important;
	width: .875rem !important;
}

.wpProQuiz_infopage .wpProQuiz_formFields {
	display: flex;
	justify-content: space-between;
	margin-top: .75rem;
	margin-bottom: 1.5rem
}

.ld-course-list-items .ld_course_grid .entry-title {
	font-size: 1em;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}