/*
Theme Name: Bishop's Castle & Beyond
Author: The Web Orchard
Description: Theme for Bishop's Castle & Beyond
Version: 0.1
*/

:root {
  --site-full-ref: 2321px;
  --site-margins: 1rem;
  --site-width: calc(1400px + 2 * var(--site-margins));

  --a: #0D988C;
  --a-2: #B6E0DD;
  --b: #E3EDCA;

  --base-brand: #121A50;

  --header-bg: #121A50;

  --brand-r: 18;
  --brand-g: 26;
  --brand-b: 80;

  --brand: rgb(var(--brand-r), var(--brand-g), var(--brand-b));
  --brand-lt: rgba(var(--brand-r), var(--brand-g), var(--brand-b), 0.5);

  --brand-btn-bg: var(--brand);
  --brand-btn-bg-lt: var(--brand-lt);
  --brand-btn-txt: white;

  --breakpoint-desktop: 1200px;
  --breakpoint-laptop: 1024px;
  --breakpoint-tablet: 768px;
  --breakpoint-mobile: 425px;

  --red: #E50019;
  --purple: #76187E;
  --salmon: #f9443b;
}

* {
  box-sizing: border-box;
}

html {
  font-family: nimbus-sans-condensed, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

a.product-thumbnail {
  background: center no-repeat;
  background-size: cover;
  min-height: 380px;
}

@media only screen and (max-width: 768px) {
  a.product-thumbnail {
    min-height: 200px;
  }
}

h1, h2, h3 {
  margin: 2rem 0 0.5rem;
}

p {
  margin: 0.5rem 0 2rem;
}

:is(h1, h2, h3, p):first-child {
  margin-top: 0;
}

:is(h1, h2, h3, p):last-child {
  margin-bottom: 0;
}

h1, h2, h3, div#message.updated > p, .acf-label {
  font-family: bebas-neue-rounded, sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
}

h1 {
  font-size: 4rem;
}

h2, div#message.updated > p {
  font-size: 3rem;
}

@media only screen and (max-width: 800px) {
  h2, div#message.updated > p {
    font-size: 2rem;
  }
}

h3 {
  font-size: 2rem;
}

.breadcrumbs {
  padding: 1rem var(--site-margins);
  justify-content: space-between;
  max-width: var(--site-width);
  display: flex;
  margin: auto;
  width: 100%;
}

@media only screen and (max-width: 768px) {
  .breadcrumbs {
    flex-direction: column;
    gap: 1rem;
  }
}

.breadcrumbs :is(a, span) {
  color: var(--brand);
}

div#message.updated {
  padding: 0 0.6rem;
}

div#message.updated > p {
  padding: 1rem;
  margin: 1rem 0;
  background: yellowgreen;
}

.acf-label {
  font-size: 1.5rem;
}

