/* #ifdef harmony */
/* #endif */
/* #ifndef harmony */
/* #endif */
.nut-space {
  display: flex;
}
.nut-space-item {
  flex: none;
}
.nut-space-vertical {
  flex-direction: column;
}
.nut-space-vertical-item {
  margin-bottom: var(--nutui-space-gap, 8px);
}
.nut-space-vertical-item-last {
  margin-bottom: 0;
}
.nut-space-horizontal {
  flex-direction: row;
}
.nut-space-horizontal-item {
  margin-right: var(--nutui-space-gap, 8px);
}
.nut-space-horizontal-item-last {
  margin-right: 0;
}
.nut-space-horizontal-wrap {
  flex-wrap: wrap;
  margin-bottom: calc(var(--nutui-space-gap, 8px) * -1);
}
.nut-space-horizontal-wrap-item {
  padding-bottom: var(--nutui-space-gap, 8px);
}
.nut-space-align-center {
  align-items: center;
}
.nut-space-align-start {
  align-items: flex-start;
}
.nut-space-align-end {
  align-items: flex-end;
}
.nut-space-align-baseline {
  align-items: baseline;
}
.nut-space-justify-center {
  justify-content: center;
}
.nut-space-justify-start {
  justify-content: flex-start;
}
.nut-space-justify-end {
  justify-content: flex-end;
}
.nut-space-justify-between {
  justify-content: space-between;
}
.nut-space-justify-around {
  justify-content: space-around;
}
.nut-space-justify-evenly {
  justify-content: space-evenly;
}
.nut-space-justify-stretch {
  justify-content: stretch;
}

[dir=rtl] .nut-space-horizontal > .nut-space-item,
.nut-rtl .nut-space-horizontal > .nut-space-item {
  margin-right: 0;
  margin-left: var(--nutui-space-gap, 8px);
}
[dir=rtl] .nut-space-horizontal > .nut-space-item:last-child,
.nut-rtl .nut-space-horizontal > .nut-space-item:last-child {
  margin-right: 0;
  margin-left: 0;
}