/* 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-overlay-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-2-5rem) * 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; }

/* the home 2 hero text inherits its light colour from outside the photo area: restated as Text on photos
   (the same colour in Original), so it stays light in every theme */
:where(.home2_hero_left) { color: var(--role-on-photo); }

/* ---- 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/tripmind/cms/69899163d765a441d72b7e7b_map-icon2-9b5b3f.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/cms/699361223a5918f4fd56442e_Leaves-640ec4.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/cms/699361227cc10349c08635f3_plane-25693f.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/cms/69936122d6344f8a3c358c93_Earth-5-c8a4a0.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/cms/69936122f53fe717975b0d8f_boat-e18ca7.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/cms/69957cdfd3825fff56a46b60_Sunset-8e978a.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/Building-office.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/Checkmark.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/Circle-Clock.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/Leaves.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/Left.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/Location.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/Map-1.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/Pin.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/Right.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/Smart-phone.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/TripMind-Logo-White.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/TripMind-Logo.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/bag.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/calendar.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/checkmark-white.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/close.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/email-2.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/email.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/explore.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/glob.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/instagram.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/left-b.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/linkedin.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/nav-icon.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/pages-contact2.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/pages-menu-icon1.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/pages-menu-icon2.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/pause.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/phone-2.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/play_1.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/right-b.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/snow-dark.svg"],
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/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/tripmind/cms/69899163d765a441d72b7e7b_map-icon2-9b5b3f.svg"] { -webkit-mask-image: url(/_t/tripmind/cms/69899163d765a441d72b7e7b_map-icon2-9b5b3f.svg); mask-image: url(/_t/tripmind/cms/69899163d765a441d72b7e7b_map-icon2-9b5b3f.svg); background-color: var(--role-accent-soft); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/cms/699361223a5918f4fd56442e_Leaves-640ec4.svg"] { -webkit-mask-image: url(/_t/tripmind/cms/699361223a5918f4fd56442e_Leaves-640ec4.svg); mask-image: url(/_t/tripmind/cms/699361223a5918f4fd56442e_Leaves-640ec4.svg); background-color: var(--role-accent-soft); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/cms/699361227cc10349c08635f3_plane-25693f.svg"] { -webkit-mask-image: url(/_t/tripmind/cms/699361227cc10349c08635f3_plane-25693f.svg); mask-image: url(/_t/tripmind/cms/699361227cc10349c08635f3_plane-25693f.svg); background-color: var(--role-accent-soft); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/cms/69936122d6344f8a3c358c93_Earth-5-c8a4a0.svg"] { -webkit-mask-image: url(/_t/tripmind/cms/69936122d6344f8a3c358c93_Earth-5-c8a4a0.svg); mask-image: url(/_t/tripmind/cms/69936122d6344f8a3c358c93_Earth-5-c8a4a0.svg); background-color: var(--role-accent-soft); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/cms/69936122f53fe717975b0d8f_boat-e18ca7.svg"] { -webkit-mask-image: url(/_t/tripmind/cms/69936122f53fe717975b0d8f_boat-e18ca7.svg); mask-image: url(/_t/tripmind/cms/69936122f53fe717975b0d8f_boat-e18ca7.svg); background-color: var(--role-accent-soft); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/cms/69957cdfd3825fff56a46b60_Sunset-8e978a.svg"] { -webkit-mask-image: url(/_t/tripmind/cms/69957cdfd3825fff56a46b60_Sunset-8e978a.svg); mask-image: url(/_t/tripmind/cms/69957cdfd3825fff56a46b60_Sunset-8e978a.svg); background-color: var(--role-accent-soft); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/Building-office.svg"] { -webkit-mask-image: url(/_t/tripmind/images/Building-office.svg); mask-image: url(/_t/tripmind/images/Building-office.svg); background-color: var(--role-accent-soft); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/Checkmark.svg"] { -webkit-mask-image: url(/_t/tripmind/images/Checkmark.svg); mask-image: url(/_t/tripmind/images/Checkmark.svg); background-color: var(--role-accent-soft); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/Circle-Clock.svg"] { -webkit-mask-image: url(/_t/tripmind/images/Circle-Clock.svg); mask-image: url(/_t/tripmind/images/Circle-Clock.svg); background-color: var(--role-accent-soft); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/Leaves.svg"] { -webkit-mask-image: url(/_t/tripmind/images/Leaves.svg); mask-image: url(/_t/tripmind/images/Leaves.svg); background-color: var(--role-accent-soft); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/Left.svg"] { -webkit-mask-image: url(/_t/tripmind/images/Left.svg); mask-image: url(/_t/tripmind/images/Left.svg); background-color: var(--role-on-photo); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/Location.svg"] { -webkit-mask-image: url(/_t/tripmind/images/Location.svg); mask-image: url(/_t/tripmind/images/Location.svg); background-color: var(--role-ink-2); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/Map-1.svg"] { -webkit-mask-image: url(/_t/tripmind/images/Map-1.svg); mask-image: url(/_t/tripmind/images/Map-1.svg); background-color: var(--role-accent-soft); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/Pin.svg"] { -webkit-mask-image: url(/_t/tripmind/images/Pin.svg); mask-image: url(/_t/tripmind/images/Pin.svg); background-color: var(--role-accent-soft); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/Right.svg"] { -webkit-mask-image: url(/_t/tripmind/images/Right.svg); mask-image: url(/_t/tripmind/images/Right.svg); background-color: var(--role-on-photo); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/Smart-phone.svg"] { -webkit-mask-image: url(/_t/tripmind/images/Smart-phone.svg); mask-image: url(/_t/tripmind/images/Smart-phone.svg); background-color: var(--role-accent-soft); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/TripMind-Logo-White.svg"] { -webkit-mask-image: url(/_t/tripmind/images/TripMind-Logo-White.svg); mask-image: url(/_t/tripmind/images/TripMind-Logo-White.svg); background-color: var(--role-on-photo); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/TripMind-Logo.svg"] { -webkit-mask-image: url(/_t/tripmind/images/TripMind-Logo.svg); mask-image: url(/_t/tripmind/images/TripMind-Logo.svg); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/bag.svg"] { -webkit-mask-image: url(/_t/tripmind/images/bag.svg); mask-image: url(/_t/tripmind/images/bag.svg); background-color: var(--role-accent-soft); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/calendar.svg"] { -webkit-mask-image: url(/_t/tripmind/images/calendar.svg); mask-image: url(/_t/tripmind/images/calendar.svg); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/checkmark-white.svg"] { -webkit-mask-image: url(/_t/tripmind/images/checkmark-white.svg); mask-image: url(/_t/tripmind/images/checkmark-white.svg); background-color: var(--role-on-photo); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/close.svg"] { -webkit-mask-image: url(/_t/tripmind/images/close.svg); mask-image: url(/_t/tripmind/images/close.svg); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/email-2.svg"] { -webkit-mask-image: url(/_t/tripmind/images/email-2.svg); mask-image: url(/_t/tripmind/images/email-2.svg); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/email.svg"] { -webkit-mask-image: url(/_t/tripmind/images/email.svg); mask-image: url(/_t/tripmind/images/email.svg); background-color: var(--role-accent-soft); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/explore.svg"] { -webkit-mask-image: url(/_t/tripmind/images/explore.svg); mask-image: url(/_t/tripmind/images/explore.svg); background-color: var(--role-accent-soft); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/glob.svg"] { -webkit-mask-image: url(/_t/tripmind/images/glob.svg); mask-image: url(/_t/tripmind/images/glob.svg); background-color: var(--role-ink-2); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/instagram.svg"] { -webkit-mask-image: url(/_t/tripmind/images/instagram.svg); mask-image: url(/_t/tripmind/images/instagram.svg); background-color: var(--role-ink-2); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/left-b.svg"] { -webkit-mask-image: url(/_t/tripmind/images/left-b.svg); mask-image: url(/_t/tripmind/images/left-b.svg); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/linkedin.svg"] { -webkit-mask-image: url(/_t/tripmind/images/linkedin.svg); mask-image: url(/_t/tripmind/images/linkedin.svg); background-color: var(--role-ink-2); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/nav-icon.svg"] { -webkit-mask-image: url(/_t/tripmind/images/nav-icon.svg); mask-image: url(/_t/tripmind/images/nav-icon.svg); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/pages-contact2.svg"] { -webkit-mask-image: url(/_t/tripmind/images/pages-contact2.svg); mask-image: url(/_t/tripmind/images/pages-contact2.svg); background-color: var(--role-ink-2); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/pages-menu-icon1.svg"] { -webkit-mask-image: url(/_t/tripmind/images/pages-menu-icon1.svg); mask-image: url(/_t/tripmind/images/pages-menu-icon1.svg); background-color: var(--role-ink-2); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/pages-menu-icon2.svg"] { -webkit-mask-image: url(/_t/tripmind/images/pages-menu-icon2.svg); mask-image: url(/_t/tripmind/images/pages-menu-icon2.svg); background-color: var(--role-ink-2); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/pause.svg"] { -webkit-mask-image: url(/_t/tripmind/images/pause.svg); mask-image: url(/_t/tripmind/images/pause.svg); background-color: var(--role-on-photo); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/phone-2.svg"] { -webkit-mask-image: url(/_t/tripmind/images/phone-2.svg); mask-image: url(/_t/tripmind/images/phone-2.svg); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/play_1.svg"] { -webkit-mask-image: url(/_t/tripmind/images/play_1.svg); mask-image: url(/_t/tripmind/images/play_1.svg); background-color: var(--role-on-photo); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/right-b.svg"] { -webkit-mask-image: url(/_t/tripmind/images/right-b.svg); mask-image: url(/_t/tripmind/images/right-b.svg); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/snow-dark.svg"] { -webkit-mask-image: url(/_t/tripmind/images/snow-dark.svg); mask-image: url(/_t/tripmind/images/snow-dark.svg); }
:is(html[data-theme]:not([data-theme="original"]), html[data-colours="custom"]) img[src$="/_t/tripmind/images/twitter.svg"] { -webkit-mask-image: url(/_t/tripmind/images/twitter.svg); mask-image: url(/_t/tripmind/images/twitter.svg); background-color: var(--role-ink-2); }
/* logos and icons drawn in several greys: in dark themes they are inverted so they stay readable */
html[data-theme="fjord-night"] img[src$="/_t/tripmind/images/play.svg"],
html[data-theme="inverted"] img[src$="/_t/tripmind/images/play.svg"],
html[data-theme="fjord-night"] img[src$="/_t/tripmind/images/snow.svg"],
html[data-theme="inverted"] img[src$="/_t/tripmind/images/snow.svg"] { filter: invert(1); }
/* ---- end lx-icons ---- */
