/* #ifdef harmony */
/* #endif */
/* #ifndef harmony */
/* #endif */
.nut-image {
  display: block;
  position: relative;
}
.nut-image-default {
  display: block;
  width: 100%;
  height: 100%;
}
.nut-image.nut-image-round {
  border-radius: 50%;
  overflow: hidden;
}
.nut-image-loading {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--nutui-color-background, #f2f3f5);
  background-size: 100% 100%;
}
.nut-image-error {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--nutui-color-background, #f2f3f5);
  background-size: 100% 100%;
}

[dir=rtl] .nut-image .nut-img-loading,
.nut-rtl .nut-image .nut-img-loading {
  left: auto;
  right: 0;
}
[dir=rtl] .nut-image .nut-img-error,
.nut-rtl .nut-image .nut-img-error {
  left: auto;
  right: 0;
}