/*
Theme Name: Vitiligo Society Theme
Author: Octophin Digital & Festoon Studios
Author URI: https://octophindigital.com http://www.festoon.studio
*/

/* @import url("fonts/fonts.css"); */

@import url("reset.css");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;600&display=swap");

@import url("instagram.css");

html,
body {
  position: relative;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  font-size: 18px;
}

#wpadminbar * {
  max-width: initial;
}

#wpadminbar .quicklinks > ul > li > a {
  padding: 0 0.3125rem 0 0.25rem;
}

@media screen and (max-width: 600px) {
  #wpadminbar {
    position: fixed;
  }
}

/* Newsletter block */
.newsletter-signup__header {
  background-color: #d6436d;
  background-image: url(images/newsletter-signup.svg);
  background-repeat: no-repeat;
  background-position: 24px center;
  padding: 36px 24px;
  position: relative;
  border-bottom: 4px solid rgba(0, 0, 0, 0.2);
}

.newsletter-signup__header-text-outer {
  margin-left: 64px;
}

.newsletter-signup__header-text-outer h2 {
  font-size: 24px;
  color: #fff;
  font-weight: 600;
  line-height: 36px;
}

.newsletter-signup__header-expand-outer {
  position: absolute;
  right: 24px;
  top: 24px;
  height: 40px;
}

.newsletter-signup__header-expand-outer > a {
  height: 62px;
  border: 2px solid #fff;
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 16px;
  line-height: 30px;
  font-weight: 500;
  font-size: 20px;
}

.newsletter-signup__header-expand-outer > a:hover {
  background: #fff;
  color: #d6436d;
}

.newsletter-signup__bottom {
  background: #fff;
  overflow: hidden;
  transition: max-height 1s, opacity 1s;
  max-height: 0;
  opacity: 0;
}

.newsletter-signup__bottom.newsletter-signup__bottom--expanded {
  max-height: 1000px;
  opacity: 1;
}

.newsletter-signup__form {
  padding: 40px 40px 0 40px;
}

.newsletter-signup__form > .mauticform_wrapper {
  margin: 36px 0 0 0;
}

.newsletter-signup__form--completed .mauticform-innerform,
.newsletter-signup__form--completed .newsletter-signup__intro {
  display: none;
}

.newsletter-signup__form--completed > .mauticform_wrapper {
  margin: 0;
}

.newsletter-signup__form .mauticform-post-success .mauticform-message {
  margin-bottom: 30px;
  color: #46b9b1e6;
  text-align: center;
  font-size: 24px;
  line-height: 130%;
}

.newsletter-signup__form p,
.newsletter-signup__legal p {
  font-size: 24px;
  font-weight: 300;
  color: #6e6e6e;
  text-align: center;
}

.newsletter-signup__legal a,
.newsletter-signup__legal a:visited {
  color: #6e6e6e;
}

.newsletter-signup__legal {
  padding: 0 40px 40px 40px;
}

.newsletter-signup__legal p {
  font-size: 16px;
}

.newsletter-signup__form > .mauticform_wrapper {
  max-width: inherit;
}

.newsletter-signup__form label.mauticform-label {
  text-indent: -999999px;
  height: 0;
  margin: 0;
}

@media (min-width: 900px) {
  .newsletter-signup__form .mauticform-row:not(.mauticform-button-wrapper) {
    width: 50%;
    float: left;
  }

  .newsletter-signup__form
    .mauticform-row:not(.mauticform-button-wrapper):nth-of-type(odd) {
    padding-right: 8px;
  }

  .newsletter-signup__form
    .mauticform-row:not(.mauticform-button-wrapper):nth-of-type(even) {
    padding-left: 8px;
  }

  .newsletter-signup__form .mauticform-row.mauticform-button-wrapper {
    clear: both;
  }
}

@media (max-width: 750px) {
  .newsletter-signup__form {
    padding: 20px 20px 0 20px;
  }
  .newsletter-signup__legal {
    padding: 0 20px 20px 20px;
  }
  .newsletter-signup__header-expand-outer > a {
    font-size: 16px;
    padding: 8px;
    height: auto;
  }
  .newsletter-signup {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .newsletter-signup__header-text-outer {
    margin-left: 0;
  }
  .newsletter-signup__header {
    background-image: none;
    padding: 24px;
    padding-right: 120px;
    margin: 0;
    height: 96px;
  }
  .newsletter-signup__header h2 {
    line-height: 140%;
    font-size: 22px;
  }
}

@media (max-width: 550px) {
  .newsletter-signup__header h2 {
    line-height: 140%;
    font-size: 16px;
  }
}

.newsletter-signup__form .mauticform-input,
.newsletter-signup__form .mauticform-selectbox {
  border: 2px solid #c7c7c7;
  border-radius: 0;
  padding: 24px 32px;
  font-size: 20px;
  height: 80px;
  color: #6e6e6e;
}

.newsletter-signup__form .mauticform-selectbox {
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 400;
}

.newsletter-signup__form .mauticform-selectbox option {
  color: #6e6e6e;
  font-style: normal;
  font-weight: 400;
}

.newsletter-signup__form .mauticform-input::placeholder,
.newsletter-signup__form .mauticform-selectbox.showing-placeholder {
  color: #9d9d9d;
  opacity: 1;
  font-weight: 300;
  font-style: italic;
}

.newsletter-signup__form .mauticform-errormsg {
  display: block;
  color: red;
  margin-top: 8px;
  font-size: 16px;
}

.newsletter-signup__form .mauticform-has-error > input,
.newsletter-signup__form .mauticform-has-error > select {
  border: 2px solid red;
}

.newsletter-signup__form .mauticform-button-wrapper > button {
  display: block;
  margin: auto;
  border: 2px solid #d6436d !important;
  color: #d6436d !important;
  font-family: "Poppins", sans-serif !important;
  font-weight: 500;
  font-size: 20px;
  padding: 16px 24px;
}

.newsletter-signup__form .mauticform-button-wrapper > button:hover {
  color: #fff !important;
  background: #d6436d;
}

/* General and body */

:root {
  --red-primary: rgb(214, 67, 109);
  --yellow-primary: rgb(255, 194, 41);
  --green-primary: rgb(70, 184, 176);
  --blue-primary: rgb(54, 56, 100);
  --red-tone: rgb(194, 69, 104);
  --yellow-tone: rgb(238, 180, 48);
  --green-tone: rgb(66, 175, 167);
  --blue-tone: rgb(49, 50, 90);
  --grey-primary: rgb(250, 249, 248);
  --grey-tone: rgb(242, 240, 239);
}

/* @media (min-width: 93.75rem)  */
/* 1500px */

/* {
  [data-no-admin] body {
    transform: scale(1.2);
    transform-origin: top;
    overflow-x: hidden;
  }
  [data-no-admin] .hero-main-content {
    top: 50%;
    transform: translateY(-60%);
  }
} */

/* utilities */
.hide-no-js {
  display: none;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #faf9f8;
  width: 62.5rem;
  margin: auto;
  overflow: visible;
}

* {
  box-sizing: border-box;
  max-width: 100%;
}

.acf {
  clear: both;
  width: 62.5rem;
  margin: auto;
}

.acf.hero {
  width: 100%;
}

.single-event-top,
.page-header,
.post-text {
  width: 62.5rem !important;
  margin: auto;
}

/* Font styles  */

h1,
h2,
h3,
h4,
b,
strong {
  font-weight: bold;
}

h3 a,
h2 a,
h1 a {
  text-decoration: none;
}

em {
  font-style: italic;
}

h1 {
  font-size: 2.5rem;
  margin-top: 0.2rem;
  margin-bottom: 0.2rem;
}

h2,
h2 a {
  font-size: 1.7rem;
  line-height: 1.33;
  color: #363864;
}

h3 {
  font-size: 1.33rem;
  font-weight: 320;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

h4 {
  font-size: 1.25rem;
  font-weight: 320;
  line-height: 1;
}

p {
  font-size: 0.9rem;
  line-height: 1.35;
}

p.larger-text {
  font-size: 0.85rem;
  font-weight: lighter;
  width: calc(100% - 3.06rem);
}

:link {
  color: inherit;
}

blockquote,
q {
  quotes: '"' '"' "'" "'";
  border-left: 0.0938rem solid transparent;
  padding-left: 1em;
}

blockquote p:before,
q:before {
  content: open-quote;
}

blockquote p:after,
q:after {
  content: close-quote;
}

blockquote:not(.is-style-large) {
  border-color: rgba(102, 102, 102, 0.568);
}

/* Larger section styles */

section:not(.full-width) {
  margin-left: 2rem;
  margin-right: 2rem;
  margin-top: 1.5rem;
}

section.vitlife-posts-block {
  margin: 2rem 2rem 0;
}

.hero-block,
.four-card-banner {
  position: relative;
}

.four-card-banner {
  margin-top: 3rem;
  min-height: 25rem;
}

.thin-banner-wrap,
.four-cards-wrapper {
  display: flex;
}

section.hero-block {
  width: 100%;
  display: block;
  height: 33.875em;
  min-height: 36rem;
}

.hero-block .image-wrapper .banner-image {
  display: none;
}

/* Skin deep block */
.skin-deep-promo {
  overflow: hidden;
}

.skin-deep-promo__inner {
  background: #52bcb5;
  padding: 29px;
  float: left;
  width: 100%;
  min-height: 339px;
  display: flex;
  transition: background 1s;
}

.skin-deep-promo.slide1 .skin-deep-promo__inner {
  background: #d5ecea;
}

.skin-deep-promo.slide2 .skin-deep-promo__inner {
  background: #269288;
}

.skin-deep-promo__video,
.skin-deep-promo__slider {
  width: 50%;
  float: left;
  flex: 1;
}

.skin-deep-promo__video {
  padding-right: 15px;
}

.skin-deep-promo__slider {
  padding-left: 15px;
  position: relative;
}

@media (max-width: 850px) {
  .skin-deep-promo__inner {
    display: block;
  }
  .skin-deep-promo__slider {
    display: block;
    min-height: 380px;
    margin-top: 20px;
  }
  .skin-deep-prommo__prev {
    left: 0;
  }
  .skin-deep-promo__video,
  .skin-deep-promo__slider {
    width: 100%;
    float: left;
    padding: 0;
    clear: both;
  }
}

.skin-deep-promo.slide1 .skin-deep-promo__prev,
.skin-deep-promo.slide1 .skin-deep-promo__next {
  background-image: url(images/icons/svg/skindeep-arrow-dark.svg);
}

.skin-deep-promo__prev:hover,
.skin-deep-promo__next:hover {
  opacity: 0.8;
}

.skin-deep-promo__prev,
.skin-deep-promo__next {
  background-image: url(images/icons/svg/skindeep-arrow.svg);
  width: 20px;
  height: 20px;
  display: block;
  text-indent: -999999px;
  top: 10px;
  left: 15px;
  position: absolute;
  outline: none;
}

.skin-deep-promo__next {
  right: 0;
  left: auto;
}

.skin-deep-promo__prev {
  transform: rotate(180deg);
}

.skin-deep-promo__logo {
  background-image: url(images/skindeep-dark.png);
  background-position: center;
  background-repeat: no-repeat;
  text-indent: -9999999px;
}

.skin-deep-promo.slide1 .skin-deep-promo__logo {
  background-image: url(images/skindeep-light.png);
}

.skin-deep-promo__slider-dots {
  position: absolute;
  bottom: 0;
  text-align: center;
  width: 100%;
}

.skin-deep-promo__slider-dots > a {
  background-image: url(images/icons/svg/skindeep-dot-inactive.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100%;
  width: 12px;
  height: 12px;
  display: inline-block;
  text-indent: -999999px;
}

.skin-deep-promo.slide1 .skin-deep-promo__slider-dots > a {
  background-image: url(images/icons/svg/skindeep-dot-inactive-dark.svg);
}

.skin-deep-promo__slider-dots > a.active {
  background-image: url(images/icons/svg/skindeep-dot-active.svg);
}

.skin-deep-promo.slide1 .skin-deep-promo__slider-dots > a.active {
  background-image: url(images/icons/svg/skindeep-dot-active-dark.svg);
}

.skin-deep-promo__slide p {
  font-size: 28px !important;
  color: #ffffff !important;
  letter-spacing: -0.68px !important;
  text-align: center !important;
  line-height: 43px !important;
}

.skin-deep-promo__bullets li {
  background-image: url(images/icons/svg/skindeep-headphones.svg) !important;
  background-repeat: no-repeat !important;
  list-style-type: none !important;
  list-style-image: none !important;
  min-height: 21px !important;
  margin-bottom: 15px !important;
  margin-top: 15px !important;
  padding-left: 35px !important;
  font-size: 19px !important;
  line-height: 120% !important;
  color: #215551 !important;
  text-align: left !important;
  max-width: 450px !important;
}

.skin-deep-promo__bullets li:nth-of-type(2) {
  background-image: url(images/icons/svg/skindeep-pencil.svg) !important;
}

.skin-deep-promo__bullets li:nth-of-type(3) {
  background-image: url(images/icons/svg/skindeep-microphone.svg) !important;
}

.skin-deep-promo__slide {
  text-align: center;
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 100%;
}

.skin-deep-promo__slide:not(.visible-no-js) {
  display: none;
}

.skin-deep-promo__cta {
  display: inline-block !important;
  border: 1.5px solid #fff !important;
  padding: 10px !important;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 18px !important;
  margin-top: 20px !important;
}

.skin-deep-promo__cta:hover {
  background: #fff !important;
  color: #269288 !important;
}

/* Shop banner */
.shop-promo {
  position: relative;
}

.shop-promo__background {
  background-image: url(images/shop-promo-background.jpg);
  background-size: auto 100%;
  background-position: center left;
  height: 483px;
  display: block;
}

.shop-promo__aside {
  position: absolute;
  right: 0;
  height: 100%;
  width: 574px;
  background-image: url(images/shop-promo-aside.png);
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-position: right center;
}

.shop-promo__aside-inner {
  padding: 60px 0;
  float: right;
}

.shop-promo__aside-inner h2 {
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 36px;
  line-height: 133%;
  max-width: 253px;
}

.shop-promo__aside-inner p {
  max-width: 293px;
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 26px;
  line-height: 39px;
  margin-top: 16px;
  margin-right: 60px;

  /* Blue */
  color: #363864;
}

.shop-promo__cta {
  height: 65px;
  width: 371px;
  background-image: url(images/shop-promo-btn.svg);
  background-repeat: no-repeat;
  background-position: 24px 22px;
  background-color: #46b8b0;
  position: absolute;
  text-indent: -999999px;
  right: 0;
  bottom: 52px;
  transition: all 0.5s;
}

.shop-promo__cta:hover,
.shop-promo__background:hover .shop-promo__cta {
  opacity: 0.75;
}

@media (max-width: 850px) {
  .shop-promo {
    margin: 16px 0 !important;
  }

  .shop-promo__background {
    background-image: url(images/shop-promo-background-tablet.jpg);
    height: 483px;
    background-position: bottom left;
    background-size: cover;
  }

  .shop-promo__aside {
    background-image: url(images/shop-promo-aside-mobile.png);
    background-size: auto 100%;
    background-position: bottom left;
    position: absolute;
    right: 0;
    bottom: 0;
    height: 263px;
    max-width: 100%;
    padding: 60px 0;
    width: 400px;
  }

  .shop-promo__cta {
    width: 280px;
    height: 48px;
    background-position: center left 13px;
    bottom: 20px;
    background-size: 160px;
  }

  .shop-promo__aside-inner {
    max-width: 270px;
    padding: 0;
    padding-right: 20px;
  }

  .shop-promo__aside-inner h2 {
    font-family: "Poppins", sans-serif;
    font-size: 22px;
  }
  .shop-promo__aside-inner p {
    font-family: "Poppins", sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 21px;
    width: 100%;
  }
}

@media (max-width: 400px) {
  .shop-promo__background {
    background-image: url(images/shop-promo-background-mobile.jpg);
    background-position: top;
    background-size: 100% auto;
  }
  .shop-promo__aside-inner {
    max-width: 220px;
    padding: 0;
    padding-right: 10px;
  }
  .shop-promo__cta {
    width: 220px;
  }
}
/* General styles */

.page-header {
  width: 100%;
  position: relative;
  margin-bottom: 1.5em;
}

.page-header img,
.page-header h1 {
  display: block;
}

.page-header.full-width img,
.page-header.full-width h1,
.full-width {
  width: 100%;
}

.page-header h1 {
  position: absolute;
  bottom: 0;
  width: 100%;
  background-color: hsla(343, 64%, 55%, 0.91);
  font-size: 2rem;
  padding: 1rem;
  color: white;
  margin-bottom: 0;
  margin: auto;
  text-align: center;
}

select {
  border: none;
  background-color: white;
}

.vt-select-container {
  border-radius: 3px;
}

.vt-select-container.focus {
  border: 1.5px solid rgb(54, 56, 100);
}

.card {
  margin: 0.55rem;
  width: calc((100% / 3) - 15px);
  justify-content: space-around;
  opacity: 0.9;
  border-radius: 0.2rem;
  box-shadow: 0 0 8px transparent !important;
}

.card-link {
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  vertical-align: baseline;
  margin: 0.9rem 1rem 0 1.2rem;
  margin-bottom: 0;
}

.card-icon {
  min-width: 1.3rem;
  width: 1.3rem;
  height: 1.3rem;
  margin-left: 0.3125rem;
  /* 5px */
}

.card-text {
  margin: 0.35rem 0 1.5rem 1.2rem;
  font-size: 0.7rem;
  font-weight: normal;
}

a.card {
  text-decoration: none;
}

a.card:hover,
a.card:active {
  opacity: 1;
}

a.card .card-text {
  color: #fff;
  text-decoration: none;
}

.card-link {
  color: #363864;
}

.card {
  width: calc(50% - 2rem);
  justify-content: center;
}

a.card-link .four-cb-card-title:hover,
.post-listing-item a:hover,
.read-more a:hover,
.vitlife-panel a:hover,
.thin-banner-wrap a:hover,
.thin-banner-link a:hover,
footer a:hover,
.featured-event-info a:hover,
.info-submenu-right a:hover,
.post-embed-main h2 a:hover,
.two-post-block-item a h2:hover,
.event-list-item a:hover {
  text-decoration: underline;
}

/*   Read More buttons   */

.post-listing-bottom.read-more {
  margin-bottom: 2.5em;
  margin-top: 0.75em;
}

.read-more a,
.read-more-wrapper .read-more,
.post-embed-block .read-more {
  color: #363864;
  font-weight: bold;
  padding-left: 1rem;
  padding-right: 1rem;
  border: solid 0.0938rem;
  display: inline-block;
  text-decoration: none;
  text-align: center;
  margin: unset;
}

.read-more-wrapper {
  width: 100%;
  position: absolute;
  bottom: 0;
  height: 2rem;
  padding-top: 0.75rem;
  margin-top: 0;
}

.vitlife-posts-block .read-more-wrapper {
  padding: 0.75rem 1rem 1rem 1rem;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.75) 10%,
    rgba(255, 255, 255, 0.99) 20%,
    rgba(255, 255, 255, 1) 100%
  );
  height: 7.5rem;
}

.read-more-wrapper .read-more {
  width: 8rem;
}

/* Header */

header * {
  display: inline-block;
  display: flex;
}

header {
  position: absolute;
  left: 0;
  right: 0;
  background: #fff;
  padding: 0;
  z-index: 5;
  width: 62.5rem;
  margin: auto;
  /* min-height: 4.5em; */
  border-radius: 0px 0px 8px 8px;
}

.headerlogo {
  max-width: 8.5rem;
  float: left;
  cursor: pointer;
  z-index: 9999;
  position: relative;
}

.header-logo-wrap {
  padding: 24px;
  display: block;
  overflow: hidden;
}

#burger-toggle {
  position: absolute;
  width: 100%;
  bottom: 0;
  padding-right: 24px;
  padding-bottom: 8px;
  pointer-events: none;
}

