/* Branch and employee search  */
.momentsofkindness .tft-ajax .cf7_branch_lookup_matches,
.momentsofkindness .cf7_employee_lookup_matches {
  font-size: 1.5rem;
  list-style-type: none;
  padding: 0;
  margin: 0;
  position: absolute;
  background: #fff;
  width: 292px;
  border: 1px solid #cccccc;
  border-radius: 4px;
  z-index: 10;
  max-height: 350px;
  overflow-y: auto;
}
.momentsofkindness .tft-ajax .cf7_branch_lookup_matches {
  top: 82px;
}
.momentsofkindness .cf7_employee_lookup_matches {
  top: 50px;
}

.momentsofkindness .tft-ajax .cf7_branch_lookup_matches li,
.momentsofkindness .cf7_employee_lookup_matches li {
  padding: 1rem;
}

.momentsofkindness .tft-ajax .cf7_branch_lookup_matches li:hover,
.momentsofkindness .cf7_employee_lookup_matches li:hover {
  cursor: pointer;
  background: #f1f1f1;
}

.momentsofkindness .tft-ajax .cf7_branch_lookup_matches li:first-child,
.momentsofkindness .cf7_employee_lookup_matches li:first-child {
  border-bottom: 1px solid #ccc;
}

.momentsofkindness #add-person {
  font-size: 14px;
}
/* End of branch and employee search  */

.momentsofkindness .wpcf7-not-valid-tip {
  font-size: 14px;
  padding: 0.5rem;
}
.momentsofkindness .oldCSS .wpcf7-form input.form-control.wpcf7-not-valid,
.momentsofkindness .oldCSS .wpcf7-form select.form-control.wpcf7-not-valid,
.momentsofkindness .oldCSS .wpcf7-form textarea.form-control.wpcf7-not-valid {
  border-color: #dc3232;
}
.momentsofkindness .field-wrap label[for="cf7_branch_lookup_input"] {
  top: 29px;
  left: 34px;
}

.momentsofkindness .nominee-information {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.momentsofkindness .nominee-information + .nominee-information {
  border-top: 1px solid #ccc;
  padding-top: 20px;
}
.momentsofkindness .add-person__remove {
  position: absolute;
  top: 80px;
  left: -8px;
  background: #62489d;
  height: 18px;
  width: 18px;
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
  line-height: 1;
  cursor: pointer;
}
@media (max-width: 531px) {
  .momentsofkindness .tft-ajax .cf7_branch_lookup_search {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Error handling */
.momentsofkindness .wpcf7-form input.form-control.help-inline {
  border-color: #dc3232;
}
.momentsofkindness div.mok-error-icon {
  color: #dc3232;
  font-size: 14px;
  top: 13px;
  right: 16px;
  position: absolute;
  cursor: help;
}
.momentsofkindness div.mok-error-icon:before {
  content: "\e101";
  font-family: "Glyphicons Halflings", sans-serif;
}
.momentsofkindness span.help-inline {
  display: none !important;
}

/* Error tooltip */
/* .mok-error-icon::after {
    left: 50%;
    opacity: 0;
    position: absolute;
    z-index: -100;
}
.mok-error-icon:hover::after,
.mok-error-icon:focus::after {
    opacity: 1;
    transform: scale(1) translateY(0);
    z-index: 100; 
}
.mok-error-icon::after {
    background: #62489D;
    border-radius: 4px;
    bottom: 180%;
    color: #ffffff;
    font-size: 14px;
    text-align: center;
    content: attr(title);
    margin-left: -8.75em;
    padding: 5px;
    transition: all .65s cubic-bezier(.84,-0.18,.31,1.26) .2s;
    transform:  scale(.6) translateY(50%);  
    width: 17.5em;
}
.mok-error-icon:hover::after,
.mok-error-icon:focus::after  {
    transition: all .65s cubic-bezier(.84,-0.18,.31,1.26);
} */
