@charset "UTF-8";
/**
 * Note! This file is exported to `dist/scss/` in the published
 * node module, for consumer projects to import.
 * That means this file cannot import from any file that isn't
 * also exported, keeping the same relative path.
 *
 * Or, just don't import anything, that works too.
 */
/**
* This can be used on a trigger element that opens a dropdown menu or a popover.
*/
/**
 * This mixin will mask out the content that is close to
 * the edges of a scrollable area.
 * - If the scrollable content has `overflow-y`, use `vertically`
 * as an argument for `$direction`.
 - If the scrollable content has `overflow-x`, use `horizontally`
 * as an argument for `$direction`.
 *
 * For the visual effect to work smoothly, we need to make sure that
 * the size of the fade-out edge effect is the same as the
 * internal paddings of the scrollable area. Otherwise, content of a
 * scrollable area that does not have a padding will fade out before
 * any scrolling has been done.
 * This is why this mixin already adds paddings, which automatically
 * default to the size of the fade-out effect.
 * This size defaults to `1rem`, but to override the size use
 * `--limel-top-edge-fade-height` & `--limel-bottom-edge-fade-height`
 * when `vertically` argument is set, and use
 * `--limel-left-edge-fade-width` & `--limel-right-edge-fade-width`
 * when `horizontally` argument is set.
 * Of course you can also programmatically increase and decrease the
 * size of these variables for each edge, based on the amount of
 * scrolling that has been done by the user. In this case, make sure
 * to add a custom padding where the mixin is used, to override
 * the paddings that are automatically added by the mixin in the
 * compiled CSS code.
 */
/**
* This mixin will add an animated underline to the bottom of an `a` elements.
* Note that you may need to add `all: unset;` –depending on your use case–
* before using this mixin.
*/
/**
* This mixin creates a cross-browser font stack.
* - `sans-serif` can be used for the UI of the components.
* - `monospace` can be used for code.
*
* ⚠️ If we change the font stacks, we need to update
* 1. the consumer documentation in `README.md`, and
* 2. the CSS variables of `--kompendium-example-font-family`
* in the `<style>` tag of `index.html`.
*/
/**
* This mixin is a hack, using old CSS syntax
* to enable you to truncate a piece of text,
* after a certain number of lines.
*/
/**
* This mixin will add a chessboard background pattern,
* typically used to visualize transparency.
*/
/**
* Make a container resizable by the user.
* This is used in the documentations and examples
* of some components, to demonstrate how the component
* behaves in a resizable container.
*/
/**
 * The breakpoints below are used to create responsive designs
 * in Lime's products. Therefore, they are here to get distributed
 * to all components in other private repos, which rely on this `mixins`
 * file, to create consistent styles.
 *
 * :::important
 * In very rare cases you should used media queries!
 * Nowadays, there are many better ways of achieving responsive design
 * without media queries. For example, using CSS Grid, Flexbox, and their features.
 * :::
 */
/**
  * Media query mixins for responsive design based on screen width.
  * Note that these mixins do not detect the device type!
  */
/*
 * This file is imported into every component!
 *
 * Nothing in this file may output any CSS
 * without being explicitly called by outside code.
 */