.push-menu {
  pointer-events: none;
}

.main-menu,
.mobile-menu,
.burger-icon {
  pointer-events: all;
}

.mobile-menu {
  position: fixed;
  top: 0;
  height: 100vh;
  width: 100vw;
  right: 0;
  background: white;
  padding-top: 80px;
  display: block;
  transform: translateX(100vw);
  transition: transform 1s;
  padding-top: 150px;
}

.menuwrapper {
  justify-content: end;
  width: 100%;
  padding-left: 9.5rem;
}

.menuwrapper li {
  margin: 0rem 0.3rem 0.3rem 0.3rem;
}

.menuwrapper .sub-menu li.menu-item {
  margin: 0;
  width: 100%;
}

.menuwrapper .menu-item.last .sub-menu {
  right: -30px !important;
  left: auto !important;
  border-top-right-radius: 0 !important;
}

.menuwrapper li {
  display: inline-block;
}

.menu-item {
  /*letter-spacing: 0.025em;*/

  transition: all 0.3s;
  border-top-right-radius: 9px;
  border-top-left-radius: 9px;
}

.menu-item:hover > a,
.sub-menu-link:hover {
  color: var(--blue-primary);
  opacity: 0.8;
}

.menu-item.has-children:hover {
  background: #fff;
}

.sub-menu-link a {
  color: #363864 !important;
  line-height: 120%;
  padding: 16px 10px !important;
}

.menu-header-right-logged-in-container
  .menu-item.menu-item-has-children:not(.menu-item-object-page)
  a[aria-current]:after {
  border-style: solid;
  border-width: 0.15em 0.15em 0 0;
  content: "";
  display: inline-block;
  height: 0.45em;
  left: 0.15em;
  position: relative;
  vertical-align: top;
  width: 0.45em;
  top: 1px;
  transform: rotate(135deg);
  margin-left: 5px;
  margin-right: 3px;
}

.menu-item.first,
.menu-item-header {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

span.menu-item-header {
  letter-spacing: 0.025em;
}

.menu > li:hover > a,
.menu > li.clicked > a {
  /*text-shadow: -0.03ex 0 #363864, 0.03ex 0 #363864; */
}

[data-header-overlay] .menu > li:hover > a,
[data-header-overlay] .menu > li.clicked > a {
  /*text-shadow: -0.03ex 0 #fff, 0.03ex 0 #fff; */
}

.sub-menu a:link {
  color: #666;
}

.menuwrapper .sub-menu {
  position: absolute;
  left: 0;
  top: 3rem;
}
/**/
.menuwrapper .sub-menu.subsub {
  left: 0;
}

#menu-header-right-logged-in ul.sub-menu {
  left: inherit;
  padding: 0.6rem !important;
  border-radius: 6px;
}

#menu-header-right li:not(.menu-item-has-children):not(.yellow-box) a,
#menu-header-right-logged-in
  li:not(.menu-item-has-children):not(.yellow-box)
  a {
  border: 1px solid transparent;
  border-radius: 6px;
}
[data-header-overlay]
  #menu-header-right
  li:not(.menu-item-has-children):not(.yellow-box):hover
  a,
[data-header-overlay]
  #menu-header-right-logged-in
  li:not(.menu-item-has-children):not(.yellow-box):hover
  a {
  border: 1px solid white;
}
#menu-header-right li:not(.menu-item-has-children):not(.yellow-box):hover a,
#menu-header-right-logged-in
  li:not(.menu-item-has-children):not(.yellow-box):hover
  a {
  border: 1px solid var(--blue-primary);
}

@media only screen and (min-width: 56.25rem) {
  [data-header-overlay] header .menuwrapper > nav > div > ul > li > a,
  [data-header-overlay] header .menuwrapper > nav > div > ul > li > a:link {
    color: white;
  }

  [data-header-overlay]
    header
    .menuwrapper
    > nav
    > div
    > ul
    > li.has-children:hover
    > a,
  [data-header-overlay]
    header
    .menuwrapper
    > nav
    > div
    > ul
    > li.has-children:hover
    > a:link {
    color: var(--blue-primary);
  }
}

header li a,
header li a:link,
header li span.menu-item-header {
  color: #363864;
  text-decoration: none;
  padding: 0.6rem;
  font-size: 0.85rem;
}

#menu-header-left > li > a[href="#"] {
  cursor: default;
}

header li span.menu-item-header {
  letter-spacing: 0;
  height: 2.2rem;
  border-bottom: none !important;
}

header .yellow-box {
  margin-top: -0.1rem;
}

.yellow-box a {
  border-radius: 0.1875rem;
  border: 0.125rem solid #ffc229;
}

.menu li.yellow-box:hover a {
  background: #ffc229;
  color: #fff;
}

.burger-icon,
.burger-toggle {
  display: none;
}

.header-search {
  float: right;
  padding-top: 0.35em;
  position: relative;
}

.header-search .search-body {
  position: absolute;
  right: 0em;
  top: 1.75em;
  background: white;
  padding: 0.5em;
  box-shadow: 0.125rem 0.125rem 0.3125rem 0rem hsl(0, 0%, 30%);
  width: 20em;
  max-width: unset;
}

.header-search .search-body::after {
  content: "";
  position: absolute;
  top: -0.9em;
  right: 0.5em;
  z-index: 9;
  width: 0;
  height: 0;
  border: 0.5em solid transparent;
  border-bottom-color: white;
}

.header-search .search-body::before {
  content: "";
  position: absolute;
  top: -1em;
  right: 0.5em;
  z-index: 9;
  width: 0;
  height: 0;
  border: 0.5em solid transparent;
  border-bottom-color: #ddd;
}

.header-search .header-search-icon {
  cursor: pointer;
}

.header-search img {
  width: 1.25em;
  height: 1.5em;
}

.header-search form {
  display: inline-flex;
}

.header-search .search-input {
  box-shadow: none;
  width: 18em;
  padding: 0;
}

.header-search .search-button {
  padding: 0 0 0 0.5rem;
  border: none;
  border-left: solid 0.0625rem #666;
}

/* Paywall block */

section.paywall-block {
  max-width: 100%;
  width: 43.75rem;
  margin: auto;
  position: relative;
  z-index: 1;
}

.paywall-inner {
  position: relative;
  color: #363864;
  text-align: center;
  box-shadow: 0rem 1rem 1.8rem -0.9rem rgba(0, 0, 0, 0.1),
    0rem -1rem 1.8rem -0.9rem rgba(0, 0, 0, 0.1);
  background-color: white;
  padding: 1rem 4rem;
}

.paywall-block h2,
.paywall-block .vitiligo-logo {
  margin: 1rem;
}

.paywall-block h2 {
  padding: 1rem 2rem 0;
  line-height: 2rem;
}

.paywall-block h5 {
  padding: 0 2rem 2rem;
  line-height: 1.8rem;
  font-size: 1.2em;
}

.paywall-block a {
  text-decoration: none;
}

.paywall-block .button {
  background-color: #363864;
  border: 2px solid #363864;
  border: solid 0.0938rem;
  box-sizing: border-box;
  color: white;
  cursor: pointer;
  display: inline-block;
  font-family: "Poppins", Helvetica, Arial, Sans-Serif;
  font-size: 1rem;
  font-weight: bold;
  margin: 0.3rem auto;
  padding: 0.7rem 1.5rem;
  text-align: center;
  text-decoration: none;
}

.paywall-block .button:hover {
  background: #fff;
  color: #363864;
}

.paywall-block .sign-in-option {
  margin: 1rem auto;
}

.paywall-block .sign-in-option a {
  color: #363864;
}

.paywall-block .sign-in-option a:hover {
  text-decoration: underline;
  cursor: pointer;
}

.paywall-block .sign-in-option p {
  color: #666;
  font-size: 0.8rem;
}

.post-text .gradient {
  position: absolute;
  bottom: 100%;
  height: 11rem;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.75) 22%,
    rgb(255, 255, 255) 100%
  );
  width: 100%;
  margin: auto;
  z-index: -1;
}

main.single-post-page {
  width: 52rem;
  margin: 2em auto;
  background-color: white;
  padding: 0;
}

article.single-post-main,
section#about-the-author {
  margin-left: auto;
  margin-right: auto;
  max-width: 38.9rem;
}

@media screen and (max-width: 50rem) {
  /* Article */

  article.post-embed-main {
    margin: 1rem;
  }

  section.paywall-block {
    width: 100%;
    margin: 1rem 0;
  }

  .paywall-inner {
    padding: unset;
  }

  .paywall-block .vitiligo-logo {
    padding: 2rem 0 0;
  }

  section.paywall-block h2 {
    padding: 0.5rem;
    margin: auto;
    width: 90%;
  }

  .paywall-block h5 {
    padding: 0 2.5rem;
  }

  .paywall-block button {
    margin: 1rem auto;
  }

  .paywall-block .sign-in-option {
    padding: 0 1rem 1rem 1rem;
  }

  .paywall-block .sign-in-option a {
    display: block;
    width: 100%;
    margin: auto;
  }
}

