.form-type-checkbox .formtips-wrapper {
  display: inline-block;
}

.formtip {
  display: inline-block;
  margin-left: 0.25em;

  background-color: #ccc;
  color: #333;

  border-radius: 50%;

  width: 1.2em;
  height: 1.2em;

  line-height: 1.2em;
  font-size: .7em;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  vertical-align: middle;
  /* Needed for fieldset override. */
  letter-spacing: normal;
}

.formtip:focus,
.formtip:hover,
.formtip:active {
  background-color: #2369a6;
  color: #fff;
  text-decoration: none;
  transition: background-color .25s ease-in-out;
}

.formtip::before{
  content:'?';
  color: #fff;
}

.formtips-processed:not(.formtips-show) {
  display: none;
  opacity: 0;
}

.formtips-processed.formtips-show {
  opacity: 1;
  display: block;
}

.formtips-processed {
  transition: opacity 0.25s ease-in-out;
  z-index: 100;

  display: none;
  text-align: left;
  padding: 20px;
  position: absolute;
  border-radius: 3px;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
  font-size: 0.8em;
  line-height: 1.4;
}

div.description.formtips-processed,
.form-item .description.formtips-processed {
  color: #FFF;
  background-color: #1E2021;
}

/* The pointer of the tooltip. */
.formtips-processed::before {
  position: absolute;
  content: '';
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-bottom-color: #1E2021;
  left: 1.5em;
  top: -12px;
}

.description.formtips-processed p {
  margin-bottom: 0;
}
