/* Ninja Form Styles */
/* Exclude checkboxes inside Ninja Forms */
.nf-field-element input[type="checkbox"],
.nf-field-element input,
.nf-field-element textarea {
  all: revert; /* resets styles back to browser/Ninja Forms defaults */
  box-sizing: border-box;
}
.nf-field-element input {
  padding: 0.5rem;
  border-radius: 0.25rem;
  border: 1px solid #ccc;
}
.nf-after-field {
  margin-left: 0 !important;
}
.nf-form-cont {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 5px;
}
.nf-field-element input[type="submit"] {
  color: #fff;
  background-color: var(--wp--preset--color--base);
  border-style: solid;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  font-weight: 600;
  cursor: pointer;
}
.label-left .nf-field-label {
  min-width: min-content;
  width: auto !important;
}
.label-left .nf-field-element {
  width: auto !important;
}
.nf-field-element select {
  width: auto !important;
  border: 1px solid #ccc;
  border-radius: 0.25rem;
}
.nf-field-element p {
  margin: 0 !important;
  margin-top: 0.5rem !important;
}
.nf-field-element h4 {
  font-weight: 600;
}
.nf-field-container.checkbox-container,
.nf-field-container.html-container .label-above {
  margin-bottom: 0.5rem !important;
}
#ninja_forms_required_items,
.nf-field-container {
  margin-bottom: 0 !important;
}
.nf-field-element br {
  display: none;
}
.checkbox-wrap label {
  font-weight: normal !important;
}
.nf-form-fields-required {
  margin-bottom: 0.5rem;
}
.nf-repeater-fieldset nf-fields-wrap {
  display: grid;
  gap: 0.5rem;
}
@media screen and (min-width: 767px) {
  .nf-repeater-fieldset nf-fields-wrap {
    grid-template-columns: repeat(3, 1fr);
  }
}
.repeater-container .nf-field > div {
  display: flex;
  flex-direction: column;
}
.nf-add-fieldset {
  place-self: end;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  border: 1px solid var(--wp--preset--color--base);
  background-color: transparent;
  transition: all 0.3s ease;
  font-size: var(--wp--preset--font-size--small);
}
.nf-add-fieldset:hover {
  background-color: #fff;
  transition: all 0.3s ease;
}
