/* #ifdef harmony */
/* #endif */
/* #ifndef harmony */
/* #endif */
.nut-overlay {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: var(--nutui-overlay-bg-color, var(--nutui-color-mask, rgba(0, 0, 0, 0.7)));
  z-index: var(--nutui-overlay-zIndex, 1000);
}

.nut-overflow-hidden {
  overflow: hidden !important;
}

@keyframes nut-fade-in {
  0% {
    opacity: 0;
  }
  1% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes nut-fade-out {
  0% {
    opacity: 1;
  }
  1% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.nut-overlay-slide-enter-active, .nut-overlay-slide-appear-active {
  animation-fill-mode: both;
  animation-name: nut-fade-in;
  animation-duration: var(--nutui-overlay-animation-duration, 0.3s);
}
.nut-overlay-slide-exit-active {
  animation-fill-mode: both;
  animation-name: nut-fade-out;
  animation-duration: var(--nutui-overlay-animation-duration, 0.3s);
}

[dir=rtl] .nut-overlay,
.nut-rtl .nut-overlay {
  left: auto;
  right: 0;
}

.nut-menu-container-content {
  padding: var(--nutui-menu-content-padding, 12px 24px);
  max-height: var(--nutui-menu-content-max-height, 214px);
  overflow-y: auto;
  display: flex;
  flex-wrap: wrap;
  background: var(--nutui-menu-content-background-color, var(--nutui-color-background-overlay, #ffffff));
}
.nut-menu-container-content_fixed {
  width: 100%;
  opacity: 0;
  position: fixed;
}
.nut-menu-container-item {
  display: flex;
  align-items: center;
  color: var(--nutui-color-title, #1a1a1a);
  font-size: var(--nutui-font-size-base, 14px);
  padding: var(--nutui-menu-item-padding, 12px 0);
}
.nut-menu-container-item.active {
  font-weight: var(--nutui-menu-item-active-font-weight, var(--nutui-font-weight-bold, 600));
  color: var(--nutui-menu-item-active-color, var(--nutui-color-primary, #ff0f23));
}
.nut-menu-container-item .nut-icon {
  display: inline-flex;
  align-items: center;
  margin-right: var(--nutui-menu-item-icon-margin, 8px);
  flex-shrink: 0;
}
.nut-menu-container-wrap, .nut-menu-container-wrap-up {
  position: absolute;
  width: 100%;
  z-index: var(--nutui-menu-container-z-index, 1000);
  overflow: hidden;
}
.nut-menu-container-wrap-up {
  bottom: var(--nutui-menu-bar-line-height, 48px);
}

.overlay-fade-enter-active.nut-menu-container-overlay {
  top: auto;
  z-index: var(--nutui-menu-container-z-index, 1000);
}

.nut-menu-placeholder-element {
  position: fixed;
  top: -var(--nutui-menu-bar-line-height, 48px);
  left: 0;
  right: 0;
  z-index: var(--nutui-menu-bar-opened-z-index, 1000);
  background-color: transparent;
}
.nut-menu-placeholder-element.up {
  bottom: -var(--nutui-menu-bar-line-height, 48px);
}

.nut-menu-container-down-enter {
  opacity: 0;
  transform: translate(0, -30px);
}

.nut-menu-container-down-enter-done {
  opacity: 1;
  transform: translate(0, 0);
  transition: all 100ms;
}

.nut-menu-container-down-exit {
  opacity: 1;
  transition: all 100ms;
}

.nut-menu-container-down-exit-done {
  opacity: 0;
  transition: all 100ms;
}

.nut-menu-container-up-enter {
  opacity: 0;
  transform: translate(0, 30px);
}

.nut-menu-container-up-enter-done {
  opacity: 1;
  transform: translate(0, 0);
  transition: all 100ms;
}

.nut-menu-container-up-exit {
  opacity: 1;
  transition: all 100ms;
}

.nut-menu-container-up-exit-done {
  opacity: 0;
  transition: all 100ms;
}

[dir=rtl] .nut-menu-container-item .nut-icon,
.nut-rtl .nut-menu-container-item .nut-icon {
  margin-right: 0;
  margin-left: var(--nutui-menu-item-icon-margin, 8px);
}
[dir=rtl] .nut-menu-container .nut-icon,
.nut-rtl .nut-menu-container .nut-icon {
  transform: rotateY(180deg);
}