@media screen and (max-width: 35.6rem) {
  section.paywall-block h2 {
    width: 100%;
    padding: 0 1rem 0.75rem;
    font-size: 1.5rem;
    line-height: 1.2;
  }
  .paywall-block h5 {
    padding: 0 1rem 1rem;
    font-size: 1em;
    line-height: 1.5;
  }
}

/* Forms */
input {
  font-family: "Poppins", sans-serif;
}

.core.gravityforms form {
  margin: 2rem;
}
.core.gravityforms * {
  font-family: "Poppins", sans-serif;
}

.core .gravity-forms li {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}

.core.gravityforms .gform_heading {
  margin-bottom: 4rem;
}

.core.gravityforms input[type="submit"] {
  box-shadow: inset 1px 1px 3px 1px rgba(0, 0, 0, 0.2),
    1px 1px 3px 1px rgba(0, 0, 0, 0.2);
  border-width: 2px;
}

.core.gravityforms input,
.core.gravityforms select,
.core.gravityforms .ginput_container_checkbox,
.core.gravityforms .ginput_container_radio,
.core.gravityforms textarea {
  position: relative;
  text-indent: 0;
}

.core.gravityforms .gform_wrapper textarea {
  width: 100%;
}

.core.gravityforms select,
.gform_wrapper
  input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not(
    [type="button"]
  ):not([type="image"]):not([type="file"]) {
  padding: 0.5rem;
}

.core.gravityforms .gform_title {
  margin-left: 1.5rem;
}

.ginput_container_select + .gfield_description {
  margin-top: -3rem;
  margin-bottom: 2rem;
}

.core.gravityforms .gform_button {
  color: #363864;
  font-weight: bold;
  padding: 0.5rem 3rem;
  border: solid 0.0938rem;
  background-color: transparent;
  cursor: pointer;
  left: 1rem;
}

.core.gravityforms input[type="checkbox"],
.core.gravityforms input[type="radio"] {
  left: 0;
  top: 0;
  position: relative;
}

.core.gravityforms input,
.core.gravityforms textarea,
.core.gravityforms select {
  box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.2);
  border: none;
  margin-bottom: 0.25rem;
}

.core.gravityforms ul.gfield_checkbox {
  margin-left: -3rem;
}

.core.gravityforms ul.gfield_radio {
  margin-left: -0.8rem;
}

.gform_wrapper .gfield_radio li input[type="radio"] {
  margin-left: 0.1rem;
}

.core.gravityforms input[type="checkbox"],
.core.gravityforms input[type="radio"] {
  opacity: 0;
  z-index: 2;
}

.core.gravityforms input[type="checkbox"] + label::before {
  content: "";
  width: 1.5rem;
  height: 1.5rem;
  display: inline-block;
  border: solid 1px #666;
  margin: 0 1rem;
  vertical-align: middle;
  opacity: 1;
  z-index: 2;
}

.core.gravityforms input[type="checkbox"]:checked + label:before {
  background-image: url("images/icons/tick-purple.png");
  content: "";
  background-size: contain;
  background-repeat: no-repeat;
}

.core.gravityforms .gfield_radio li input + label::before {
  width: 1.5rem;
  height: 1.5rem;
  display: inline-block;
  position: relative;
  right: 1.2rem;
  top: 0;
  content: "";
  border-radius: 100%;
  border: solid 1px #666;
  vertical-align: middle;
}

.core.gravityforms input[type="radio"]:checked + label:before {
  background-image: url("images/icons/circle-purple.png");
  content: "";
  width: 1.5rem;
  height: 1.5rem;
  background-size: contain;
  background-repeat: no-repeat;
  padding: 0.5rem;
}

.gform_wrapper .gform_footer {
  margin-left: 0.5rem;
}

.gform_wrapper .gform_footer.left_label {
  margin-left: 0;
}

.gform_heading h3.gform_title {
  font-weight: normal;
}

.gform_heading::before {
  content: "* Required fields";
  position: relative;
  color: #d6436d;
  float: right;
  padding-right: 0.75rem;
  top: 0.5rem;
  font-size: 1rem;
  font-weight: normal;
  margin-top: 1.75rem;
}

.core.gravityforms .no-form-title h3.gform_title {
  display: none;
}

.gform_wrapper .no-form-title span.gform_description {
  margin-top: 1.75rem;
}

.no-form-title .gform_heading::before {
  top: 1rem;
}

@media screen and (max-width: 50rem) {
  .core.gravityforms .gform_heading {
    margin-bottom: unset;
  }

  .core.gravityforms .gfield_radio li input + label::before,
  .core.gravityforms input[type="checkbox"] + label::before {
    right: 1rem;
  }

  .core.gravityforms ul.gfield_checkbox {
    margin-left: -2rem;
  }

  .core.gravityforms ul.gfield_radio {
    margin-left: 0;
  }

  .core.gravityforms .gform_button {
    left: 0;
  }
}

.core.gravityforms .gform_title {
  margin-left: 0;
  font-size: 1.7rem;
  font-weight: bold;
  width: 100%;
}

.core.gravityforms form {
  margin: 0;
}

.core.gravityforms li {
  padding-left: 0;
}

.gform_wrapper ul li::after,
.gform_wrapper ul li::before,
.gravityforms .gform_wrapper ul.gform_fields {
  padding-left: 0;
}

.gform_page_fields {
  margin-bottom: 3rem;
}

.gravityforms input.gform_next_button {
  top: 0;
}

.gravityforms ul.gfield_radio li input[type="text"] {
  margin-left: 1.5rem;
}

.gform_wrapper h1,
.gform_wrapper h2,
.gform_wrapper h3 {
  color: #363864;
}

.gform_wrapper li.gfield.gsection {
  border-bottom: none;
  border-top: 1px solid #ccc;
  padding-top: 1.75rem;
  padding-bottom: 1rem;
}

.gform_wrapper ul.gform_fields li.gfield div.ginput_complex span:last-of-type,
.gform_wrapper ul.gform_fields li.gfield {
  padding-right: 0;
}

.core.gravityforms .gform_title {
  padding-top: 1rem;
  padding-bottom: 0;
}

.gform_wrapper
  ul.gform_fields:not(.top_label)
  .field_sublabel_above
  .ginput_container
  span
  label {
  color: #aaa;
}

.core.gravityforms .gform_heading {
  border-top: 1px solid #ccc;
  margin-bottom: 2.5rem;
}

.gravityforms .gform_wrapper .ginput_container input.datepicker {
  width: 12rem;
}

.gravityforms .gform_wrapper .gform_page_footer,
.gform_wrapper .gform_page_footer {
  padding: 16px 0;
}

/** Datepicker styling */

.ui-datepicker-header {
  border: 0;
  background: 0;
}

.ui-datepicker .ui-datepicker-title select {
  font-size: 14px;
  border: 1px solid #ccc;
  margin-left: 10px;
}

.ui-datepicker .ui-datepicker-header {
  border: 0;
  background: 0;
}

.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default,
.ui-button,
html .ui-button.ui-state-disabled:hover,
html .ui-button.ui-state-disabled:active {
  border: none;
  background: none;
  text-align: center;
  border: 0;
  font-size: 12px;
}

.ui-datepicker td {
  background: none;
  border: 1px solid transparent;
  height: ;
}

.ui-state-highlight,
.ui-widget-content .ui-state-highlight,
.ui-widget-header .ui-state-highlight {
  background: #4ab9b1;
  color: #fff;
  border-radius: 4px;
}

.ui-datepicker td span,
.ui-datepicker td a {
  font-size: 10px;
  height: 40px;
  width: 40px;
  vertical-align: middle;
  padding-top: 14px;
}

.ui-datepicker-year {
  margin-left: 10px;
}

.ui-datepicker-calendar thead tr th span {
  font-size: 11px;
  font-weight: normal;
  text-transform: uppercase;
  color: #8191a5;
}
.ui-state-hover {
  border: 0 !important;
  background: rgb(230, 230, 230) !important;
}

.ui-datepicker-current-day {
  border: none;
}

.ui-datepicker-current-day a {
  border: none !important;
}

.ui-state-default.ui-state-hover {
  color: #111;
}

.ui-state-default.ui-state-hover {
  border-radius: 4px;
}

/* Hero block */