ul.menu, .menu :is(ul, li) {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.menu :is(ul, li) a:hover {
  opacity: 75%;
}

.button:not(.acf-button, .add_media, .copy-attachment-url), .wpcf7-submit {
  font-family: bebas-neue-rounded, sans-serif;
  background-color: var(--brand-btn-bg);
  grid-template-columns: 2.4rem auto;
  padding: 0.5rem 1.5rem 0.5rem 0;
  color: var(--brand-btn-txt);
  position: relative;
  align-items: center;
  font-size: 1.5rem;
  text-align: center;
  line-height: 1;
  display: grid;
  width: 260px;
  border: none;
  gap: 0;
}

@media only screen and (max-width: 768px) {
  .button {
    width: auto;
  }
}

.button[type=reset] {
  margin-top: 1rem;
}

.button:not(.acf-button, .add_media, .copy-attachment-url)::before, .single_add_to_cart_button::before {
  font: var(--fa-font-regular);
  justify-self: center;
  font-size: 1.4rem;
  content: '\f054';
}

.button:hover {
  opacity: 0.7;
}

.button.planner {
  background-color: var(--brand-btn-bg-lt);
}

.button.planner::before {
  content: '\f0ae';
}

.button.website {
  background-color: #E30D68;
}

.button.website::before {
  content: '\f0c1';
}

.button.email {
  background-color: #009CDC;
}

.button.email::before {
  content: '\f0e0';
}

.button.phone {
  background-color: var(--a);
}

.button.phone::before {
  content: '\f095';
}

.button.social, .button.single_add_to_cart_button {
  background-color: var(--base-brand);
}

.button.facebook::before {
  font: var(--fa-font-brands);
  content: '\f39e';
}

.button.instagram::before {
  font: var(--fa-font-brands);
  content: '\f16d';
}

.button.twitter::before {
  font: var(--fa-font-brands);
  content: '\f099';
}

.button.tiktok::before {
  font: var(--fa-font-brands);
  content: '\e07b';
}

.button.linkedin::before {
  font: var(--fa-font-brands);
  content: '\f0e1';
}

.carousel {
  font-family: bebas-neue-rounded, sans-serif;
  position: relative;
}

.carousel .nav::before {
  position: absolute;
  font-size: 5.4rem;
  margin: auto 1rem;
  cursor: pointer;
  line-height: 1;
  height: 1em;
  bottom: 0;
  top: 0;
}

.carousel .next::before {
  content: '>';
  left: 100%;
}

.carousel .prev::before {
  content: '<';
  right: 100%;
}

.carousel .slides {
  scroll-snap-type: x mandatory;
  margin: 4rem 0 3rem;
  overflow-x: scroll;
  display: flex;
  gap: 2rem;
}

.carousel .slide {
  --n: 3;
  flex: 0 0 calc(100% / var(--n) - (var(--n) - 1) * 2rem / var(--n));
  scroll-snap-align: start;
  flex-direction: column;
  display: flex;
}

@media (max-width: 768px) {
  .carousel .slide {
    --n: 2;
  }
}

@media (max-width: 480px) {
  .carousel .slide {
    --n: 1;
  }
}

.carousel .slide > div {
  padding: 2rem;
  text-transform: uppercase;
  font-size: 1.25rem;
  text-align: left;
  line-height: 1;
  color: white;
}

.carousel .slide > div > div + div {
  border-top: 2px dashed;
  padding-top: 0.5rem;
  margin-top: 0.5rem;
}

.slide img {
  aspect-ratio: 1.5;
  object-fit: cover;
  width: 100%;
}

.slide > div {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.slide .button {
  margin-top: auto;
}

.slide h3 {
  margin: 1rem 0;
}

@media only screen and (max-width: 1540px) {
  .carousel .next::before {
    right: -20px;
    left: unset;
    top: -110%;
  }

  .carousel .prev::before {
    right: unset;
    left: -20px;
    top: -110%;
  }
}

body {
  flex-direction: column;
  position: relative;
  min-height: 100vh;
  display: flex;
  margin: 0;
}

body > :is(header, section:not(.video, .breadcrumbs ), footer, .related-products) > div, article > div {
  padding: 0 var(--site-margins);
  max-width: var(--site-width);
  margin: auto;
}

body > header {
  background-color: var(--header-bg);
  transition: background 0.5s;
  z-index: 20;
  right: 0;
  left: 0;
  top: 0;
}

body > header.fixed {
  position: fixed;
}

body.admin-bar > header.fixed {
  top: 32px;
}

body > header:not(.fixed) {
  position: absolute; /* TODO(suzu): this fixes non-homepage hidden top, but makes a jump on scroll need to fix that */
  background: none;
  filter: drop-shadow(1px 1px 5px rgba(0, 0, 0, 0.5));
}

@media only screen and (max-width: 1024px) {
  body > header:not(.fixed) {
    background-color: var(--header-bg) !important;
  }

  section.video {
    margin-top: 6rem;
  }
}

body > header > div {
  --header-logo-height: 85px;
  padding: 1rem var(--site-margins) !important;
  grid-template-columns: auto 1fr auto;
  display: grid;
  align-items: center;
}

body > header.fixed > div {
  --header-logo-height: 40px;
  align-items: center;
}


body > header .logo img {
  height: var(--header-logo-height);
  transition: height 0.5s;
}

body > header .menu {
  justify-self: end;
}

body > header ul.menu {
  font-family: bebas-neue-rounded, sans-serif;
  text-transform: uppercase;
  font-size: 1.2rem;
  line-height: 1;
  color: white;
}

@media (min-width: 1024px) {
  body > header ul.menu {
    position: relative;
    display: flex;
    z-index: 1;
  }

  body > header ul.menu a {
    padding: 1rem 1.2rem;
    display: block;
  }

  body > header ul.menu > li > a {
    text-align: center;
    position: relative;
  }

  body > header ul.menu > li > a::before {
    position: absolute;
    z-index: -1;
    content: '';
    bottom: 0;
    right: 0;
    left: 0;
    top: 0;
  }

  body:is(.archive, .product-template-default) > header ul.menu > li > a::before {
    background-color: var(--brand);
  }

  body > header .sub-menu {
    background-color: var(--header-bg);
    pointer-events: none;
    position: absolute;
    width: auto;
  }

  body > header .sub-menu .sub-menu {
    left: 99%;
    opacity: 1;
  }

  body:is(.archive, .product-template-default) > header .submenu {
    background-color: var(--brand);
  }

  /* Note(Mumu): note to self - the next two rules do a faux dropdown effect */
  body > header ul.menu > li > a::before, body > header ul.menu > li .sub-menu, body > header .sub-menu .sub-menu, .sub-menu .sub-menu > li {
    transition: opacity 0.5s;
    opacity: 0;
  }

  body > header ul.menu > li:hover > a::before, body > header ul.menu > li:hover > .sub-menu, body > header .sub-menu li:hover > .sub-menu, .sub-menu li:hover > .sub-menu > li {
    opacity: 1;
    /* NOTE(suzu): this is a hack for fady dropdown menus and should not work but it does */
    pointer-events: all;
  }

  body > header .sub-menu .sub-menu {
    margin-top: -65px;
    width: max-content;
  }

  body > header .menu-toggle {
    display: none;
  }
}

body > header .icons {
  align-items: center;
  align-self: center;
  cursor: pointer;
  display: flex;
  color: white;
}

body > header .icons i {
  padding: 0.5rem;
}

@media (max-width: 1024px) {
  /* NOTE(suzu): I hate this but it's friday */
  body {
    overflow-x: hidden !important;
  }

  body.menu-open > header {
    background-color: var(--header-bg);
  }

  body.menu-open.tax-product_cat > header {
    background-color: var(--brand);
  }

  body.home > header ul.menu {
    background: var(--header-bg);

  }

  body > header ul.menu {
    height: calc(100vh - 2 * 1rem - var(--header-logo-height));
    background: var(--brand);
    transform: translateX(100%);
    transition: transform 0.5s;
    overflow-y: scroll;
    position: absolute;
    font-size: 2rem;
    top: 100%;
    right: 0;
    left: 0;
  }

  .tax-product_cat > header ul.menu {
    background: var(--brand);
  }


  body > header ul.menu li li {
    font-size: 0.85em;
    margin-left: 1rem;
  }

  body > header .menu-toggle {
    font-size: 1.5rem;
  }

  body.menu-open > header ul.menu {
    transform: translateX(0);
  }

  body.admin-bar > header ul.menu {
    height: calc(100vh - 2 * 1rem - var(--header-logo-height) - 32px);
  }

  ul.menu a {
    display: block;
    padding: 1rem;
  }

  body > header .icons {
    margin: auto;
  }
}


:is(.archive, .page) > .hero {
  border-bottom: 22px solid var(--brand);
}

.hero {
  background: no-repeat center center;
  justify-content: center;
  background-size: cover;
  text-align: center;
  min-height: 1080px;
  align-content: end;
  display: grid;
}

.hero h1 {
  text-transform: uppercase;
  line-height: 1.125;
  max-width: 1056px;
  margin: auto;
  color: white;
}

.hero-blank {
  background-color: var(--brand);
  min-height: 125px;
}

.video {
  grid-template-areas: "cell";
  justify-content: center;
  align-content: center;
  display: grid;
}

.video video {
  aspect-ratio: calc(1920 / 1080);
  grid-area: cell;
  width: 100vw;
}

.video-controls {
  justify-self: center;
  align-self: end;
  font-size: 3rem;
  grid-area: cell;
  padding: 1rem;
  color: white;
  z-index: 10;
}

section.woocommerce {
  margin-top: 2rem;
}

section.woocommerce .term-description {
  padding-bottom: 2rem;
}

section.woocommerce .term-description a {
  text-decoration: underline;
  color: var(--brand);
}

section.woocommerce .afterward {
  padding: 3rem 0;
}

.woocommerce-ordering {
  display: none; /* TODO: temporary until filters are built */
}

.woocommerce-result-count {
  font-size: 16px;
  margin: 1rem 0;
}

.down-arrow::after {
  content: "";
  position: absolute;
  border-left: 57px solid transparent;
  border-right: 57px solid transparent;
  border-top: 57px solid;
  margin-top: -1px;
}

.down-arrow.down-arrow-center::after {
  margin-left: calc(50% - 57px);
}

.down-arrow.down-arrow-left::after {
  margin-left: calc(69% - 57px);
}

.down-arrow.down-arrow-right::after {
  margin-left: calc(32% - 57px);
}

/* region HOME PAGE------------------------------------------------------------------------------------------------- */
.about {
  background: linear-gradient(90deg, var(--a-2) 0%, var(--a-2) 50%, var(--b) 50%, var(--b) 100%);
}

.about > div {
  grid-template-columns: 480px 1fr;
  grid-template-areas: "copy map";
  display: grid;
}

.about :is(.copy, .view-map) {
  margin: 1.5rem 0 1.4rem 0;
}

.about p + .button {
  margin-top: 2.3rem;
  width: fit-content;
}

.about :is(.uk-map, .area-map, .view-map) {
  grid-area: map;
}

.about :is(.area-map, .view-map) {
  justify-self: end;
}

.about .uk-map {
  transform: translateX(-0.7em);
}

.copy .welcome {
  position: relative;
  z-index: 2;
}

.button.view-map {
  align-self: flex-end;
}

.layout-a.layout-a > div {
  grid-template-columns: 1fr 1fr;
  padding: 0 0 2.2rem 0;
  display: grid;
}

@media only screen and (max-width: 768px) {
  .layout-a.layout-a > div {
    padding: 1rem 1rem 0 1rem;
  }

  .about {
    background: linear-gradient(180deg, var(--a-2) 0%, var(--a-2) 50%, var(--b) 50%, var(--b) 100%);
  }

  .about > div {
    grid-template-columns: 1fr;
    grid-template-areas: "copy"
      "uk"
      "view"
      "area";
    position: relative;
  }

  .about .uk-map {
    grid-area: uk;
    transform: none;
    width: 100%;
  }

  .about .area-map {
    grid-area: area;
    width: 100%;

  }

  .about .view-map {
    grid-area: view;
    justify-self: center;
    position: absolute;
    bottom: -60px;
  }
}

@media only screen and (max-width: 1024px) {

}

section {
  --mah-bg: white;
  --mah-btn: black;
}

.layout-a > div {
  background-color: var(--mah-bg);
}


.layout-a .copy {
  flex-direction: column;
  justify-self: center;
  align-items: center;
  text-align: center;
  align-self: center;
  max-width: 500px;
  display: flex;
  color: white;
  margin: 2rem;
  gap: 2rem;
}

@media only screen and (max-width: 768px) {
  .layout-a .copy {
    margin: 1rem 0;
  }
}

.layout-a img {
  object-fit: cover;
  aspect-ratio: 1;
  width: 100%;
}

@media (max-width: 768px) {
  .layout-a.layout-a > div {
    grid-template-columns: 1fr;
  }

  .layout-a img {
    aspect-ratio: 2;
  }
}

@media (min-width: 768px) {
  section.layout-a:nth-of-type(even) .copy {
    order: -1;
  }
}

.layout-b {
  margin-bottom: 3rem;
  text-align: center;
}

.layout-b h2 {
  margin-top: 5.2rem;
  color: var(--mah-bg);
}

@media only screen and (max-width: 768px) {
  .layout-b h2 {
    margin-top: 1rem;
  }
}

.layout-b .button {
  background-color: white;
  color: var(--mah-bg);
}

.layout-b .nav::before {
  color: var(--mah-bg);
}

.layout-b .slide > div {
  background-color: var(--mah-bg);
}

.layout-c {
  grid-template-columns: 1fr 1fr;
  display: grid;
  background-color: var(--mah-bg);
}

.layout-c .button {
  background-color: var(--mah-btn);
  color: white;
}

.layout-c .copy {
  flex-direction: column;
  justify-self: center;
  align-items: center;
  text-align: center;
  align-self: center;
  max-width: 500px;
  display: flex;
  margin: 2rem;
  gap: 2rem;
}

@media only screen and (max-width: 768px) {
  .layout-c .copy {
    margin: 1rem 0;
  }
}

.layout-c .bg {
  background: no-repeat center center;
  background-size: cover;
  margin: inherit;
  min-width: 100%;
}


@media (max-width: 768px) {
  .layout-c {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) {
  section.layout-c:nth-of-type(even) .copy {
    order: 1;
  }
}

.plan-your-visit {
  background-color: #DAD800;
  text-align: center;
  min-height: 228px;
  padding-bottom: 5rem;
}

.plan-your-visit h2 {
  padding-top: 5rem;
}

.plan-your-visit-buttons {
  display: flex;
  justify-content: space-around;
}

@media only screen and (max-width: 768px) {
  .plan-your-visit {
    padding-bottom: 1rem
  }

  .plan-your-visit h2 {
    padding-top: 1rem;
  }

  .plan-your-visit-buttons {
    flex-direction: column;
  }

  .plan-your-visit-buttons .button {
    margin: 1rem auto;
    min-width: 210px; /*hack*/
  }
}

/* endregion */

body > footer {
  background-color: #1B608B;
  margin-top: auto;
  color: white;
}

body > footer > div {
  grid-template-columns: auto 260px 200px;
  padding-top: 3rem !important;
  display: grid;
  gap: 1rem;
}

body > footer ul.menu {
  column-width: 350px;
  line-height: 1;
}

body > footer ul.menu a {
  padding: 0.25rem 0;
  display: block;
}

body > footer #custom_html-2 {
  font-size: 1.5rem;
  line-height: 1;
}

body > footer #custom_html-3 {
  margin-bottom: 2rem;
  align-self: end;
}

body > footer #media_image-2 {
  margin-bottom: 2rem;
  align-self: end;
}

