/*
Theme Name: Akasha Brewing
Author: GreenGraphics
Author URI: https://www.greengraphics.com.au
Description: Base theme
Version: 1.0.0
Text Domain: ggstyle
*/

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
*,
*:before,
*:after {
  /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
}
blockquote,
q {
  quotes: "" "";
}
hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}
ul,
ol {
  margin: 0 0 1.5em 0;
  padding-left: 1.25em;
}
ul {
  list-style: disc;
}
ol {
  list-style: decimal;
}
li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}
dt {
  font-weight: bold;
}
dd {
  margin: 0 1.5em 1.5em;
}
img {
  height: auto; /* Make sure images are scaled correctly. */
  max-width: 100%; /* Adhere to container width. */
}
table {
  margin: 0 0 1.5em;
  width: 100%;
}
dfn,
cite,
em,
i {
  font-style: italic;
}
blockquote {
  margin: 0 3.5em 1.5em 1.5em;
  font-size: 1.1rem;
  font-style: italic;
}
address {
  margin: 0 0 1.5em;
}
pre {
  background: #eee;
  font-family: "Courier 10 Pitch", Courier, monospace;
  font-size: 15px;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}
code,
kbd,
tt,
var {
  font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
  font-size: 15px;
  font-size: 0.9375rem;
}
abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}
mark,
ins {
  background: #fff9c0;
  text-decoration: none;
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
  overflow: hidden;
}
.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  float: left;
  width: 50%;
}
.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  float: right;
  text-align: right;
  width: 50%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 2px;
  background-color: #356861;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1.4px;
  text-align: center;
  color: white;
  cursor: pointer;
  padding: 25px 45px;
  border-radius: 64px;
  transition: all 0.3s ease;
  border: none;
  width: auto;
}
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  /* background-color: #00316A; */
}
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
  border: none;
  border-bottom: 1px solid black;
}
select {
  border: 1px solid #ccc;
}
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;
}
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"] {
  padding: 3px;
}
textarea {
  padding-left: 3px;
  width: 100%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text,
.sr-only {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}
.screen-reader-text:focus,
.sr-only:focus {
  background-color: #f1f1f1;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  -webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000; /* Above WP toolbar. */
} /* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
  outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em;
}
.alignright {
  display: inline;
  float: right;
  margin-left: 1.5em;
}
.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

/*--------------------------------------------------------------
# Weird bits
--------------------------------------------------------------*/
.widget {
  margin: 0 0 1.5em;
} /* Make sure select elements fit in widgets. */
.widget select {
  max-width: 100%;
}
.blog .format-aside .page-title,
.archive .format-aside .page-title {
  display: none;
}

.comment-content a {
  word-wrap: break-word;
}
.bypostauthor {
  display: block;
} /* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */ .infinite-scroll.neverending .site-footer {
  /* Theme Footer (when set to scrolling) */
  display: none;
} /* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
  display: block;
}
.page-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
} /* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

svg {
  display: block;
  height: 100%;
  width: 100%;
}

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

.sticky {
  display: block;
}

.page-content {
}

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

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
html {
  margin: 0;
}
@font-face {
  font-family: "Beatrice";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("Beatrice Regular"), local("Beatrice-Regular"),
    url("./src/fonts/Beatrice-Regular.woff2") format("woff2");
}

body {
  background-color: #f1f2f3;
  color: #1e1f21;
  font-family: "Beatrice", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  line-height: 1.65;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
  color: #242528;
  font-weight: 400;
  line-height: 1.2;
}

h1 {
  font-size: 40px;
  margin-bottom: 1rem;
  margin-top: 0;
}

h2 {
  font-size: 40px;
  font-weight: 400;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

h2 > span {
  display: block;
}

h3,
.section-title {
  font-size: 30px;
}

@media (min-width: 768px) {
  h1 {
    font-size: 60px;
  }
}

h4 {
  font-size: 18px;
}

p {
  margin-top: 0;
  margin-bottom: 32px;
}

p:empty,
p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
  color: #1e1f21;
  /* text-decoration: none; */
}

a:hover,
a:focus,
a:active {
  color: #00316a;
  text-decoration: underline;
}

a:focus {
  outline: thin dotted;
}

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

.icon {
  display: inline-block;
  width: 2rem;
  max-width: 100%;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/

nav a {
  text-transform: uppercase;
}

.top-navigation {
  display: none;
}

@media (min-width: 64rem) {
  .top-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: 1em;
    margin-right: 1em;
  }
}

.top-navigation li {
  padding-left: 0;
  padding-right: 2em;
}

.top-navigation li::after {
  content: none;
}

.top-navigation a {
  text-decoration: none;
  text-transform: capitalize;
  font-size: 18px;
  position: relative;
  border: none;
}

.top-navigation a:hover {
  text-decoration: none;
}

.top-navigation a::after {
  height: 2px;
  content: "";
  display: block;
  background-color: black;
  width: 0%;
  position: absolute;
  left: 0;
  top: 100%;
  transition: width 0.3s ease;
}
.top-navigation a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: block;
  padding: 0;
  border-radius: 2px;

  position: relative;
}
.menu-toggle::after {
  /* content: ""; */
  /* height: 100%; */
  top: 0;
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.25);
  width: 100vw;
}

