.webform-submission-form .form-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-bottom: var(--anrt-spacing-100);
  width: 100%;
  flex-direction: column;
}

.webform-submission-form .form-item .fieldset-legend,
.webform-submission-form .form-item label {
  color: var(--anrt-color-black);
  display: block;
  font-weight: 700;
  margin-bottom: var(--anrt-spacing-025);
  width: 100%;
}

.webform-submission-form .form-item .fieldset-legend.form-required:after,
.webform-submission-form .form-item label.form-required:after {
  content: " *";
  color: var(--anrt-color-primary-b);
}

.webform-submission-form .form-item label.form-required.webform-file-button:after {
  display: none;
}

@media (min-width: 48rem) {
  .webform-submission-form .form-item input:not(.form-checkbox):not(.form-radio):not(.form-submit) {
    /* width: 9999em; */
    width: 100%;
  }
}

.webform-submission-form .form-type-textarea>div {
  width: 100%;
}

/* Description */
.webform-submission-form .form-item .description {
  -ms-flex-align: start;
  -webkit-box-align: start;
  align-items: flex-start;
  color: var(--anrt-color-tertiary);
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  /* max-width: 21.875rem; */
  order: 1;
}

.webform-submission-form .form-item .description p {
  margin: 0 0 0.84375rem;
  padding-left: 2.53125rem;
  text-indent: -2.53125rem;
}

.webform-submission-form .form-item .description .webform-element-description {
  color: var(--anrt-color-primary-b);
  font-size: var(--anrt-font-size-small);
  font-style: normal;
  /* font-weight: 400; */
  width: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3C!-- Font Awesome Pro 5.15.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) --%3E%3Cpath d='M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z' fill='%23152C55'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 0.875rem;
  padding-left: calc(0.875rem + 0.4375rem);
  background-position: 0 0.1875rem;
}

/* Signature */
.webform-submission-form .form-item.form-item-signature {
  display: block;
}

.webform-submission-form .form-item.form-item-signature .webform-signature-pad .button {
  top: auto;
  bottom: 100%;
  width: auto;
}

.webform-submission-form .form-item.form-item-signature .webform-signature-pad:before {
  padding-top: 20rem;
}

/* Error */
.webform-submission-form .form-item--error-message {
  /* max-width: 21.875rem; */
  color: var(--anrt-color-danger);
  font-size: var(--anrt-font-size-small);
  order: 9999;
  width: 100%;
  margin-top: var(--anrt-spacing-012);
}

