/* #ifdef harmony */
/* #endif */
/* #ifndef harmony */
/* #endif */
.nut-dialog {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 295px;
  min-width: 240px;
  /* #ifndef harmony*/
  max-height: 67%;
  /* #endif */
  min-height: 124px;
  padding: 24px;
  box-sizing: border-box;
}
.nut-dialog-outer {
  position: fixed;
  max-height: 100%;
  background-color: #ffffff;
  transition: transform 0.2s, -webkit-transform 0.2s;
  -webkit-overflow-scrolling: touch;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  border-radius: 12px;
  animation-duration: 0.3s;
}
.nut-dialog-close {
  position: absolute !important;
  z-index: 1;
  cursor: pointer;
  width: 16px;
  height: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
}
.nut-dialog-close .nut-icon {
  font-size: 16px;
  width: 16px;
  height: 16px;
}
.nut-dialog-close-top-right {
  top: 16px;
  right: 16px;
}
.nut-dialog-close-top-left {
  top: 16px;
  left: 16px;
}
.nut-dialog-close-bottom {
  bottom: -64px;
  width: 24px;
  height: 24px;
  left: 50%;
  transform: translateX(-50%);
}
.nut-dialog-close-bottom .nut-icon {
  color: #c2c4cc;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  width: 24px;
  height: 24px;
}
.nut-dialog-close:active {
  opacity: 0.7;
}
.nut-dialog-header {
  display: block;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nut-dialog-content {
  width: 100%;
  margin: 12px 0 16px 0;
  max-height: 268px;
  line-height: 20px;
  font-size: 14px;
  color: #1a1a1a;
  word-wrap: break-word;
  word-break: break-all;
  white-space: pre-wrap;
  text-align: left;
  overflow-y: auto;
}
.nut-dialog-footer {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-around;
}
.nut-dialog-footer.vertical {
  flex-direction: column;
}
.nut-dialog-footer.vertical .nut-button {
  min-width: 100%;
}
.nut-dialog-footer.vertical .nut-dialog-footer-cancel {
  margin: 0;
  color: #505259;
  font-size: 14px;
  display: flex;
  justify-content: center;
  margin-top: 16px;
}
.nut-dialog-footer .nut-button {
  min-width: 117px;
}
.nut-dialog-footer-cancel.nut-dialog-footer-cancel {
  margin-right: 12px;
  background: transparent;
}
.nut-dialog-footer-ok {
  max-width: 128px;
  font-weight: 600;
}
.nut-dialog-footer-block.nut-button {
  min-width: 100%;
}

[dir=rtl] .nut-dialog-outer,
.nut-rtl .nut-dialog-outer {
  left: auto;
  right: 50%;
  -webkit-transform: translate(50%, -50%);
  transform: translate(50%, -50%);
}
[dir=rtl] .nut-dialog-close-top-right {
  right: auto;
  left: 16px;
}
.nut-rtl .nut-dialog-close-top-right {
  right: auto;
  left: 16px;
}
[dir=rtl] .nut-dialog-close-top-left {
  left: auto;
  right: 16px;
}
.nut-rtl .nut-dialog-close-top-left {
  left: auto;
  right: 16px;
}
[dir=rtl] .nut-dialog-footer-cancel.nut-dialog-footer-cancel {
  margin-right: 0;
  margin-left: 12px;
}
.nut-rtl .nut-dialog-footer-cancel.nut-dialog-footer-cancel {
  margin-right: 0;
  margin-left: 12px;
}
[dir=rtl] .nut-dialog-content {
  text-align: right;
}
.nut-rtl .nut-dialog-content {
  text-align: right;
}