body > footer #media_image-3 {
  justify-self: end;
  align-self: end;
  grid-row: 1 / 3;
  grid-column: 3;
}

@media (max-width: 768px) {
  body > footer > div {
    grid-template-columns: 1fr 1fr;
  }

  body > footer #media_image-3 {
    display: none;
  }
}

@media (max-width: 512px) {
  body > footer > div {
    grid-template-columns: 1fr;
  }

  body > footer #custom_html-3 {
    order: 1;
  }

  body > footer #media_image-2 {
    margin-bottom: 0;
  }

  body > footer ul.menu {
    column-width: 150px;
  }
}

.tax-product_cat > header, .product-template-default > header {
  background-color: var(--brand) !important;
}

.tax-product_cat > header .sub-menu {
  background-color: var(--brand);
}

.single-product > header .sub-menu {
  background-color: var(--brand);
}

.tax-product_cat :is(.products, .products li) {
  position: relative;
  list-style: none;
  z-index: 10;
  padding: 0;
  margin: 0;
}

.tax-product_cat .products .category:nth-child(2n+1) {
  background-color: var(--brand-lt);
}

.tax-product_cat .products .category {
  grid-template-columns: 1.2fr 1fr;
  display: grid;
}

@media only screen and (max-width: 768px) {
  .tax-product_cat .products .category {
    grid-template-columns: 1fr;
    margin-bottom: 1rem;
  }
}

