.list-group-item.list-group-button {
  @include brand-font-h1();
  font-size: 1em;
  background-color: $alert-blue;
  text-align: right;
  color: $white;
  padding: 0.75rem 1.25rem;

  &:hover {
    background-color: $alert-blue;
    color: $white;
  }
}

.list-group-compact {
  .list-group-item {
    @extend .px-3;
    @extend .py-1;
  }
}

.list-group-item {
  clear: right;
  position: relative;
  padding: 1.25rem 1.75rem;
  color: $gunmetal;

  &:hover, &:focus, &:active {
    text-decoration: none;
    color: $gunmetal;
  }

  &:hover {
    background-color: $gray-50;
  }

  &.selected {
    background-color: $blue-700;
  }

  &.selected-orange, &.selected-orange:active, &.selected-orange:focus {
    background-color: $intense-orange;
    color: $white;
  }

  .ico-chevron-right {
    font-size: 0.75em;
    position: absolute;
    right: 1.25rem;
    top: 50%;
    margin-top: -0.375rem;
  }

  .badge {
    margin-right: 1rem;
  }
}

.card .list-group-item {
  border-left-width: 0;
  border-right-width: 0;
  border-bottom-width: 0;
  border-color: $gray-150;

  &:first-child {
    border-top-width: 0;
  }
}

// Spec Lists
.spec-list {
  @extend .row;

  dt {
    @include media-max("xs") {
      flex: 0 0 100%;
    }

    @include media-min("sm") {
      flex: 0 0 40%;
      text-align: right;
    }

    @include brand-font-label();
    line-height: 1.57rem;
    color: $gray-500;
  }

  dd {
    @include media-max("xs") {
      flex: 0 0 100%;
    }

    @include media-min("sm") {
      flex: 0 0 60%;
      padding-left: 1.5rem;
    }

    margin-bottom: 1rem;
  }
}

.spec-list.labeled {
  display: block;

  dt, dd {
    text-align: left;
    display: block;
    padding-left: 1rem;
  }
}

.spec-list-inline {
  flex-direction: row;

  dt, dd {
    @extend .mb-0;
    flex: 0 0 auto;
  }

  dt {
    line-height: 1.75rem;
  }

  dd {
    @extend .pl-1;
    font-size: 100%;
  }
}

tr[expandableRowContent] .spec-list {
  margin-bottom: 0;
  margin-top: 1rem;

  dd {
    font-size: 0.875rem;
  }
}


// Stat Lists (Inline)
.stat-list-inline {
  display: inline-block;
  margin: 0;
  list-style: none;
  padding-left: 0;
  width: 100%;

  li {
    color: $gray-600;
    float: left;
    padding: 0.5em rem(8) 0 0;
    line-height: 1;
    height: rem(22);
  }

  label {
    margin: 0;
    text-transform: uppercase;
  }

  .label {
    position: relative;
    top: rem(-2);
    margin-right: 0;
    padding: rem(2) rem(3);
  };

  .badge + label {
    padding-left: .25rem;
  }

  badge + label {
    padding-left: 0;
  }
}

.stat-list-inline.single-line-items li {
  max-width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

ul.no-bullet {
  list-style: none;
  padding-left: 0;
  padding-right: 0;
}

.toc {
  list-style: none;
  font-size: 0.75rem;
  border-left: solid 0.0625rem $gray-100;
  padding-left: 1.75rem;
  line-height: 1.25rem;

  ol {
    padding-left: 1.25rem;
  }

  ol, li {
    list-style: none;
  }
}

.list-spacious {
  li {
    margin-bottom: 1rem;
  }
}

.list-group-item--with-icon {
  display: flex;
  align-items: center;

  img {
    height: auto;
    width: 2.75rem;
    margin-right: 1.5rem;
  }
}

.list-group--choice-list {
  .list-group-item, .list-group-item:first-child {
    cursor: pointer;
    border: 2px solid transparent;

    &.active {
      border-color: $blue-700;
      box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
      background-color: initial;
    }
  }
}