.webform-submission-form .form-item--error-message:before {
  display: block;
  float: left;
  width: 0.875rem;
  height: 0.875rem;
  margin: 0.1875rem 0.4375rem 0 0;
  content: '';
  color: var(--anrt-color-danger);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1792 1792'%3E%3C!-- Font Awesome Pro 5.15.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) --%3E%3Cpath d='M1024 1375v-190q0-14-9.5-23.5t-22.5-9.5h-192q-13 0-22.5 9.5t-9.5 23.5v190q0 14 9.5 23.5t22.5 9.5h192q13 0 22.5-9.5t9.5-23.5zm-2-374l18-459q0-12-10-19-13-11-24-11h-220q-11 0-24 11-10 7-10 21l17 457q0 10 10 16.5t24 6.5h185q14 0 23.5-6.5t10.5-16.5zm-14-934l768 1408q35 63-2 126-17 29-46.5 46t-63.5 17h-1536q-34 0-63.5-17t-46.5-46q-37-63-2-126l768-1408q17-31 47-49t65-18 65 18 47 49z' fill='%23AC1816'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* Radios/Checkboxes */
.webform-submission-form .form-type-checkbox,
.webform-submission-form .form-type-radio {
  flex-direction: row;
  justify-content: flex-start;
  align-items: first baseline;
  flex-wrap: wrap;

  label {
    width: auto;
    flex: 1;
  }

  input {
    order: -1;
    margin-right: var(--anrt-spacing-025);
  }

  .form-item--error-message,
  .description {
    width: 100%;
  }
}

.webform-submission-form .checkboxes--wrapper,
.radios--wrapper {
  margin-bottom: var(--anrt-spacing-100);
}

.webform-submission-form .checkboxes--wrapper .form-item,
.checkboxes--wrapper .form-item label,
.radios--wrapper .form-item,
.radios--wrapper .form-item label {
  margin-bottom: 0
}

.webform-submission-form .checkboxes--wrapper .js-webform-radios:focus-within,
.radios--wrapper .js-webform-radios:focus-within {
  /* outline: 2px solid; */
  outline: var(--anrt-focus-outline);
  box-shadow: var(--anrt-focus-shadow);
}

/* Files */
.webform-submission-form .form-item.js-form-type-webform-document-file {
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start
}

.webform-submission-form .form-type-managed-file {
  flex-direction: row;
}

.webform-submission-form .form-item.js-form-type-webform-document-file input:not(.js-hide):not(.form-checkbox):focus,
.webform-submission-form .form-item.js-form-type-webform-document-file input:not(.js-hide):not(.form-checkbox):hover,
.webform-submission-form .form-item.js-form-type-webform-document-file label.webform-file-button:focus,
.webform-submission-form .form-item.js-form-type-webform-document-file label.webform-file-button:hover {
  text-decoration: none;
  color: var(--anrt-color-secondary);
  border-color: var(--anrt-color-secondary);
  background-color: var(--anrt-color-white)
}

.webform-submission-form .form-item.js-form-type-managed-file input[id*=remove-button] {
  background-image: url("data:image/svg+xml,%3Csvg width='1792' height='1792' viewBox='0 0 1792 1792' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1490 1322q0 40-28 68l-136 136q-28 28-68 28t-68-28l-294-294-294 294q-28 28-68 28t-68-28l-136-136q-28-28-28-68t28-68l294-294-294-294q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 294 294-294q28-28 68-28t68 28l136 136q28 28 28 68t-28 68l-294 294 294 294q28 28 28 68z' fill='%23fff'/%3E%3C/svg%3E") !important;
}

.webform-submission-form .form-item.js-form-type-webform-document-file .file a {
  word-break: break-all;
  color: var(--anrt-color-primary);
}

.webform-submission-form .webform-flex--container>.form-item.webform-has-field-prefix {
  -webkit-box-align: baseline;
  -ms-flex-align: baseline;
  align-items: baseline;
  -ms-flex-pack: distribute;
  justify-content: space-around
}

/* Actions */
.webform-submission-form .form-actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: var(--anrt-spacing-100);
}

@media (min-width: 600px) {
  .webform-submission-form .form-actions {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row
  }
}

/* Button */
.webform-submission-form .form-actions .button {
  background-repeat: no-repeat;
  background-size: 0.6875rem 1.375rem;
  background-position: 0.75rem;
  padding-left: calc(0.75rem + 0.6875rem + var(--anrt-spacing-050));
}

@media (min-width: 600px) {
  .webform-submission-form .form-actions .button {
    width: auto
  }
}

/* Button - next */
.webform-submission-form .form-actions .webform-button--next {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 512'%3E%3C!-- Font Awesome Pro 5.15.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) --%3E%3Cpath d='M24.707 38.101L4.908 57.899c-4.686 4.686-4.686 12.284 0 16.971L185.607 256 4.908 437.13c-4.686 4.686-4.686 12.284 0 16.971L24.707 473.9c4.686 4.686 12.284 4.686 16.971 0l209.414-209.414c4.686-4.686 4.686-12.284 0-16.971L41.678 38.101c-4.687-4.687-12.285-4.687-16.971 0z' fill='white'/%3E%3C/svg%3E");
}

