/* Loonis Sites additions on top of the template stylesheet */

/* hide animated elements until the motion kit runs (removed instantly if it can't) */
html.lx-motion [animate="fade-up"],
html.lx-motion [animate="heading-reveal"],
html.lx-motion [animate="stagger"],
html.lx-motion [animate="image-reveal"],
html.lx-motion [animate="rule-draw"],
html.lx-motion [animate="bar-grow"],
html.lx-motion [animate="bar-segments"] { opacity: 0; }

/* card hover zoom (1.04, 0.6s) */
html:not(.lx-ix) [class*="_card"] img, html:not(.lx-ix) .card-media img { transition: transform var(--motion-slow) var(--ease-1); }
html:not(.lx-ix) [class*="_card"]:hover img:not([class*="icon"]), html:not(.lx-ix) .card-media:hover img { transform: scale(1.04); }
.card-media { overflow: hidden; }

/* lightbox */
.lx-lightbox { position: fixed; inset: 0; z-index: 9999; background: var(--tone-jet-58-2-accent-92); display: flex; align-items: center; justify-content: center; }
.lx-lightbox img { max-width: 86vw; max-height: 86vh; object-fit: contain; border-radius: var(--radius-8); }
.lx-lightbox button { position: absolute; background: none; border: 0; color: var(--color-white); font-size: calc(var(--size-h2) * var(--scale-headings)); cursor: pointer; padding: var(--spacing-1rem); line-height: var(--leading-100); }
.lx-lb-close { top: 1rem; right: 1rem; }
.lx-lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lx-lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* tabs: Webflow hides inactive panes */
.w-tab-pane { display: none; }
.w-tab-pane.w--tab-active { display: block; }

/* single-page lists: Webflow hides pagination when there is nothing to page */
.w-pagination-wrapper { display: none; }


/* menu links the converter added to templates that only had a demo "Pages" dropdown */
.lx-nav-added { white-space: nowrap; }