.hero-inner {
  width: 62.5rem;
  height: 100%;
  margin: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-main-content {
  position: relative;
  margin-left: 2rem;
  margin-top: 9.5rem;
  justify-self: flex-end;
}

.hero-main-content h1 {
  line-height: 1;
}

.hero-main-content h3 {
  line-height: 1.4;
  font-size: 1.25rem;
}

.action-button {
  background-color: #ffc229;
  color: #363864;
  padding: 0.625em 0.875em 0.65em 0.75em;
  border-radius: 0.125rem;
  text-decoration: none;
  margin-top: 0.75rem;
  display: inline-block;
  width: unset;
}

.action-button:active {
  background: #f9b32a;
}

.hero-block,
.hero-block .card-link {
  color: white;
}

.arrow {
  fill: #d6436d;
}

.hero-cards-wrapper {
  display: flex;
  position: relative;
  width: calc(100% - 4rem);
  margin: 0rem 2rem 1.5625rem 2rem;
  justify-self: flex-end;
}

.hero-card-title {
  text-decoration: none;
  display: inline;
  margin: 0;
  flex-grow: 1;
  font-weight: bold;
}

.hero-cards-wrapper .card:nth-child(1) {
  background-color: #363864;
  margin-left: 0;
}

.hero-cards-wrapper .card:nth-child(1) .arrow {
  fill: #d6436d;
}

.hero-cards-wrapper .card:nth-child(2) {
  background-color: #d6436d;
}

.hero-cards-wrapper .card:nth-child(2) .arrow {
  fill: #ffc229;
}

.hero-cards-wrapper .card:nth-child(3) {
  background-color: #46b8b0;
  margin-right: 0;
}

.hero-cards-wrapper .card:nth-child(3) .arrow {
  fill: #363864;
}

/* Menu */

section.menu-block {
  margin-bottom: 4.5rem;
}

.info-menus-tab {
  margin-top: 1rem;
}

.menu-title {
  margin-bottom: 1rem;
  display: flex;
}

.menu-title h2 {
  padding-bottom: 0;
}

section.menu-block .menu-title + .info-menu-tabs {
  display: flex;
  flex-flow: column nowrap;
  width: 100%;
}

/* Hide all menu items except first */

.info-menu-tabs > div {
  display: none;
}

.info-menu-tabs > div:first-child {
  display: flex;
}

.info-menu-tabs nav,
.info-menu-tabs nav a,
.info-menu-tabs > nav[data-active],
.info-menu-tabs > nav[data-active] a,
.info-menu-tabs > nav > a[data-active] {
  text-decoration: none;
}

.info-menu-tabs nav {
  padding: 0.7em 0.8em;
}

nav .selected-nav {
  background-color: white;
  color: #363864;
}

nav .menu-header-left-container ul li a {
  transition: all 0.2s;
}

li.menu-item {
  position: relative;
}

#menu-header-left > li > .sub-menu {
  background-color: #fdfdfd;
  width: 230px;
  max-width: none;
  padding: 14px 15px 0 15px;
  border-radius: 8px;
  box-shadow: 0px 16px 20px -5px #00000059;
  transition: all 0.3s;
  top: 30px;
  left: -20px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.sub-menu ul {
  display: block;
}

nav .menu-header-left-container ul li.has-children > a {
  background-image: url(./images/icons/nav-chevron.svg);
  background-position: top 17px right;
  background-repeat: no-repeat;
  background-size: 10px;
  padding-right: 1rem;
}

nav .menu-header-left-container ul li.has-children > a:hover + .sub-menu,
nav .sub-menu:hover {
  opacity: 1 !important;
  pointer-events: auto !important;
  visibility: visible !important;
}

.info-submenus-wrapper {
  padding-top: 1rem;
  display: flex;
  min-height: 10rem;
  align-content: baseline;
}

.info-submenu-left,
.info-submenu-right {
  display: flex;
  color: #363864;
  flex-flow: column;
}

.info-submenu-left {
  width: 25%;
  min-width: 14rem;
  flex: 1 1 25%;
}

.info-submenu-left-inner {
  padding: 0.5rem 0.5rem 0.75rem 0.5rem;
  background-color: white;
  box-shadow: 0.125rem 0.125rem 0.3125rem 0rem hsl(0, 0%, 71%);
}

.info-submenu-right {
  width: 75%;
  flex: 1 1 75%;
  min-width: 22rem;
  margin: 0 0 0 1.5rem;
}

.info-submenu-left-text {
  display: block;
}

.info-submenu-left p {
  color: #666;
  font-size: 0.85rem;
  line-height: 1.2rem;
}

.info-submenu-left-title h3,
.search-bar-title {
  font-weight: bold;
  font-size: 1.2rem;
  color: #363864;
}

.info-submenu-right ul {
  list-style: none;
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  padding: 0;
  align-items: baseline;
  align-content: baseline;
  width: 100%;
}

.info-submenu-right li {
  border-top: solid thin #666;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.6rem 1rem 0.6rem 0;
  line-height: 3rem;
}

.info-submenu-right li a {
  padding-right: 0.5rem;
  color: #666;
  font-size: 1.25rem;
  font-weight: lighter;
  text-decoration: none;
  margin: 0;
  line-height: 1.4;
}

.info-submenu-right img {
  vertical-align: middle;
  color: #363864;
  width: 1rem;
  flex-shrink: 0;
}

.info-menu-mobile-arrow,
.info-menu-title-mobile-arrow {
  display: none;
}

.info-menu-title-mobile-arrow {
  width: 1.75em;
  transform: rotate(180deg);
}

.info-submenu-right:not(:first-child) {
  padding: 0 0.1rem;
}

.info-submenu-right img {
  vertical-align: middle;
}

.drop-down-button > img,
.drop-down-button > svg {
  width: 0.8em;
  margin-left: 1rem;
  transform: rotate(90deg);
  fill: #363864;
}

.info-menu-tabs nav,
nav .drop-down-button {
  margin: 0.25em 0;
  border: solid #363864 0.125rem;
  display: flex;
  justify-content: space-between;
}

.info-menu-tabs nav,
nav .drop-down-button,
.info-menu-tabs nav a {
  background-color: white;
  color: #363864;
  font-size: 1.5rem;
}

.info-menu-tabs nav[data-active],
nav .drop-down-button[data-active] > a,
.info-menu-tabs nav a[data-active] {
  background-color: #363864;
  color: white;
}

.info-menu-tabs nav[data-active] svg,
nav .drop-down-button[data-active] > a svg,
.info-menu-tabs nav a[data-active] svg {
  fill: #fff;
  transform: rotate(-90deg);
}

nav .selected-nav {
  color: white;
  background-color: #363864;
}

.info-menu-mobile-arrow,
.info-menu-title-mobile-arrow {
  display: block;
}

/* Four card banner block  */

.four-card-banner.green-blue .four-card-banner-main-content h2 {
  color: #fff;
  background-color: hsla(176, 45%, 50%, 0.9);
}

.four-card-banner.green-blue .four-card-right-wrapper h3 {
  color: #fff;
  background-color: hsla(237, 30%, 30%, 0.85);
}

.four-card-banner.yellow-pink .four-card-banner-main-content h2 {
  color: #363864;
  background-color: rgba(255, 194, 41, 0.9);
}

.four-card-banner.yellow-pink .four-card-right-wrapper h3 {
  background-color: rgba(214, 67, 109, 0.85);
  color: white;
}

.four-card-banner-main-content h2 {
  position: absolute;
  top: 0rem;
  left: 0rem;
  margin: 0;
  padding: 0.55rem 1.6rem 0.8rem 1.2rem;
  background-color: rgba(255, 194, 41, 0.9);
  z-index: 1;
}

.four-card-right-wrapper {
  float: right;
  width: 50%;
  position: absolute;
  top: 0rem;
  right: 0rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  height: 100%;
}

.four-card-right-wrapper > h3 {
  display: inline-block;
  margin-left: 0.55rem;
  padding: 0.55rem;
  font-size: 1em;
  margin-bottom: 0.3rem;
}

.four-card-wrapper {
  display: flex;
  flex-flow: row wrap;
  height: calc(100% - 3.5rem);
}

.four-card-wrapper .card {
  background-color: rgba(255, 255, 255);
  opacity: 1;
  text-align: center;
  border-radius: unset;
  box-shadow: 0.0313rem 0.125rem 10px #0003;
  max-height: calc(50% - 0.55rem);
  margin: 0.48rem 0.55rem;
}

.four-card-wrapper .card.with-link {
  background-color: rgba(255, 255, 255, 0.8);
  opacity: 1;
}

.four-card-wrapper .card.with-link:hover {
  background-color: #fff;
  box-shadow: 0.0313rem 0.125rem 10px #0000008c;
}

.four-card-wrapper .card.with-link:hover h4 {
  text-decoration: none;
}

.four-card-wrapper .card-link,
.two-post-block-item a {
  display: block;
  text-decoration: none;
}

.four-card-wrapper .card-link {
  margin: 1rem 1rem 1.5rem 1rem;
}

.four-cb-title-icon {
  margin-right: 0.5rem;
  vertical-align: middle;
  margin-bottom: 0.3rem;
}

.four-cb-title-icon,
.four-cb-card-icon {
  height: 1.7rem;
  width: 1.7rem;
}

.four-cb-card-title {
  font-weight: bold;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.card-text.four-cb-card-text {
  margin: 0 0.5rem 0.5rem 0.5rem;
  line-height: 1.35;
}

/* Generic Post and Static Page */

.single-page-wrap {
  /* 2 columns, 2/3 and 1/3 */
  max-width: 62.5rem;
  margin: auto;
  gap: 1rem;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
}

.single-page-main > .core:first-of-type {
  /* margin-top: 0; */
}

.single-page-wrap .single-page-main {
  width: 70%;
  padding: 0 1.5rem;
}

.single-page-wrap .single-page-sidebar {
  width: 30%;
  background: #fff;
  padding: 0 2rem 0 2rem;
}

@media screen and (max-width: 1024px) {
  .single-page-wrap {
    flex-direction: column;
  }
  .single-page-wrap .single-page-main {
    order: 1;
    width: 100%;
  }

  .single-page-wrap .single-page-sidebar {
    width: 100%;
  }

  .single-page-wrap .sticky-toc-cta {
    display: none;
  }

  .single-page-wrap .sticky-toc-box {
    height: auto !important;
    min-height: 0 !important;
  }
}

.static-page > .page-header {
  margin-bottom: 0;
}

.single-page-wrap .sticky-toc-box {
  position: -webkit-sticky;
  opacity: 0;
  position: sticky;
  top: 0;
  transition: opacity 0.5s ease-in-out;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  background: #fff;
  display: flex;
  min-height: 100vh;
  justify-content: space-between;
  flex-direction: column;
}

.single-page-wrap .sticky-toc-box h3 {
  color: #363864;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  margin-bottom: 0.5rem;
  display: block;
}

.single-page-wrap .sticky-toc-box a {
  color: #363864;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.single-page-wrap .sticky-toc-box a.active {
  font-weight: 700;
  color: #242424;
}

.single-page-wrap .sticky-toc-box a:hover {
  opacity: 0.5;
}

.single-page-wrap .sticky-toc-box.visible {
  opacity: 1;
}

.single-page-wrap .sticky-toc-box img {
  width: 100% !important;
  height: auto !important;
}

.single-page-further-reading {
  max-width: 62.5rem;
  margin: auto;
  padding: 0 1.5rem;
}

.single-page-further-reading h3 {
  color: #363864;
  font-weight: 600;
  font-size: 30px;
  background-image: url(./images/icons/further-reading.svg);
  padding-left: 50px;
  margin-left: 16px;
  background-repeat: no-repeat;
}

.single-page-further-reading a {
  text-decoration: none;
}

.single-page-further-reading h4 {
  background: #46b8b0;
  padding: 1.2rem 1rem;
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
}

.single-page-further-reading__items {
  display: grid;
  /* 4 per row */
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: #ededed;
  padding: 1rem;
}

.single-page-further-reading.single-page-further-reading-block {
  padding: 1.2rem 0;
}

.single-page-further-reading.single-page-further-reading-block
  .single-page-further-reading__items {
  grid-template-columns: repeat(2, 1fr);
}

.single-page-further-reading__item {
  flex: 1;
  background: #fff;
}

/* 2 per row on tablet */
@media screen and (max-width: 1024px) {
  .single-page-further-reading__items {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 1 per row on mobile */
@media screen and (max-width: 768px) {
  .single-page-further-reading__items {
    grid-template-columns: repeat(1, 1fr);
  }

  .single-page-further-reading.single-page-further-reading-block
    .single-page-further-reading__items {
    grid-template-columns: repeat(1, 1fr);
  }
}

.single-page-further-reading__info {
  padding: 1rem;
}

.single-page-further-reading__vitlife-logo {
  width: 80px;
  height: 28px;
}

.single-page-further-reading__vitsoc-logo {
  width: 60px;
  height: 21px;
}

.single-page-further-reading__vitsoc-logo-big {
  /* height: 183px !important; */
  padding: 1rem;
  display: block;
  object-fit: contain !important;
}

.single-page-further-reading__subheading {
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  line-height: 14px;
  letter-spacing: 0.05em;
  text-align: left;
  color: #46b8b0;
  margin-top: 0.5rem;
}

.single-page-further-reading__text {
  margin-top: 0.5rem;

  font-family: Poppins, sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 21px;
  letter-spacing: 0.06em;
  text-align: left;
}

.single-page-further-reading__image > img {
  aspect-ratio: 47 / 35;
  max-height: 140px;
  height: 500px;
  width: 100%;
  object-fit: cover;
}

.single-page .thin-banner {
  margin: 0;
}

.wp-block-image {
  margin-top: 1em;
}

.wp-block-image img {
  width: 100%;
  height: auto;
}

.wp-block-media-text__media img {
  height: auto;
}

.post-text p {
  max-width: 40em;
}

.single-post-main h2 {
  /* max-width: 34.75rem; */
  font-size: 2em;
  line-height: 1.33;
  margin-bottom: 1em;
  margin-right: auto;
}

.core-embed {
  text-align: center;
}

.core p,
.core ul,
.core ol,
.post-text p,
.core a,
.core textarea,
.core input,
.core select,
.core div,
.core {
  font-size: 1rem;
  line-height: 1.6;
}

.core p,
.core ul,
.core ol,
.post-text p,
.core a,
.core * {
  color: #666;
}

.core.heading h2 {
  font-size: 1.69em;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: -0.5rem;
}

.core.heading h3 {
  font-size: 1.25em;
  font-weight: 700;
  margin-top: 1.25rem;
  margin-bottom: -0.25rem;
}

.core ul,
.core ol {
  margin-bottom: 1.5em;
}

.core.list {
  padding-left: 0.3em;
}

.core,
main.single-post-page .post-text p {
  max-width: 43.75rem;
  margin: auto;
  margin-top: 1em;
}

.core ol {
  padding-left: 0.25em;
}

.core li {
  list-style-type: disc;
  padding-left: 0.75em;
  list-style-position: inside;
}

.core ul li {
  list-style-image: url("images/icons/svg/bullet.svg");
}

.core ol li {
  list-style-type: decimal;
}

.core li:not(:last-of-type) {
  margin-bottom: 0.25em;
}

.core.gallery li.blocks-gallery-item {
  margin: 0.3em;
  padding: 0;
}

.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
  width: 50%;
}

.wp-block-separator {
  color: #dedede;
}

.post-text h1,
.post-text h2,
.post-text h3,
.post-text h4,
.post-text h5,
.post-text h6 {
  color: #363864;
}

.post-embed-image img {
  min-width: 100%;
}

.single-post .post-embed-image img {
  position: relative;
}

.single-post aside {
  float: right;
  position: relative;
  right: 0%;
  bottom: 3rem;
  max-width: 8rem;
  height: 5rem;
}

.single-post aside .author-info {
  clear: both;
  bottom: 0;
}

aside .author-info {
  max-width: 6.5rem;
  margin-right: 0.75rem;
  margin-left: 0.75rem;
}

.single-post aside .author-image,
.single-post aside .author-image img,
.single-post aside .author-name {
  position: unset;
  margin-left: auto;
  margin-right: auto;
}

.core.special {
  max-width: 62.5rem;
  margin-left: auto;
  margin-right: auto;
  padding-right: 1rem;
  padding-left: 1rem;
}

.core.special ul,
.core.special ol {
  padding-left: 0.75rem;
}

/* Post and event listing blocks */

.list-item {
  font-size: 0.8rem;
  line-height: 1.1rem;
  flex: 1 1 calc((100% - 3rem) / 3);
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

/* Post listing block */

.post-listing-top {
  display: block;
  height: 4rem;
  margin-top: 2rem;
}

.post-list-item-top {
  display: block;
  height: 7rem;
  overflow: hidden;
}

.post-listing-item figure,
.post-listing-item .wp-block-gallery,
.vitlife-block-item figure,
.vitlife-block-item .wp-block-gallery {
  display: none;
}

.post-listing-top h2 {
  float: left;
}

.post-listing-top .categories {
  float: right;
  margin-left: 1.5em;
  margin-top: 0.5rem;
}

.categories,
.read-more {
  font-size: 1rem;
  line-height: 2rem;
  color: #666;
  margin-bottom: 1rem;
}

.post-listing-items {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
}

.post-listing-item {
  width: 18rem;
  padding: 0.5rem;
  color: #363864;
  text-decoration: none;
  background-color: white;
  margin-bottom: 1rem;
  border-top: solid 0.125rem #ffc229;
  position: relative;
}

.post-listing-item.list-item:hover {
  border-top: solid 0.1875rem #ffc229;
  padding-top: calc(0.5rem - 1px);
}

.post-listing-item a {
  color: #363864;
  text-decoration: none;
}

span.tag {
  font-size: 0.8rem;
  padding: 0.2rem;
  border: solid 0.0938rem rgb(160, 160, 160);
  color: rgb(160, 160, 160);
  margin: 0.15rem;
}

.post-listing-item .tag-wrapper {
  position: absolute;
  bottom: 0;
  width: calc(100% - 1rem);
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 4%,
    rgba(255, 255, 255, 1) 10%,
    rgba(255, 255, 255, 1) 100%
  );
}

.tag-wrapper {
  padding-top: 0.8rem;
  padding-bottom: 0.5rem;
  clear: both;
  display: flex;
  flex-wrap: wrap;
}

.post-listing-item .tag-wrapper.tags-empty {
  padding-top: 0;
  padding-bottom: 2em;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.98) 40%,
    rgb(255, 255, 255) 100%
  );
}

/* Vitlife block */

.wrapper {
  display: flex;
  height: 32rem;
  background-color: white;
}

.wrapper--height-auto {
  height: auto !important;
}

.vitlife-panel h3,
.two-post-block-item h2 {
  color: #363864;
  font-weight: bold;
}

.vitlife-panel-category {
  background: #46b8b0;
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 8px;
  color: white;
  border-bottom-right-radius: 4px;
}

.vitlife-panel-category a {
  font-size: 0.8rem;
  color: #fff;
  text-decoration: none;
}

.vitlife-posts-block h3 {
  color: white;
  padding-bottom: 0.5rem;
  margin: 0;
}

.vitlife-panel {
  color: #666;
  position: relative;
  width: 100%;
  overflow: hidden;
}

.vitlife-block-item-text h3,
.vitlife-block-item-text h3 a {
  color: #363864;
}

.vitlife-block-item-text {
  height: calc(100% - 10.5rem);
  overflow: hidden;
  padding: 0.8rem 1rem 1rem 1rem;
}

.vitlife-block-item-text p,
.vitlife-block-item-text article {
  overflow: hidden;
  text-overflow: ellipsis;
}

.vitlife-block-item-text:not(h3) {
  font-size: 0.8rem;
  line-height: 1.1rem;
}

.vitlife-panel:nth-child(4) .vitlife-block-item-border-wrap {
  border-right: none;
}

.vitlife-block-item-border-wrap {
  border-right: thin dashed #b1b3e3;
  height: 100%;
  padding-bottom: 0.75rem;
  position: relative;
}

.vitlife-panel-links a {
  color: white;
  border: solid thin white;
  width: 50%;
}

.vitlife-panel-links a:hover,
.vitlife-panel-links a:active {
  background: #fff;
  color: #363864;
  text-decoration: none;
}

.vitlife-panel-links a,
.vitlife-panel .read-more-wrapper a {
  display: block;
  margin-top: 0.8rem;
  /* margin-bottom: 0.2rem; */
  font-size: 1.125rem;
  padding: 0.2rem;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  text-decoration: none;
  text-align: center;
}

.vitlife-block-item-meta {
  margin-top: 1.5rem;
}

.vitlife-block-item-meta a {
  display: inline-block !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  width: auto !important;
  height: auto !important;
  position: static !important;
  font-size: 0.9rem !important;
  color: #666 !important;
}

.vitlife-block-item-meta a:hover {
  text-decoration: underline !important;
  background: none !important;
}

.vitlife-block-item-meta__icon {
  margin-right: 0.25rem;
}

.sign-in-panel-inner {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.sign-in-panel .vitlife-panel-links {
  width: 100%;
  display: flex;
  position: relative;
  bottom: 0;
  margin-top: auto;
  gap: 1rem;
}

.vitlife-panel img {
  width: 100%;
  padding: 1rem 1rem 0 1rem;
}

.vitlife-panel img:last-child {
  padding: 0 0 0.25rem 0.25rem;
}

.sign-in-panel {
  padding: 1rem 1rem 0.8rem 1rem;
  background: url("images/icons/svg/blue-overlay.svg") bottom -30% left 120% / 120%
      no-repeat,
    #363864;
  display: flex;
  flex-direction: column;
}

.sign-in-panel img {
  height: 2rem;
  width: auto;
  padding: 0;
  align-self: flex-start;
  flex-shrink: 0;
}

.sign-in-panel h3 {
  margin-top: 1rem;
}

.vitlife-panel-links,
.vitlife-panel .read-more-wrapper a {
  position: absolute;
  bottom: 1.5rem;
}

.vitlife-panel .read-more-wrapper a {
  margin-left: 0;
  padding: 0 0.5rem;
  position: absolute;
  bottom: 1rem;
  width: 7rem;
  font-size: 1rem;
  margin-bottom: 0;
}

.vitlife-panel .read-more-wrapper a:hover {
  background: #363864;
  border-color: #363864;
  color: #fff;
}

.sign-in-panel,
.sign-in-panel h3 {
  color: white;
}

/* Thin Banner Block */

.thin-banner-wrap {
  background-color: #363864;
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0.3rem;
  vertical-align: baseline;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.thin-banner-wrap h2 {
  text-decoration: none;
  font-weight: normal;
  color: white;
  vertical-align: middle;
  display: flex;
  align-items: center;
  margin-bottom: 0.2rem;
}

.thin-banner-wrap img {
  width: 2rem;
  height: 2rem;
  margin-left: 0.5rem;
  vertical-align: middle;
  margin-right: 0.5em;
}

.thin-banner-link a {
  color: white;
  border: solid 0.0938rem white;
  padding: 0.6rem 1rem 0.6rem 1rem;
  text-decoration: none;
  float: right;
  margin: 0.5em 0.5em 0.5em 3.75em;
}

.thin-banner-link a:hover,
.thin-banner-link a:active {
  color: #363864;
  text-decoration: none;
  background: #fff;
}

.thin-banner-content-left,
.two-post-block-item h6 {
  display: inline-block;
  display: flex;
  align-content: center;
  padding: 0.2rem;
}

/* Footer */

footer {
  background-color: white;
}

footer p,
footer a,
footer:link,
footer span {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  text-decoration: none;
  line-height: 1.4;
}

.footer-text-upper {
  padding: 1em 1em;
}

footer > div:last-of-type {
  padding: 0 4rem 2rem 4rem;
}

footer section.instagram-widget {
  margin-top: 6em;
  margin-bottom: 0;
  margin-right: auto;
  margin-left: auto;
  display: flex;
  flex-direction: column;
}

.instagram-heading {
  text-align: center;
  margin-bottom: 1.25em;
  font-weight: bold;
  color: #666;
  display: none;
}

.instagram-link {
  color: #666;
  display: inline-flex;
  padding: 1.5rem;
  font-size: 1em;
  font-weight: 700;
  margin-left: auto;
  margin-right: auto;
}

.jr-insta-thumb ul.thumbnails.jr_col_6 {
  margin-left: revert;
}

.jr-insta-thumb ul.thumbnails li {
  margin: 0;
}

footer .social-wrapper img {
  padding: 0.5rem;
  display: inline-block;
  margin: 0 auto;
  align-self: center;
  width: 4.3em;
}

.social-wrapper {
  display: flex;
  justify-content: center;
}

.social-wrapper.footer-links {
  margin-top: 35px;
}

a.sociallink {
  display: flex;
}

.policy-links {
  display: block;
  text-align: center;
  padding-top: 1em;
}

.policy-links a:not(:last-child) {
  border-right: solid thin #666;
  margin-left: 0.3rem;
  padding-right: 0.3rem;
}

.policy-links a:last-child {
  padding-left: 0.3rem;
}

/* Events - single event page */

.single-event-top {
  display: flex;
  flex-direction: row-reverse;
  flex-direction: row;
  flex-wrap: wrap;
  background-color: #ffc229d0;
  background-color: #ffc229;
  margin-bottom: 2em;
}

.event-main-image {
  align-self: center;
  flex: 2 1;
  min-height: 100%;
}

.event-main-info {
  float: right;
  flex: 1 2;
  height: 100%;
  padding: 3em;
  color: #363864;
}

.event-main-info * {
  width: unset;
  flex-basis: 9em auto;
}

.centered-wrapper {
  margin-left: auto;
  margin-right: auto;
}

.event-main-info h2 {
  margin-bottom: 0.5em;
  line-height: 1.2;
}

.event-main-info .post-embed-meta h6,
.event-address {
  margin-top: 0.5em;
  font-size: 1.05rem;
  line-height: 1.2;
  color: #363864;
}

.single-event-text {
  clear: both;
  margin: 2em;
}

.single-event-text p {
  margin-bottom: 1em;
}

/* Featured Events */

footer,
.featured-events-block,
.vitlife-posts-block,
.menu-block,
.two-post-block {
  margin-top: 2rem;
}

.featured-event-wrapper,
.event {
  display: flex;
  flex-wrap: wrap;
}

.featured-event.event {
  width: calc((100% - 1rem) / 2);
}

.featured-event-date {
  color: #949494;
}

.events-list-wrapper,
.two-post-block-item h2 {
  margin-top: 1rem;
}

.events-list-wrapper {
  margin-bottom: 1.3em;
}

.featured-event,
.event-list-item {
  border-top: solid 0.125rem #46b8b0;
  display: flex;
  background-color: white;
}

.featured-event {
  border-top: solid 0.1875rem #46b8b0;
  padding-top: calc(0.5rem - 1px);
}

.featured-event:last-child,
.two-post-block-item:last-child {
  margin-left: 1rem;
}

.featured-events-block h2 {
  padding-bottom: 1rem;
}

.featured-event-image {
  float: left;
}

.event-info,
.featured-event-image {
  padding: 0.4rem 1.1rem;
  width: 50%;
}

.event-info * {
  color: #666;
  text-decoration: none;
}

.event-title,
.tag {
  padding-left: 0.25rem;
}

.featured-event span.tag,
.event span.tag {
  color: #46b8b0;
  border: solid thin #46b8b0;
}

h6 {
  font-size: 0.75rem;
}

h6 img {
  height: 0.6rem;
  width: 0.5rem;
  padding-right: 0.15rem;
}

.events-list-wrapper .event {
  justify-content: space-between;
}

.event-list-item {
  background-color: white;
  width: calc((100% - 2rem) / 3);
  margin-bottom: 1rem;
}

.event-list-item .event-info {
  width: 100%;
  border-top: solid 1.125px transparent;
}

.event-list-item .event-info:hover {
  border-top: solid 1.125px #46b8b0;
}

.event-list-item .event-time h6 {
  color: #949494;
  letter-spacing: 0.055rem;
}

.event-list-item .event-time h6 img {
  margin-right: 0.4rem;
}

.event-info {
  background-color: white;
  display: block;
  margin-bottom: 1rem;
}

/* Post Embed Block */

.post-embed-meta {
  margin-bottom: 0.5rem;
}

.two-post-block-item h6,
.post-embed-meta * {
  display: inline-block;
  color: #666;
}

.post-embed-meta img {
  height: 0.8rem;
  width: 0.8rem;
}

.post-embed-meta h6,
.two-post-block-item h6 {
  font-size: 0.8rem;
  padding-right: 1rem;
}

.post-embed-main,
.post-embed-text-preview,
.post-embed-text-preview p,
.two-post-text-preview p,
.author-image p {
  color: #666;
  line-height: 1.5;
  font-size: 1rem;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.post-embed-main,
.post-item-inner-wrapper,
.post-embed-block .read-more {
  margin-left: 1rem;
  margin-right: 1rem;
}

.post-embed-block .text-preview {
  max-height: 14rem;
}

.text-preview {
  overflow: hidden;
}

.post-item-inner-wrapper {
  height: 17rem;
}

.post-embed-block {
  position: relative;
  margin-top: 1rem;
}

.author-info {
  position: relative;
  float: right;
  height: 15%;
  min-width: 6rem;
  bottom: 3em;
  max-width: 30%;
  display: flex;
  flex-direction: column;
}

.author-info * {
  margin-left: auto;
  margin-right: auto;
}

.author-image img {
  border-radius: 8rem;
  border: 0.25rem solid white;
  min-width: 5rem;
  width: 7.75rem;
}

.author-name {
  width: 90%;
  text-align: center;
  color: #666;
}

.author-info .author-name p {
  font-size: 0.8rem;
  line-height: 1.1;
  padding-left: 0;
}

.post-embed-block .read-more-wrapper,
.two-post-block-item .read-more-wrapper {
  background: linear-gradient(
    to bottom,
    rgba(250, 249, 248, 0) 0%,
    rgba(250, 249, 248, 0.5) 4%,
    rgba(250, 249, 248, 1) 10%,
    rgba(250, 249, 248, 1) 100%
  );
}

/*  Two Post Block */

.text-preview .read-more-banner {
  width: 100%;
}

.two-post-wrapper {
  display: flex;
  flex-wrap: wrap;
}

.two-post-block-item {
  position: relative;
  width: calc(50% - 0.75rem);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.two-post-block-image img {
  width: 100%;
}

.two-post-block-item .read-more-wrapper {
  width: 100%;
  margin-left: 1rem;
  z-index: 3;
}

.two-post-block-item .post-item-inner-wrapper {
  margin-bottom: 2rem;
}

.two-post-block-author-info {
  max-width: 5rem;
  min-width: unset;
  right: unset;
  height: unset;
  max-height: 6rem;
}

.two-post-block-author-info .author-image img {
  min-width: 3.5rem;
  max-width: 5rem;
}

.two-post-block-item-wrapper {
  position: relative;
  width: 100%;
  z-index: 2;
}

.two-post-block-item h2 {
  margin-top: 0.5rem;
  font-size: 1.33rem;
  line-height: 1.2;
}

.text-preview.two-post-text-preview p {
  margin-top: 0;
  font-size: 0.9rem;
}

.text-preview.two-post-text-preview {
  clear: both;
}

@media only screen and (max-width: 43.75rem) {
  .two-post-block-item .post-item-inner-wrapper {
    margin-left: 0;
    margin-right: 0;
  }
  section.two-post-block div.two-post-block-item div.read-more-wrapper {
    margin-left: 0;
  }
  /* Two Post Block */
  .two-post-wrapper,
  .two-post-block-item {
    display: block;
    width: 100%;
  }

  .two-post-block-item:last-child {
    margin: 0;
  }

  .two-post-text-preview p {
    position: relative;
  }
}

@media only screen and (max-width: 53.125rem) and (min-width: 43.75rem) {
  .post-item-inner-wrapper {
    height: 30rem;
  }
}

@media only screen and (max-width: 28.125rem) {
  .post-item-inner-wrapper {
    margin-bottom: 2rem;
    height: 30rem;
  }

  .two-post-block-item h2 {
    font-size: 1.3rem;
  }
}

/* Search bar */

.search-block {
  margin-top: 2rem;
}

.search-bar-title {
  margin-top: 0;
  font-size: 1em;
}

.search-input {
  width: 70%;
  max-width: 29.5em;
  padding: 0.5rem;
  box-shadow: 0.125rem 0.125rem 0.3125rem 0rem hsl(0, 0%, 71%);
  border: none;
  color: hsl(0, 0%, 20%);
}

header .search-button {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  background: #363864;
  border: solid 0.1094rem #363864;
  margin-left: 0.5rem;
  font-family: "Poppins", sans-serif;
  cursor: pointer;
  border-radius: 6px;
  height: 60px;
}
header .search-button:hover {
  background: #5c5e94;
}

header .search-input {
  padding: 0.7rem;
  box-shadow: none;
  border: 1px solid;
  border-radius: 6px;
  width: 100%;
  max-width: 100%;
  border: none;
  color: hsl(0, 0%, 20%);
  border: 2px solid #3c3e6f;
  height: 60px;
}

.search-button {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  color: #363864;
  border: solid 0.1094rem #363864;
  margin-left: 0.5rem;
  background-color: unset;
  transition: all 0.3s;
}

.search-button:hover {
  background: #363864;
  color: #fff;
}

.search-button:active {
  background: #1f213f;
  color: #fff;
  border-color: #1f213f;
}

.search-body {
  margin-top: 1em;
}

header .action-bar {
  background: #363864;
  position: absolute;
  right: 0;
  top: 0;
  border-radius: 0 0 0 4px;
}

header .action-bar a {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #fff !important;
  padding: 12px 16px !important;
  transition: all 0.2s;
}

header .action-bar a:hover {
  opacity: 0.8;
}

header .action-bar a.search {
  background-image: url(images/icons/svg/action-bar-search.svg);
  background-size: 16px;
  background-repeat: no-repeat;
  background-position: center right;
  padding-right: 22px !important;
  margin-right: 8px;
}

@media only screen and (max-width: 56.25rem) {
  header {
    padding: 0 !important;
  }
  header .action-bar {
    width: 100%;
    position: relative;
  }
  header .action-bar ul {
    text-align: center;
  }
  header .action-bar li {
    display: inline-block;
  }
  body > main {
    margin-top: 140px !important;
  }
}

header .search-body {
  position: absolute;
  width: 100%;
  z-index: 999;
  margin: -36px 0 0 0;
  background: #fff;
  height: 20vh;
  min-height: 300px;
  padding: 100px 0 0 0;
  transition: all 0.3s;
}
header .search-body.closed {
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
}
header .search-body.open {
  opacity: 1;
  pointer-events: all;
  visibility: visible;
  transform: translateY(0px);
}
header .search-body:before {
  content: " ";
  height: calc(100% + 36px);
  left: -100vw;
  width: 300vw;
  top: -36px;
  background: #fff;
  z-index: -1;
  position: absolute;
}
header .search-body form {
  width: 100%;
}
.search-body .close-search {
  position: absolute;
  right: 0;
  top: 10px;
  width: 45px;
  height: 45px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}
.search-body .close-search svg {
  width: 40px;
  height: 40px;
}

.search-input,
.search-button {
  display: inline;
  font-size: 1em;
}

/* Media Queries */

@media only screen and (min-width: 43.75rem) {
  .post-listing-items,
  .events-list-wrapper .event {
    margin: 0 -0.5rem;
    width: calc(100% + 1rem);
    max-width: calc(100% + 1rem);
  }
}

@media only screen and (min-width: 35.6rem) {
  .gform_wrapper .gform_body {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .gform_description {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .gravityforms .gform_wrapper textarea:not(.small),
  .gravityforms .gform_wrapper select:not(.small),
  .gravityforms .gform_wrapper input:not(.small):not(.button) {
    width: 100%;
  }

  .gform_heading::before {
    margin-top: 1.75rem;
    position: static;
    display: block;
    width: 8.5rem;
  }

  .core.gravityforms .gform_title,
  .no-form-title span.gform_description {
    width: calc(100% - 8.5rem);
  }
}

@media only screen and (max-width: 35.6rem) {
  .core.gravityforms .gform_title {
    width: 100%;
    padding-top: 0;
  }
  .gform_heading::before {
    float: unset;
  }
}

@media only screen and (max-width: 50rem) {
  /* Forms */
  .core.gravityforms .gform_footer {
    margin-left: 0;
  }

  .core.gravityforms h3.gform_title {
    margin-left: 0;
    padding-left: 0;
  }

  .core.special ul,
  .core.special ol {
    padding-left: 0;
  }

  .core.gravityforms .gform_body ul.gform_fields li {
    margin: 1rem 0;
  }

  .core.gravityforms .gform_footer {
    padding: 1rem;
  }

  .gform_body ul li label {
    margin-top: 1rem;
  }

  .core.gravityforms .gform_heading {
    margin-bottom: unset;
  }

  .core.gravityforms .gfield_radio li input + label::before,
  .core.gravityforms input[type="checkbox"] + label::before {
    right: 1rem;
  }

  .core.gravityforms ul.gfield_checkbox {
    margin-left: -2rem;
  }

  .core.gravityforms ul.gfield_radio {
    margin-left: 0;
  }

  .core.gravityforms .gform_button {
    left: 0;
  }
}

@media only screen and (max-width: 60.9375rem) {
  /* 975px */

  .list-item {
    flex-grow: 1;
    max-width: revert;
    flex: 1 1 calc(50% - 1rem);
  }
}

@media only screen and (max-width: 56.25rem) {
  /* 900px */

  header * {
    display: block;
  }

  .menuwrapper {
    width: 100vw;
    padding: 0;
  }

  body {
    overflow-x: hidden;
  }

  .menuwrapper ul {
    padding: 0;
  }

  .menuwrapper li {
    border-top: solid 0.0625rem rgb(214, 214, 214);
    display: block;
    padding: 0;
    position: relative;
    margin: 0.3rem 0;
    border-radius: 0;
  }
  .menuwrapper > li:last-of-type {
    border-bottom: solid 0.0625rem rgb(214, 214, 214);
  }

  header li.menu-item a {
    display: inline;
  }
  header li.menu-item svg {
    height: 20px;
    width: 20px;
    position: absolute;
    top: 18px;
    right: 20px;
    transition: transform 0.3s;
    color: #363864;
  }
  header li.menu-item.expand > svg {
    transform: rotate(90deg);
  }
  header li.menu-item .menu-item svg {
    top: 10px;
  }

  header li.menu-item a::after {
    /*content: url("images/icons/svg/grey-arrow.svg");
    width: 0.75rem;
    display: block;
    float: right;*/
  }

  nav.main-menu {
    /*overflow-y: scroll;*/
  }

  .level-one,
  .vitlife {
    font-weight: bold;
  }
  .level-two {
    padding-left: 7px;
  }

  #menu-header-left a {
    color: #363864;
    width: 100%;
    display: inline-block;
    pointer-events: all;
    padding: 20px;
  }

  nav .menu-header-left-container ul li.has-children > a {
    background-image: none;
  }

  nav .menu-header-left-container ul a.level-two {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
  }

  #menu-header-left > li.has-children.clicked:after {
    top: 15px;
    right: 5px;
    transform: rotate(90deg);
    border-left: 10px solid #363864;
  }

  .menu-split:not(.menu-cta-wrap) {
    margin: 0;
    padding: 0;
  }

  #menu-header-left > li.clicked > .sub-menu {
    display: block;
    margin-top: 12px;
  }

  .sub-menu ul.menu-split {
    display: block;
    min-width: 100%;
    width: 100%;
    background: transparent;
  }

  .sub-menu ul.menu-split * {
    padding: 0;
    margin: 0;
  }

  .menuwrapper .sub-menu {
    position: static;
    display: block;
    top: 0;
  }

  #menu-header-left > li > .sub-menu {
    background: none;
    box-shadow: none !important;
    width: 100%;
    max-width: 100%;
    max-height: 0;
    transition: all 0.2s;
    padding-top: 0;
    padding-bottom: 0;
  }

  #menu-header-left > li > .sub-menu.expand {
    opacity: 1 !important;
    visibility: visible !important;
    max-height: 100000px;
  }

  .menu-item-header {
    width: 100%;
    display: block;
    height: auto;
    border: none;
    background: none;
    margin: 0 !important;
    padding: 10px 5px !important;
    font-weight: normal;
  }

  #menu-header-left > li > .sub-menu li a {
    height: auto;
    width: 100%;
    display: block;
    background: none;
    color: #363864 !important;
    border: none !important;
  }

  header li.menu-item a::after {
    display: none;
  }

  .menu-cta-wrap {
    display: none;
  }

  #menu-header-left .menu-split .sub-menu {
    display: block;
    max-height: 0;
    transition: max-height 0.5s ease-out;
    overflow: hidden;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
  }
  #menu-header-left .menu-split .sub-menu.expand {
    max-height: 500px;
    max-height: calc(100vh - 200px);
    overflow: scroll;
  }

  #burger-toggle {
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    margin-left: -1rem;
    top: 3.5rem;
    z-index: 1;
    -webkit-user-select: none;
    user-select: none;
    display: flex;
    justify-content: right;
  }

  /* burger */

  .burger-icon {
    position: absolute;
    display: block;
  }

  #burger-toggle .burger-icon {
    width: 1.5rem;
    height: 1.875rem;
    z-index: 10000;
    right: 2.5em;
    position: relative;
    top: 0.5rem;
  }

  #burger-toggle span {
    display: block;
    width: 1.5rem;
    height: 0.2rem;
    margin-bottom: 0.3125rem;
    position: relative;
    background: #363864;
    border-radius: 0.1875rem;
    z-index: 15;
    transform-origin: 0.25rem 0rem;
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
      background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
  }

  [data-header-overlay] #burger-toggle span {
    background: #fff;
  }

  #burger-toggle span:first-child {
    transform-origin: 0% 0%;
  }

  #burger-toggle span:nth-last-child(2) {
    transform-origin: 0% 100%;
  }

  /* Transform burger into crossmark */
  [mobile-menu-open] #burger-toggle .burger-icon span {
    opacity: 1;
    transform: rotate(45deg) translate(-1px, -2px);
    transform: rotate(-45deg) translate(-7px, 17px);
  }

  [mobile-menu-open] #burger-toggle .burger-icon span:nth-last-child(2) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
  }

  [mobile-menu-open] #burger-toggle .burger-icon span:nth-last-child(1) {
    opacity: 1;
    transform: rotate(-45deg) translate(-2px, -2px);
    transform: rotate(45deg) translate(-6px, -18px);
  }

  /* Mobile Menu - TC */
  .main-menu,
  .action-menu {
    display: none;
  }
  [mobile-menu-open] {
    overflow-y: hidden;
  }
  [mobile-menu-open] .mobile-menu {
    transform: translateX(0);
  }

  /* Push menu */

  /*
  .menuwrapper {
    position: fixed;
    width: 240px;
    height: 150%;
    top: 0;
    right: -240px;
    z-index: 6;
  }

  [mobile-menu-open] #burger-toggle .menuwrapper {
    display: block;
    opacity: 1;
    right: 0;
    overflow-y: scroll;
    height: 100%;
  }

  .menu-push {
    overflow-x: hidden;
    position: relative;
    left: 0;
  }

[mobile-menu-open] {
	left: -240px;
}


  .menuwrapper,
  .menu-push {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }*/

  [mobile-menu-open]
    #menu-header-right-logged-in
    li.menu-item-has-children:hover
    ul.sub-menu
    *,
  [mobile-menu-open]
    #menu-header-right-logged-in
    li.menu-item-has-children:hover
    ul.sub-menu::before,
  [mobile-menu-open]
    #menu-header-right-logged-in
    li.menu-item-has-children:hover
    ul.sub-menu {
    display: none;
  }

  /* Search bar in nav */
  .header-search {
    position: absolute;
    right: 2.5em;
    padding-top: 0;
  }

  .header-search-icon {
    padding-right: 0.75em;
    height: 2.5em;
    padding-top: 0.25em;
  }

  /* Single posts, events and pages */
  .event-main-info {
    padding: 1.8em;
  }

  .event-main-info h2 {
    margin-bottom: 0;
    font-size: 1.69em;
  }

  /* Hero Block */
  .hero-cards-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 4.5rem 0 3.5rem 1rem;
  }

  .hero-cards-wrapper,
  .hero-main-content {
    width: 50%;
  }

  .hero-cards-wrapper .card {
    width: 100%;
    flex: 1 1 calc(100% / 3);
  }

  /* Four card image */
  .four-card-banner img.banner-image {
    display: block;
  }

  /* Thin Banner Block */
  .thin-banner-link a {
    max-width: 10rem;
  }
}

