:host {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}

/*.knk-stats-card {
  @include knk-card;
  max-width: 204px;
  margin-bottom: 20px;
  @include theming {
    background-color: theme-get('color-surface');
  }

  &__headline {
    font-size: 12px;
    font-weight: bold;
    @include theming {
      border: solid 1px theme-get('color-spacer');
      background-color: theme-get('color-secondary');
      color: theme-get('color-primary');
    }

    .material-icons {
      @include theming {
        color: theme-get('color-primary');
      }
    }
  }

  &__content {
    @include theming {
      background-color: theme-get('color-surface');
    }
  }

  &__label {
    opacity: 0.5;
    padding-bottom: 4px;
    @include knk-font-default;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    @include theming {
      color: theme-get('color-ongoing-label');
    }
    white-space: nowrap;
  }

  &__note {
    @include knk-font-default;
    font-size: 24px;
    @include theming($not: night) {
      color: theme-get('color-charcoal-grey');
    }
    @include theming($if: night) {
      color: theme-get('color-white');
    }

    &#{&}--wrong {
      @include theming {
        color: theme-get('color-coral');
      }
    }

    &#{&}--success {
      @include theming {
        color: theme-get('color-aqua-marine');
      }
    }
  }

  &__icon {
    font-size: 0.7em;

    &#{&}--wrong {
      @include theming {
        color: theme-get('color-coral');
      }
    }

    &#{&}--success {
      @include theming {
        color: theme-get('color-aqua-marine');
      }
    }
  }
}*/

/*.knk-filter {
  margin-bottom: 20px;

  &__board {
    display: flex;
    flex-direction: column;
    max-width: 204px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent none;

    @include theming {
      background-color: theme-get('color-filter-board');
    }

    &--root {
      position: relative;
      box-shadow: 0 2px 9px 0 rgba(0, 0, 0, 0.02);
    }
  }

  &__tabs {
    margin-bottom: 1px;
  }
  .tabs &__tab {
    height: 41px;
    padding: 0 20px 0 25px;
    border: 0;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    font-size: 12px;
    color: #000000;
    font-weight: bold;
    letter-spacing: normal;
    &-active {
      background-color: $knk-color-primary;
      color: #ffffff;
      font-weight: normal;
      letter-spacing: 1px;
    }
  }

  .mdc-card &__board-expand,
  &__board-expand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 40px;
    padding: 0 20px 0 25px;
    @include theming {
      border-top: solid 1px theme-get('color-list-item-spacer');
    }
    @include knk-font-default;
    font-size: 13px;
    color: $knk-color-primary;

    &--root {
      height: 54px;
      padding: 0 20px 0 25px;
      border: 0;
      border-radius: 4px;
      background-color: $knk-color-primary;
      color: #ffffff;
    }
  }

  .mdc-card &__board-expand .mdc-button &__board-title,
  &__board-expand &__board-title {
    text-transform: capitalize;
    color: #979797;

    &--root {
      color: #ffffff;
    }
  }

  .mdc-card &__board-expand .mdc-button &__board-toggle,
  &__board-expand &__board-toggle {
    color: #979797;

    &--root {
      color: #ffffff;
    }
  }

  .mdc-card &__board-expand--selected .mdc-button &__board-title,
  .mdc-card &__board-expand[aria-pressed="true"] &__board-title,
  &__board-expand--selected &__board-title,
  &__board-expand[aria-pressed="true"] &__board-title {
    color: $knk-color-primary;

    &--root {
      color: #ffffff;
    }
  }

  .mdc-card &__board-expand--selected .mdc-button &__board-toggle,
  .mdc-card &__board-expand[aria-pressed="true"] &__board-toggle,
  &__board-expand--selected &__board-toggle,
  &__board-expand[aria-pressed="true"] &__board-toggle {
    color: $knk-color-primary;

    &--root {
      color: #ffffff;
    }
  }

  .mdc-card &__board-unit,
  &__board-unit {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 40px;
    padding: 0 20px 0 25px;
    @include knk-font-default;
    font-size: 13px;
    @include theming {
      background-color: theme-get('color-secondary');
      color: theme-get('color-filter-checkbox');
      border-top: 1px solid theme-get('color-list-item-spacer');
    }

    .material-icons {
      margin-right: 6px;
      font-size: 16px;
    }

    .knk-icon-analysis {
      margin-right: 6px;
    }

    &--selected {
      @include theming {
        background-color: rgba(theme-get('color-primary'), 0.3);
      }

      .material-icons {
        @include theming {
          color: rgba(theme-get('color-primary'), 0.3);
        }
      }
    }
  }

  .mdc-card &__board-unit .mdc-button &__board-title,
  &__board-unit &__board-title {
    text-transform: capitalize;
    color: #979797;
  }

  .mdc-card &__board-unit--selected .mdc-button &__board-title,
  &__board-unit--selected &__board-title {
    @include theming {
      color: theme-get('color-font');
    }
  }

  .mdc-button &__board-icon,
  &__board-icon {
    color: $knk-color-primary;

    &--root {
      color: #ffffff;
    }
  }

  &__board-content {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    @include theming {
      background-color: theme-get('color-secondary');
      border-top: solid 1px theme-get('color-list-item-spacer');
    }

    &--root {
      @include theming($if: default) {
        border: solid 1px #e4e8ea;
      }
      border-radius: 4px;
    }

    &--close {
      height: 0;
      border: 0;
      opacity: 0;
    }
  }

  &__pane {
    margin-left: 35px;
  }

  &__pane-unit {
    display: inline-block;
  }

  &__pane-title {
    display: inline-block;
    margin-right: 4px;
    white-space: nowrap;
    font-family: Roboto;
    font-size: 13px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    @include theming {
      color: theme-get('color-font');
    }
  }

  &__pane-reset {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent none;
    font-family: Roboto;
    font-size: 10px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #ffffff;
    text-decoration: underline;

    &:hover {
      cursor: pointer;
    }
  }
}*/