.webform-submission-form .form-actions .webform-button--next:is(:hover, :focus) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 512'%3E%3C!-- Font Awesome Pro 5.15.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) --%3E%3Cpath d='M24.707 38.101L4.908 57.899c-4.686 4.686-4.686 12.284 0 16.971L185.607 256 4.908 437.13c-4.686 4.686-4.686 12.284 0 16.971L24.707 473.9c4.686 4.686 12.284 4.686 16.971 0l209.414-209.414c4.686-4.686 4.686-12.284 0-16.971L41.678 38.101c-4.687-4.687-12.285-4.687-16.971 0z' fill='white'/%3E%3C/svg%3E");
}

@media (min-width: 48rem) {
  .webform-submission-form .webform-button--next {
    margin-left: auto
  }
}

/* Button - previous */
.webform-submission-form .form-actions .webform-button--previous {
  background-color: var(--anrt-color-white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 512'%3E%3C!-- Font Awesome Pro 5.15.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) --%3E%3Cpath d='M231.293 473.899l19.799-19.799c4.686-4.686 4.686-12.284 0-16.971L70.393 256 251.092 74.87c4.686-4.686 4.686-12.284 0-16.971L231.293 38.1c-4.686-4.686-12.284-4.686-16.971 0L4.908 247.515c-4.686 4.686-4.686 12.284 0 16.971L214.322 473.9c4.687 4.686 12.285 4.686 16.971-.001z' fill='%2323498D'/%3E%3C/svg%3E");
  border: 1px solid var(--anrt-color-primary);
  color: var(--anrt-color-primary);
}

.webform-submission-form .form-actions .webform-button--previous:is(:hover, :focus) {
  background-color: var(--anrt-color-primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 512'%3E%3C!-- Font Awesome Pro 5.15.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) --%3E%3Cpath d='M231.293 473.899l19.799-19.799c4.686-4.686 4.686-12.284 0-16.971L70.393 256 251.092 74.87c4.686-4.686 4.686-12.284 0-16.971L231.293 38.1c-4.686-4.686-12.284-4.686-16.971 0L4.908 247.515c-4.686 4.686-4.686 12.284 0 16.971L214.322 473.9c4.687 4.686 12.285 4.686 16.971-.001z' fill='white'/%3E%3C/svg%3E");
  border: 1px solid var(--anrt-color-primary);
  color: var(--anrt-color-white);
}

/* Button - upload */
.webform-submission-form .form-item.js-form-type-managed-file input:not(.js-hide):not(.form-checkbox),
.webform-submission-form .form-item.js-form-type-managed-file label.webform-file-button {
  font-family: var(--anrt-font-primary);
  padding: 0.75rem 1.25rem;
  background-color: var(--anrt-color-tertiary);
  color: var(--anrt-button-color);
  font-weight: 500;
  font-size: var(--anrt-font-size-default);
  text-decoration: none;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--anrt-color-tertiary);
  gap: 0.5rem;
  cursor: pointer;
  border-radius: .5rem;
  background-repeat: no-repeat;
  background-size: 0.6875rem 1.375rem;
  background-position: 0.75rem;
  padding-left: calc(0.75rem + 0.6875rem + var(--anrt-spacing-050));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3C!-- Font Awesome Pro 5.15.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) --%3E%3Cpath d='M35.5 279.9l148-148.4c4.7-4.7 12.3-4.7 17 0l148 148.4c4.7 4.7 4.7 12.3 0 17l-19.6 19.6c-4.8 4.8-12.5 4.7-17.1-.2L218 219.2V468c0 6.6-5.4 12-12 12h-28c-6.6 0-12-5.4-12-12V219.2l-93.7 97.1c-4.7 4.8-12.4 4.9-17.1.2l-19.6-19.6c-4.8-4.7-4.8-12.3-.1-17zM12 84h360c6.6 0 12-5.4 12-12V44c0-6.6-5.4-12-12-12H12C5.4 32 0 37.4 0 44v28c0 6.6 5.4 12 12 12z' fill='white'/%3E%3C/svg%3E");
}