@media only screen and (max-width: 56.25rem) {
  #burger-toggle .burger-icon {
    position: relative;
    top: 0.5rem;
    right: 2.5em;
  }

  #burger-toggle {
    display: flex;
    justify-content: right;
  }
}

@media only screen and (max-width: 56.25rem) and (min-width: 50rem) {
  /* 900px to 800px */

  /* Hero */
  .hero-inner {
    flex-direction: row;
  }

  .hero-cards-wrapper .card:nth-child(1) {
    margin-left: 0.55rem;
  }
}

@media only screen and (max-width: 40rem) {
  /*  Four Card Block */
  .four-card-banner {
    height: 32rem !important;
  }
  .four-card-banner .banner-image {
    height: 32rem !important;
  }
}

@media only screen and (max-width: 53.125rem) {
  /* 850px */

  /*  Four Card Block */
  .four-card-banner {
    height: 29rem;
  }

  .four-card-wrapper {
    justify-content: space-around;
    margin: 0 0.55rem;
  }

  .four-card-banner .banner-image {
    height: 29rem;
  }

  .four-card-right-wrapper h3 {
    margin-left: 0;
  }

  .four-card-wrapper .card {
    width: calc(50% - 1.1rem);
  }

  .four-card-wrapper .card:nth-child(2n) {
    margin-left: 0;
  }

  .vitlife-posts-block h3 {
    font-size: 1.25rem;
    line-height: 1.2;
  }
}

