.list-inline {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-inline-item {
  /**
   * Fix iOS Safari inline-block bug
   * https://qiita.com/sygnas/items/a0582a100f0ae3496cd9
   */
  display: inline-block;
  margin-right: -1px;
}

.list-inline-item::after {
  content: '\00a0';
  font-size: 0;
  margin-right: 1px;
}

.list-inline-slashed > .list-inline-item + .list-inline-item::before {
  content: '\00a0/\00a0';
  color: var(--dark-color);
}

.list-inline-dotted > .list-inline-item + .list-inline-item::before {
  content: '\00a0\00b7\00a0';
  color: var(--dark-color);
}

.list-actions {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-actions > .list-actions-item {
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
  padding: 0 calc(1.5rem - 1px);
  text-align: center;
}

.list-actions > .list-actions-item + .list-actions-item {
  border-left-color: var(--medium-dark-color);
}

@media screen and (orientation: portrait) {
  .list-actions {
    flex-direction: column;
  }

  .list-actions > .list-actions-item {
    border-left: 0;
    border-right: 0;
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    padding: calc(var(--vertical-rhythm) / 2 - 1px) 1.5rem;
  }

  .list-actions > .list-actions-item + .list-actions-item {
    border-top-color: var(--medium-dark-color);
  }
}

.list-group {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--vertical-rhythm);
}

.list-group-item,
a.list-group-item {
  display: block;
  padding: calc(var(--vertical-rhythm) / 4) 1rem;
  color: inherit;
  text-decoration: none;
}

.list-group-item.is-selected {
  background-color: var(--light-color);
}

.list-group-item:first-child,
.list-group-item + .list-group-item {
  border-top: 1px solid var(--medium-dark-color);
  padding-top: calc(var(--vertical-rhythm) / 4 - 1px);
}

.list-group-item:last-child {
  border-bottom: 1px solid var(--medium-dark-color);
  padding-bottom: calc(var(--vertical-rhythm) / 4 - 1px);
}

.list-group-item p:last-child {
  margin-bottom: 0;
}

a.list-group-item:hover,
label.list-group-item:hover {
  background-color: var(--light-color);
}