.webform-submission-form .form-item.js-form-type-managed-file input:not(.js-hide):not(.form-checkbox):is(:hover, :focus),
.webform-submission-form .form-item.js-form-type-managed-file label.webform-file-button:is(:hover, :focus) {
  background-color: var(--anrt-color-white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3C!-- Font Awesome Pro 5.15.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) --%3E%3Cpath d='M35.5 279.9l148-148.4c4.7-4.7 12.3-4.7 17 0l148 148.4c4.7 4.7 4.7 12.3 0 17l-19.6 19.6c-4.8 4.8-12.5 4.7-17.1-.2L218 219.2V468c0 6.6-5.4 12-12 12h-28c-6.6 0-12-5.4-12-12V219.2l-93.7 97.1c-4.7 4.8-12.4 4.9-17.1.2l-19.6-19.6c-4.8-4.7-4.8-12.3-.1-17zM12 84h360c6.6 0 12-5.4 12-12V44c0-6.6-5.4-12-12-12H12C5.4 32 0 37.4 0 44v28c0 6.6 5.4 12 12 12z' fill='%23706F70'/%3E%3C/svg%3E");
  color: var(--anrt-color-tertiary);
}

/* Button - submit */
.webform-submission-form .form-actions .webform-button--submit {
  background-color: var(--anrt-color-primary);
  background-image: url("data:image/svg+xml,%3Csvg width='1792' height='1792' viewBox='0 0 1792 1792' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z' fill='white'/%3E%3C/svg%3E");
  border: 1px solid var(--anrt-color-primary);
  color: var(--anrt-color-white);

}

.webform-submission-form .form-actions .webform-button--submit:is(:hover, :focus) {
  background-color: var(--anrt-color-white);
  background-image: url("data:image/svg+xml,%3Csvg width='1792' height='1792' viewBox='0 0 1792 1792' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z' fill='%2323498D'/%3E%3C/svg%3E");
  border: 1px solid var(--anrt-color-primary);
  color: var(--anrt-color-primary);
}

/* Container */
.webform-submission-form .webform-container-type-fieldset,
.webform-submission-form .webform-type-fieldset {
  margin-bottom: var(--anrt-spacing-100);
  padding: 0;
  border: 0;
}

.webform-submission-form .webform-container-type-fieldset>legend,
.webform-submission-form .webform-type-fieldset>legend {
  margin: 0 0 var(--anrt-spacing-100);
  padding: 0;
  color: var(--anrt-color-primary);
  font-size: var(--anrt-font-size-h3);
  font-weight: 700;
  line-height: 2.25rem;
}

.webform-submission-form .webform-container-type-details {
  margin-bottom: 5.0625rem;
}

.webform-submission-form .webform-container-type-details>summary {
  margin-bottom: var(--anrt-spacing-100);
  color: var(--anrt-color-primary);
  font-size: var(--anrt-font-size-h2);
  font-weight: 700;
  line-height: 3rem;
}

.webform-submission-form .webform-container-type-details .form-item label {
  font-weight: 700;
}

.webform-submission-form .webform-container-type-details .webform-container-type-fieldset {
  margin-bottom: 0;
}

.webform-submission-form .form-item.webform-section {
  margin-bottom: 0;
}

/*  Extras */
.form-item-whose-data-are-you-requesting>label {
  color: var(--anrt-color-black);
}

.webform-submission-form .webform-options-display-side-by-side {
  flex-direction: row;
  display: flex;
  gap: var(--anrt-spacing-050);
  flex-wrap: wrap;
}

.webform-submission-form .webform-options-display-side-by-side>div {
  width: auto;
}

.webform-submission-form .form-item.js-form-type-webform-markup {
  display: block;
}

.webform-submission-form .webform-section .form-item {
  padding-right: var(--anrt-spacing-200);
  padding-left: 0;
}

.webform-submission-form textarea {
  vertical-align: top;
}

.webform-submission-form .form-actions>*:only-child {
  margin-left: auto;
}