@media only screen and (max-width: 60.9375rem) {
  .four-card-right-wrapper {
    position: absolute;
    right: 0rem;
    padding-top: 4rem;
    padding-bottom: 1rem;
    width: 100%;
    float: unset;
    bottom: 0;
    margin-top: 9rem;
    top: unset;
  }

  .read-more-wrapper {
    position: static;
  }
}

@media only screen and (max-width: 50rem) {
  /* 800px */

  [data-header-overlay] header {
    position: relative;
    min-height: 4em;
  }

  [data-header-overlay] header .headerlogo-dark,
  [data-header-overlay] header .header-search-icon-dark {
    display: block;
  }

  [data-header-overlay] header .headerlogo-light,
  [data-header-overlay] header .header-search-icon-light {
    display: none;
  }

  header {
    background-color: #fff;
  }

  [data-header-overlay] #burger-toggle span {
    background: #363864;
  }

  header {
    padding: 1rem;
  }

  #burger-toggle .burger-icon {
    right: 0em;
    position: absolute;
  }

  #header-search-bar .close-search {
    display: none;
  }
  #header-search-bar {
    width: calc(100% - 40px);
    margin-top: 40px;
    right: 0;
    margin: 90px 0 0 0;
    padding: 10px 0;
    overflow-x: hidden;
    height: auto;
    min-height: 0;
  }
  #header-search-bar input {
    width: 80%;
  }
  #header-search-bar .search-button {
    width: calc(20% - 0.5rem);
    padding: 10px;
    float: right;
  }

  .header-search .search-button {
    float: right;
  }

  .header-search form,
  .header-search .search-input {
    width: 100%;
  }

  .header-search .search-body::before,
  .header-search .search-body::after {
    right: 3em;
  }

  /* Hero Block */
  section.hero-block {
    height: unset;
    background: #fff !important;
  }

  .hero-cards-wrapper,
  .hero-main-content,
  .hero-cards-wrapper .card {
    display: block;
    position: unset;
    min-width: 100%;
    padding: 0.5rem;
    margin: auto;
    background-color: white;
    color: #363864;
  }

  .hero-cards-wrapper,
  .hero-main-content {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-cards-wrapper .card {
    margin: 1rem 0 1rem 0;
    color: white;
  }

  .four-cb-card-title--small {
    font-size: 18px !important;
  }
}

