.wpcf7-not-valid-tip,
.input-not-valid {
  display: block;
  font-size: 12px;
  position: absolute;
  padding: 5px 10px;
  text-align: center;
  bottom: calc(100% - -4px);
  background: #fff;
  border: 1px solid #dc3232;
  border-radius: 5px;
  z-index: 8;
}

.wpcf7-form-control-wrap{
  position: relative;
  display: block;
}

.wpcf7-form-control-wrap .input-not-valid,
.wpcf7-form-control-wrap .wpcf7-not-valid-tip{
  bottom: 100%;
  left: 0;
  transform: none;
}