/* ---- lx-icons: one-colour logo and icons follow the role colours (written by _tools/design-system/icons.mjs) ----
   The template's own one-colour SVG files are drawn as a mask filled with a role colour; the file
   itself is moved out of view. This runs in every theme except Original, and when the Style panel
   has changed a colour (<html data-colours="custom">). In Original the files show as drawn.
   The selectors match the template's own file names only: an owner logo or a replaced image has
   another src, so it shows exactly as uploaded and is never recoloured. */
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/cms/68cfa1cf90b94da5987c0744_Hamburger-menu-9afcf7.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/cms/68cfb9c170490f9312a095eb_PathWise-9386bd.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/cms/68cfc2418681bbb0418928ec_instagram-9d18ab.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/cms/68cfc244f490a79160a6f083_twitter-1d4048.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/cms/68cfc249f394ef82f972d1c4_linkedin-fcbd4c.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/Checkmark_1.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/Hamburger-menu.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/Left.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/PathWise.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/Plus-5.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/Right---6.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/Right.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/about-icon6.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/about-icon7.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/home-about-icon1.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/home-about-icon2.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/instagram.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/linkedin.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/pages-menu-menu-icon1.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/pages-menu-menu-icon2.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/pages-menu-menu-icon3.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/play.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/problem-story.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/programs-benefit1.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/programs-benefit2.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/programs-benefit3.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/programs-benefit4.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/result-story.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/story-icon1.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/story-icon2.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/twitter.svg"] {
  object-position: -99999px 0;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-origin: content-box; mask-origin: content-box;
  -webkit-mask-clip: content-box; mask-clip: content-box;
  background-color: var(--role-ink);
  background-clip: content-box;
}
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/cms/68cfa1cf90b94da5987c0744_Hamburger-menu-9afcf7.svg"] { -webkit-mask-image: url(/_t/pathwise/cms/68cfa1cf90b94da5987c0744_Hamburger-menu-9afcf7.svg); mask-image: url(/_t/pathwise/cms/68cfa1cf90b94da5987c0744_Hamburger-menu-9afcf7.svg); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/cms/68cfb9c170490f9312a095eb_PathWise-9386bd.svg"] { -webkit-mask-image: url(/_t/pathwise/cms/68cfb9c170490f9312a095eb_PathWise-9386bd.svg); mask-image: url(/_t/pathwise/cms/68cfb9c170490f9312a095eb_PathWise-9386bd.svg); background-color: var(--role-accent); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/cms/68cfc2418681bbb0418928ec_instagram-9d18ab.svg"] { -webkit-mask-image: url(/_t/pathwise/cms/68cfc2418681bbb0418928ec_instagram-9d18ab.svg); mask-image: url(/_t/pathwise/cms/68cfc2418681bbb0418928ec_instagram-9d18ab.svg); background-color: var(--role-page); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/cms/68cfc244f490a79160a6f083_twitter-1d4048.svg"] { -webkit-mask-image: url(/_t/pathwise/cms/68cfc244f490a79160a6f083_twitter-1d4048.svg); mask-image: url(/_t/pathwise/cms/68cfc244f490a79160a6f083_twitter-1d4048.svg); background-color: var(--role-page); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/cms/68cfc249f394ef82f972d1c4_linkedin-fcbd4c.svg"] { -webkit-mask-image: url(/_t/pathwise/cms/68cfc249f394ef82f972d1c4_linkedin-fcbd4c.svg); mask-image: url(/_t/pathwise/cms/68cfc249f394ef82f972d1c4_linkedin-fcbd4c.svg); background-color: var(--role-page); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/Checkmark_1.svg"] { -webkit-mask-image: url(/_t/pathwise/images/Checkmark_1.svg); mask-image: url(/_t/pathwise/images/Checkmark_1.svg); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/Hamburger-menu.svg"] { -webkit-mask-image: url(/_t/pathwise/images/Hamburger-menu.svg); mask-image: url(/_t/pathwise/images/Hamburger-menu.svg); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/Left.svg"] { -webkit-mask-image: url(/_t/pathwise/images/Left.svg); mask-image: url(/_t/pathwise/images/Left.svg); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/PathWise.svg"] { -webkit-mask-image: url(/_t/pathwise/images/PathWise.svg); mask-image: url(/_t/pathwise/images/PathWise.svg); background-color: var(--role-accent); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/Plus-5.svg"] { -webkit-mask-image: url(/_t/pathwise/images/Plus-5.svg); mask-image: url(/_t/pathwise/images/Plus-5.svg); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/Right---6.svg"] { -webkit-mask-image: url(/_t/pathwise/images/Right---6.svg); mask-image: url(/_t/pathwise/images/Right---6.svg); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/Right.svg"] { -webkit-mask-image: url(/_t/pathwise/images/Right.svg); mask-image: url(/_t/pathwise/images/Right.svg); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/about-icon6.svg"] { -webkit-mask-image: url(/_t/pathwise/images/about-icon6.svg); mask-image: url(/_t/pathwise/images/about-icon6.svg); background-color: var(--role-page); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/about-icon7.svg"] { -webkit-mask-image: url(/_t/pathwise/images/about-icon7.svg); mask-image: url(/_t/pathwise/images/about-icon7.svg); background-color: var(--role-page); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/home-about-icon1.svg"] { -webkit-mask-image: url(/_t/pathwise/images/home-about-icon1.svg); mask-image: url(/_t/pathwise/images/home-about-icon1.svg); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/home-about-icon2.svg"] { -webkit-mask-image: url(/_t/pathwise/images/home-about-icon2.svg); mask-image: url(/_t/pathwise/images/home-about-icon2.svg); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/instagram.svg"] { -webkit-mask-image: url(/_t/pathwise/images/instagram.svg); mask-image: url(/_t/pathwise/images/instagram.svg); background-color: var(--role-page); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/linkedin.svg"] { -webkit-mask-image: url(/_t/pathwise/images/linkedin.svg); mask-image: url(/_t/pathwise/images/linkedin.svg); background-color: var(--role-page); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/pages-menu-menu-icon1.svg"] { -webkit-mask-image: url(/_t/pathwise/images/pages-menu-menu-icon1.svg); mask-image: url(/_t/pathwise/images/pages-menu-menu-icon1.svg); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/pages-menu-menu-icon2.svg"] { -webkit-mask-image: url(/_t/pathwise/images/pages-menu-menu-icon2.svg); mask-image: url(/_t/pathwise/images/pages-menu-menu-icon2.svg); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/pages-menu-menu-icon3.svg"] { -webkit-mask-image: url(/_t/pathwise/images/pages-menu-menu-icon3.svg); mask-image: url(/_t/pathwise/images/pages-menu-menu-icon3.svg); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/play.svg"] { -webkit-mask-image: url(/_t/pathwise/images/play.svg); mask-image: url(/_t/pathwise/images/play.svg); background-color: var(--role-page); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/problem-story.svg"] { -webkit-mask-image: url(/_t/pathwise/images/problem-story.svg); mask-image: url(/_t/pathwise/images/problem-story.svg); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/programs-benefit1.svg"] { -webkit-mask-image: url(/_t/pathwise/images/programs-benefit1.svg); mask-image: url(/_t/pathwise/images/programs-benefit1.svg); background-color: var(--role-ink-soft); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/programs-benefit2.svg"] { -webkit-mask-image: url(/_t/pathwise/images/programs-benefit2.svg); mask-image: url(/_t/pathwise/images/programs-benefit2.svg); background-color: var(--role-ink-soft); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/programs-benefit3.svg"] { -webkit-mask-image: url(/_t/pathwise/images/programs-benefit3.svg); mask-image: url(/_t/pathwise/images/programs-benefit3.svg); background-color: var(--role-ink-soft); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/programs-benefit4.svg"] { -webkit-mask-image: url(/_t/pathwise/images/programs-benefit4.svg); mask-image: url(/_t/pathwise/images/programs-benefit4.svg); background-color: var(--role-ink-soft); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/result-story.svg"] { -webkit-mask-image: url(/_t/pathwise/images/result-story.svg); mask-image: url(/_t/pathwise/images/result-story.svg); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/story-icon1.svg"] { -webkit-mask-image: url(/_t/pathwise/images/story-icon1.svg); mask-image: url(/_t/pathwise/images/story-icon1.svg); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/story-icon2.svg"] { -webkit-mask-image: url(/_t/pathwise/images/story-icon2.svg); mask-image: url(/_t/pathwise/images/story-icon2.svg); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/pathwise/images/twitter.svg"] { -webkit-mask-image: url(/_t/pathwise/images/twitter.svg); mask-image: url(/_t/pathwise/images/twitter.svg); background-color: var(--role-page); }
/* logos and icons drawn in several greys: in dark themes they are inverted so they stay readable */
html[data-theme="evening-class"] img[src$="/_t/pathwise/cms/68d3cafde2c79c50fff98aab_workshops-icon1-5a8f4f.svg"],
html[data-theme="inverted"] img[src$="/_t/pathwise/cms/68d3cafde2c79c50fff98aab_workshops-icon1-5a8f4f.svg"],
html[data-theme="evening-class"] img[src$="/_t/pathwise/cms/68d3cafde453e2b739a0c228_workshops-icon3-ab59ac.svg"],
html[data-theme="inverted"] img[src$="/_t/pathwise/cms/68d3cafde453e2b739a0c228_workshops-icon3-ab59ac.svg"],
html[data-theme="evening-class"] img[src$="/_t/pathwise/cms/68d3caff0103a93f964ab7fe_workshops-icon2-70051e.svg"],
html[data-theme="inverted"] img[src$="/_t/pathwise/cms/68d3caff0103a93f964ab7fe_workshops-icon2-70051e.svg"],
html[data-theme="evening-class"] img[src$="/_t/pathwise/images/tab1-programs.svg"],
html[data-theme="inverted"] img[src$="/_t/pathwise/images/tab1-programs.svg"],
html[data-theme="evening-class"] img[src$="/_t/pathwise/images/tab2-programs.svg"],
html[data-theme="inverted"] img[src$="/_t/pathwise/images/tab2-programs.svg"],
html[data-theme="evening-class"] img[src$="/_t/pathwise/images/tab3-programs.svg"],
html[data-theme="inverted"] img[src$="/_t/pathwise/images/tab3-programs.svg"] { filter: invert(1); }
/* ---- end lx-icons ---- */