@media only screen and (max-width: 60.9375rem) and (min-width: 53.125rem) {
  .card-text.four-cb-card-text {
    font-size: 14px;
    line-height: 1.2;
    margin: 0 0 0.5rem 0;
  }
  .four-cb-card-title {
    font-size: 22px;
    line-height: 0.8;
    margin-bottom: 0.4rem;
  }
  .four-card-wrapper .card-link {
    margin: 1rem 0.9rem 1.5rem 0.9rem;
  }
}

@media only screen and (min-width: 37.5rem) and (max-width: 60.9375rem) {
  /* 700px to 800px */

  .vitlife-panel {
    /* width: 50%; */
    /* height: calc(50% - 1rem);
    margin-bottom: 1rem; */
    /* height: 50%; */
    border-bottom: thin dashed #b1b3e3;
  }

  .wrapper {
    height: 62rem;
    flex-wrap: wrap;
  }

  .vitlife-panel:nth-child(2n) .vitlife-block-item-border-wrap {
    border-right: none;
  }
  .vitlife-panel:nth-child(n + 3),
  .vitlife-panel.sign-in-panel {
    border-bottom: none;
  }
}

@media only screen and (max-width: 48.75rem) {
  /* 780px */

  /* Mobile Margins */
  .thin-banner.acf .acf-block.thin-banner section.thin-banner,
  .acf .acf-block.post-embed section.post-embed-block,
  .acf .acf-block.four-block-banner section.four-card-banner {
    margin-left: 0;
    margin-right: 0;
  }
}

@media only screen and (max-width: 43.75rem) {
  /* 700px */

  .single-page .core,
  .single-event-page .core {
    padding-left: 0.625rem;
    padding-right: 0.625rem;
  }

  section:not(.full-width):not(.post-embed-block):not(.four-card-banner):not(
      .thin-banner
    ):not(.vitlife-posts-block):not(.paywall-block):not(.menu-block) {
    margin: 1rem;
  }

  section.post-listing,
  section.event-listing-block,
  section.featured-events-block {
    margin: 1rem;
  }

  section.vitlife-posts-block {
    margin: 2rem 0;
  }

  .vitlife-posts-block h3 {
    padding: 0.5rem 0;
  }

  .vitlife-block-item-meta {
    margin-top: 0;
  }

  div.post-embed-main,
  .post-embed-block a.read-more {
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .thin-banner section.thin-banner,
  .four-block-banner section.four-card-banner {
    margin-left: 0;
    margin-right: 0;
  }

  /* Events, pages and posts */
  .event-main-info,
  .event-main-image {
    min-width: 100%;
  }

  .static-page .page-header h1 {
    background-color: hsla(343, 64%, 55%, 1);
    position: relative;
    display: block;
  }

  .static-page .page-header img {
    display: none;
  }

  /* List-type blocks */

  .list-item {
    min-width: 100%;
    flex-grow: 1;
    margin: 0 0 1rem;
  }

  .featured-events-block h2,
  .featured-event-title h3,
  .list-item h3 {
    font-size: 1.4rem;
  }

  /* Post Listing block */
  .post-listing-item {
    display: block;
    width: 100%;
  }

  .post-listing-top {
    height: 6rem;
  }

  .post-listing-bottom {
    margin-top: 0;
  }

  .post-listing-item.list-item {
    margin: 0 0 1rem;
  }

  .post-list-item-top h3 {
    font-size: 1.4rem;
    /* font-weight: bold; */
  }

  /* Featured Events */
  .featured-events-block {
    padding-top: 1rem;
  }

  .featured-event.event {
    width: 100%;
    margin-left: 0;
    margin-top: 1rem;
  }

  .featured-events-block h2 {
    padding-left: 1rem;
  }

  .featured-event-image,
  .featured-event-image img,
  .featured-event-info {
    width: 100%;
    display: block;
  }

  .featured-event-time h6,
  .event-list-item h6 {
    font-size: 1rem;
  }

  .featured-event-time img,
  .event-list-item img {
    height: 1rem;
    width: 0.9rem;
    margin-right: 0.3rem;
    margin-left: 0.5rem;
  }

  .tag-wrapper {
    margin-bottom: 0;
  }

  /* Post Embed Block */
  .post-embed-block .read-more {
    margin: 0;
  }

  .author-name {
    bottom: -4rem;
  }

  /* Thin Banner Block */
  .thin-banner-wrap {
    display: block;
    float: left;
    margin-bottom: 2rem;
  }

  .thin-banner-link a {
    display: block;
    float: left;
    margin-top: 1rem;
    margin-left: 3.2rem;
    margin-bottom: 0.5rem;
  }

  /* Search Bar */
  section.search-block .search-input,
  section.search-block .search-button {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
    margin-left: unset;
    text-align: center;
  }

  /* Info menu */
  .info-submenus-wrapper {
    flex-flow: row wrap;
  }

  .info-submenu-right {
    margin-top: 2em;
    margin-left: 0;
  }
}

@media only screen and (max-width: 37.5rem) {
  /* 600px */

  /* Event pages */
  .event-main-info {
    padding: 2em 2em 2em 3em;
  }

  /* Vitlife Posts Block */
  .wrapper {
    height: unset;
  }

  .vitlife-posts-block .wrapper {
    margin: 0;
  }

  .vitlife-block-item-border-wrap {
    border-right: none;
  }

  .vitlife-posts-block .wrapper,
  .vitlife-panel {
    background-color: white;
    display: block;
    display: flex;
    flex-direction: column;
    width: 100%;
    font-size: 1rem;
  }

  .wrapper .vitlife-panel:not(:last-child) {
    border-right: none;
    background-position: bottom -70% left -150%;
    background-size: 90%;
  }

  .sign-in-panel {
    background-color: #363864;
  }

  .vitlife-panel-inner {
    padding: 1rem;
  }

  .vitlife-posts-block h3 {
    font-size: 1.3rem;
  }

  .sign-in-panel .vitlife-panel-links {
    /* max-width: 13rem; */
  }

  .sign-in-panel .vitlife-panel-links a {
    margin-bottom: 0.6rem;
  }

  .sign-in-panel,
  .vitlife-panel p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .vitlife-block-item {
    /* padding-top: 2rem; */
    margin: 0;
    border-top: thin dashed #363864;
  }

  .vitlife-block-item:first-child,
  .wrapper .sign-in-panel + .vitlife-block-item {
    border-top: none;
  }

  .vitlife-block-item {
    border-right: none;
  }

  .vitlife-panel:nth-child(2n) .vitlife-block-item-border-wrap {
    border-right: none;
  }

  .vitlife-panel img,
  .vitlife-block-item-text {
    padding: 0;
  }

  .vitlife-block-item-text {
    height: auto;
  }

  .vitlife-block-item-text p {
    background-color: unset;
  }

  .vitlife-block-item-text .read-more {
    position: absolute;
  }

  .vitlife-panel .read-more-wrapper a.read-more {
    bottom: 2.5rem;
  }

  .sign-in-panel h3 {
    color: white;
  }

  .vitlife-block-item h3 {
    color: #363864;
  }

  .vitlife-panel .read-more-wrapper a {
    padding: 0.3rem 1rem;
    bottom: 1rem;
    width: 8em;
  }

  .vitlife-panel .read-more-wrapper {
    margin-left: 0;
    padding: 0.75rem 0 1rem;
    height: 7rem;
  }
}

@media only screen and (max-width: 28.125rem) {
  /* 450px */

  .author-name {
    bottom: -4.5rem;
    width: 100%;
  }

  .author-info:not(.two-post-block-author-info) {
    width: 20%;
  }

  .post-embed-main {
    margin-bottom: 1rem;
    margin-top: 2rem;
  }

  .card-text.four-cb-card-text {
    font-size: 14px;
    line-height: 1.2;
    margin: 0 0 0.5rem 0;
  }

  .four-cb-card-title {
    font-size: 22px;
    line-height: 0.8;
    margin-bottom: 0.4rem;
  }

  .four-card-wrapper .card-link {
    margin: 1rem 0.9rem 1.5rem 0.9rem;
  }
}

@media only screen and (max-width: 23.75rem) {
  /* 380px */

  .list-item {
    width: 100%;
  }

  .single-event-text {
    margin-left: 0.5rem;
    margin-right: 0;
  }

  .sign-in-panel .vitlife-panel-links {
    width: 100%;
    max-width: revert;
  }
}

/* Core and comments */

.wp-block-embed {
  margin-top: 1em;
  margin-bottom: 1em;
}

#comments {
  margin: auto;
  width: 38.9rem;
}

#comments .says:before {
  content: "\00a0";
}

ol.commentlist {
  margin: 0 0.25rem;
}

.comment-body .reply {
  padding: 0.5em 0;
  display: block;
  border-radius: 2px;
  color: #363864;
}

.reply a {
  text-decoration: none;
  color: hsl(176, 45%, 40%) !important;
  font-size: 0.9rem;
}

#comments .comment-body {
  background-color: white;
  margin: 1.3em auto 3rem auto;
  border-top: solid 1px #ccc;
}

#comments .comment-meta {
  font-size: 0.7rem;
  text-decoration: none;
  margin-top: -1.2rem;
  margin-left: 2.8rem;
}

#comments .comment-meta a {
  text-decoration: none;
  color: #666;
  margin-left: 0.5rem;
}

#comments a:visited {
  color: #666;
}

textarea#comment {
  background-color: white;
  padding: 1em;
  border: solid 0.5px #a6a6a6;
  margin: 1.65rem 0.1rem 1.65rem 0;
  border-radius: 2px;
  font-size: 1em;
  font-family: "Poppins", sans-serif;
  width: 100%;
  display: block;
}

#comments h2 {
  font-size: 1.33rem;
}

#comments label {
  display: none;
}

#comments p {
  font-size: 1rem;
  margin: 0.4rem auto;
}

#commentform .form-input {
  margin-top: -1rem;
}

#commentform .form-input #submit {
  padding: 0.5em 1.5em;
  line-height: 1.5rem;
}

#commentform p.form-submit input.submit {
  font-weight: normal;
  margin: 0.5rem 2rem 2rem 0.1rem;
}

#comments,
.comments-area {
  margin: 3rem auto;
}

#comments .avatar {
  vertical-align: bottom;
}

#comments .commentlist p {
  padding: 1em 0 0;
}

.comment-author.vcard {
  padding: 1em 0;
  display: flex;
}

.comment-author.vcard img {
  margin-right: 1.5em;
}

.children {
  margin-left: 1rem;
}

.comment-body .reply {
  margin-right: 0.25rem;
}

@media only screen and (max-width: 43.75rem) {
  /* 700px */

  #comments,
  .comments-area {
    padding: 0.5em;
  }

  #comments h2 {
    margin: unset;
  }

  ol.commentlist {
    margin: 1rem 0;
  }

  #respond .logged-in-as {
    text-align: center;
    width: 100%;
  }
}

#submit {
  color: #363864;
  font-weight: bold;
  padding-left: 1rem;
  padding-right: 1rem;
  border: solid 0.0938rem;
  display: inline-block;
  text-decoration: none;
  text-align: center;
  font-size: 1rem;
  line-height: 2rem;
  margin: 1rem 0;
  background: transparent;
}

#respond {
  margin-top: 2em;
  padding-top: 1em;
}

#respond h3 {
  font-size: 1.33rem;
  line-height: 1.33;
  color: #363864;
  font-weight: bold;
  margin: 2rem 0;
}

#respond .logged-in-as {
  text-align: right;
  margin-top: -3.3rem;
  font-size: 0.88rem;
  padding-bottom: 1rem;
}

#respond .logged-in-as a {
  text-decoration: none;
}

#respond .logged-in-as a:last-of-type {
  padding-left: 0.5rem;
}

@media screen and (max-width: 50rem) {
  #respond {
    margin-top: 0;
    text-align: center;
  }

  #respond h3 {
    width: 100%;
    margin: auto;
    display: block;
    text-align: center;
  }

  #respond form {
    margin-top: 4rem;
  }

  #respond .logged-in-as a {
    width: 100%;
    display: block;
    text-align: center;
    margin: auto;
  }

  textarea#comment {
    border: solid 0.5px #a6a6a6;
    border-radius: 2px;
    margin: 1rem 0;
    width: unset;
  }
}

/* Video embeds dimensions corrections */

div.core-embed.youtube iframe {
  width: calc(100vw - 5rem);
  height: calc((100vw - 5rem) * 0.5625);
  max-width: 1053px;
  max-height: 592px;
}

@media only screen and (max-width: 48.75rem) {
  div.core-embed.youtube iframe {
    width: 100vw;
    height: calc(100vw * 0.5625);
  }
}

/* Donation & membership page correction */

#crm-main-content-wrapper p {
  margin-top: 1em;
  margin-bottom: 1em;
}

#crm-main-content-wrapper li {
  list-style-position: outside;
}

.vt-giftaid-declaration {
  padding: 1rem 1.5rem 1rem 3.5rem;
}

.vt-giftaid-declaration > p {
  margin-bottom: 0.75rem;
}

.vt-giftaid-declaration > ol {
  margin-left: 1em;
  margin-bottom: 1em;
}

/* About the author */

.about-the-author__header {
  background: #343864;
  padding: 6px;
  padding-left: 50px;
  background-image: url(images/icons/svg/ate-author-icon.svg);
  background-repeat: no-repeat;
  background-position: 15px center;
}

.about-the-author__header > h3 {
  color: #fff;
  font-size: 18px;
  font-weight: bold;
}

.about-the-author__profile-pic {
  max-width: 183px;
  padding: 20px;
  float: left;
}

.about-the-author__profile-pic > img {
  border-radius: 100px;
}

.about-the-author__name-and-socials {
  width: calc(100% - 183px);
  float: left;
  padding: 20px;
  position: relative;
}

.about-the-author__socials li {
  margin-left: 6px;
}

.about-the-author__socials a {
  width: 18px;
  height: 18px;
  display: block;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.about-the-author__socials a:hover {
  opacity: 0.5;
}

.about-the-author__socials a.youtube {
  background-image: url(images/icons/svg/ate-youtube.svg);
}

.about-the-author__socials a.facebook {
  background-image: url(images/icons/svg/ate-facebook.svg);
}

.about-the-author__socials a.twitter {
  background-image: url(images/icons/svg/ate-twitter.svg);
}

.about-the-author__socials a.user_url {
  background-image: url(images/icons/svg/ate-web.svg);
}

.about-the-author__socials a.instagram {
  background-image: url(images/icons/svg/ate-instagram.svg);
}

.about-the-author__name {
  font-weight: bold;
}

.about-the-author__name h4 {
  font-weight: bold;
  color: #343864;
}

.about-the-author__content {
  clear: both;
  float: left;
  width: 100%;
  border: 1px solid #e0e0e0;
  border-top: none;
}

#about-the-author {
  overflow: hidden;
  padding-bottom: 2rem;
}

