@charset "UTF-8";
/* CSS Document */

* {
  box-sizing: border-box;
}
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
img {
  display: block;
  width: 100%;
  max-width: 100%;
}
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.light select {
  border: 1px solid #333;
  background: url('../img/caret-black.png') 98% / 3% no-repeat #fff;
}
.dark select {
  border: 1px solid #fff;
  color: #fff;
  background: url('../img/caret-white.png') 98% / 3% no-repeat #000;
}
html, body {
  height: auto;
  font-size: 18px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  color: #1c282d;
}
.constrained {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 4vw;
}
body.dark {
  background: #000;
}
h1, h2, h3 {
  display: block;
  font-family: 'DM Serif Display', serif;
  letter-spacing: 0.03em;
  line-height: 1.25em;
}
h1 {
  font-size: 2.33em;
}
h2 {
  font-size: 2.33em;
}
h3 {
  font-size: 2em;
}
h1 + p, h2 + p {
  margin-top: 1.5em;
}
.italic {
  font-style: italic;
}
.light-background h1, .light-background h2, .light-background h3 {
  color: #2f4255;
}
.dark-background h1, .dark-background h2, .dark-background h3 {
  color: #fff;
}
p {
  line-height: 1.75em;
}
p + p {
  margin-top: 1em;
}
a {
  position: relative;
  color: inherit;
  text-decoration: none;
  cursor: pointer !important;
}
a.highlight {
  font-style: italic;
}
a.highlight:before {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  position: absolute;
  bottom: -5px;
  left: 0px;
  transition: opacity 0.2s ease-out;
}
a.highlight.light-background:before {
  background: #1c282d;
}
a.highlight.dark-background:before {
  background: #fff;
}
a.highlight:after {
  content: '';
  position: absolute;
  top: 50%;
  left: -10px;
  width: calc(100% + 20px);
  display: block;
  height: 2em;
  transform: scaleX(0) translateY(-50%);
  transform-origin: left;
  transition: transform 0.3s ease-out;
}
a.light-background:after {
  background: rgba(0,0,0,0.25);
}
a.dark-background:after {
  background: rgba(255,255,255,0.25);
}
a.basic-link {
  text-decoration: underline;
}
sup, sub {
  vertical-align: baseline;
  position: relative;
  top: -0.6em;
  font-size: 0.6em;
}
h1 sup, h2 sup, h3 sup {
  vertical-align: baseline;
  position: relative;
  top: -0.2em;
  font-size: 0.8em;
}
.ribbon {
  position: relative;
}
.padded-5 {
  padding-top: 5vh;
  padding-bottom: 5vh;
}
.padded-10 {
  padding-top: 10vh;
  padding-bottom: 10vh;
}
.side-padded-5 {
  padding-left: 5vh;
  padding-right: 5vh;
}
.side-padded-10 {
  padding-left: 10vh;
  padding-right: 10vh;
}
.top-padded-5 {
  padding-top: 5vh;
}
.top-padded-10 {
  padding-top: 10vh;
}
.bottom-padded-5 {
  padding-bottom: 5vh;
}
.bottom-padded-10 {
  padding-bottom: 10vh;
}
.collapse-top {
  padding-top: 0px !important;
}
.centered {
  text-align: center;
}
.f-align-c {
  display: flex;
  align-items: center;
  justify-content: center;
}
.inner-shadow {
  box-shadow: inset 0 0 30px rgba(0,0,0,0.4);
}
.dark-background {
  color: #fff;
}
.light-background {
  color: #1c282d;
}
.blue-background {
  background-color: #2a4257;
  background-image: url('../img/repeating-noise-texture.png');
  background-repeat: repeat;
  background-size: 50px;
}
.grey-background {
  background-color: #e6e6e6;
  background-image: url('../img/repeating-noise-texture.png');
  background-repeat: repeat;
  background-size: 50px;
}
.black-background {
  background-color: #000;
}
.side-by-side {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  align-items: center;
}
.side-by-side.gap {
  grid-column-gap: 4vw;
}
.flipped div:nth-child(1) {
  order: 2;
}
.flipped div:nth-child(2) {
  order: 1;
}
.column-background-dark {
  background-color: rgba(0,0,0,0.5);
  padding-left: 4vw;
  padding-right: 4vw;
}
.hero {
  height: 80vh;
  display: flex;
  align-content: center;
  align-items: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
}
.desktop-hero {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.blur-pane {
  position: absolute;
  top: 0px;
  left: 0px;
  background: rgba(0,0,0, 0.1);
  backdrop-filter: blur(10px);
  height: 100%;
  width: 100%;
  z-index: 10;  
  opacity: 1;
  transition: opacity 1.5s cubic-bezier(0.37, 0, 0.63, 1);
}
.de-blur {
  opacity: 0;
}
.min-h-20 {
  min-height: 20vh;
}
.min-h-30 {
  min-height: 30vh;
}
.min-h-40 {
  min-height: 40vh;
}
.headline-box {
  width: 60vw;
  position: relative;
  margin: 0 auto;
  background: rgba(255,255,255,0.7);
  padding: 2.5em;
  z-index: 100;
}
.headline-box h1 {
  border: 1px solid #fff;
  text-align: center;
  padding: 1.5em;
  line-height: 1.5em;
  font-size: 2.4em;
  background: rgba(255,255,255,0.1);
}
.headline-box h1 span {
  display: block;
  font-size: 1.7em;
  line-height: 1em;
}
.parallax {
  height: auto;
  min-height: 60vh;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}
.parallax img {
  display: none;
}
.parallax-content {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}
.smaller {
  font-size: 0.85em;
  line-height: 1.66em;
  font-style: italic;
}
.video-container {
  position: relative;
  height: 0px;
  padding-bottom: 56.25%;
  z-index: 1;
}
.video-container iframe {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
header {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  padding: 2vh 0;
  background: transparent;
  z-index: 1000;
  transition: background-color 0.5s ease-out, box-shadow 0.5s ease-out;
}
header .constrained {
  display: grid;
  grid-template-columns: 290px 1fr;
  grid-column-gap: 30px;
  align-items: center;
}
#logo {
  display: block;
  width: 290px;
  height: 62px;
  background: url('../img/saltology-logo-sprite.png');
  background-size: 290px;
}
.light #logo {
  background-position: 0 -62px;
}
.light header.scrolled {
  background: #fff;
  box-shadow: 0px 0px 10px 10px rgba(0,0,0,0.3);
}
.light header.scrolled #logo, .dark {
  background-position: 0 0px;
}
.dark #logo {
  background-position: 0 -62px;
}
.dark header.scrolled {
  background: #000;
  box-shadow: 0px 0px 10px 10px rgba(0,0,0,0.3);
}
.dark header.scrolled #logo {
  background-position: 0 -62px;
}
.grey {
  background: #f2f2f2;
}
nav {
  text-align: right;
}
nav li {
  position: relative;
  display: inline-block;
  margin-right: 20px;
  padding: 6px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-size: 0.9em;
}
nav li.caret:after {
  content: ' \25BE';
  display: inline-block;
  padding-left: 6px;
}
.light nav, .light nav a {
  color: #fff;
  text-decoration: none;
}
.light header.scrolled nav, .light header.scrolled nav a {
  color: #666 !important;
}
.dark nav, .dark nav a {
  color: #fff;
  text-decoration: none;
}
.dark header.scrolled nav, .dark header.scrolled nav a {
  color: #fff;
}
.nav-dark nav, .nav-dark nav a {
  color: #666 !important;
}
.nav-dark header #logo {
  background-position: 0 0px;
}
.dropdown {
  position: absolute;
  top: -1000px;
  right: -50px;
  display: block;
  text-align: left;
  width: 330px;
  padding: 2em 1em 1.5em 1em;
  opacity: 0;
  transition: opacity 0.3s ease-out;
  font-size: 0.9em;
  line-height: 1.2em;
  z-index: 10;
}
.light .dropdown {
  background: #fff;
  box-shadow: 0px 10px 10px -10px rgba(0,0,0,0.4);
}
.dark .dropdown {
  background: #000;
}
.dropdown a {
  display: block;
  padding: 0.6em 0;
}
.light .dropdown a {
  color: #666 !important;
}
.dark .dropdown a {
  color: #fff !important;
}
#hamburger {
  display: none;
}
#signup {
  position: relative;
  width: 100%;
  padding: 10px 2vh;
  background: #2c799f;
  color: #fff;
  opacity: 0;
  transform: translateY(calc(2vh + 1px));
  box-shadow:  inset 0px 11px 8px -10px rgba(0,0,0,0.5);
  z-index: -1;
  transition: background 0.3s ease-out, opacity 0.5s ease-out;
}
header.scrolled #signup {
  opacity: 1;
  z-index: 1;
}
#signup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
#signup-fields {
  display: grid;
  grid-template-columns: 60% 40%;
}
#signup-grid label, #signup-grid input[type="text"], #signup-grid input[type="submit"] {
  display: inline-block !important;
  width: auto;
  margin-top: 0;
  text-align: center;
}
#signup-grid input[type="text"] {
  background: rgba(255,255,255,0.1);
  border: 1px solid #fff;
  padding: 0.5em;
  color: #fff;
  transition: all 0.3s ease-out;
}
#signup-grid input[type="text"]:focus {
  background: rgba(0,0,0,0.4);
}
#signup-grid input[type="text"]::placeholder {
  color: #fff;
}
#signup-grid input[type="submit"] {
  border: 1px solid #fff;
  background: rgba(255,255,255,0.8);
  color: #176992;
  text-transform: uppercase;
  border-left: none;
}
#signup-details {
  display: block;
  text-align: center;
}
#signup-details p, #signup-details .button {
  display: inline-block !important;
  margin-bottom: 0;
}
#signup-details .button {
  width: 100%;
  max-width: 300px;
  margin-left: 2vh;
  padding: 0.5em 1em;
  background: #fff;
  color: #2a4257;
  border: 1px solid #fff;
  transition: background 0.3s ease-out, color 0.3s ease-out;
}
.close-x {
  position: absolute;
  top: 50%;
  right: 0px;
  display: block;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
}
.close-x:before, .close-x:after {
  content: '';
  position: absolute;
  top: 0px;
  left: 50%;
  display: block;
  width: 2px;
  height: 44px;
  background: #fff;
  transform-origin: center;
  z-index: 1;
  transition: transform 0.3s ease-out;
}
.close-x:before {
  transform: rotate(45deg) scale(0.8);
}
.close-x:after {
  transform: rotate(-45deg) scale(0.8);
}

