/**
 * Copyright 2016-present, Baifendian, Inc.
 * All rights reserved.
 *
 * This source code is licensed under the BSD-style license found in the
 * LICENSE file in the root directory of this source tree. An additional grant
 * of patent rights can be found in the PATENTS file in the same directory.
 */
.bfd-popover__trigger {
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.bfd-popover__trigger--disabled,
.bfd-popover__trigger--disabled * {
  background-color: #eceff1!important;
  border-color: #eaeaea!important;
  cursor: not-allowed !important;
  color: #999!important;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.bfd-popover {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 9999;
}
.bfd-popover:after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
}
.bfd-popover--animation {
  -webkit-animation: bfd-popover 0.15s;
  animation: bfd-popover 0.15s;
}
@-webkit-keyframes bfd-popover {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes bfd-popover {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.bfd-popover--up {
  padding-bottom: 7px;
  margin-top: -7px;
}
.bfd-popover--up:after {
  left: 50%;
  bottom: 1px;
  margin-left: -7px;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 6px solid #fff;
}
.bfd-popover--down {
  padding-top: 7px;
}
.bfd-popover--down:after {
  left: 50%;
  top: 1px;
  margin-left: -7px;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 6px solid #fff;
}
.bfd-popover--left {
  padding-right: 7px;
}
.bfd-popover--left:after {
  top: 50%;
  right: 1px;
  margin-top: -7px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 6px solid #fff;
}
.bfd-popover--right {
  padding-left: 7px;
}
.bfd-popover--right:after {
  top: 50%;
  left: 1px;
  margin-top: -7px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-right: 6px solid #fff;
}
.bfd-popover--align-left:after {
  left: 27px;
}
.bfd-popover--align-right:after {
  left: auto;
  right: 27px;
}
.bfd-popover--align-top:after {
  top: 27px;
}
.bfd-popover--align-bottom:after {
  top: auto;
  bottom: 27px;
}
.bfd-popover__content {
  padding: 10px 12px;
  background: #fff;
  border-radius: 2px;
  word-wrap: break-word;
  box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.25);
  max-width: 200px;
  max-height: 300px;
  overflow: auto;
}
