.gsection_title {
  font-size: 1.6666666667vw;
  line-height: 1.33;
  font-weight: 400;
}

.checkbox-dropdown legend {
  padding: 1.6666666667vw 2.5vw;
  background: #e5e5e5;
  color: #999;
  cursor: pointer;
  width: 100%;
}

.checkbox-dropdown .ginput_container.ginput_container_radio {
  position: absolute;
  background: #fff;
  padding: 10px 20px;
  min-width: 200px;
  min-width: calc(50% - 3rem - 5px) !important;
  border: 1px solid #e5e5e5;
  max-height: 0px;
  pointer-events: none;
  opacity: 0;
  transition: all 0.3s ease-in-out;
}

.checkbox-dropdown.checkbox-dropdown--pack .ginput_container.ginput_container_radio {
  min-width: calc(50% - 3rem -5px) !important;
}

.checkbox-dropdown.checkbox-dropdown--title .ginput_container.ginput_container_radio {
  min-width: 150px !important;
  max-width: 150px !important;
}

.checkbox-dropdown.active .ginput_container.ginput_container_radio {
  max-height: 1000px;
  pointer-events: auto;
  opacity: 1;
}

.checkbox-dropdown .gchoice {
  display: flex;
  padding: 10px 0px;
  position: relative;
}

.checkbox-dropdown .gchoice:not(:last-child) {
  border-bottom: 1px solid #ececec;
}

.form-border {
  height: 1px;
  width: 100%;
  background-color: #e5e5e5;
  margin: 20px 0px;
}

.gform_footer.top_label {
  display: flex;
  justify-content: center;
}

.checkbox-dropdown input {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
}

.checkbox-dropdown label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.checkbox-dropdown label::after {
  content: '\2713';
  height: 16px;
  width: 16px;
  background-color: #e5e5e5;
  display: block;
  transition: all 0.3s ease-in-out;
  display: flex;
  justify-content: center;
  color: #e5e5e5;
  padding-bottom: 2px;
  border-radius: 2px;
  margin-left: 20px;
}

.checkbox-dropdown .gchoice.active label::after {
  background-color: #410099;
  color: white;
}

#gform_fields_2.gform_fields.top_label.form_sublabel_below.description_below {
  display: flex !important;
  flex-wrap: wrap !important;
}

#gform_fields_2 .gform_wrapper.ginput_complex span:first-of-type {
  padding: 0px !important;  
  margin-right: 5px !important;
}

#gform_fields_2 span.name_first {
  padding: 0px !important;
  margin-right: 5px !important;
}

#gform_fields_2 span.name_last {
  padding: 0px !important;
  margin-left: 5px !important;
}

.form-full {
  width: 100%;
}

.form-half {
  width: calc(50% - 5px) !important;
}

.form-half-right {
  width: calc(50% - 5px) !important;
  margin-right: 10px;
}

.form-submitted {
  height: 100%;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.8) !important;
}

.form-submitted-popup-container {
  position: fixed;
  top: 50%;
  left: 50%;
  background: rgba(255,255,255,0.8);
  min-width: 100vw;
  min-height: 100vh;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.form-submitted-popup{
  position: fixed;
  top: 10%;
  left: 50%;
  background: #410099;
  min-width: 400px;
  min-height: 200px;
  transform: translate(-50%, 0%);
}

.form-submitted-popup-inner {
  padding: 40px;
}

.form-submitted-popup h3 {
  color: white;
  font-size: 36px;
  margin-bottom: 20px;
}

.form-submitted-popup p {
  color: white;
  font-size: 20px;
  margin-bottom: 20px;
}

.form-submitted-popup .form-flex {
  display: flex;
}

.form-submitted-popup .form-button {
  color: #410099;
  font-weight: bold;
  background: white;
  padding: 24px 34px;
  flex: 1;
  text-align: center;
  text-decoration: none;
}

.form-submitted-popup .form-button:first-child {
  margin-right: 20px;
}

#field_2_8 .ginput_container.ginput_container_consent {
  margin-top: 0px !important;
  position: relative;
}

.checkbox-dropdown--pack {
  margin-top: 0.75rem !important;
}

.gform_wrapper .gfield input[type=checkbox]~label::before {
	content: '\2713';
	font-size: 18px;
	width: 16px;
	height: 16px;
	padding-bottom: 5px;
	padding-right: 1px;
	padding-left: 2px;
	color: #e5e5e5;
	border-radius: 2px;
	border: #e5e5e5;
}

.gform_wrapper .gfield input[type=checkbox]:checked~label::before {
  content: '\2713';
  background-color: #410099;
  color: white;
}