#signup-grid input[type="submit"]:hover, #signup-grid input[type="submit"]:focus {
  background: rgba(255,255,255,1);
  
}
#signup-details .button:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
}
.close-x:hover:before {
  transform: rotate(45deg) scale(1);
}
.close-x:hover:after {
  transform: rotate(-45deg) scale(1);
}


.light .hover-image {
  background: #2a4257;
}
.dark .hover-image {
  background: #000;
}
.hover-image div {
  position: relative;
  overflow: hidden;
  width: 100%;
}
.hover-image div p {
  padding: 0 5vh;
}
.hover-image div img.hover-image-background {
  transition: opacity 0.5s ease-out;
}
.hover-content {
  position: absolute !important;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  color: #fff;
  display: flex;
  padding: 2em;
  text-align: center;
  align-items: center;
  font-size: 1.2em;
  opacity: 0;
  transform: scale(1.2);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}
.hover-content div[class^="icon"] {
  font-size: 4em; 
}
.hover-content h3 {
  margin-bottom: 0.5em;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  grid-column-gap: 2em;
  padding: 2em;
}
.product-grid h3, .product-grid p {
  margin-bottom: 1em;
}
.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  grid-column-gap: 2em;
  font-size: 1.25em;
  text-transform: uppercase;
}
.icon-grid div[class^="icon"] {
  font-size: 4em;
  margin: 0 auto 0.15em auto;
}
#product-intro {
  display: grid;
  grid-template-columns: 1fr 33%;
  margin-top: 120px;
  align-items: center;
}
#product-links {
  display: none;
}
#product-configuration {
  padding: 0 40px;
}
#product-configuration h1 {
  font-size: 1.8em;
}
#price {
  font-size: 1.25em;
  color: #3a7d98;
}
.dark #price {
  color: #5ca5c1;
}
#product-configuration select {
  width: 100%;
  padding: 1em;
  font-size: 1em;
  margin: 1.5em 0 2em 0;
}
#product-configuration .h3 {
  font-size: 1em;
  margin-top: 2em;
}
#product-configuration .product-icons a {
  display: inline-block;
  min-width: 60%;
  font-size: 0.8em;
  opacity: 1;
  transition: opacity 0.3s ease-out;
}
#product-configuration .product-icons a span {
  font-size: 4em;
  margin-right: 0.25em;
}
#product-configuration label {
  margin-top: 0;
  height: 0px;
  overflow: hidden;
}
#product-gallery {
  display: grid;
  grid-template-columns: 20% 1fr;
  grid-column-gap: 20px;  
}
#product-gallery-thumbs {
  padding-left: 20px;
  overflow: hidden;
}
#product-gallery-thumbs a {
  display: block;
  margin-bottom: 20px;
  border: 3px solid transparent;
  transition: border 0.3s ease-out;
}
.light #product-gallery-thumbs a.active {
  border: 3px solid #f2be71;
}
.dark #product-gallery-thumbs a.active {
  border: 3px solid #fff;
}
#product-gallery-thumbs img {
  opacity: 1;
  transition: opacity 0.3s ease-out;
}
#product-gallery-main {
  position: relative;
  overflow: hidden;
}
#product-gallery-main img {
  position: absolute;
  top: 0px;
  left: 0px;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease-out;
}
#product-gallery-main img.active {
  position: relative;
  z-index: 1;
  opacity: 1;
}
.product-details {
  display: grid;
  grid-template-columns: 33% 1fr;
  grid-column-gap: 5vh;
}
.product-icons {
  line-height: 2em;
  font-size: 1.25em;
}
.product-icons span {
  display: inline-block;
  font-size: 1.7em;
  margin-right: 0.5em;
  transform: translateY(0.3em);
}
.button {
  display: inline-block;
  padding: 1em 2em;
  border-radius: 100px;
  background: #2e8cb0;
  color: #fff;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 1em;
  transition: background-color 0.4s ease-out, color 0.2s ease-out;
}
.button.disabled {
  background: #ccc;
  color: #111;
}
.dark .button.disabled {
  background: #777;
  color: #111;
}
.amazon-button {
  background: #000;
  color: #fff;
}
.dark .button {
  background: #2e8cb0;
  color: #fff;
}
.dark .amazon-button {
  background: #ff9900;
}
#manufacturer-link {
  transition: opacity 0.3s ease-out;
  z-index: 1;
}
#manufacturer-link.disabled {
  opacity: 0;
  z-index: -1;
}

