.ifpen-term-referenced-tree .parent + label {
  color: #333;
  vertical-align: middle;
}

.ifpen-term-referenced-tree .parent {
  vertical-align: middle;
}

.ifpen-term-referenced-tree .child {
  margin-left: 50px;
}

.ifpen-term-referenced-tree .toggle-children {
  line-height: 10px;
  padding: 2px;
  vertical-align: middle;
  margin-right: 5px;
  border: 2px #007bc6 solid;
  width: 22px;
  height: 22px;
}

.ifpen-term-referenced-tree .toggle-children:focus {
  outline: none;
  border: 2px #007bc6 solid;
  background-color: #0071b8;
  background-image: -webkit-linear-gradient(top, #007bc6, #0071b8);
  background-image: linear-gradient(to bottom, #007bc6, #0071b8);
  color: #fff;
}

.ui-dialog {
  max-width: 98%;
  margin: 0 1%;
}