.tax-product_cat .products .category > div {
  justify-content: space-between;
  flex-direction: column;
  padding: 3rem;
  display: flex;
  gap: 1rem;
}

@media only screen and (max-width: 768px) {
  .tax-product_cat .products .category > div {
    order: 1;
    border: 1px solid var(--brand-lt);
    padding: 1.5rem;
  }
}

.tax-product_cat .products .category .button {
  align-self: start;
}

.tax-product_cat .products .category img {
  object-fit: cover;
  max-height: 400px;
  width: 100%;
}

@media only screen and (max-width: 768px) {
  .tax-product_cat .products .category img {
    max-height: 200px;
  }
}

.tax-product_cat .products .product {
  border-bottom: 0.8rem solid var(--brand);
  grid-template-columns: 0.7fr 1fr;
  margin: 1rem 0;
  display: grid;
}

@media only screen and (max-width: 768px) {
  .tax-product_cat .products .product {
    grid-template-columns: 1fr;
  }
}

.tax-product_cat .products .product > div > *:not(a) {
  margin: 1rem 2rem;
}

@media only screen and (max-width: 800px) {
  .tax-product_cat .products .product > div > * {
    margin: 1rem 0;
  }
}

.tax-product_cat .products .product .tags {
  font-size: 2rem;
  flex-wrap: wrap;
  display: flex;
  gap: 1rem;
}

@media only screen and (max-width: 800px) {
  .tax-product_cat .products .product .tags {
    justify-content: center;
  }
}

.tax-product_cat .products .product :is(h2, .tags) {
  color: var(--brand);
  font-size: 2.2rem;
  margin: 1rem 2rem;
}

.already-added.button {
  font-size: 22px;
}

.tax-product_cat .products .product :is(.button, .already-added) {
  margin-left: auto;
  margin-right: 0;
}

.tax-product_cat .products .product .already-added {
  text-align: right;
  margin-top: 1rem;
}

@media only screen and (max-width: 800px) {
  .tax-product_cat .products .product .button {
    margin: auto;
  }
}

.display-choice {
  display: flex;
}

.display-choice i {
  font-size: 45px;
  padding-right: 0.25rem;
}

@media only screen and (max-width: 800px) {
  .display-choice {
    justify-content: center
  }

  .display-choice i {
    font-size: 25px;
  }
}


.display-choice a {
  display: flex;
  align-items: center;
  font-family: 'bebas-neue-rounded';
  padding-right: 1rem;
  color: black;
  transition: 0.2s all ease-in-out;
}

.display-choice a:hover {
  color: var(--brand);
}

.tax-product_cat .products {
  display: flex;
  flex-direction: column;
}

/* region Grid View */
.tax-product_cat .product-grid .products .product > div > * {
  padding: 0.5rem 0;
  margin: 0;
}

.tax-product_cat .product-grid .products h2 {
  margin: 0 !important;
}

.tax-product_cat .product-grid .products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media only screen and (max-width: 1200px) {
  .tax-product_cat .product-grid .products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 800px) {
  .tax-product_cat .product-grid .products {
    grid-template-columns: repeat(1, 1fr);
  }
}

.tax-product_cat .product-grid .products .product {
  grid-template-columns: 1fr;
  grid-template-rows: 300px auto;
}

@media only screen and (max-width: 800px) {
  .tax-product_cat .product-grid .products .product {
    margin: 0;
  }
}

.tax-product_cat .product-grid .products .product .short-description {
  display: none;
}

.tax-product_cat .product-grid .products .product a.product-thumbnail {
  min-height: 300px;
}

.tax-product_cat .product-grid .products .product > div {
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
}

@media only screen and (max-width: 800px) {
  .tax-product_cat .product-grid .products .product > div {
    padding: 1rem 0;
    gap: 0.5rem;
  }
}

.tax-product_cat .product-grid .category {
  grid-template-columns: 1fr;
}

@media only screen and (max-width: 800px) {
  .tax-product_cat .product-grid .category img {
    width: 100%
  }
}

.tax-product_cat .product-grid .category > div {
  order: 1;
}

.tax-product_cat .product-grid .product-buttons {
  margin-top: auto !important;
  gap: 10px;
  display: flex;
}

@media only screen and (max-width: 450px) {
  .tax-product_cat .product-grid .product-buttons {
    flex-direction: column;
  }
}

.tax-product_cat .product-grid .product-buttons .button {
  width: 100%;
  font-size: 1rem;
}

/* endregion */

.product-tags {
  display: flex;
  gap: 0.5rem;
}

.product-tags i {
  font-size: 40px;
  color: var(--brand);
}

.product-template-default .product-body {
  grid-template-columns: 8fr 2fr;
  padding: 1rem 0;
  grid-gap: 1rem;
  display: grid;
}

@media only screen and (max-width: 768px) {
  .product-template-default .product-body {
    grid-template-columns: 1fr;
  }
}

.product-template-default .product-body .sorry-for-the-divs {
  display: flex;
  justify-content: space-between;
}

.product-template-default .product-body h2 {
  color: var(--brand);
}

.product-template-default .product-body .woocommerce-product-gallery {
  border-bottom: 0.8rem solid var(--brand);
  position: relative;
}

.product-template-default .product-body .woocommerce-product-gallery figure {
  margin: 0;
}

p.image-caption {
  position: absolute;
  bottom: 0;
  padding: 0 30px;
  background: var(--brand);
  color: white;

}

.product-template-default .product-body .woocommerce-product-gallery img {
  aspect-ratio: 1.8;
  object-fit: cover;
  width: 100%;
}

.product-template-default .product-body .product-description {
  margin: 2rem 0;
}

.product-template-default .product-body .product-description img {
  margin: 2rem auto;
}

.product-template-default .product-body .product-buttons {
  flex-direction: column;
  display: flex;
  gap: 0.5rem;
}

.product-template-default .product-body .product-buttons .button {
  width: 100%;
}

.product-template-default .related-products {
  background-color: #D7E0F2;
  padding: 3rem 0;
}

.product-template-default .related-products .products.columns-3 {
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  margin: 2rem auto;
  padding: 0;
  display: grid;
  grid-gap: 1rem;
}