.flow-item {
  --step-background: var(
      --progress-flow-step-background-color,
      rgb(var(--contrast-600))
  );
  --step-background--selected: var(
      --progress-flow-step-background-color--selected,
      var(--lime-primary-color, var(--limel-theme-primary-color))
  );
  --step-background--passed: var(
      --progress-flow-step-background-color--passed,
      var(--step-background--selected)
  );
  --step-text: var(
      --progress-flow-step-text-color,
      rgb(var(--contrast-1200))
  );
  --step-text--selected: var(
      --progress-flow-step-text-color--selected,
      var(--lime-on-primary-color, var(--limel-theme-on-primary-color))
  );
  --step-text--passed: var(
      --progress-flow-step-text-color--passed,
      var(--step-text--selected)
  );
  --step-divider-color: var(
      --progress-flow-step-divider-color,
      rgb(var(--contrast-100))
  );
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.flow-item:not(.off-progress-item, .last) .divider:after {
  content: "";
}
.flow-item.off-progress-item {
  padding-left: 0.5rem;
}
.flow-item.first-off-progress-item {
  padding-left: 1rem;
}

.step {
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  height: var(--step-height);
  border: none;
  font-size: var(--limel-theme-default-font-size);
}
.step.disabled {
  cursor: not-allowed;
}
.step.disabled.readonly {
  opacity: 1;
  cursor: default;
}
.step:focus {
  outline: none;
}
.step:focus-visible {
  box-shadow: var(--shadow-depth-8-focused);
}
.flow-item:not(.off-progress-item, .first) .step {
  padding-left: calc(var(--step-height) / 2);
}
.flow-item:not(.selected) .step:not(.disabled) {
  cursor: pointer;
}
.flow-item:not(.selected) .step:not(.disabled):hover {
  box-shadow: var(--button-shadow-normal);
}
.flow-item:not(.selected) .step:not(.disabled):active {
  box-shadow: var(--button-shadow-pressed);
}
.off-progress-item .step {
  border-radius: 0.25rem;
  padding: 0 0.75rem;
}
.off-progress-item .step .icon {
  margin-left: 0;
}
.flow-item.first .step {
  border-top-left-radius: var(--step-height);
  border-bottom-left-radius: var(--step-height);
  padding-left: 1.25rem;
}
.flow-item.last .step {
  border-top-right-radius: var(--step-height);
  border-bottom-right-radius: var(--step-height);
  padding-right: 1.25rem;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--step-height);
  height: var(--step-height);
  position: absolute;
  z-index: 1;
  right: calc(var(--step-height) / 2 * -1);
  overflow: hidden;
}
.divider:after {
  position: absolute;
  display: block;
  box-sizing: border-box;
  transition: background-color 0.2s ease;
  width: 100%;
  height: 100%;
  right: calc(var(--step-height) / 5);
  transform: rotate(45deg);
  border-style: solid;
  border-width: 0.125rem 0.125rem 0 0;
  border-radius: 0 0.5rem 0 0;
  border-color: var(--step-divider-color);
}
.flow-item.last .divider {
  width: 0;
}

.text,
.secondary-text {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: var(--max-text-width);
  z-index: 2;
}

.secondary-text {
  font-size: 0.75rem;
  margin: auto;
  padding-left: calc(var(--step-height) / 2);
}

.icon {
  margin: 0 0.5rem 0 0.25rem;
  z-index: 2;
}

.step:before,
.step .lock-icon {
  pointer-events: none;
  box-sizing: border-box;
  z-index: 2;
}
.step::before {
  position: absolute;
  right: var(--selected-indicator-right);
  border-radius: 50%;
}
.last .step:before,
.last .step .lock-icon {
  right: 0.5rem;
}

.flow-item:not(.off-progress-item) .step.selected:before {
  content: "";
  width: 0.375rem;
  height: 0.375rem;
  background-color: rgb(var(--contrast-700));
  opacity: 0.7;
}

.lock-icon {
  margin-left: 0.25rem;
  margin-right: -0.5rem;
  width: 0.75rem;
  color: currentColor;
  scale: 0.8;
}

.step {
  color: var(--step-text);
  background-color: var(--step-background);
}
.step .icon {
  color: var(--progress-flow-icon-color--inactive, var(--step-text));
}
.flow-item.selected .step {
  color: var(--step-text--selected);
  background-color: var(--step-background--selected);
}
.flow-item.selected .step .divider:after {
  background-color: var(--step-background--selected);
}
.flow-item.selected .step .icon {
  color: var(--step-text--selected);
}
.flow-item.passed .step {
  color: var(--step-text--passed);
  background-color: var(--step-background--passed);
}
.flow-item.passed .step .divider:after {
  background-color: var(--step-background--passed);
}
.flow-item.passed .step .icon {
  color: var(--step-text--passed);
}

.divider:after {
  border-color: var(--step-divider-color);
  background-color: var(--step-background);
}