@import "../../scss/mnd-bootstrap/variables/variables";

.mnd-c-list-heading {
  flex: 1;
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
}

.mnd-c-list-heading > * + * {
  margin-left: $list-item-margin;
}

.mnd-c-list-heading--wrap {
  white-space: normal;
}

.mnd-c-list-heading__heading {
  color: $color-gray-2000;
  font-weight: $semi-bold;
  font-size: $font-size-base;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.mnd-c-list-heading__heading--wrap {
  white-space: normal;
}

.mnd-c-list-heading__body--wrap {
  white-space: normal;
}

a.mnd-c-list-heading__heading {
  cursor: pointer;
}

.mnd-c-list-heading__text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mnd-c-list-heading__image {
  max-height: 2.5rem;
  max-width: 4rem;
  align-self: center;
}

.mnd-c-list-heading__badge {
  max-height: 1.25rem;
  max-width: 1.25rem;
  align-self: center;
}

.mnd-c-list-heading__avatar {
  max-height: 2.5rem;
  max-width: 2.5rem;
  overflow: hidden;
  align-self: center;
}