@media only screen and (max-width: 1024px) {
  .product-template-default .related-products .products.columns-3 {
    grid-template-columns: 1fr;
  }

  .product-template-default .related-products .products.columns-3 .slide {
    padding: 20px;
  }

  .product-template-default .related-products .products.columns-3 img {
    max-height: 300px;
  }

}

.product-template-default .related-products h2 {
  margin: auto;
  max-width: var(--site-width);
}

.product-template-default .related-products .products.columns-3 li > div {
  display: flex;
  flex-direction: column;
}

.product-template-default .related-products .products.columns-3 li > a > img {
  width: 400px;
  height: 200px;
  object-fit: cover;
}

.product-template-default .related-products .products.columns-3 li > a > img:hover {
  opacity: 85%
}

.product-template-default .related-products .products.columns-3 li > div .button {
  text-align: center;
  margin-bottom: 1rem;
  margin-left: 20%;
  margin-right: 20%;
  display: none;
}

.product-template-default .related-products .products.columns-3 li > div .short-description {
  display: none;
}

.product-template-default .related-products .products.columns-3 li > div .tags {
  display: none;
}

.dashboard-container {
  padding: 3rem 0;
  margin: auto;
}

.dashboard-container .logout a {
  text-decoration: underline;
  color: orange;
}

.dashboard-container .dashboard-places p.error {
  background: lightpink;
  align-items: center;
  border-radius: 5px;
  font-size: 1.2rem;
  color: var(--red);
  padding: 1rem;
  display: flex;
}

.dashboard-container .dashboard-places p.error:before {
  font-family: 'Font Awesome 6 Pro';
  padding-right: 1rem;
  content: '\f071';
  font-size: 2rem;
}

.woocommerce-form-login {
  flex-direction: column;
  max-width: 500px;
  padding: 2rem 0;
  display: flex;
  margin: auto;
}

.woocommerce-form-login input:is([type=text], [type=password]) {
  padding: 0.4rem;
  border: 1px solid black;
  border-radius: 3px;
  width: 250px;
}

.woocommerce-form-row, .form-row, .woocommerce-LostPassword {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

@media only screen and (max-width: 500px) {
  .woocommerce-form-row, .form-row, .woocommerce-LostPassword {
    flex-direction: column;
  }
}

.woocommerce-account .woocommerce h2 {
  text-align: center;
}

.woocommerce-info {
  padding-bottom: 3rem;
}

#acf-frontend-form {
  width: var(--site-width);
  padding: 3rem 2rem;
  margin: 4rem auto auto auto;
}

.acf-form-submit {
  padding: 1rem 0.6rem;
}

.acf-input input, .acf-input select {
  padding: 0.4rem !important;
  border: 1px solid black;
  border-radius: 3px;
}

.acf-icon.small, .acf-icon.-small {
  line-height: 22px;
}

.wpcf7 > p {
  grid-gap: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.wpcf7 > p input:not([type=submit]) {
  padding: 0.4rem;
  border: 1px solid black;
  border-radius: 3px;
  width: 240px;
}

@media only screen and (max-width: 500px) {
  .wpcf7 > p {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .wpcf7 > p input:not([type=submit]) {
    width: 100%;
  }
}

/* # Displays the Places Gallery
---------------------------------------------------------------------------------------------------- */
.places-gallery {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
}

@media only screen and (max-width: 768px) {
  .places-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
}

.places-gallery img {
  aspect-ratio: 1.8;
  object-fit: cover;
  width: 100%;
}


/* # Mini-cart CSS
---------------------------------------------------------------------------------------------------- */

.header-basket {
  position: relative;
}

.header-basket input {
  display: none;
}

.header-basket label {
  cursor: pointer;
}

.header-basket input + .mini-cart {
  transition: opacity 0.5s;
  top: calc(100% + 1rem);
  pointer-events: none;
  position: absolute;
  padding: 2rem;
  width: 480px;
  opacity: 0 !important;
  right: 0;
}

.header-basket input:checked + .mini-cart {
  pointer-events: all;
  opacity: 1 !important;
  max-height: calc(100vh - 250px);
  overflow-y: scroll;
}

@media only screen and (max-width: 590px) {
  .header-basket input:checked + .mini-cart {
    right: -106px;
    width: 100vw;

  }
}

.mini-cart {
  filter: drop-shadow(1px 1px 5px rgba(0, 0, 0, 0.5));
  background-color: white;
  justify-items: start;
  display: grid;
  color: black;
  gap: 2rem;
}

.mini-cart ul {
  display: grid;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
}

.mini-cart li {
  font-family: bebas-neue-rounded, sans-serif;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  font-size: 1.5rem;
  line-height: 1;
  display: grid;
  gap: 0.5rem;
}

.mini-cart img {
  aspect-ratio: 1.5625;
  object-fit: cover;
  width: 100%;
}

.mini-cart i {
  font-size: 1.5rem;
}

.mini-cart :not(.tooltip) > i {
  margin-left: calc(2rem - 0.5rem);
  color: var(--red);
}

.mini-cart .button {
  background-color: var(--header-bg);
  padding-left: 1.5rem;
  display: block;
  color: white;
  width: auto;
}

.mini-cart .button::before {
  content: '';
}

/* # Header Search Drawer
---------------------------------------------------------------------------------------------------- */

.header-search input + .header-search-drawer {
  pointer-events: none;
  border: 0;
}

.header-search input:checked + .header-search-drawer {
  pointer-events: all;
  opacity: 1;
  border: 0;
}

@media only screen and (max-width: 768px) {
  .header-search input:checked + .header-search-drawer {
    right: -66px;
    width: 100vw;
  }
}

.header-search label {
  cursor: pointer;
}

#header-search-toggle {
  display: none;
}

.header-search {
  position: relative;
}

.header-search-drawer {
  background-color: white;
  border: solid grey 1px;
  position: absolute;
  right: 0;
  top: calc(100% + 1rem);
  transition: opacity 0.7s;
  opacity: 0;
  color: black;
  width: 500px;
  height: 1.6rem;
}

.is-search-icon svg {
  width: 22px;
  display: inline;
  background-color: transparent;
  border: 0px;

}

/* # Contact Form
---------------------------------------------------------------------------------------------------- */

/*
** Contact Form 7 Styles
*/

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="password"],
.wpcf7-form input[type="search"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  color: #1f252b;
  width: 100%;
  padding: 12px 16px;
  border-radius: 0;
  border: 0;
}

.wpcf7-form p {
  margin: 0 0 28px;
}

.wpcf7-text:focus,
.wpcf7-textarea:focus {
  outline: 1px solid rgba(84, 222, 197, 0.9);
  outline-offset: 0;
}