/* Footer */
#footer {
  padding: 4em 0;
  color: #fff;
  line-height: 2em;
}
#footer .h3 {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.5em 0;
}
#footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  grid-column-gap: 4vw;
}
#footer-links a {
  position: relative;
  color: #fff;
  text-decoration: none;
  font-style: normal;
}
#footer-links a:before {
  display: none;
}
#footer-links a:after {
  background: rgba(255,255,255,0.25);
  left: -10px;
  width: calc(100% + 20px);
}
.warning {
  font-size: 0.8889em;
  line-height: 1.66em;
  font-style: italic;
  margin-top: 1em;
}
.warning:first-of-type {
  margin-top: 40px;
}
#copyright {
  margin-top: 2em;
}
.headline span, .sub-headline {
  display: block;
  font-size: 1.5em;
  font-family: 'Montserrat', sans-serif;
  margin-top: 0.2em;
}
.sub-headline {
  margin: 0.5em 0;
}

/* Learn Pages */
.background-fill {
  width: 100%;
  height: 100%;
  min-height: 300px;
  background-size: cover;
  background-position: center;
}
/*#nano-emulsified-cbd-hero {
  background-image: url('../img/Depositphotos_389988972_l-2015-2-1.jpg');
}
#nano-emulsified-cbd-parallax-why-nano-emulsion {
  background-image: url('../img/Depositphotos_167142902_l-2015.jpg');  
}
#nano-emulsified-cbd-parallax-how-does-it-work {
  background-image: url('../img/Depositphotos_384400762_l-2015.jpg');  
}
#nano-emulsified-cbd-parallax-what-research-says {
  background-image: url('../img/cbd-4469987_1920.jpg');  
}*/