.gform_wrapper .gfield input[type=checkbox]:checked~label::after {
  opacity: 0;
}

#field_2_41 {
  width: 90%;
}

.form-auto {
  width: 150px;
}

@media only screen and (max-width: 500px) {
  .form-submitted-popup{
    min-width: 90%;
  }

  .form-submitted-popup-inner {
    padding: 20px;
  }
  
  .form-submitted-popup h3 {
    font-size: 30px;
  }
}

@media only screen and (max-width: 640px) {
  .checkbox-dropdown legend {
    padding: 1rem 1.5rem;
  }
}

@media only screen and (max-width: 767px) {
  .form-half {
    width: 100% !important;
  }

  .form-half-right {
    width: 100% !important;
    margin-right: 0px !important;
  }

  .checkbox-dropdown .ginput_container.ginput_container_radio {
    width: calc(100% - 6rem);
  }
}

@media only screen and (max-width: 750px) {
  .checkbox-dropdown .ginput_container.ginput_container_radio {
    width: calc(100% - 3rem);
  }
}

@media only screen and (max-width: 989px) {
  .form-submitted-popup .form-flex {
    flex-direction: column;
  }

  .form-submitted-popup .form-button:first-child {
    margin-right: 0px;
    margin-bottom: 20px;
  }
}

@media only screen and (max-width: 1080px) {
  .gsection_title {
    font-size: 18px;
  }
  .checkbox-smallprint {
    margin-top: 0.1vw;
  }
}

@media only screen and (max-width: 1200px) {
  .checkbox-smallprint {
    margin-top: 0.2vw;
  }
}

@media only screen and (max-width: 1300px) {
  .checkbox-smallprint {
    margin-top: 0.3vw;
  }
}

@media only screen and (min-width: 1024px) {
  .checkbox-dropdown .ginput_container.ginput_container_radio {
    min-width: calc(50% - 8.3333333333vw - 5px) !important;
  }
  
  .checkbox-dropdown.checkbox-dropdown--pack .ginput_container.ginput_container_radio {
    min-width: calc(50% - 8.3333333333vw -5px) !important;
  }
}

@media only screen and (min-width: 1200px) {
  .gsection_title {
    font-size: 20px !important;
  }
  
  .checkbox-dropdown legend {
    padding: 20px 30px !important;
    font-size: 20px !important;
  }
  
  .gform_wrapper label.gfield_label {
    font-size: 20px !important;
  }
  
  .gform_wrapper .gfield input[type=text], .gform_wrapper .gfield input[type=email], .gform_wrapper .gfield textarea {
    padding: 20px 30px !important;
    font-size: 20px !important;
  }
  
  .gform_wrapper .ginput_complex span label {
    font-size: 20px !important;
  }
  
  .gform_wrapper .button {
    font-size: 20px !important;
    padding: 30px 100px !important;
  }
}

@media only screen and (min-width: 1440px) {
  .checkbox-dropdown--pack {
    margin-top: 36px !important;
  }

  .checkbox-smallprint {
    margin-top: 0.4vw;
  }

  .checkbox-dropdown .ginput_container.ginput_container_radio {
    min-width: calc(36rem + 19px) !important;
  }
  
  .checkbox-dropdown.checkbox-dropdown--pack .ginput_container.ginput_container_radio {
    min-width: calc(36rem + 19px) !important;
  }
}

#form-anchor {
  position: absolute;
  margin-top: -88px;
}

.enquiry-form__inner.background--rlightgrey {
  position: relative;
}

.enquiry-form__top {
  position: relative;
}

/* Sugar talk */
.slider__st-container {
  max-width: 45rem;
}

.sugar-talk-header__top h2 {
  padding: 7.25rem 1.5rem 0;

}

.button--bg.button--slider {
  padding: 3vw;
}

@media only screen and (min-width: 1440px) {
  .button--bg.button--slider {
      padding: 48px;
  }
}



/* NEW STYLES */
/* THIRD IMAGE TWO THIRDS TEXT */
/* HALF TEXT HALF IMAGE */
.third-image-two-thirds-text__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
}

@media only screen and (min-width: 1440px) {
  .third-image-two-thirds-text__text p {
    font-size: 28px;
  }
}

.half-text-half-image__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.third-image-two-thirds-text__image,
.half-text-half-image__image {
  height: 100%;
  width: 100%;
}

.third-image-two-thirds-text__image img,
.half-text-half-image__image img {
  height: 100%;
  width: 100%;
  position: relative;
  object-fit: cover;
}