div.wpcf7-mail-sent-ok {
  border: 0;
  background: #5471de;
  color: white;
  padding: 18px;
}

div.wpcf7-acceptance-missing,
div.wpcf7-validation-errors {
  border: 0;
  background: var(--salmon);
  color: white;
  padding: 18px;
}

span.wpcf7-not-valid-tip {
  color: var(--salmon);
}

/*
** Button Styles
*/

.wpcf7-form .button {
  background-color: #14e2ae;
  border: 0;
  color: white;
  border-radius: 1px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 15px;
  width: auto;
  padding: 20px 42px;
  letter-spacing: 2px;
  font-size: 14px;
}

.wpcf7-form .button:hover {
  cursor: pointer;
  box-shadow: 0px 7px 16px -7px rgba(0, 0, 0, 0.4);
  border: 0;
}

div.search-results {
  margin-bottom: 3rem !important;
}

.search-title {
  padding: 3rem 0;
}

div.search-results h3 {
  padding: 1rem 0;
}

div.search-results > div {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background-color: var(--brand);
  margin: 1rem 0;
  color: white;
}

@media only screen and (max-width: 768px) {
  div.search-results > div {
    grid-template-columns: repeat(1, 1fr);
  }
}


div.search-results img {
  height: 300px;
  width: 100%;
  object-fit: cover;
}

div.search-results a {
  padding: 2rem;
}

ul.page-numbers {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 30px;
}

.pagination {
  display: flex;
  justify-content: space-evenly;
  max-width: 800px !important;
}

.pagination a {
  font-size: 34px;
}

.pagination span {
  font-size: 30px;
}

/*
** Place 'Add to Planner' hide quantity input
*/
.quantity {
  visibility: hidden;
  display: none;
}

/*
** Place dashboard 'ACF Editor Instruction' text
*/
.acf-field p.description {
  display: block;
  margin-top: 6px;
  color: #667085;
  font-size: 0.8rem;
  font-family: nimbus-sans-condensed, sans-serif;
  font-weight: 400;
  line-height: 1rem;
}


.is-search-form.is-form-style.is-form-style-3.is-form-id-811.is-ajax-search {
  padding: 2px;
}

.is-search-icon {
  height: auto;
  width: 20px;
  margin: 0;
}

._it-form {
  display: flex;
  justify-content: center;
}

._it-form > div {
  text-transform: uppercase;
  display: inline-grid;
  font-size: 1.5rem;
  gap: 1rem;
}

._it-form > div > div {
  display: inline-grid;
  justify-items: start;
  gap: 0.5rem;
}

._it-form input:not([type="checkbox"]) {
  width: 100%;
}

._it-form .button {
  display: block;
}

._it-form .button::before {
  content: '';
}

input, select, textarea {
  border: 1px solid #707070;
  font: inherit;
}

article {
  margin-bottom: 2rem;
}

#filters {
  transition: all 0.5s ease-out;
  position: relative;
  max-height: 0px;
  z-index: 5;
  opacity: 0;
}

#filters.open {
  max-height: 1500px;
  opacity: 1;
}

#filters form {
  background-color: var(--brand-lt);
}

#filters form:first-of-type {
  background-color: var(--brand-lt);
  padding: 1rem;
}

#filters form:last-of-type {
  background-color: var(--brand-lt);
  padding: 0rem 1rem 1rem 1rem;
}

#filters h2 {
  padding-bottom: 1rem;
}

#filter-container {
  padding-bottom: 3rem;
  display: flex;
  gap: 3rem;
}

@media only screen and (max-width: 768px) {
  #filter-container {
    flex-direction: column;
  }
}

/* region new hot shit (Guides) */
.guides-container {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 3rem !important;
  display: grid;
  gap: 1rem;
}