/*404 Page */
#error-hero, #contact-us-hero, #wholesale-inquiries-hero {
  background-image: url('../storage/rolling-ocean-waves-birdseye-background.jpg');
}
.sitemap-list {
  line-height: 1.5em; 
  list-style-type: disc;
}
.sitemap-list ul {
  margin-left: 2em;
  list-style-type: circle;
}
.sitemap-list li {
  margin-bottom: 0.5em;
}

/* Contact Pages */
.short-hero {
  height: 50vh;
}
#contact-us-form {
  margin-top: 140px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom center;
  overflow: hidden;
}
.form {
  width: 100%;
  max-width: 600px;
  margin: 2em auto 1em auto;
  text-align: left;
}
.form .gap {
  grid-column-gap: 2em;
}
.form form {
  margin-bottom: 2em;
}
input[type="text"], input[type="email"], input[type="tel"], textarea {
  display: block;
  width: 100%;
  padding: 0.7em;
  margin-top: 1em;
  border: 1px solid #333;
  font-size: 1em;
}
input[type="button"], input[type="submit"] {
  border: none;
  outline: none;
  font-size: 1em;
  cursor: pointer;
  margin-top: 1.5em;
}
textarea {
  min-height: 200px;
}
label {
  display: block;
  margin-top: 1em;
}
.form form select {
  width: 100%;
  padding: 0.7em;
  font-size: 1em;
  margin-top: 1em;
}
#contact-form {
  transition: opacity 0.4s ease-out;
}
#response-message {
  padding: 2em;
}
.show {
  opacity: 1;
  transition: opacity 0.3s ease-out;
}
.hide {
  opacity: 0;
  transition: opacity 0.3s ease-out;
}
input.required {
  border: 1px solid #c10000 !important;
}
label.required {
  color: #c10000;
}
/* Homepage */
.hero img {
  display: none;
}
img.homepage-relief-rx {
  width: 180px;
  margin: 0 auto 1em auto;
}
img.homepage-bokek {
  width: 300px;
  margin: 0 auto 1em auto;
}
#lavender-usda {
  position: relative;
}
#usda-organic-logo {
  width: 200px;
  position: absolute;
  top: -30px;
  right: -30px;
}
#saltology-lab {
  background-image: url('../storage/in-home-spa-soaking-tub-overlooking-fields-desktop.jpg');
  background-size: cover;
  background-position: center;
}
/* Relief Rx */
#relief-rx-hero {
  background-attachment: fixed;
  background-size: contain;
  background-position: top;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-bottom: 78.984375%;
  padding-top: 190px;
  background-repeat: no-repeat;
}
.relief-rx-pattern {
  background-color: #000;
  background-image: url('../img/wave-line.png');
  background-size: cover;
}
#relief-rx-plp-logo {
  width: 160px;
  margin: -14em auto 1.5em auto;
}
#relief-rx-plp-parallax-products {
  background-image: url('../storage/organic-cbd-bath-salts-in-bags-on-a-slate-surface-background.jpg');
}
#relief-rx-plp-parallax-cannabis-plants {
  background-image: url('../storage/field-of-organic-grown-cannabis-plants-background.jpg');
}
#relief-rx-icons {
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  padding: 1.5em 0;
}
#relief-rx-icons {
  font-size: 1em;
}
#relief-rx-icons {
  align-items: flex-end;
}
#relief-rx-icons div:nth-child(3) div[class^="icon"] {
  font-size: 6em;
}

