@import "../../style/mixins";
@import "../../style/themes/default";

@dropdown-zindex: 1999;
@dropdownPrefixCls: fm-dropdown;

.@{dropdownPrefixCls} {
  position: absolute;
  z-index: @dropdown-zindex;

  &-hidden {
    display: none;
  }

  &-mask {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: @fill-mask;
    height: 100%;
    z-index: @popup-zindex;

    &-hidden {
      display: none;
    }
  }

  &-inner {
    font-size: @font-size-subhead;
    color: @color-text-base;
    background-color: @fill-base;
    border-radius: @radius-sm;
    box-shadow: 0 0 2 * @hd rgba(0, 0, 0, 0.21);
    overflow: hidden;

    &-wrapper {
      position: relative;
      background-color: @fill-base;
    }
  }
}
