#send,
#receive,
#sign-msg,
.filter-bar {
  .ui-select-choices-row-inner,
  .ui-select-match {
    label-origin {
      display: block;
      overflow: hidden;
      height: 1.428571429em;
    }
  }
}

#send,
#receive,
#sign-msg {
  .dropdown-menu {
    > li:first-child {
      .dropdown-header {
        // we need to remove this when we come up with what we want to call Accounts
        display: none;
      }
    }
  }
}

#send,
#receive {

}

#send,
#sign-msg {
  .inprv {
    bottom: -12px;
  }
  .open > .uib-dropdown-menu {
    overflow-y: auto;
    max-height: 160px;
    overflow-x: hidden;
  }
  .row {
    @extend .flex-row;
  }
  .form-group {
    position: relative;
    > label {
      font-size: 1.1em;
      min-width: 80px;
    }
    > div, textarea, .bitcoin-address {
      @extend .mlm;
      @media (min-width: 768px) {
        max-width: 440px;
        min-width: 440px;
      }
      &.auto {
        width: auto;
        max-width: initial;
        min-width: initial;
      }
    }
    @media (max-width: 767px) {
      display: block;
      > label {
        min-width: auto;
        min-width: initial;
      }
      > div, textarea, .bitcoin-address {
        width: 100%;
        min-width: auto;
        max-width: none;
        margin-left: 0px;
        min-width: initial;
        border-radius: 0px;
      }
    }
  }

  textarea {
    border: 1px solid #EEEEEE;
    padding: 6px 12px;
    font-size: 14px;
    height: 60px;
    resize: none;
    &:focus {
      outline: none;
    }
  }

  & + .modal-footer {
    clear: left;
  }

  .ui-select-match {
    label-origin {
      > span:first-child {
        max-width: 200px;
      }
    }
  }

  @media (max-width: 767px) {
    .row {
      display: block;
    }
    & + .modal-footer {
      font-size: 12px;
    }
  }
}

// SEND

#send {
  .destination-input {
    input {
      @extend .brdrn;
    }
  }

  .form-group {
    > label {
      min-width: 105px;
    }
    &.note {
      button {
        top: -10px;
        right: -10px;
        position: absolute;
      }
      textarea {
        margin-left: 0;
      }
    }
  }

  .has-error {
    position: relative;
    > span {
      margin: 0;
      position: absolute;
    }
  }

  @media (max-width: 767px) {
    &.fade {
      opacity: 1 !important;
    }
  }
}

#receive {
  .ui-select-bootstrap > .ui-select-choices {
    max-height: 168px;
  }
  // ff specific fix
  @-moz-document url-prefix() {
    .text-overflow-hidden {
      max-width: 450px;
      @media (max-width: 767px) {
        max-width: 350px;
      }
    }
  }
}

.popover {
  z-index: 1060;
}

.ui-select-container {
  .divider {
    margin: 0px auto;
  }
}

#sign-msg {
  @media (max-width: 767px) {
    opacity: 1 !important;
  }
  @media (min-width: 769px) {
    opacity: 1;
    overflow: hidden;
    @include bc-ng-animate('signature', 'height', '147px', '227px');
  }
  input {
    border-bottom-color: $border-grey;
  }
}

.form-cover {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 900;
  background: white;
  opacity: 0.5;
}

.form-cover-alert {
  position: fixed;
  right: 0;
  left: 0;
  z-index: 901;
}

.form-banner-alert {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 901;
}