/* Bokek */
#bokek-plp-logo {
  width: 360px;
  margin: 0 auto 2em auto;
}
.mandala-pattern {
  background-size: 20%;
  background-image: url('../img/repeating-dark-pattern-40.png');
  background-color: #30647c;
}
.large-blue-mandala {
  background-image: url('../img/mandala-blue.png');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}
#bokek-plp-parallax-products {
  background-image: url('../storage/bokek-organic-scented-dead-sea-salt-bags-on-marble-surface-background.jpg');
}

/* Product Detail */
#product-configuration a.highlight {
  font-size: 0.9em;
}
#bokek-product-detail-parallax {
  background-image: url('../storage/bokek-organic-scented-dead-sea-bath-salts-on-marble-background.jpg');
}
#relief-rx-product-detail-parallax {
  background-image: url('../storage/relief-rx-organic-cbd-bath-salt-on-bathroom-tile-background.jpg');
}
#saltology-story-hero {
  background-image: url('../storage/bath-salt-bowls-with-eucalyptus-and-lavender-background.jpg');
}
/* Blog */
#blog-content {
  display: grid;
  grid-template-columns: 1fr 30vw;
  grid-column-gap: 2vh;
}
#all-products-grid {
  display: grid;
  grid-template-columns: 14vw 46vw 1fr;
  grid-template-rows: min-max(100px, 1fr) 1fr;
  margin: 0 auto;
  grid-column-gap: 2vh;
}
#all-products-sort-by {
  grid-area: 1 / 1 / 2 / 4;
}
#all-products-filter {
  grid-area: 2 / 1 / 3 / 2;
}
#all-products-filter li {
  text-transform: uppercase;
  font-size: 1em;
  border-bottom: 1px solid #333;
  position: relative;
}
#all-products-filter li a, #all-products-filter li span {
  display: block;
  cursor: pointer;
  padding: 0.5em;
  transition: color 0.3s ease-out;
} 
#all-products-filter li:first-of-type {
  border-top: 1px solid #333;
}
#all-products-filter li img {
  max-width: 14px;
  position: absolute;
  top: 10px;
  right: 10px;
  transition: transform 0.3s;
}
#all-products-filter li div a {
  text-transform: none !important;
  font-size: 0.9em;
  margin-left: 1em;
}
#all-products-filter li div {
  height: 0;
  overflow: hidden;
}
#all-products-filter li.visible div {
  height: auto;
}
#all-products-filter li.visible img {
  transform: rotate(180deg); 
  top: 13px;
}
.filter-results {
  margin-top: 1em;
  font-size: 0.9em;
  font-style: italic;
}
.filter-results a {
  font-style: normal;
}
#all-products-products {
  grid-area: 2 / 2 / 3 /4;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2vh;
}
.all-products-product {
  box-shadow: 0 0 0 0 rgba(0,0,0,0);
  transition: box-shadow 0.3s ease-out;
}
.all-products-product img {
  margin-bottom: 1em;
}
.all-products-product p {
  text-align: center;
  padding: 0 1em;
}
.all-products-product p + p {
  margin-top: 0.25em; 
}
.all-products-product p strong {
  text-transform: uppercase;
  font-weight: 700;
}
.all-products-product p.price {
  color: #3a7d98;
  margin-bottom: 0.8em;
}
@media (hover:hover) {
  a.highlight:hover {
    text-decoration: none;
  }
  a.highlight:hover:before {
    opacity: 0;
  }
  a.highlight:hover:after {
    transform: scaleX(1) translateY(-50%);
  }  
  a.basic-link:hover {
    text-decoration: none;
  }
  .light nav a:hover {
    color: rgba(255,255,255,0.7);
  }
  .light header.scrolled nav a:hover {
    color: #333 !important;
  }
  .dark nav a:hover {
    color: rgba(255,255,255,0.7);
  }
  .dark header.scrolled nav a:hover {
    color: rgba(255,255,255,0.7);
  }
  .nav-dark nav a:hover {
    color: #333 !important;
  }
  nav li:hover {
    border-bottom: 2px solid #009da5;
  }
  nav li.caret:hover .dropdown {
    top: 30px;
    opacity: 1;
  }
  .light header nav li.caret:hover {
    color: rgba(255,255,255,0.7);
  }
  .light header.scrolled nav li.caret:hover {
    color: #333;
  }
  .light .dropdown a:hover {
    color: #333 !important;
  }
  .dark header nav li.caret:hover {
    color: rgba(255,255,255,0.7);
  }
  .dark header.scrolled nav li.caret:hover {
    color: rgba(255,255,255,0.7);
  }
  .nav-dark header nav li.caret:hover {
    color: #333 !important; 
  }
  .dark .dropdown a:hover {
    color: rgba(255,255,255,0.7) !important;
  }
  .hover-image div:hover img.hover-image-background {
    opacity: 0.3;
  }
  .hover-image div:hover .hover-content {
    opacity: 1;
    transform: scale(1);
  }
  #footer-links a:hover:after {
    transform: scaleX(1) translateY(-50%);
  }  
  #product-intro .product-icons a:hover {
    opacity: 0.6;
  }
  .button:hover {
    background-color: #295a85;
    color: #fff;
  }
  .button.disabled:hover {
    background: #ccc;
    color: #111;
  }
  .dark .button.disabled:hover {
    background: #777;
  }
  .dark .button:hover {
    background: #eee;
    color: #111 !important;
  }
  .dark .amazon-button:hover {
    background: #dc7c00;
  }
  #product-gallery-thumbs img:hover {
    opacity: 0.8; 
  }
  .all-products-product:hover {
    box-shadow: 0px 10px 20px -5px rgba(0,0,0,0.5);
  }
  #all-products-filter li a:hover, #all-products-filter li span:hover {
    color: #58a3c0; 
    transition: color 0.3s ease-out;
  }
}