.menu-toggle-inner,
.menu-toggle-inner::before,
.menu-toggle-inner::after {
  background-color: #141414;
  border-radius: 0;
  height: 3px;
  width: 29px;
  transition: background 0.3s ease;
}

.menu-toggle:active,
.menu-toggle:hover {
  background-color: transparent;
  border-color: transparent;
}

.menu-toggle.toggled {
  position: static;
}

.menu-toggle-box {
  height: 25px;
  width: 29px;
  line-height: 25px;
  vertical-align: middle;
}

.main-navigation {
  background-color: white;
  color: black;
  z-index: 100;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  opacity: 0;
  visibility: hidden;
  overflow: auto;
  transition: visibility 0s, opacity 0.3s ease;
  padding: 10vw;
  width: 100%;
  box-shadow: 0 0 50vw 0rem rgba(0, 0, 0, 0.25);
}
body.menu-toggled .main-navigation {
  visibility: visible;
  opacity: 1;
}

.main-navigation.toggled {
  left: auto;
  right: 0;
}

@media (min-width: 56rem) {
  .main-navigation {
    width: 50%;
  }
}

.main-navigation li {
  display: block;
  margin: 0;
  margin-bottom: 2em;
  padding: 0;
  width: 100%;
}
.main-navigation li:last-child {
  margin-bottom: 0;
}
.main-navigation li::after {
  content: none;
}

.main-navigation a {
  text-align: left;
  border-bottom: none;
  display: inline-block;
  line-height: 1;
  font-size: 40px;
  font-weight: 400;
  text-transform: capitalize;
  padding: 0;
  flex: none;
  text-decoration: none;
  position: relative;
}
.main-navigation a::after {
  background-color: black;
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  transition: width 0.3s ease;
  height: 4px;
  width: 0%;
}
.main-navigation a:hover::after {
  width: 100%;
}

body.admin-bar .main-navigation {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .main-navigation {
    top: 46px;
  }
}

@keyframes fadeIn {
  0% {
    display: inherit;
  }
  1% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  99% {
    opacity: 0;
  }
  100% {
    display: none;
  }
}

/*--------------------------------------------------------------
## Custom CSS
--------------------------------------------------------------*/
/* Make footer sit at the bottom */
#page {
  min-height: 100vh;
  display: flex;
  flex-flow: column;
  position: relative;
  overflow-x: hidden;
  width: 100%;
}
body.admin-bar #page {
  min-height: calc(100vh - 32px);
}

.site-header {
  padding: 1rem 1.75rem;
  display: flex;
  align-items: flex-end;
  width: 100%;
}

.menu-toggle {
  margin-left: 1em;
  margin-bottom: 0.5em;
  align-self: flex-end;
}

