/* ---------------------------------
-----  dimension variables --------
---------------------------------- */
/* ------  standard elements padding & margin  ------- */
/* spacing */
/**
**  Official Font sizes
------------------------------- */
/**
** Line-heights
------------------------------- */
/*
  Mixin to progressively-enhance :focus-visible, keeping :focus where not supported
  Add an arbitrary list of selectors into the arguments, and the styling in the block.
  I you pass no selectors to the mixin the parent ("ampersand") operator is used instead.

  There are two mixins:
  - focus-visible: a generic focus-visible, giving you "slots" to decide what to render for :focus, :focus reset, and :focus-visible
  - focus-visible-outline: a focus-visible, which only resets the outline. If you don't need more custom resets, use this one!

  Use focus-visible:
  The key thing here is checking which slot is being rendered.
  For example, you can reset box-shadow here, or anything else.

  @include focus-visible using ($slot) {
      @if $slot == focus {
          outline: 2px solid transparent;
          box-shadow: 0 0 0 4px blue;
      }
      @if $slot == focusReset {
          box-shadow: none;
      }
      @if $slot == focusVisible {
          box-shadow: 0 0 0 4px blue;
      }
  }

  Use focus-visible-outline:
  @include focus-visible-outline("button", "a[href]") {
      outline: 2px solid blue;
  }

  Resulting CSS (compressed):

  button:focus,
  a[href]:focus {
      outline: 2px solid blue;
  }

  button:focus:not(:focus-visible),
  a[href]:focus:not(:focus-visible) {
      outline: none;
  }
  button:focus-visible,
  a[href]:focus-visible {
      outline: 2px solid blue;
  }
*/
:host {
  font-family: Frutiger-Bold, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizelegibility;
  font-weight: 400;
  align-items: center;
  background: #fff;
  border: 2px solid #a6a6a6;
  border-radius: 50%;
  color: #a6a6a6;
  display: flex;
  flex: 0 0 auto;
  font-size: 13px;
  height: 30px;
  justify-content: center;
  margin-right: 50px;
  position: relative;
  width: 30px;
  z-index: 50;
}
@media only screen and (width >= 768px) {
  :host {
    border: 3px solid #a6a6a6;
  }
}
@media only screen and (width >= 1024px) {
  :host {
    margin-right: 110px;
  }
}
:host:last-child {
  margin-right: 0;
}
:host::before {
  background: #a6a6a6;
  content: "";
  height: 2px;
  left: -0.5px;
  position: absolute;
  transform: translateX(-100%);
  width: 51.5px;
  z-index: 25;
}
@media only screen and (width >= 768px) {
  :host::before {
    height: 3px;
    left: 0;
    width: 53.5px;
  }
}
@media only screen and (width >= 1024px) {
  :host::before {
    width: 113px;
  }
}
@media (width >= 576px) {
  :host {
    font-size: 18px;
    height: 42px;
    width: 42px;
  }
}
@media (width >= 1024px) {
  :host {
    height: 50px;
    width: 50px;
  }
  :host p {
    display: block;
    font-size: 13px;
  }
}

p {
  font-family: Frutiger-Bold, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizelegibility;
  font-weight: 400;
  bottom: 0;
  color: #a6a6a6;
  display: none;
  font-size: 12px;
  left: 50%;
  margin: 0;
  position: absolute;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%) translateY(calc(100% + 13px));
  width: 200%;
}
@media only screen and (width >= 1024px) {
  p {
    width: 300%;
  }
}

:host([done]) {
  background: #bbd03a;
  border: 2px solid #bbd03a;
  color: #fff;
}
@media only screen and (width >= 768px) {
  :host([done]) {
    border: 3px solid #bbd03a;
  }
}
:host([done])::before {
  background: #bbd03a;
}
:host([done]) ux-icon {
  fill: #fff;
}
:host([done]) p {
  color: #bbd03a;
}

:host([active]) {
  background: #fff;
  border: 2px solid #bbd03a;
  color: #bbd03a;
}
@media (width >= 768px) {
  :host([active]) {
    border: 3px solid #bbd03a;
  }
}
:host([active])::before {
  background: #bbd03a;
}
:host([active]) p {
  color: #bbd03a;
}

:host(:first-of-type):before {
  display: none;
}