/*.knk-filter-pane-item {
  &__dropdown.mdc-menu,
  &__dropdown {
    max-width: 100%;
    min-width: 100%;
    width: 105px;
    border: 1px solid $knk-color-primary;
    z-index: 44;

    .mdc-list > .mdc-list-item {
      height: 24px;
      padding: 0 8px;
      font-family: Roboto;
      font-size: 10px;
      font-weight: normal;
      font-style: normal;
      font-stretch: normal;
    }

    .mdc-list:not(.mdc-list--non-interactive) > .mdc-list-item::before,
    .mdc-list:not(.mdc-list--non-interactive) > .mdc-list-item::after {
      background-color: $knk-color-primary;
    }
  }

  &__button.mdc-button,
  &__button {
    height: 29px;
    padding: 0 8px 0 8px;
    border-radius: 2px;
    font-family: Roboto;
    font-size: 13px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.6;
    letter-spacing: normal;
    text-transform: capitalize;

    span {
      white-space: nowrap;
    }

    &.mdc-button--outlined {
      background-color: #ffffff;
      border: 1px solid rgba(164, 164, 164, 0.22);
      opacity: 0.5;
      @include theming($not: night) {
        color: theme-get('color-font');
      }
      @include theming($if: night) {
        color: #000000;
      }

      .material-icons {
        @include theming($not: night) {
          color: theme-get('color-font');
        }
        @include theming($if: night) {
          color: #000000;
        }
      }
    }

    &.mdc-button--raised {
      border: 1px solid transparent;
      background-color: $knk-color-primary;
      color: #ffffff;
    }
  }

  &__button--select {
    width: 105px;
    justify-content: space-between;

    span {
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .mdc-button__icon {
      margin-left: 8px;
      margin-right: -4px;
    }
  }

  &__slider {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    min-height: 80px;
    margin-bottom: 10px;
    padding: 2px 0;
    border-radius: 2px;
    @include theming {
      background-color: theme-get('color-secondary');
    }

    nouislider {
      @include knk-nouislider;
      display: inline-flex;
      margin: 6px 0;

      .noUi-horizontal {
          width: 100%;
          margin: auto;
      }

      &::ng-deep .noUi-horizontal {
        width: 100%;
        margin: auto;
      }
    }
  }

  &__slider-pip {
    display: inline-flex;
    padding: 0 8px;
    opacity: 0.5;
    font-family: Roboto;
    font-size: 11px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    letter-spacing: normal;
    @include theming {
      color: theme-get('color-font');
    }
  }

  &__sort {
    width: 225px;
  }

  &__sort &__button.mdc-button,
  &__sort &__button {
    width: 100%;
  }
}*/