.about-the-author__name {
  width: 100%;
  float: left;
}

.about-the-author__socials {
  position: absolute;
  top: 0;
  right: 0;
  padding: 20px;
}

.about-the-author__bio-small {
  display: none;
}

@media only screen and (max-width: 43.75rem) {
  .about-the-author__name {
    float: right;
  }
  .about-the-author__socials {
    position: relative;
    float: left;
    padding: 10px 0;
  }
  .about-the-author__profile-pic {
    width: 143px;
  }
  .about-the-author__name-and-socials {
    width: calc(100% - 143px);
  }
  .about-the-author__bio-large {
    display: none;
  }
  .about-the-author__bio-small {
    display: block;
    padding: 20px;
    margin-top: 0;
    clear: both;
  }
}

.about-the-author__socials li {
  display: block;
  width: 18px;
  height: 18px;
  float: right;
  text-indent: -999999px;
}

.about-the-author__bio-large,
.about-the-author__bio-small {
  color: #666666;
  margin-top: 30px;
  line-height: 140%;
}

/** sticky header **/
#abe-sticky-header {
  background: #fffe;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: transform 1s;
  display: none; /* disable for now */
}

#abe-sticky-header {
  transform: translateY(-100px);
}

#abe-sticky-header.visible {
  transform: translateY(0);
}

#abe-sticky-header.admin-bar-active {
  top: 32px;
}

.abe-sticky-header-inner {
  padding: 0;
  position: relative;
  z-index: 5;
  margin: auto;
  overflow: hidden;
}

.abe-sticky-header-text-wrap {
  width: 60%;
  float: left;
  padding: 0.8rem;
}

@media (max-width: 700px) {
  .abe-sticky-header-text-wrap {
    width: 30% !important;
  }
  .abe-sticky-header-article-title {
    display: none;
  }
  .abe-sticky-header-social-wrap {
    width: 70% !important;
  }
}
.abe-sticky-header-social-wrap {
  float: left;
  width: 40%;
  padding-top: 0;
}

h1.abe-sticky-header-vitlife {
  background-repeat: no-repeat;
  background-size: contain;
  float: left;
  height: 53px;
  margin: 0;
  text-indent: -1000px;
  width: 5rem;
  height: 31px;
}

.abe-sticky-header-article-title {
  padding-left: 19px;
  margin-top: 5px;
  color: #363864;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: bold;
}

.abe-sticky-header-share-text {
  padding: 22px;
  color: #4f4f4f;
  font-size: 16px;
  float: right;
}

@media (max-width: 450px) {
  .abe-sticky-header-vitlife {
    height: 26px !important;
  }
  .abe-sticky-header-text-wrap {
    padding: 7px !important;
  }
  .abe-sticky-header-share-text {
    display: none;
  }
  .resp-sharing-button__link {
    font-size: 20px !important;
  }
}

.resp-sharing-button__link,
.resp-sharing-button__icon {
  display: inline-block;
}

.resp-sharing-button__link {
  text-decoration: none;
  color: #fff;
  margin: 0;
}

.resp-sharing-button {
  border-radius: 5px;
  transition: 25ms ease-out;
  padding: 0.5em 0.75em;
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
}

.resp-sharing-button__icon svg {
  width: 1rem;
  height: 1rem;
  margin-right: 0;
  vertical-align: top;
}

.resp-sharing-button--small svg {
  margin: 0;
  vertical-align: middle;
}

/* Non solid icons get a stroke */
.resp-sharing-button__icon {
  stroke: #fff;
  fill: none;
}

.resp-sharing-button__link,
.resp-sharing-button__icon {
  display: inline-block;
}

.resp-sharing-button__link {
  text-decoration: none;
  color: #fff;
  margin: 0 0 0 0;
  float: right;
  font-size: 30px;
}

.resp-sharing-button {
  border-radius: 0;
  transition: 25ms ease-out;
  padding: 0.5em;
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
}

.resp-sharing-button__icon svg {
  width: 1em;
  height: 1em;
  margin-right: 0;
  vertical-align: top;
}

.resp-sharing-button--small svg {
  margin: 0;
  vertical-align: middle;
}

/* Non solid icons get a stroke */
.resp-sharing-button__icon {
  stroke: #fff;
  fill: none;
}

/* Solid icons get a fill */
.resp-sharing-button__icon--solid,
.resp-sharing-button__icon--solidcircle {
  fill: #fff;
  stroke: none;
}

.resp-sharing-button--twitter {
  background-color: #55acee;
}

.resp-sharing-button--twitter:hover {
  background-color: #2795e9;
}

.resp-sharing-button--pinterest {
  background-color: #bd081c;
}

.resp-sharing-button--pinterest:hover {
  background-color: #8c0615;
}

.resp-sharing-button--facebook {
  background-color: #3b5998;
}

.resp-sharing-button--facebook:hover {
  background-color: #2d4373;
}

.resp-sharing-button--tumblr {
  background-color: #35465c;
}

.resp-sharing-button--tumblr:hover {
  background-color: #222d3c;
}

.resp-sharing-button--reddit {
  background-color: #5f99cf;
}

.resp-sharing-button--reddit:hover {
  background-color: #3a80c1;
}

.resp-sharing-button--google {
  background-color: #dd4b39;
}

.resp-sharing-button--google:hover {
  background-color: #c23321;
}

.resp-sharing-button--linkedin {
  background-color: #0077b5;
}

.resp-sharing-button--linkedin:hover {
  background-color: #046293;
}

.resp-sharing-button--email {
  background-color: #777;
}

.resp-sharing-button--email:hover {
  background-color: #5e5e5e;
}

.resp-sharing-button--xing {
  background-color: #1a7576;
}

.resp-sharing-button--xing:hover {
  background-color: #114c4c;
}

.resp-sharing-button--whatsapp {
  background-color: #25d366;
}

.resp-sharing-button--whatsapp:hover {
  background-color: #1da851;
}

.resp-sharing-button--hackernews {
  background-color: #ff6600;
}
.resp-sharing-button--hackernews:hover,
.resp-sharing-button--hackernews:focus {
  background-color: #fb6200;
}

.resp-sharing-button--vk {
  background-color: #507299;
}

.resp-sharing-button--vk:hover {
  background-color: #43648c;
}

.resp-sharing-button--facebook {
  background-color: #3b5998;
  border-color: #3b5998;
}

.resp-sharing-button--facebook:hover,
.resp-sharing-button--facebook:active {
  background-color: #2d4373;
  border-color: #2d4373;
}

.resp-sharing-button--twitter {
  background-color: #55acee;
  border-color: #55acee;
}

.resp-sharing-button--twitter:hover,
.resp-sharing-button--twitter:active {
  background-color: #2795e9;
  border-color: #2795e9;
}

/** Cookie notice **/
.wt-cli-template.cli-style-v3 {
  color: #fff;
}

#wt-cli-policy-link {
  padding: 0 !important;
  margin-top: 20px;
}

/** Eventbrite integration **/
section.eventbrite-upcoming {
  background: #f3efeb;
  position: relative;
  padding: 30px 0;
  font-family: "Poppins";
  font-style: normal;
}

.eventbrite-upcoming__divider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media screen and (max-width: 768px) {
  .eventbrite-upcoming__divider {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 480px) {
  .eventbrite-upcoming__divider {
    grid-template-columns: repeat(1, 1fr);
  }
}

section.eventbrite-upcoming::before {
  background: #f3efeb;
  content: "";
  height: 100%;
  left: -50vw;
  position: absolute;
  top: 0;
  width: 150vw;
  z-index: -1;
}

.eventbrite-upcoming__title {
}

.eventbrite-upcoming__title h3 {
  font-weight: 600;
  font-size: 36px;
  line-height: 36px;
  color: #363864;
}

.eventbrite-upcoming__title p {
  font-weight: 200;
  font-size: 20px;
  line-height: 30px;
  color: #242424;
}

.eventbrite-upcoming__title p + .eventbrite-upcoming__cta {
  margin-top: 30px;
}

.eventbrite-upcoming__cta {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  line-height: 147.7%;
  text-decoration: none;
  color: #242424;
  background-image: url(./images/icons/svg/eventbrite-cta-arrow.svg);
  background-size: 18px;
  background-repeat: no-repeat;
  background-position: center right;
  padding-right: 36px;
  display: inline-block;
}

.eventbrite-upcoming__cta--blue {
  color: #363864;
}

.eventbrite-upcoming-event--featured {
  grid-column-start: 2;
  grid-column-end: 4;
}

.eventbrite-upcoming-event--featured,
.eventbrite-upcoming-event--featured > a {
  position: relative;
  height: 362px;
  width: 100%;
  display: block;
  text-decoration: none;
}

.eventbrite-upcoming-event--featured > a,
.eventbrite-upcoming-event > a {
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.eventbrite-upcoming-event--featured > a:hover,
.eventbrite-upcoming-event > a:hover {
  opacity: 0.8;
}

.eventbrite-upcoming-event--featured > a > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.eventbrite-upcoming__title {
  width: 293px;
  margin-right: 33px;
}

.eventbrite-upcoming-event__date {
  background: #d6436d;
  padding: 16px;
}

.eventbrite-upcoming-event__date span {
  color: #fff;
  font-size: 16px;
  font-weight: 320;
  display: block;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.eventbrite-upcoming-event__date span.hi {
  font-weight: 700;
}

.eventbrite-upcoming-event--featured .eventbrite-upcoming-event__details {
  position: absolute;
  bottom: 19px;
  left: 32px;
  right: 32px;
  display: flex;
  gap: 16px;
}

.eventbrite-upcoming-event__inner-details .eventbrite-upcoming-event__title {
  color: #363864;
  font-weight: 700;
  font-size: 18px;
  line-height: 25px;
  text-transform: uppercase;
  display: inline-block;
  letter-spacing: 0.5px;
}

.eventbrite-upcoming-event__inner-details
  .eventbrite-upcoming-event__title--highlight {
  background: #d6436d;
  padding: 8px 16px;
  color: #fff;
}

.eventbrite-upcoming__divider:not(:last-child) {
  margin-bottom: 24px;
}

.eventbrite-upcoming-event__inner-details
  .eventbrite-upcoming-event__title
  span {
  color: #fff;
  text-decoration: none;
}

.eventbrite-upcoming-event__inner-details
  .eventbrite-upcoming-event__summary--highlight {
  background-color: #fff;
  padding: 16px;
  max-width: 477px;
}

.eventbrite-upcoming-event__inner-details .eventbrite-upcoming-event__summary p,
.eventbrite-upcoming-event__bottom-details
  .eventbrite-upcoming-event__summary
  p {
  font-weight: 320;
  font-size: 17px;
  line-height: 147.7%;
  color: #6e6e6e;
}

.eventbrite-upcoming-event__bottom-details
  .eventbrite-upcoming-event__summary
  p {
  font-size: 16px;
}

.eventbrite-upcoming-event__bottom-details {
  background: #fff;
  padding: 16px;
}

.eventbrite-upcoming-event__bottom-details
  .eventbrite-upcoming-event__title
  span {
  color: #363864;
  font-weight: 700;
  font-size: 16px;
  line-height: 22.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
}

.eventbrite-upcoming-event__bottom-details .eventbrite-upcoming-event__title {
  margin-bottom: 5px;
}

.eventbrite-upcoming-event__summary p + .eventbrite-upcoming__cta {
  margin-top: 8px;
}

.eventbrite-upcoming-event__date.eventbrite-upcoming-event__date--block {
  width: 74px;
  bottom: 0;
  left: 0;
  position: absolute;
}

.eventbrite-upcoming-event__top {
  position: relative;
}

.eventbrite-upcoming-event__top img,
.eventbrite-upcoming-event__top .eventbrite-upcoming-event__no-image {
  display: block;
  height: 169px;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.eventbrite-upcoming__cta-btn-wrap,
.eventbrite-page__cta-btn-wrap {
  text-align: center;
}

.eventbrite-upcoming__cta-btn,
.eventbrite-page__cta-btn-wrap {
  padding: 16px 24px;
  color: #d6436d;
  font-size: 20px;
  border: 2px solid #d6436d;
  display: inline-block;
  margin: auto;
  text-decoration: none;
}

.eventbrite-upcoming__cta-btn:hover {
  background: #d6436d;
  color: #fff;
}

.eventbrite-upcoming-event--featured .eventbrite-upcoming-event__no-image,
.eventbrite-upcoming-event__top .eventbrite-upcoming-event__no-image {
  background: #363864;
}

.eventbrite-upcoming-event--featured .eventbrite-upcoming-event__no-image {
  height: 100% !important;
}

.eventbrite-upcoming-event--mobile-only {
  display: none;
}

@media (max-width: 900px) {
  .eventbrite-upcoming-event--featured {
    display: none;
  }
  .eventbrite-upcoming-event--mobile-only {
    display: block;
  }
}

/* eventbrite listing page */
.eventbrite-page {
  background: #faf9f8;
  padding-top: 160px;
}

@media (max-width: 900px) {
  .eventbrite-page {
    padding-top: 40px;
  }
}

.eventbrite-page__header p {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 320;
  font-size: 20px;
  line-height: 30px;
  color: #242424;
  margin-bottom: 56px;
  margin-top: 5px;
}

.eventbrite-page__wrap {
  clear: both;
  max-width: 60.5rem;
  padding: 0 1.5rem;
  margin: auto;
}

.eventbrite-page__grid {
  gap: 24px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
}

@media screen and (max-width: 768px) {
  .eventbrite-page__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 480px) {
  .eventbrite-page__grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

.eventbrite-upcoming-event--hidden {
  display: none;
}

.eventbrite-upcoming-event--page {
  /* max-width: 359px; */
  position: relative;
  flex: 1;
}

.eventbrite-upcoming-event--page .eventbrite-upcoming__cta {
  position: absolute;
  bottom: 16px;
  left: 16px;
}
