.e-avatar {
  -ms-flex-line-pack: center;
      align-content: center;
  -ms-flex-align: center;
      align-items: center;
  background-color: rgba(var(--color-sf-primary-container));
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: calc(var(--e-radius) * 0.25);
  color: rgba(var(--color-sf-on-primary-container));
  display: -ms-inline-flexbox;
  display: inline-flex;
  font-family: var(--e-font-family);
  font-size: 20px;
  font-weight: 500;
  height: 40px;
  -ms-flex-pack: center;
      justify-content: center;
  overflow: hidden;
  position: relative;
  width: 40px;
  line-height: 20px;
}
.e-avatar img {
  height: 100%;
  width: auto;
}
.e-avatar.e-avatar-circle {
  border-radius: 50%;
}
.e-avatar.e-avatar-circle.e-avatar-large, .e-avatar.e-avatar-circle.e-avatar-xlarge {
  border-radius: 50%;
}
.e-avatar.e-avatar-xsmall {
  font-size: 14px;
  height: 24px;
  width: 24px;
  line-height: 14px;
}
.e-avatar.e-avatar-small {
  font-size: 18px;
  height: 32px;
  width: 32px;
  line-height: 18px;
}
.e-avatar.e-avatar-large {
  font-size: 26px;
  height: 48px;
  width: 48px;
  line-height: 26px;
}
.e-avatar.e-avatar-xlarge {
  font-size: 30px;
  height: 56px;
  width: 56px;
  line-height: 30px;
}