@media (max-width: 1145px) {
  header .constrained {
    display: block;
    position: relative;
  }
  #hamburger {
    position: absolute;
    top: 30px;
    right: 40px;
    display: block;
    width: 30px;
    height: 20px;
  }
  #hamburger:before, #hamburger:after {
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 2px;
    transform-origin: center;
    transition: all 0.3s ease-out;
  }
  .light header #hamburger:before, .light header #hamburger:after {
    background: #fff;
  }
  .dark header #hamburger:before, .dark header #hamburger:after {
    background: #fff !important;
  }
  .nav-dark header #hamburger:before, .nav-dark header #hamburger:after {
    background: #000;
  }
  .light header.scrolled #hamburger:before, .light header.scrolled #hamburger:after {
    background: #000;
  }
  .dark header.scrolled #hamburger:before, .dark header.scrolled #hamburger:after {
    background: #fff;
  }
  header {
    height: 130px;
  }
  #hamburger:before {
    top: calc(50% - 8px);
  }
  #hamburger:after {
    top: calc(50% + 2px);
  }
  #hamburger.close:before, #hamburger.close:after {
    top: 50%;
  }
  #hamburger.close:before {
    transform: rotate(45deg);
  }
  #hamburger.close:after {
    transform: rotate(-45deg);
  }
  .mobile-open #logo {
    background-position: 0 0px !important;
  }
  .mobile-open nav li, .mobile-open nav li a {
    color: #666 !important;
  }
  .mobile-open #hamburger:before, .mobile-open #hamburger:after, .dark header.mobile-open #hamburger:before, .dark header.mobile-open #hamburger:after  {
    background: #000 !important;
  }
  #logo {
    position: absolute;
    z-index: 100;
  }
  nav {
    display: block;
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    background: #fff;
    padding-top: 150px;
    opacity: 0;
    transition: left 0s ease-out 0.5s, opacity 0.5s ease-out;
  }
  .mobile-open nav {
    opacity: 1;
    left: 0px;
    transition: left 0s ease-out, opacity 0.5s ease-out;
  } 
  .mobile-open .dropdown {
    background: #fff;
  }
  nav li {
    margin: 0;
    display: block;
    text-align: center;
    font-family: 'DM Serif Display', serif;
    padding: 0px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
  }
  nav li a, nav li.caret {
    display: block;
    font-size: 1.5em;
    margin-bottom: 10px;
  }
  nav li.caret {
    position: relative;
    margin-bottom: 10px;
    border-bottom: 1px solid #ccc;
  }
  nav li.caret:before {
    content: '';
  }
  nav li.caret:after {
    content: '';
    display: none;
  }
  nav li.caret:last-of-type {
    border-bottom: none;
  }
  .dropdown {
    padding: 0;
    opacity: 1;
    position: relative;
    top: 0px;
    right: 0px;
    width: 100%;
    margin-top: 10px;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
  }
  .light .dropdown {
    box-shadow: 0px 0px 0px 0px transparent;
  }
  .dark .dropdown a {
    color: #666 !important;
  }
  .dropdown a {
    display: block;
    padding: 0.5em 1em;
    font-size: 0.8em;
  }
  a.highlight {
    text-decoration: underline;
    line-height: 1.2em;
  }
  a.highlight:before {
    display: none;
  }
  @media (hover:hover) {
    a.highlight:hover:after {
      transform: scaleX(0) translateY(-50%);
    }  
  }
}