/*.mdc-list.knk-filter-board-list,
.knk-filter-board-list {
  max-height: 130px;
  overflow: auto;

  &__item {
    height: auto;
    padding: 0 20px 0 25px;

    .mdc-list-item__graphic {
      opacity: 0;
      position: absolute;
      width: 0;
      height: 0;
      margin: 0;
      padding: 0;
    }

    .mdc-checkbox {
      flex: 0 0 10px;
      width: 10px;
      height: 10px;
      padding: 5px;

      .mdc-checkbox__background {
        top: 5px;
        left: 5px;
        @include theming {
          border: solid 1px theme-get('color-filter-checkbox');
        }
      }
    }

    &--selected {
      background-color: rgba(108, 102, 251, 0.3);
    }
  }

  &__title {
    margin: 0;
    font-family: Roboto;
    font-size: 12px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.8;
    letter-spacing: normal;
    @include theming {
      color: theme-get('color-font');
    }

    &--extra {
      font-weight: bold;
      color: #00baff;
    }
  }

  &__item--selected &__title {
    font-weight: bold;
  }

  &__volume {
    opacity: 0.5;
    font-family: Roboto;
    font-size: 10px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.8;
    letter-spacing: normal;
    text-align: right;
    @include theming {
      color: theme-get('color-font');
    }

    &--extra {
      font-weight: bold;
      color: #00baff;
    }
  }
}*/

/*.filter-knok {
  padding: 10px 0 10px 0;

  &__tile {
    position: relative;
    height: 100%;
    margin: 0 50px 0 20px;
    padding: 20px 0 25px 0;

    &:after {
      content: "";
      position: absolute;
      top: 0;
      bottom: 0;
      right: 0;
      width: 1px;
      height: 100%;
      margin-right: -50px;
      @include theming {
        border-right: solid 1px theme-get('color-filter-spacer');
      }
    }

    &--last:after,
    &:last-child:after {
      border-right: 0;
    }
  }

  &__label {
    margin-bottom: 15px;
    opacity: 0.5;
    font-family: Roboto;
    font-size: 11px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: 1px;
    @include theming {
      color: theme-get('color-ongoing-label');
    }
    text-transform: uppercase;
  }

  &__summary-value {
    font-family: Roboto;
    font-size: 32px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    @include theming {
      color: theme-get('color-ongoing-label');
    }
    &--positive {
      color: #56d694;
    }
    &--negative {
      color: #ff544d;
    }
  }
}

.knk-tab-group {
  @include knk-tab-group;

  .mat-tab-body-content {
    @include theming {
      background-color: theme-get('color-surface');
    }
  }

  &::ng-deep .mat-tab-body-content {
    @include theming {
      background-color: theme-get('color-surface');
    }
  }
}

.knk-filter-tristate {
  padding: 20px 10px;
  @include knk-font-default;
  font-size: 12px;
  @include theming($not: night) {
    color: theme-get('color-charcoal-grey');
  }
  @include theming($if: night) {
    color: theme-get('color-white');
  }

  tristate-switcher {
    margin: 0 4px;
  }
}*/