.third-image-two-thirds-text__text,
.half-text-half-image__text {
  height: 100%;
  width: 100%;
  max-width: none;
}

.third-image-two-thirds-text--left .third-image-two-thirds-text__image,
.half-text-half-image--left .half-text-half-image__image,
.half-text-half-image--right .half-text-half-image__text {
  order: 2;
}

.third-image-two-thirds-text--left .third-image-two-thirds-text__text,
.half-text-half-image--left .half-text-half-image__text,
.half-text-half-image--right .half-text-half-image__image {
  order: 1;
}

.third-image-two-thirds-text--left .third-image-two-thirds-text__inner {
  grid-template-columns: 2fr 1fr;
}

.half-text-half-image h1,
.half-text-half-image h2,
.half-text-half-image h3,
.half-text-half-image h4,
.half-text-half-image h5,
.half-text-half-image h6 {
  color: #410099;
  margin-bottom: 25px;
  font-size: 50px;
}

@media only screen and (max-width: 900px) {
  .half-text-half-image h1,
  .half-text-half-image h2,
  .half-text-half-image h3,
  .half-text-half-image h4,
  .half-text-half-image h5,
  .half-text-half-image h6 {
    margin-bottom: 20px;
    font-size: 40px;
  }
}

@media only screen and (max-width: 700px) {
  .third-image-two-thirds-text__inner,
  .third-image-two-thirds-text--left .third-image-two-thirds-text__inner {
    grid-template-columns: 1fr 1fr;
  }

  .half-text-half-image__inner {
    grid-template-columns: 1fr;
  }

  .half-text-half-image--right .half-text-half-image__image {
    order: 2;
  }

  .half-text-half-image--right .half-text-half-image__text {
    order: 1s;
  }

  .half-text-half-image h1,
  .half-text-half-image h2,
  .half-text-half-image h3,
  .half-text-half-image h4,
  .half-text-half-image h5,
  .half-text-half-image h6 {
    font-size: 30px;
  }
}

@media only screen and (max-width: 600px) {
  .third-image-two-thirds-text__inner,
  .third-image-two-thirds-text--left .third-image-two-thirds-text__inner {
    grid-template-columns: 1fr;
  }
}

/* CONTACT CTA */
.contact-cta__bg {
  padding-top: 0px;
}

/* CHARITY NEWS */
.charity-news .featured-news__grid{
  padding-bottom: 72px;
}

.charity-news .post-thumb.post-thumb--small {
  border-top: 0px;
}

/* LINKEDIN SLIDER */
.linkedin-slider {
  max-width: 90rem;
  padding: 5rem 4.5rem 0;
  margin: auto;
}

.linkedin-slider__grid {
  margin: 72px 0px;
}

#eThemePosts {
  padding: 0px !important;
  width: 100% !important;
  background: #e5e5e5 !important;
}

.linkedin-slider .splide__slide.te_item {
  width: calc(33.33% - 13.33px) !important;
  padding: 0px !important;
  background-color: #fff !important;
}

.linkedin-slider .splide__slide.te_item:not(:last-of-type) {
  margin-right: 20px;
}

.linkedin-slider .te_postTag {
  margin: 0px !important;
  box-shadow:  none !important;
}

.linkedin-slider .splide__arrow {
  background: #C4622D !important;
  opacity: 1 !important;
  height: 40px !important;
  width: 40px !important;
}

.linkedin-slider .splide__arrow svg {
  color: white !important;
}

.te_authorInfo img {
  opacity: 0;
}

.te_authorInfo .te_postAuthorName {
  font-size: 18px !important;
  font-weight: bold;
  color: #410099 !important;
}

.te_authorInfo .te_sepratedot {
  width: 7px;
  background: rgb(154, 154, 154);
  height: 1px;
  color: #9a9a9a !important;
}

.te_authorInfo .te_sepratedot::before {
  content: '';
}

p.te_chtrLimits {
  font-weight: bold !important;
  color: #000 !important;
}

.linkedin-slider__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.slim-button {
  padding: 20px;
}

@media only screen and (max-width: 1440px) {
  .linkedin-slider {
    padding: 5vw 5vw 0vw;
  }
}

@media only screen and (max-width: 1024px) {
  .linkedin-slider {
    padding: 3rem 3rem 0;
  }

  .featured-news__inner {
    padding: 3rem 3rem 0px;
  }

  .linkedin-slider__grid {
    margin-top: 3rem;
  }
}

