.add-constraint {
  position: absolute;
  z-index: 9999;
  background-color: white;
  box-shadow: 0px 2px 5px rgba(0,0,0,0.3);
  border-radius: 2px;
  right: 15px;
  top: 240px;
  font-size: 13px;
  cursor: default;
  overflow: hidden;
  opacity: 0;
  width: 350px;
  pointer-events: none;
  -webkit-transform: scale(.8) translateX(5%) translateY(-30%);
  -webkit-transition: .2s cubic-bezier(.3, 0, 0, 1.3);
}

.add-constraint.is-multiple {
  top: 110px!important;
}

.add-constraint.is-active {
  opacity: 1;
  pointer-events: auto;
  -webkit-transform: none;
}

.add-constraint__element {
  display: block;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding: 8px 15px;
  text-decoration: none;
  color: #818181;
  font-size: 12px;
}

.add-constraint__element label {
  width: 100px;
  display: inline-block;
  position: relative;
  top: -1px;
}

.add-constraint__element input[type=checkbox] {
  margin-right: 8px;
  position: relative;
  top: -1px;
}

.add-constraint__element select {
  width: 50px;
  text-align: center;
  height: 19px;
  display: inline-block;
}

.add-constraint__element input[type=text] {
  width: 158px;
  display: inline-block;
  margin-left: 10px;
  height:18px;
}

.add-constraint__element button {
  width: 100%;
}

.add-constraint hr {
  border: 1px solid rgba(0,0,0,0.1);
  margin:0;
  padding:0;
}