@media only screen and (max-width: 1200px) {
  .guides-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media only screen and (max-width: 1024px) {
  .guides-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 768px) {
  .guides-container {
    grid-template-columns: 1fr;
  }
}

.guides-container > div {
  background-color: var(--brand);
}

.guides-container h3 {
  padding: 2rem 1rem;
  text-align: center;
  color: white;
  margin: 0;
}

/* endregion */

.media-container {
  grid-template-columns: repeat(3, 1fr);
  display: grid;
  gap: 1rem;
  padding-bottom: 3rem !important;
}

@media only screen and (max-width: 768px) {
  .media-container {
    grid-template-columns: 1fr;
  }
}

.media-container h3 {
  padding-bottom: 1rem;
}

.media-container > div {
  background-color: var(--purple);
  flex-direction: column;
  min-height: 300px;
  display: flex;
  padding: 2rem;
  color: white;

}

.media-container .media-details {
  align-items: baseline;
  display: flex;
  gap: 1rem;
  padding-bottom: 1rem;
}

.media-container .media-details p {
  margin: 0;
}

.media-container .media-details .publisher {
  font-family: bebas-neue-rounded, sans-serif;
  font-size: 24px;
}

.media-container .media-details .publish-date {
  font-family: bebas-neue-rounded, sans-serif;
  font-size: 18px;
}

.media-container .media-button {
  border: 1px solid white;
  padding: 6px 15px;
  margin-top: auto;
  width: fit-content;
}

.media-container .media-button::before {
  font: var(--fa-font-regular);
  padding-right: 0.7rem;
  content: '\f08e';
}


/* Register Business Section */

.origin-widget.origin-widget-list-simple-green ul li {
  padding-bottom: 1em;
  padding-left: 6px;
  font-size: 1rem;
  line-height: normal;
}

.origin-widget.origin-widget-list-simple-green li::marker {
  font: var(--fa-font-regular);
  content: '\f058 ';
  font-size: 1.5rem;
  color: #8abb2a;
}

/* Contact Form 7 two column */
.content-column. {
  margin-bottom: 1rem;
  font-size: .8rem;
  width: 50%;
}

.content-column.one_half {
  padding-right: 2em;
  padding-bottom: 1em;
}

.one_half.last_column {
  padding-left: 2em;
  padding-bottom: 1em;
}

/* Contact Form 7 Submit Button
 -------------------------------*/
.wpcf7 input[type="submit"] {
  color: white;
  font-size: 22px;
  background: #76187e;
  padding: 10px 35px 10px 35px;
  border: none;
  width: auto;
  text-transform: uppercase;
  margin-left: 2em;
}

.wpcf7 input:hover[type="submit"] {
  background: #000000;
  transition: all 0.4s ease 0s;
}

.pre-page-content {
  padding: 3rem var(--site-margins) !important;
}

ul.walks-downloads {
  list-style: none;
  padding: 0;
}

ul.walks-downloads li {
  padding: 0.2em 1.3em;
}

ul.walks-downloads li:before {
  font-family: var(--fa-style-family-classic);
  display: inline-block;
  margin-left: -1.3em; /* same as padding-left set on li */
  content: "\f56d"; /* FontAwesome Unicode */
  width: 1.3em; /* same as padding-left set on li */
}

.it-form-wrapper h2 {
  font-family: inherit;
  font-weight: normal;
  font-size: 1.5rem;
  color: var(--purple);
  padding: 1rem;
  margin: 0;
}

/* region cart */
article.post .mini-cart li {
  grid-template-areas: "thumb title icon" "thumb title delete";
  grid-template-columns: 250px 1fr 60px;
  grid-template-rows: auto 1fr;
  background-color: #f2f2f2;
  font-size: inherit;
  gap: 1rem;
}

article.post .mini-cart li:nth-child(2n) {
  background-color: #EDF8FD;
}

article.post .mini-cart [data-area="thumb"] {
  grid-area: thumb;
}

article.post .mini-cart [data-area="title"] {
  flex-direction: column;
  padding-bottom: 1rem;
  padding-top: 2rem;
  block-size: 100%;
  grid-area: title;
  display: flex;
  gap: 0.5rem;
}

article.post .mini-cart img {
  aspect-ratio: 1.35;
}

article.post .mini-cart h2 {
  font-size: 1.5rem;
  margin: 0;
}

article.post .mini-cart .address {
  color: #6D6F72;
}

article.post .mini-cart .time {
  grid-template-areas: "icon time" "icon date";
  grid-template-columns: auto 1fr;
  margin-top: auto;
  display: grid;
  gap: 0 0.5rem;
}

article.post .mini-cart .time::before {
  font-family: var(--fa-style-family-classic);
  color: var(--brand);
  font-size: 1.5rem;
  content: '\f34e';
  grid-area: icon;
}

article.post .mini-cart [data-area="icon"] {
  background-color: var(--brand);
  justify-content: center;
  flex-direction: column;
  text-align: center;
  font-size: 0.8rem;
  block-size: 100%;
  padding: 0.5rem;
  grid-area: icon;
  display: flex;
  color: white;
  gap: 0.5rem;
}

article.post .mini-cart [data-area="icon"] i {
  font-size: 1.5rem;
  color: white;
  margin: 0;
}

article.post .mini-cart [data-area="delete"] {
  justify-self: center;
  padding-bottom: 1rem;
  grid-area: delete;
  align-self: end;
}

article.post .mini-cart [data-area="delete"] i {
  font-size: 1.5rem;
  margin: 0;
}

/* endregion */

/* region it-form */
.it-form {
  grid-template-columns: auto 1fr;
  display: grid;
  padding: 1rem;
  gap: 0.5rem;
}

.it-form > * {
  grid-column: 1 / -1;
}

.it-form :is([for="it-name"], .required-notice, [type="checkbox"]), .it-form [type="checkbox"] + label {
  grid-column: span 1;
}

.it-form label {
  margin-top: 0.5rem;
}

.it-form .required {
  color: var(--red);
}

.it-form .required-notice {
  justify-self: end;
}

.it-form h3 {
  font-family: inherit;
  margin: 0.5rem 0;
  font-size: 1rem;
  color: var(--purple);
}

.it-form [type="checkbox"] + label {
  align-self: center;
  margin: 0;
}

.it-form em, .it-form [type="checkbox"] + label {
  font-size: 0.65rem;
}

/* endregion */

.tooltip {
  position: relative;
}

.tooltip:hover .tooltiptext, .tooltip.toggle-text .tooltiptext {
  display: block;
}

span.tooltiptext {
  display: none;
  font-size: 22px;
  background: var(--brand);
  color: white;
  text-align: center;
  border-radius: 6px;
  padding: 5px 20px;
  position: absolute;
  top: 60px;
  right: -80%;
  z-index: 50;
}

header .tooltiptext {
  top: 30px;
}

#basket-count {
  background-color: var(--red);
  justify-content: center;
  pointer-events: none;
  align-items: center;
  border-radius: 50%;
  position: absolute;
  font-size: 16px;
  display: flex;
  height: 22px;
  width: 22px;
  padding: 0;
  margin: 0;
  z-index: 1;
}

#basket-count::after {
  content: attr(data-count);
}

#basket-count[data-count="0"] {
  display: none;
}

a.added_to_cart.wc-forward {
  display: none !important;
}

.notfound-container {
  margin-bottom: 2rem !important;
}

body > footer #custom_html-3 > div > div > img {
  max-height: 66px;
}

.button.loading {
  cursor: wait;
  font-size: 0;
}

.button.loading::after {
  content: 'Please Wait...';
  font-size: 1.4rem;
  grid-column: 2;
  grid-row: 1;
}

.no {
  background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' stroke='black' stroke-width='4' stroke-dasharray='6%2c 14' stroke-dashoffset='9' stroke-linecap='square'/%3e%3c/svg%3e");
  display: block;
  width: 200px;
  height: 1px;
}

/*
.em-item-meta-line.em-event-date.em-event-meta-datetime {
  width: 40% !important;
}

[sahil] > .em-event.em-item > .em-item-image img {
  height: 560px;
  object-fit: cover;
  margin: auto;
}

@media only screen and (max-width: 1420px) {
  [sahil] > .em-event.em-item {
    width: 48%;
  }
}


@media only screen and (max-width: 940px) {
  [sahil] > .em-event.em-item {
    width: 100%;
  }
}

.em-event.em-item {
  margin-right: 2%;
  border: 6px solid #121a50;
  width: 31%;
  padding: 30px;
  float:left;
  margin-bottom:2%;
}
.em-item-meta-line.em-event-date.em-event-meta-datetime {
  width: 50%;
  float: left;
}
.em-event-meta.em-item-meta {
  margin: 20px 0;
}
a.em-item-read-more.button {
  background: #76187e;
}
div#em-events-list-grouped-1 h2 {
  width: 100% !important;
  float: left;
}
!*.post-id-4277 .em-item-image {
    display: none !important;
}*!
.em-item-image {
  height: 560px;
}
.post-id-4277 .em-item-desc {
  display: none !important;
}
section.event-form-name.em-event-editor-section {
  width: 50%;
  float: left;
  margin-bottom: 30px;
  padding: 20px;

}
section.event-form-when.em-event-editor-section {
  width: 50%;
  float: right;
  padding: 20px;

}
input, select, textarea {
  border: 1px solid #707070;
  font: inherit;
  padding: 10px;
}
.em-datepicker-until-fields label {
  margin: 0 20px;
  text-transform: capitalize;
}
.em-datepicker-until-fields {
  margin-bottom: 20px;
}
.em-time-range {
  margin: 20px 0;
}
section.event-form-where {
  margin-bottom: 25px;
}
section.event-form-image.em-event-editor-section {
  margin: 25px 0;
}
p#event-image-img {
  margin-bottom: 15px;
}
input[type="checkbox"] {
  height: 18px;
  width: 18px;
  position: relative;
  top: 2px;
}
input.button-primary {
  background: #121a50;
  border: 0;
  font-family: 'bebas-neue-rounded';
  color: #fff;
  font-size: 30px !important;
  padding: 10px;
}
.em-location-data .input label {
  display: inline-block;
  width: 10% !important;
}
.em-location-data-name {
  margin: 20px 0;
}
.em-location-data .input .input {
  margin-bottom: 20px !important;
}
.event-form-with-recurrence p {
  display: none;
}
.em-event-editor-section {
  margin-bottom: 20px;
}
section.event-form-details {
  margin-top: 50px !important;
  background: #eee !important;
  padding: 20px;
}
section.event-form-where {
  margin-bottom: 25px;
  background: #eee;
  padding: 20px;
  padding-bottom: 60px;
}
section.event-form-image.em-event-editor-section {
  margin: 25px 0;
  background: #eee;
  padding: 20px;
}

 */