@media (min-width: 768px) {
  .site-header {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.site-branding {
  margin-right: auto;
  width: 60%;
  max-width: 240px;

  margin-bottom: 0;
}

@media (min-width: 1024px) {
  .site-branding {
    margin-bottom: 8px;
  }

  .menu-toggle {
    margin-bottom: 15px;
  }
}

.site-branding img,
.site-branding a,
.site-branding svg {
  display: block;
  height: 70px;
  width: auto;
  max-width: 100%;
}

.site-title {
  margin: 0;
}

.site-title .icon {
  width: auto;
}

body.menu-toggled .menu-toggle {
  position: relative;
  z-index: 10000;
}

.search-form .search-submit {
  padding: 21.333px 22px;
  border-radius: 50%;
  background-color: #f2f2f2;
}

.search-form .search-submit .icon {
  width: 24px;
  height: 20px;
}
.search-form .search-submit path {
  fill: #0494ca;
}

.search-form .search-submit:hover {
  background-color: #0494ca;
}
.search-form .search-submit:hover path {
  fill: white;
}

body.show-search .search-form .search-submit path {
  fill: #00316a;
}

::placeholder {
  color: #00316a;
  font-family: "Manrope", sans-serif;
  font-size: 16px;
}
::-moz-placeholder {
  color: #00316a;
  font-family: "Manrope", sans-serif;
  font-size: 16px;
}
::-webkit-input-placeholder {
  color: #00316a;
  font-family: "Manrope", sans-serif;
  font-size: 16px;
}

.site-main {
  flex: 1 auto;
}

body.blog .site-main {
  padding-top: 4rem;
}

.register-interest {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 10;
  background-color: #0494ca;
  color: white;
  text-transform: uppercase;
}

.site-content {
}

.content-area {
}

.page-header {
  text-align: center;
}

/*****

## Layout Mock

*****/
#page::after {
  /* content: ''; */
  position: absolute;
  top: 0;
  bottom: 0;
  background-image: url(src/images/mock.png);
  /* height: 100%; */
  width: 100%;
  z-index: 10000;
  pointer-events: none;
  filter: opacity(0.625);
  background-position: center top;
  background-attachment: fixed;
  background-attachment: scroll;
  background-size: 100% auto;
}
body.admin-bar::after {
  top: 32px;
}

/***************************************************************************

    Gravity Forms

***************************************************************************/

.gform_wrapper .gfield.col-6 {
  display: block;
}

.gform_wrapper .gfield.col-6 input.medium,
.gform_wrapper .gfield.col-6 select.medium {
  width: 100%;
}

.gform_wrapper .gfield.message {
  padding-top: 1em;
}

.gform_wrapper .gform_heading h3.gform_title {
  font-size: 32px;
  margin-bottom: 1em;
  text-align: center;
}

.site-main .gform_wrapper .gform_footer {
  margin-top: 0;
  padding-top: 3rem;
  clear: both;
}

.site-main .gform_wrapper .gform_footer input.button,
.site-main .gform_wrapper .gform_footer input[type="submit"] {
  /* display: block; */
  font-size: 14px;
  margin-left: auto;
  margin-right: auto;
  width: auto;
}

@media (min-width: 768px) {
  .gform_wrapper .gform_heading h3.gform_title {
    font-size: 46px;
    text-align: left;
  }
  .gform_wrapper .gfield.col-6 {
    float: left;
    clear: right;
    width: 50%;
  }
  .site-main .gform_wrapper .gform_footer input.button,
  .site-main .gform_wrapper .gform_footer input[type="submit"] {
    margin-left: 0;
  }
}

/* Settings */
:root {
  --offset: 1.75rem;
  --max_width: 98rem;
  --columns: 6;
  --gutter: 0.5rem;
  --baseline: 1rem;
  --baseline-shift: calc(var(--baseline) / 2);
  --line-thickness: 1px;
  --color: hsla(204, 80%, 72%, 0.25);
  --color-text: hsla(204, 80%, 72%, 1);
  --media-query: "base";
}

/* @media (min-width: 48rem) {
	:root {
		--offset: 2rem;
		--gutter: 0.75rem;
		--baseline: 1.5rem;
		--color: hsla(286, 51%, 44%, 0.25);
		--color-text: hsla(286, 51%, 44%, 1);
		--media-query: "small";
	}
} */

@media (min-width: 48rem) {
  :root {
    --offset: 2rem;
    --columns: 12;
    --gutter: 1rem;
    --baseline: 2rem;
    --color: hsla(204, 80%, 72%, 0.25);
    --color-text: hsla(204, 80%, 72%, 1);
    --media-query: "medium";
  }
}

@media (min-width: 70em) {
  :root {
    /* --columns: 14; */
    --offset: 2rem;
    --gutter: 2rem;
    --baseline: 3rem;
    --color: hsla(192, 100%, 43%, 0.125);
    --color-text: hsla(286, 51%, 44%, 1);
    --media-query: "large";
  }
}

/* Helper variables */
:root {
  --repeating-width: calc(100% / var(--columns));
  --column-width: calc((100% / var(--columns)) - var(--gutter));
  --background-width: calc(100% + var(--gutter));
  --background-columns: repeating-linear-gradient(
    to right,
    var(--color),
    var(--color) var(--line-thickness),
    transparent var(--line-thickness),
    transparent calc(var(--column-width) - var(--line-thickness)),
    var(--color) calc(var(--column-width) - var(--line-thickness)),
    var(--color) var(--column-width),
    transparent var(--column-width),
    transparent var(--repeating-width)
  );
  --background-baseline: repeating-linear-gradient(
    to bottom,
    var(--color),
    var(--color) 1px,
    transparent 1px,
    transparent var(--baseline)
  );
  --background-columns: repeating-linear-gradient(
    to right,
    var(--color),
    var(--color) var(--column-width),
    transparent var(--column-width),
    transparent var(--repeating-width)
  );
}

html {
  /* position: relative; */
}

html::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin-right: auto;
  margin-left: auto;
  width: calc(100% - (2 * var(--offset)));
  max-width: var(--max_width);
  min-height: 100vh;
  /* content: ""; */
  background-image: var(--background-columns), var(--background-baseline);
  background-image: var(--background-columns);
  background-size: var(--background-width) 100%;
  background-position: 0 var(--baseline-shift);
  z-index: 1000;
  pointer-events: none;
}

html::after {
  /* content: var(--media-query); */
  position: fixed;
  top: 1rem;
  left: 1rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  color: var(--color-text);
}

.woocommerce .products ul li,
.woocommerce ul.products li {
  text-align: center;
}

body.woocommerce ul.products li.product a img {
  max-height: 48vw;
  width: auto;
  margin: 0 auto 1em;
}

@media (min-width: 767px) {
  body.woocommerce ul.products li.product a img {
    max-height: 22vw;
  }
}

@media (min-width: 1200px) {
  .woocommerce .products ul,
  .woocommerce ul.products {
    display: flex;
    flex-flow: wrap;
  }

  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product {
    width: 12.5%;
    margin-right: 3.5%;
  }
  .woocommerce ul.products li.last,
  .woocommerce-page ul.products li.last {
    margin-right: 3.5%;
  }

  body.woocommerce ul.products li.product a img {
    max-height: 13vw;
  }
}
