
.nut-menu-item__content {
  // padding: $menu-item-content-padding;
  max-height: $menu-item-content-max-height;
  overflow-y: auto;
  display: flex;
  flex-wrap: wrap;
  background: $menu-item-content-bg-color;
  border-radius: $menu-item-content-down-border-radius;
  &.content-up {
    border-radius: $menu-item-content-up-border-radius;
  }
  &--multi {
    max-height: $menu-item-content-multi-max-height;
    position: sticky;
    bottom: 0;
    padding: $menu-item-content-multi-padding;
    display: flex;
    width: 100%;
    justify-content: space-between;
    background: $menu-item-content-bg-color;
    &::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      transform: scaleY(0.5);
      border-top: 1px solid $nsui-gray4;
    }
    &-all {
      display: flex;
      flex-direction: column;
      align-items: center;
      font-weight: 400;
      font-size: 12px;
      color: #595959;
      justify-content: center;
      margin-right: 24px;
      white-space: nowrap;
    }
  }
  &_fixed {
    width: 100%;
    opacity: 0;
    position: fixed;
  }
}

.nut-menu-item__option {
  color: $menu-item-option-color;
  font-size: $font-size-2;
  padding: $menu-item-option-padding;
  display: flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: space-between;
  line-height:  $menu-item-option-line-height;
  font-weight: 400;
  &.active {
    font-weight: 500;
    color: $menu-item-active-text-color;
  }
  
  &--description {
    font-weight: 400;
    font-size: $menu-item-description-font-size;
    color: $menu-item-description-color;
  }
  &.disabled {
    color: $menu-item-disabled-text-color;
    .nut-menu-item__option--description {
      color: $picker-item-disabled-text-color;
    }
  }
  // i {
  //   margin-right: $menu-item-option-i-margin-right;
  //   display: inline-flex;
  //   align-items: center;
  // }
}

.nut-menu-item__wrap,
.nut-menu-item__wrap-up {
  position: absolute;
  width: 100%;
  z-index: 2052;
  overflow: hidden;
}

.nut-menu-item__wrap-up {
  bottom: $menu-item-wrap-up-bottom;
}

.overlay-fade-enter-active.nut-menu__overlay {
  top: auto;
  z-index: 2052;
}

.nut-menu__pop.nut-popup {
  transition: all 0s ease 0s;
  transform: none;
}

.placeholder-element {
  position: absolute;
  top: -$menu-bar-line-height;
  left: 0;
  right: 0;
  z-index: $menu-bar-opened-z-index;
  background-color: transparent;

  &.up {
    bottom: -$menu-bar-line-height;
  }
}

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

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

.menu-item-exit {
  opacity: 1;
  transition: all 100ms;
}

.menu-item-exit-done {
  opacity: 0;
  transition: all 100ms;
}

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

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

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

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