@media only screen and (max-width: 820px) {
  .linkedin-slider .te_postTag > img {
    height: 360px !important;
  }

  .linkedin-slider .splide__slide.te_item {
    width: calc(33.33% - 6.66px) !important;
    padding: 0px !important;
    background-color: #fff !important;
  }

  .linkedin-slider .splide__slide.te_item:not(:last-of-type) {
    margin-right: 10px !important;
  }
}

@media only screen and (max-width: 750px) {
  .linkedin-slider {
    padding: 2.25rem 1.5rem 0;
  }

  .featured-news__inner {
    padding: 2.25rem 1.5rem 0px;
  }

  .linkedin-slider__grid {
    margin-top: 2.25rem;
  }
}

@media only screen and (max-width: 600px) {
  .linkedin-slider .splide__slide.te_item {
    width: 100% !important;
  }
  
  .linkedin-slider .splide__slide.te_item:not(:last-of-type) {
    margin-right: 0px !important;
  }
}

@media only screen and (max-width: 500px) {
  .linkedin-slider__header {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .linkedin-slider__header .slim-button{
    margin-top: 20px;
  }
}

/* CHARITY FORM */
#gform_fields_4 {
  display: flex !important;
  flex-wrap: wrap !important;
}

.form-next-to-title {
  position: absolute;
  left: calc(50% + 5px);
  width: calc(50% - 7.7rem) !important;
}

.form-next-to-title .ginput_container.ginput_container_text input{
  margin-top: 36px !important;
}

@media only screen and (max-width: 1440px) {
  .form-next-to-title {
    width: calc(50% - 8.7vw) !important;
  }

  .form-next-to-title .ginput_container.ginput_container_text input{
    margin-top: 2.5vw !important;
  }
}

@media only screen and (max-width: 1024px) {
  .form-next-to-title {
    width: calc(50% - 3.3rem) !important;
  }
}

@media only screen and (max-width: 750px) {
  .form-next-to-title {
    width: calc(50% - 1.8rem) !important;
  }
}

@media only screen and (max-width: 640px) {
  .form-next-to-title .ginput_container.ginput_container_text input{
    margin-top: 16px !important;
  }
}

.enquiry-form__inner {
  padding-bottom: 0px !important;
}

.checkbox .ginput_container.ginput_container_consent {
  margin-top: 0px !important;
  position: relative;
}

.post-filter--130,
.post-filter--131,
.post-filter--129 {
  display: none !important; 
}

.header__logo {
  transform: translateY(5px); 
}

