.bs-avatar {
  position: relative;
  white-space: nowrap;
  overflow: hidden;
  vertical-align: middle;
  text-align: center;
  background: transparent;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  /*Flex布局*/
  display: -webkit-inline-flex;
  /* Safari */
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  /*指定垂直居中*/
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: #fff;
  /**尺寸**/
}
.bs-avatar-shape-circle {
  border-radius: 100%;
}
.bs-avatar-shape-square {
  border-radius: 5px;
}
.bs-avatar-size-lg {
  width: 112px;
  height: 112px;
  font-size: 20px;
}
.bs-avatar-size-md {
  width: 56px;
  height: 56px;
  font-size: 16px;
}
.bs-avatar-size-sm {
  width: 50px;
  height: 50px;
  font-size: 14px;
}
.bs-avatar-size-xs {
  width: 40px;
  height: 40px;
  font-size: 14px;
}
.bs-avatar-size-xxs {
  width: 32px;
  height: 32px;
  font-size: 14px;
}
.bs-avatar > img {
  width: 100%;
  height: 100%;
}
.am-flexbox-item .am-badge {
  margin: 4px;
}
.hanging__icon {
  border-radius: 0;
  width: 24px;
  height: 24px;
  position: absolute;
}
.bottomright {
  bottom: 0px;
  right: -22px;
}
.bottomleft {
  bottom: 0px;
  left: -22px;
}
.topright {
  right: -20px;
  top: -15px;
}
.topleft {
  top: -22px;
  left: -22px;
}
.bottom {
  bottom: -12px;
  left: 30px;
}