@media (max-width: 768px) {
  .side-by-side {
    grid-template-columns: 1fr;
  }
  header {
    height: 84px;
  }
  #logo {
    width: 200px;
    height: 43px;
    background-size: 200px;
  }
  .light #logo {
    background-position: 0 -43px;
  }
  .light header.scrolled {
    background: #fff;
    box-shadow: 0px 0px 10px 10px rgba(0,0,0,0.3);
  }
  .light header.scrolled #logo {
    background-position: 0 0px;
  }
  .dark #logo {
    background-position: 0 -43px;
  }
  .dark header.scrolled {
    background: #000;
    box-shadow: 0px 0px 10px 10px rgba(0,0,0,0.3);
  }
  .dark header.scrolled #logo {
    background-position: 0 -43px;
  }  
  #hamburger {
    top: 12px;
    right: 20px;
  }
  nav {
    padding-top: 100px;
  }
  a.highlight {
    text-decoration: underline;
  }
  a.highlight:before {
    display: none;
  }
  p, a {
    line-height: 1.5em;
  }
  .product-grid {
    grid-template-columns: 1fr 1fr;
    grid-row-gap: 1.5em;
  }
  .product-grid h3 {
    font-size: 2em;
  }
  .product-grid {
    font-size: 0.8em;
  }
  .side-by-side {
    grid-row-gap: 2em;
    text-align: center;
  }
  .flipped div:nth-child(1) {
    order: 1;
  }
  .flipped div:nth-child(2) {
    order: 2;
  }
  .parallax img {
    display: block;
  }
  .parallax {
    width: 100%;
    height: auto;
    background-size: cover;
    background-attachment: initial;
    background-position: top;
    background-repeat: no-repeat;
    min-height: 0px !important;
    margin: 5vh 0;
  }
  .hover-content {
    position: relative !important;
    font-size: 1em;
    opacity: 1;
    transform: scale(1); 
  }
  #product-intro {
    grid-template-columns: 1fr;
    margin-top: 40px;
    grid-row-gap: 2em;
  }
  #product-gallery {
    padding-right: 20px; 
  }
  #product-configuration {
    text-align: center;
  }
  #product-configuration .product-icons {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }
  .product-details {
    grid-template-columns: 1fr;
    text-align: center;
    grid-column-gap: 0px;
  }
  .product-details:nth-child(2) {
    order: 1;
  }
  .product-details div:nth-child(1) {
    order: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 1em;
  }
  .product-details .product-icons div:nth-child(1) {
    order: 1; 
    display: block;
  }
  .product-details .product-icons div:nth-child(2) {
    order: 2;
  }
  .product-details .product-icons div:nth-child(3) {
    order: 3;
  }
  .product-details .product-icons div:nth-child(4) {
    order: 4;
  }
  .product-details .product-icons span {
    display: block;
    margin: 0.5em auto;
    font-size: 3em;
  }
  .product-details .product-icons {
    font-size: 1em;
    line-height: 1.25em;
    margin-top: 1em;
  } 
  /* Relief Rx */
  #relief-rx-plp-logo {
    width: 110px;
    margin: -8em auto 1.5em auto;
  }
  .headline-box {
    width: 80vw;
  }
  .form .side-by-side {
    grid-row-gap: 0px;
    text-align: left;
  }  
  /* Shop All */
  #all-products-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: min-max(100px, 1fr) min-max(100px, 1fr) 1fr;
  }
  #all-products-sort-by {
    grid-area: 1 / 1 / 2 / 2;
  }
  #all-products-filter {
    grid-area: 2 / 1 / 3 / 2;
  }
  #all-products-products {
    grid-area: 3 / 1 / 4 / 2;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }
  h1, h2 {
    font-size: 8vw;
  }
  header {
    height: 76px;
  }
  .constrained {
    padding-left: 20px;
    padding-right: 20px;
  }
  #footer-links {
    grid-template-columns: 1fr;
    grid-row-gap: 1.5em;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .product-grid div {
    margin-bottom: 2em;
  }
  .mandala-pattern {
    background-size: 50%;
  }
  .parallax {
    margin: 2em 0;
  }
  .hero {
    background: none !important;
    height: auto;
    display: block;
  }
  .hero img {
    display: block;
  }
  .desktop-hero {
    display: none;
  }
  .blur-pane {
    display: none;
  }
  .headline-box {
    width: 100%;
    position: relative;
    margin: 0 auto;
    padding: 0px;
  }
  .headline-box h1 {
    border: none;
    padding: 0.5em 20px;
    line-height: 1.2em;
    font-size: 2em;
  }
  .headline-box h1 span {
    display: inline;
    font-size: inherit;
  }  
  .mobile-grey {
    background: #f2f2f2;
  }  
  .hero + section.padded-5 {
    padding-top: 0px;
  }
  .hover-content {
    padding: 2em 20px;
  }
  .icon-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hover-image div p {
    padding: 0;
  }
  .icon-grid {
    grid-row-gap: 1.5em;
    font-size: 1em;
  }
  .single {
    grid-column: span 2;
    order: 1;
  }
  .side-padded-5 {
    padding-left: 20px;
    padding-right: 20px;
  }
  .parallax-content {
    background-attachment: inherit;
    background-size: cover;
    background-position: center;  
  }
  .mobile-centered {
    text-align: center;
  }
  .mobile-left {
    text-align: left;
  }
  .mobile-right {
    text-align: right;
  }  
  .product-grid {
    font-size: 1em;
  }
  #product-gallery {
    grid-template-columns: 1fr;
    padding-right: 0;
    grid-row-gap: 10px;
  }
  #product-gallery-thumbs {
    display: grid;
    order: 2;
    padding-left: 0;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-column-gap: 10px;
    grid-template-rows: 1fr;
    grid-auto-rows: auto;
  }
  #product-gallery-main {
    order: 1;
    width: 100%;
    height: 0px;
    padding-bottom: 100%;
  }
  #product-configuration {
    padding: 0 20px;
  }
  #product-configuration .product-icons a span {
    display: block;
    margin: 0 auto 0.5em auto;
  }
  /* Homepage */
  #homepage-hero h1 {
    font-size: 8vw;
    max-width: 100%;
    text-shadow: 0 0 0px rgba(0,0,0,0);
  }
  #lavender-usda {
    margin-top: 40px; 
  }  
  #usda-organic-logo {
    width: 100px;
    position: absolute;
    top: -15px;
    right: -15px;
  }
  #homepage-hero {
    background: none;
    height: auto;
    display: block;
    min-height: auto;
  }
  #homepage-hero h1 {
    display: block;
    color: #fff;
    background: #2a4257;
    background-image: url('../img/repeating-noise-texture.png');
    background-repeat: repeat;
    background-size: 50px;
  }
  #home section:nth-child(2) {
    box-shadow: inset 0 0 30px -30px rgba(0,0,0,0.4);
    padding-top: 0;
  }
  #home section:nth-child(2) h2 {
    font-size: 1.25em;
  }
  img.homepage-relief-rx {
    width: 100px;
  }
  img.homepage-bokek {
    width: 200px;
    margin: -1em auto 1em auto;
  }
  #saltology-lab {
    background-image: url('../storage/in-home-spa-soaking-tub-overlooking-fields-mobile.jpg');
    background-position: center;
  }
  /* Bokek */
  #bokek-plp-logo {
    width: 220px;
    margin: -2em auto 2em auto;
  }
  .large-blue-mandala {
    background-attachment: inherit;
    background-size: 120%;
  }
  /* Shop All */
  #all-products-products {
    grid-template-columns: 1fr;
  }
  .mobile-hide {
    display: none;
  }
  @media (hover:hover) {
    #footer-links a:hover:after {
      transform: scaleX(0) translateY(-50%);
    }  
  }
}