.em.em-calendar.size-medium .em-cal-body .em-cal-day .em-cal-event, .em.em-calendar.size-small .em-cal-body .em-cal-day .em-cal-event {
  display: block;
  width: 100%;
}

.em.em-calendar .em-cal-body.event-style-pill .em-cal-event > div {
  width: 90%;
  position: unset;
  height: auto;
}

.em.em-calendar.size-medium .em-cal-body, .em.em-calendar.size-small .em-cal-body {
  justify-items: center;
  align-items: start;
}


.em.em-calendar .em-cal-body {
  grid-auto-rows: unset;
}

.em.em-calendar .em-cal-body.event-style-pill .em-cal-event {
  position: unset;
  height: auto;
}

.em.em-calendar.size-medium .em-cal-body, .em.em-calendar.size-small .em-cal-body {
  align-items: start;
}


.em.em-calendar.size-medium .em-cal-body .em-cal-day, .em.em-calendar.size-small .em-cal-body .em-cal-day {
  aspect-ratio: unset;
}

.em.em-calendar.size-medium .em-cal-body .em-cal-day .em-cal-day-date, .em.em-calendar.size-small .em-cal-body .em-cal-day .em-cal-day-date {
  position: unset;
  align-self: stretch;
  justify-self: stretch;
  background-color: #EEE;
  border: 1px solid white;
}


.em.em-calendar .em-cal-body.event-style-pill .em-cal-event > div {
  white-space: unset;
}

.page-id-4314 :is(h1, h2, h3, .em-event-text) {
  font-size: 34px;
  font-family: 'bebas-neue-rounded', sans-serif;
}

.page-id-4314 .input {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.page-id-4314 p#event-image-img {
  padding: 10px 0;
  margin: 0;
}

.page-id-4314 input.button-primary {
  font-family: bebas-neue-rounded, sans-serif;
  background-color: var(--brand-btn-bg);
  padding: 0.5rem 1.5rem;
  color: var(--brand-btn-txt);
  width: 260px;
  font-size: 1.5rem;
}

.page-id-4314 form section:not(.event-form-submit) {
  width: 60%;
  background: #F1F1F1;
  padding: 20px;
  margin: 20px auto;
  border-radius: 5px;
}

.page-id-4314 .event-form-submit {
  width: 60%;
  margin: 20px auto;
}

/*.page-id-4314 section.event-form-submitter.em-event-editor-section, .event-form-bookings.em-event-editor-section {*/
/*  display: none;*/
/*}*/

.page-id-4314 .em-datepicker-until-fields {
  margin-top: 1rem;
}

.page-id-4314 input#event-image {
  background: white;
}

#event-owner-name, #event-owner-email {
  width: 100%;
}

#em-view-1 {
  overflow-x: scroll;
}

div#em-calendar-1 {
  width: fit-content;
}

.em.em-calendar .em-cal-head > div {
  width: 115px !important;
}


.featured-events {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;

  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
}


.post a{
  font-weight: bold;
}
.post a:hover{
  font-weight: bold;
  color:var(--header-bg);
}


div.ui-datepicker {
  background-color: white;
  border: 1px solid;
  padding: 1rem;
}

.ui-datepicker-header {
  display: grid;
  grid-template-columns: auto auto;
  gap: 1rem;

  a {
    cursor: pointer;
  }

  a + a {
    text-align: right;
  }

  > div {
    grid-column: span 2;
  }
}


.gform-theme {
  margin: auto;
  max-width: 800px;
}

.gform_fields {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  align-items: center;
  margin: 1rem 0;

  .gfield {
    grid-column: span 12;
  }

  .gfield--width-half {
    grid-column: span 6;
  }

  .gfield--width-third {
    grid-column: span 4;
  }

  .gfield--width-quarter {
    grid-column: span 3;
  }

  .width-fifth {
    grid-column: span 2;
  }

  .hidden_label > label, .hidden_label > legend {
    display: none;
  }

  .gfield_label {
    font-weight: bold;
    margin-bottom: 0.5rem;
    line-height: 1;
    display: block;
  }

  [type="text"], [type="email"], [type="number"], select {
    width: 100%;
    padding: 0.5rem;
  }

  fieldset {
    border: none;
    padding: 0;
  }

  .gfield_radio, .gfield_checkbox {
    display: flex;
    gap: 1rem;
  }

  .gfield--type-time > div, .gfield--input-type-time > div {
    display: flex;
    gap: 1rem;
    align-items: center;
  }

  .gfield--type-section, .gfield--input-type-section {
    border-top: 2px solid;
    padding-top: 1rem;

    ~ .gfield--input-type-section, .gfield--type-section {
      margin-top: 3rem;
    }
  }

  .until {
    text-align: center;
    margin-top: calc(20px + 0.5rem);
  }
}

.gfield_select_tomselect {
  --ts-select-font-size: 20px;
  --ts-select-padding-item-y: 0.5rem;
  --ts-select-padding-item-x: 0.5rem;

  .ts-control {
    gap: 0.5rem;
    padding: 0.5rem !important;

    input {
      width: auto;
    }
  }
}

.ui-datepicker-unselectable {
  opacity: 0.2;
}