@media only screen and (max-width: 1180px) {
  .header__inner {
    padding: 1.5rem 3rem;
  }

  .header__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .header__navigation {
    border-top: 1px solid #e5e5e5;
    position: absolute;
    height: 100vh;
    top: 4.875rem;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: scroll;
    background: #fff;
    color: #333;
    transform: translateY(-101%);
    clip-path: inset(0 0 100% 0);
    transition: clip-path .4s ease-out,transform 0s .4s;
  }

  .nav__list {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav__item {
    padding: 1.5rem 3rem;
    width: max-content;
  }

  .nav__item.is-sugar-talk {
    width: 100%;
    margin-left: 0;
  }

  .header__trigger {
    display: block;
  }

  .header__navigation.is-open {
    clip-path: inset(0);
    transform: none;
    transition: clip-path .4s ease-out,transform 0s;
  }
}

@media only screen and (max-width: 767px) {
  .header__inner {
    padding: 1.5rem !important;
  }
}

/* Caption issue */
.image-with-caption--simple-bottom .image-with-caption__image {
	padding: 0px 1.5rem !important;
}

.image-with-caption--simple-bottom .image-with-caption__text {
	margin-top: 0px !important;
	padding-top: 0.75rem !important;
}

.image-with-caption--simple-bottom .image-with-caption__text .p {
	margin-top: 0px !important;
	padding-top: 2.4rem !important;
}

@media only screen and (min-width: 750px) {
	.image-with-caption--simple-bottom .image-with-caption__image {
	padding: 0px 3rem !important;
	}
}

@media only screen and (max-width: 1024px) {
	.image-with-caption--simple-bottom .image-with-caption__image {
	padding: 0px 5vw !important;
	}
}

/* Our Products Navigation */
.our-products-popup-wrapper {
  opacity: 0;
}

.our-products-popup-wrapper.active {
  display: block;
}

.our-products-popup {
  position: fixed;
  top: 100px;
  left: 50%;
  background: #fff;
  width: 890px;
  transform: translate(-50%, 0%);
  pointer-events: all;
  opacity: 0;
}

.our-products-popup-inner {
  padding: 48px 48px 28px 48px;
}

.our-products-flex {
  display: flex;
  gap: 48px;
}

.our-products-flex-1 {
  flex: 3;
}

.our-products-flex-1 p {
  font-size: 24px;
  margin-top: 0px !important;
  color: #333 !important;
}

.our-products-flex-2 p,
.our-products-flex-3 p {
  font-size: 18px;
}

.our-products-popup b {
  font-size: 14px;
  color: #4f4f4f;
}

.our-products-popup p {
  margin: 20px 0px;
}

.our-products-flex-2 a,
.our-products-flex-3 a {
  text-decoration: none;
  color: #333;
}

.our-products-flex-2 a:hover,
.our-products-flex-3 a:hover {
  text-decoration: underline;
  color: #410099;
}

.our-products-popup a.cta {
  color: #410099 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}



.nav__item-chevron {
  color: transparent;
  transform: rotate(180deg);
  transition: all 0.5s ease;
}

.nav__item-chevron.active {
  transform: rotate(0deg);
}

.nav__item.active .nav__text {
  color: #410099;
  border-color: #410099;
}

.our-products-popup-wrapper {
  transition: all 0.1s ease;
  opacity: 0;
  pointer-events: none;
}

.our-products-popup-wrapper.active {
  transition: all 0.1s ease;
  opacity: 1;
  pointer-events: all;
}

.our-products-popup {
  transition: all 0.2s ease;
  transform: translate(-60%, 0);
  opacity: 0;
  pointer-events: none;
}

.nav__item.active .our-products-popup {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: all;
}



@media only screen and (max-width: 1281px) {
  .our-products-popup {
    top: 88px;
  }
}

@media only screen and (max-width: 1180px) {
  .our-products-popup-wrapper {
    max-height: 0px;
    overflow: hidden;
    transition: all ease 0.2s;
    display: block !important;
    transform: translate(0px, 0px);
  }

  .our-products-popup-wrapper.active {
    max-height: 1000px;
    display: block !important;
    transform: translate(0px, 0px);
  }

  .nav__item {
    flex-direction: column;
    align-items: flex-start;
  }

  .our-products-popup {
    position: relative;
    top: 0;
    left: 0;
    width: auto;
    transform: none;
    transform: translate(0px, 0px);
  }

  .our-products-popup.active {
    transform: translate(0px, 0px);
  }

  .nav__item.active .our-products-popup {
    transform: translate(0px, 0px);
  }

  .our-products-popup-inner {
    padding: 0px;
  }

  .our-products-flex {
    flex-direction: column;
    gap: 4px;
  }

  .our-products-flex-1 {
    order: 3;
  }

  .our-products-flex-1 p {
    display: none;
  }

  .our-products-flex-2 {
    margin-top: 24px;
  }

  .nav__item {
    border-bottom: 1px solid #E0E0E0;
    margin: 0px 3rem;
    width: calc(100% - 6rem);
    padding: 1.5rem 0px;
  }

  .nav__item.is-sugar-talk {
    margin-top: 60px;
    border-bottom: none;
  }
}

@media only screen and (max-width: 767px) {
  .nav__item {
    margin: 0px 20px;
    width: calc(100% - 40px);
  }
}

/* IMPORTANT: Use nav__item--9252 for live env and nav__item--9167 for stage env until we sync the live and stage envs */
.page-id-15 .nav__item--9167.is-regular::before {
  opacity: 1 !important;
}

.page-id-15 .nav__item--9167.nav__item .nav__text--light {
  opacity: 0 !important;
}

.page-id-15 .nav__item--9167.nav__item .nav__text--bold {
  opacity: 1 !important;
  color: #410099 !important;
}

.page-id-15 .nav__item--9167.nav__item a span::before {
  clip-path: inset(0);
}
/* END IMPORTANT */

.nav__item.is-sugar-talk img {
  padding: 3px !important;
}

.nav__item.is-regular a.our-products__link span::before {
  clip-path: inset(0 100% 0 0);
}

.our-products__link .button__text {
  width: fit-content;
}

.our-products__link .button__text::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0px;
  height: 1px;
  width: 100%;
  background: currentColor;
  clip-path: inset(0 100% 0 0);
  transition: clip-path .4s ease-out;
}

.our-products__link:hover .button__text::before {
  clip-path: inset(0) !important;
}

/* Font design updates */
.post-thumb__right-meta.color--rdarkgrey {
  font-weight: 400;
}

.color--rdarkgrey {
  color: #787575;
}

/* Timeline Fix */
.fullscreen-timeline__timeline .timeline__button.bg-transparent {
  background: transparent;
}

.fullscreen-timeline__timeline .timeline__button.bg-transparent.is-active {
  background: #410099;
}