@import url("https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  /* NSW GOVT CSS VARS */

  /* "brand colours" */
  --nsw-brand-dark: #002664;
  --nsw-brand-light: #cbedfd;
  --nsw-brand-supplementary: #146cfd;
  --nsw-brand-accent: #d7153a;

  /* "grey colours" */
  --nsw-palette-black: #000;
  --nsw-palette-grey-01: #22272b;
  --nsw-palette-grey-02: #495054;
  --nsw-palette-grey-03: #cdd3d6;
  --nsw-palette-grey-04: #ebebeb;
  --nsw-palette-off-white: #f2f2f2;
  --nsw-palette-white: #fff;

  /* "text colours" */
  --nsw-text-dark: #22272b;
  --nsw-text-light: #fff;
  --nsw-focus: #0085b3;
  --nsw-text-hover-bg: rgba(0, 133, 179, 0.2);
  --nsw-text-link-hover: rgba(0, 38, 100, 0.1);
  --nsw-text-visited: #551a8b;

  /* "status colours" */
  --nsw-status-info-blue: #2e5299;
  --nsw-status-info-blue-bg: #eaedf4;
  --nsw-status-success-green: #00a908;
  --nsw-status-success-green-bg: #e5f6e6;
  --nsw-status-warning-orange: #dc5800;
  --nsw-status-warning-orange-bg: #fbeee5;
  --nsw-status-error-red: #b81237;
  --nsw-status-error-red-bg: #f7e7eb;

  /* Font */
  --nsw-font-family: "Public Sans", sans-serif;
  --nsw-font-size: 16px;
  --nsw-line-height: 1.5;
  --nsw-font-normal: 400;
  --nsw-font-bold: 700;
  --nsw-font-size-xxs-mobile: 0.75rem;
  --nsw-font-size-xxs-desktop: 0.75rem;
  --nsw-line-height-xxs-mobile: 1.5;
  --nsw-line-height-xxs-desktop: 1.5;
  --nsw-font-size-xs-mobile: 0.875rem;
  --nsw-font-size-xs-desktop: 0.875rem;
  --nsw-line-height-xs-mobile: 1.35;
  --nsw-line-height-xs-desktop: 1.35;
  --nsw-font-size-sm-mobile: 1rem;
  --nsw-font-size-sm-desktop: 1rem;
  --nsw-line-height-sm-mobile: 1.5;
  --nsw-line-height-sm-desktop: 1.5;
  --nsw-font-size-md-mobile: 1.125rem;
  --nsw-font-size-md-desktop: 1.25rem;
  --nsw-line-height-md-mobile: 1.33;
  --nsw-line-height-md-desktop: 1.4;
  --nsw-font-size-lg-mobile: 1.375rem;
  --nsw-font-size-lg-desktop: 1.5rem;
  --nsw-line-height-lg-mobile: 1.25;
  --nsw-line-height-lg-desktop: 1.33;
  --nsw-font-size-xl-mobile: 1.75rem;
  --nsw-font-size-xl-desktop: 2rem;
  --nsw-line-height-xl-mobile: 1.25;
  --nsw-line-height-xl-desktop: 1.25;
  --nsw-font-size-xxl-mobile: 2.25rem;
  --nsw-font-size-xxl-desktop: 3rem;
  --nsw-line-height-xxl-mobile: 1.25;
  --nsw-line-height-xxl-desktop: 1.25;

  /* Borders */
  --nsw-border-radius: 0.25rem;

  /* Shadows */
  --nsw-box-shadow: 0 0.25rem 0.75rem 0 rgba(var(--nsw-black-rgb), 0.15);

  /* Maximum width of container */
  --nsw-container-width: 75rem;
}

html,
body {
  font-family: "Public Sans", sans-serif;
  color: var(--nsw-text-dark);
  line-height: 125%;
  overflow-wrap: anywhere;
}

body,
button,
input,
optgroup,
select,
textarea {
  font-family:
    "Public Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif,
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Segoe UI Symbol";
  line-height: 125%;
}

strong {
  font-weight: 600 !important;
}

.material-icons {
  /* stylelint-disable-line font-family-no-missing-generic-family-keyword */
  font-family: "Material Icons";
}

.title.is-1 {
  font-size: 3rem;
  line-height: 125% !important;
}

.title.is-2 {
  font-size: 2rem;
  line-height: 125% !important;
}

.custom-section-header > .ob-section .ob-hint-text,
.title.is-3 {
  font-size: 1.5rem;
  line-height: 133% !important;
}

.title.is-4 {
  font-size: 1.25rem;
  line-height: 140% !important;
}

.title.is-5 {
  font-size: 1rem;
  line-height: 150% !important;
}

.custom-section-header > .ob-section .ob-hint-text,
.title {
  font-weight: 700 !important;
  color: var(--nsw-text-dark) !important;
}

.has-text-danger.ob-error__text {
  max-width: max-content;
  padding: 6px 8px 6px 32px;
  font-size: 14px;
  font-weight: 600;
  line-height: 125%;
  color: var(--nsw-text-dark) !important;
  background-color: var(--nsw-status-error-red-bg);
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='17' viewBox='0 0 16 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 0.5C3.6 0.5 0 4.1 0 8.5C0 12.9 3.6 16.5 8 16.5C12.4 16.5 16 12.9 16 8.5C16 4.1 12.4 0.5 8 0.5ZM11.9188 11.3L10.8 12.4188L8 9.61875L5.2 12.4188L4.08125 11.3L6.88125 8.5L4.08125 5.7L5.2 4.58125L8 7.38125L10.8 4.58125L11.9188 5.7L9.11875 8.5L11.9188 11.3Z' fill='%23B81237'/%3E%3C/svg%3E%0A");
  background-repeat: no-repeat;
  background-position: 8px center;
}

.ob-repeatable-set .ob-repeatable-set__container {
  padding: 24px 24px 24px 16px;
  border-left: 6px solid var(--nsw-brand-dark);
}

.ob-repeatable-set.even > .ob-repeatable-set__container {
  background-color: var(--nsw-palette-off-white);
}

/* only show left border on non-nested repeatable sets */
.ob-repeatable-set .ob-repeatable-set__container .ob-repeatable-set .ob-repeatable-set__container {
  border-left-color: transparent;
}

.ob-repeatable-set .ob-repeatable-set__container > .ob-button_remove {
  position: relative !important;
  top: -24px !important;
  right: -24px !important;
  float: right;
  min-height: 40px !important;
  max-height: 40px !important;
  border-radius: 0 !important;
  background-color: var(--nsw-brand-dark) !important;
  color: var(--nsw-text-light) !important;
}

.ql-editor * {
  line-height: 130%;
}

.ob-information__content.ql-editor > ol {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.ob-information__content.ql-editor :not(.ob-lookup__notification *) {
  color: var(--nsw-text-dark) !important;
}

.ob-information__content.ql-editor .ob-lookup__notification * {
  color: var(--nsw-text-dark);
}

.ob-information__content.ql-editor a {
  color: var(--nsw-brand-dark) !important;
  text-decoration: underline;
  font-weight: 700;
}

.ql-editor .ql-size-large {
  font-size: 1.5em;
  line-height: 125%;
}

.has-text-grey-light {
  color: var(--nsw-status-info-blue) !important;
}

.button {
  all: unset;
  font-weight: 600;
  line-height: 125%;
  height: auto;
  padding: 0 1rem;
  text-align: center;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid var(--nsw-brand-dark) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 44px;
  min-width: 77px;
  gap: 0.5rem;
}

/* Submit Button Colour */
button.ob-button-submit {
  background: var(--nsw-brand-dark) !important;
  border: 2px solid var(--nsw-brand-dark) !important;
  border-radius: 4px !important;
  color: var(--nsw-text-light) !important;
}

/* Cancel Button Colour */
.ob-button-submit-cancel {
  background: var(--nsw-status-error-red) !important;
  border: 2px solid var(--nsw-status-error-red) !important;
  border-radius: 4px !important;
  color: var(--nsw-text-light) !important;
}

.cypress-copy-to-clipboard-button {
  display: none;
}

.button.is-light {
  background-color: var(--nsw-palette-white);
  color: var(--nsw-brand-dark);
}

.button .icon:not(:first-child),
.button .icon:first-child:not(:last-child) {
  margin-left: 0;
  margin-right: 0;
}

.button .icon:last-child:not(:first-child) {
  margin-left: 0;
  margin-right: 0;
}

.button.is-success:not(.ob-button-submit) {
  border-color: var(--nsw-status-success-green) !important;
  background-color: var(--nsw-status-success-green) !important;
}

.modal-card {
  border-radius: 4px;
  width: 675px;
}

.modal-background,
.modal-background-faded {
  background-color: var(--nsw-brand-dark);
  opacity: 90%;
}

.modal-card-head {
  padding: 2.5rem 2.5rem 0;
}

.modal-card-body {
  padding: 1rem 2.5rem;
}

.modal-card-title {
  font-weight: 600;
  font-size: 32px;
  line-height: 125%;
  color: var(--nsw-text-dark);
}

.modal-card-foot {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(20%, 1fr));
  gap: 1rem;
  padding: 2.5rem;
}

.modal-card-foot .button:not(:last-child) {
  margin-right: 0;
  grid-column-start: 3;
  background-color: var(--nsw-brand-light) !important;
  border-color: var(--nsw-brand-light) !important;
  color: var(--nsw-text-dark) !important;
}

.steps .steps-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.steps-action:first-child {
  justify-self: start;
}

.steps-action:last-child {
  justify-self: end;
}

.steps-action:last-child > .button.is-light {
  background-color: var(--nsw-brand-dark) !important;
  color: var(--nsw-text-light) !important;
}

.steps .steps-actions .steps-action {
  margin: 0;
}

.steps-action .button.is-light[disabled] {
  display: none;
}

.ob-label__required::after {
  color: var(--nsw-status-error-red);
  content: " *";
  font-weight: 700;
}

.has-text-danger {
  color: var(--nsw-status-error-red) !important;
}

button.button.ob-files__menu-button {
  min-width: auto;
  min-height: auto;
  padding: 0;
  background-color: var(--nsw-palette-white);
  border: 1px solid var(--nsw-palette-grey-01) !important;
  border-radius: 4px !important;
}

.label:not(:last-child) {
  margin-bottom: 1rem;
}

[data-ob-name="trackingCode"],
[data-ob-name*="hidden"] {
  display: none;
}

[data-ob-name*="asterisk"] .ob-heading__text::after {
  content: " \2731";
  color: var(--nsw-status-error-red);
}

.ob-information__content.ql-editor span.fa-info-panel__tracking-code {
  margin-bottom: 0;
  font-size: 3rem;
  line-height: 1;
  padding: 1rem 1rem 1rem 0;
  font-weight: 800;
  color: var(--nsw-brand-dark) !important;
}

[data-ob-name="trackingCode__receipt"] .ob-information__content > div {
  display: flex;
  flex-direction: column;
}

.button.is-primary.ob-lookup__button {
  min-height: 36px;
  border-radius: 0 4px 4px 0;
}

.button.is-primary {
  background-color: var(--nsw-brand-dark) !important;
}

.fa-form-receipt > label {
  margin-bottom: 0.5rem;
  padding-left: 1rem;
}

.fa-page-body {
  align-self: center;
  width: 100%;
  max-width: var(--nsw-container-width);
}

@media only screen and (max-width: 575px) {
  .fa-page-body__content {
    margin: 1rem auto 0;
    flex: 1 1 auto;
    display: flex;
    max-width: 100%;
    padding: 0 1rem;
  }
}

@media only screen and (max-width: 575px) {
  .buttons.ob-buttons.ob-buttons-submit {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button.ob-button.is-light.ob-button-submit-cancel {
    margin-right: 0;
  }

  .button.ob-button.is-primary.ob-button-save-draft {
    margin-right: 0;
  }
}

@media only screen and (max-width: 767px) {
  .header-button .ob-customisable-button-inner {
    font-size: 0.8rem;
  }
}

[data-ob-name="__receiptPageInfo"],
[data-ob-name="__helpDialogInfo"],
[data-ob-name="__receiptLinkInfo"],
[data-ob-name="__linkToRestart"],
[data-ob-name="__receiptContactInfo"] {
  display: none;
}

/* Save for later button Styling */
.fa-save-draft-button {
  background-color: var(--nsw-brand-light) !important;
  color: var(--nsw-text-dark);
}

.ob-input-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.fa-info-panel__receipt-message {
  background-color: var(--nsw-palette-off-white);
}

/* Download PDF Button */
.fa-download-pdf {
  padding-left: 1rem;
}

.fa-activity-draft-receipt .fa-download-pdf {
  padding-left: 0;
}

.fa-email-pdf__input {
  padding-left: 1rem;
}

.ob-customisable-button-inner {
  align-items: flex-end;
}

/* Reusable element */
[data-ob-name$="__repeat"] {
  background-color: var(--nsw-palette-off-white);
  border-color: var(--nsw-palette-off-white);
  box-shadow: none;
  color: var(--nsw-palette-grey-02);
  border-radius: 4px;
  width: 100%;
  appearance: none;
  align-items: center;
  border: 1px solid transparent;
  display: inline-flex;
  font-size: 1rem;
  height: 2.5em;
  justify-content: flex-start;
  line-height: 1.5;
  padding: calc(0.5em - 1px) calc(0.75em - 1px);
  position: relative;
  vertical-align: top;
}

/* Reusable element */
[data-ob-name$="__repeatheading"] {
  margin-bottom: 1rem !important;

  /* Had to use important as renderer overwriting */
}

/* Save Draft */
.button.ob-button.is-primary.ob-button-save-draft {
  background: var(--nsw-brand-light) !important;
  border: 2px solid var(--nsw-brand-light) !important;
  border-radius: 4px;
  color: var(--nsw-text-dark);
}

.MuiSvgIcon-root {
  font-size: 2rem;
}

.ob-checkbox__input {
  border: 2px solid var(--nsw-brand-dark);
  border-radius: 4px;
}

.ob-checkbox__input-label > .ob-checkbox__input.ob-checkbox__input-checked,
.ob-checkbox__input-label > .ob-checkbox__input.ob-radio__input-checked,
.ob-checkbox__input-label > .ob-radio__input.ob-checkbox__input-checked,
.ob-checkbox__input-label > .ob-radio__input.ob-radio__input-checked,
.ob-radio__input-label > .ob-checkbox__input.ob-checkbox__input-checked,
.ob-radio__input-label > .ob-checkbox__input.ob-radio__input-checked,
.ob-radio__input-label > .ob-radio__input.ob-checkbox__input-checked,
.ob-radio__input-label > .ob-radio__input.ob-radio__input-checked {
  color: var(--nsw-brand-dark);
}

.MuiCheckbox-root {
  color: transparent;
}

.steps .step-item.is-completed .step-marker {
  background-color: var(--nsw-brand-dark);
}

.steps .step-item::before {
  background: var(--nsw-brand-dark);
}

.steps .step-item.is-active .step-marker {
  border-color: var(--nsw-brand-dark);
  color: var(--nsw-brand-dark);
}

/* Warning */
[data-ob-name*="__warning"] {
  display: flex;
  padding: 1.5rem 1.5rem 1.5rem 1rem;
  background-color: var(--nsw-status-warning-orange-bg);
  border-left: 4px solid var(--nsw-status-warning-orange);
}

[data-ob-name*="__warning"]::before {
  /* stylelint-disable-line font-family-no-missing-generic-family-keyword */
  font-family: "Material Icons";
  color: var(--nsw-status-warning-orange);
  content: "error";
  font-size: 1.875rem;
  margin-right: 1rem;
  margin-top: -0.3rem;
  line-height: initial;
}

/* Error */
[data-ob-name*="__error"] {
  display: flex;
  padding: 1.5rem 1.5rem 1.5rem 1rem;
  background-color: var(--nsw-status-error-red-bg);
  border-left: 4px solid var(--nsw-status-error-red);
}

[data-ob-name*="__error"]::before {
  /* stylelint-disable-line font-family-no-missing-generic-family-keyword */
  font-family: "Material Icons";
  color: var(--nsw-status-error-red);
  content: "cancel";
  font-size: 1.875rem;
  margin-right: 1rem;
  margin-top: -0.3rem;
  line-height: initial;
}

/* Info */
[data-ob-name*="__info"] {
  display: flex;
  padding: 1.5rem 1.5rem 1.5rem 1rem;
  background-color: var(--nsw-status-info-blue-bg);
  border-left: 4px solid var(--nsw-status-info-blue);
}

[data-ob-name*="__info"]::before {
  /* stylelint-disable-line font-family-no-missing-generic-family-keyword */
  font-family: "Material Icons";
  color: var(--nsw-status-info-blue);
  content: "info";
  font-size: 1.875rem;
  margin-right: 1rem;
  margin-top: -0.3rem;
  line-height: initial;
}

/* Success */
[data-ob-name*="__success"] {
  display: flex;
  padding: 1.5rem 1.5rem 1.5rem 1rem;
  background-color: var(--nsw-status-success-green-bg) !important;
  border-left: 4px solid var(--nsw-status-success-green);
}

[data-ob-name*="__success"]::before {
  font-family: "Material Icons";
  color: var(--nsw-status-success-green);
  content: "check_circle";
  font-size: 1.875rem;
  margin-right: 1rem;
  margin-top: -0.3rem;
  line-height: initial;
}

[data-ob-name*="__warning"] .ob-information,
[data-ob-name*="__error"] .ob-information,
[data-ob-name*="__info"] .ob-information,
[data-ob-name*="__success"] .ob-information {
  line-height: 1.5rem;
}

[data-ob-name*="__warning"] .ob-information strong,
[data-ob-name*="__error"] .ob-information strong,
[data-ob-name*="__info"] .ob-information strong,
[data-ob-name*="__success"] .ob-information strong {
  font-weight: 700 !important;
}

/* Save for later remove from Cancel */
.cypress-cancel-confirm-save-draft {
  display: none;
}

.order-summary-table {
  width: 100%;
  border: 2px solid var(--nsw-palette-grey-03);
  border-radius: 6px;
}

.order-summary-table__item {
  display: flex;
  flex-direction: row;
  font-size: 22px;
  font-weight: 800;
  padding: 12px;
}

.order-summary-table__item:not(:last-child) {
  border-bottom: 2px solid var(--nsw-palette-grey-03);
}

.order-summary-table-item__label {
  display: flex;
  flex-grow: 1;
  font-size: 1rem;

  /* Summary box font */
}

.order-summary-table-item__quantity {
  width: 32px;
  text-align: right;
  font-size: 1rem;

  /* summary Box font */
}

/* Animals Form F remove margin-bottom so switch is close */
[data-ob-name$="commonAndScientificNameOfExhibitedAnimal"] {
  margin-bottom: 0 !important;
}

[data-ob-name$="commonAndScientificNameOfExhibitedAnimal__readonly"] {
  margin-bottom: 0 !important;
}

[data-ob-name$="commonAndScientificNameOfExhibitedAnimal__readonly"] .input {
  background-color: var(--nsw-palette-white);
  border-color: var(--nsw-palette-off-white);
  border-radius: 4px;
  color: var(--nsw-text-dark);
}

[data-ob-name="Counter"] .ob-information__content.ql-editor > p {
  font-size: 1rem;
  font-weight: 700;
  color: var(--nsw-brand-dark) !important;
}

/* Hide Submit Button FormF first value is Form Description */
.EAFormF2 .ob-form__page-1 .button.is-success {
  display: none;
}

/* Hide Submit Button Biosecurity Concern */
.BioReport2 .ob-form__page-1 .button.is-success {
  display: none;
}

/* Hide Submit Button NSW Food Notification */
.OLNotify2 .ob-form__page-2 .button.is-success {
  display: none;
}

/* Hide Submit Button NSW Food Notification */
.activity-report-form .ob-form__page-2 .button.is-success {
  display: none;
}

/* Fix the width on the receipt page */
.fa-form-receipt {
  margin: 0;
  max-width: 100%;
}

/* Fix the width on the information elements */
.cypress-html-element {
  width: 100%;
}

.ob-information {
  padding-right: 1rem;
}

[data-ob-name="retirementOfExistingMemberDetails"],
[data-ob-name="newMemberDetails"] {
  margin-top: 2.2rem;
}

/* licencing pricing lookup */
[data-ob-name="pricingLookup"] .ob-label__container,
[data-ob-name="pricingLookup"] .is-expanded,
[data-ob-name="pricingLookup"] .ob-lookup__button > span,
[data-ob-name="pricingLookup"] .ob-lookup__button > i {
  display: none;
}

[data-ob-name="pricingLookup"] .ob-lookup__button {
  border-radius: 4px !important;
}

[data-ob-name="pricingLookup"] .ob-lookup__button::before {
  content: "Calculate charges";
}

/* licencing pricing table */
.fa-charges-table {
  width: 100%;
}

.fa-charges-table__row:nth-child(even) {
  background-color: var(--nsw-palette-off-white);
}

.fa-charges-table td {
  padding: 6px;
}

.fa-charges-table__header {
  font-weight: bold;
  border-bottom: 2px solid var(--nsw-brand-dark);
}

.fa-charges-table__facility-total-row,
.fa-charges-table__total-payable-row,
.fa-charges-table__order-items-row {
  font-weight: bold;
  border-top: 2px solid var(--nsw-brand-dark);
  background-color: var(--nsw-palette-white) !important;
}

.fa-charges-table__facility-total-row td {
  padding-bottom: 12px;
}

.fa-charges-table__footer {
  margin-top: 1rem;
}

/* Vet Dec form */
.CTROMVETDEC .ob-button-submit-cancel {
  display: none;
}

[data-ob-name="totalPayableGreaterThanZero"] img {
  height: 50px;
}

[data-cypress-element-name="copyFixedPremise"] .ob-label {
  display: none;
}

/* ABN Element start */
.ob-abn .field.has-addons {
  border: 1px solid var(--nsw-palette-grey-03);
  border-radius: 4px;
}

.ob-abn .input.ob-input {
  border: none;
}

.ob-abn .input.ob-input:focus {
  border: 1px solid var(--nsw-focus);
  height: 100%;
}

.ob-abn .field.has-addons .control .input:not([disabled]):hover,
.ob-abn .field.has-addons .control .input:not([disabled]):active,
.ob-abn .field.has-addons .control .input:not([disabled]):focus {
  z-index: 0;
}

/* ABN Element end */

.ob-section__header {
  justify-content: flex-end;
  margin-top: 15px;
  padding-left: 0 !important;
}

/* Exhibited Animals START */

/* Hide Submit Button on page 2 */
.EA2022 .ob-form__page-2 .button.is-success {
  display: none;
}

.EA2022 [data-ob-name="companyId"] {
  display: none;
}

/* Remove Arrows/Spinners */

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  appearance: textfield;
}

[data-ob-name="nonPrescribedSpecies"] .has-text-danger.ob-error__text,
[data-ob-name="prescribedSpecies"] .has-text-danger.ob-error__text,
[data-ob-name="newSpecies"] .has-text-danger.ob-error__text {
  padding: 6px;
  background-image: none;
  width: auto;
}

[data-ob-name="nonPrescribedSpecies"] .ob-repeatable-set__container,
[data-ob-name="prescribedSpecies"] .ob-repeatable-set__container,
[data-ob-name="newSpecies"] .ob-repeatable-set__container {
  display: grid;
  gap: 0.5em;
  margin: 0;
  padding: 0.5rem;
  grid-template-columns: 4fr 2fr 2fr 2fr 2fr 2fr 1fr;
}

[data-ob-name="newSpecies"] .ob-repeatable-set__container {
  display: grid;
  gap: 0.5em;
  margin: 0;
  padding: 0.5rem;
  grid-template-columns: 40px 4fr 2fr 2fr 2fr 2fr 2fr 1fr;
}

[data-ob-name="newSpecies"] .button.ob-button.ob-button__add.is-primary.cypress-add-repeatable-set {
  margin-top: 1rem;
}

[data-ob-name="newSpecies"] .ob-repeatable-set .ob-repeatable-set__container > .ob-button_remove {
  position: unset !important;
  top: 0 !important;
  right: 0 !important;
  min-height: 40px !important;
  max-height: 40px !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  color: var(--nsw-brand-dark) !important;
  align-self: end;
  border: none !important;
}

[data-ob-name="nonPrescribedSpecies"] .ob-repeatable-set__container > div,
[data-ob-name="prescribedSpecies"] .ob-repeatable-set__container > div,
[data-ob-name="newSpecies"] .ob-repeatable-set__container > div {
  margin-bottom: 0;
}

[data-ob-name="nonPrescribedSpecies"] .button,
[data-ob-name="prescribedSpecies"] .button {
  display: none;
}

[data-ob-name="nonPrescribedSpecies"],
[data-ob-name="prescribedSpecies"],
[data-ob-name="newSpecies"] {
  width: 80vw;
  position: relative;
  left: calc(-40vw + 50%);
}

[data-ob-name="nonPrescribedSpecies"] .ob-form__element.ob-repeatable-set.even .ob-repeatable-set__container:nth-child(n + 5) .label.ob-label__container,
[data-ob-name="prescribedSpecies"] .ob-form__element.ob-repeatable-set.even .ob-repeatable-set__container:nth-child(n + 5) .label.ob-label__container,
[data-ob-name="newSpecies"] .ob-form__element.ob-repeatable-set.even .ob-repeatable-set__container:nth-child(n + 5) .label.ob-label__container {
  display: none;
}

[data-ob-name="nonPrescribedSpecies"] [data-ob-name="total"],
[data-ob-name="prescribedSpecies"] [data-ob-name="total"],
[data-ob-name="newSpecies"] [data-ob-name="total"] {
  align-self: end;
  padding-bottom: 0.5rem;
}

.hidden {
  display: none;
}

/* hide repeatable set actions */
.hide-repeatable-set-actions > div > .ob-repeatable-set .ob-repeatable-set__container > .ob-button_remove {
  display: none;
}

.hide-repeatable-set-actions > div > .ob-repeatable-set > .ob-button__add {
  display: none;
}

/* hide label */
.hide-label > .cypress-repeatable-set-element > .ob-repeatable-set > .ob-label__container:nth-child(1) {
  display: none;
}

.hide-label .ob-label__container .ob-label__container {
  display: block;
}

.hide-label > div > .ob-repeatable-set .ob-repeatable-set__container {
  padding-top: 0;
}

/* hide error */
.hide-error .alert {
  display: none;
}

.pricing-lookup button:first-of-type {
  background-color: var(--nsw-palette-white) !important;
  color: var(--nsw-brand-dark) !important;
  border-bottom-left-radius: 4px !important;
  border-top-left-radius: 4px !important;
  padding-top: 4px;
  padding-bottom: 4px;
}

.pricing-lookup button span,
.pricing-lookup input:first-of-type,
.pricing-lookup .control.is-expanded {
  display: none;
}

.pricing-lookup button span:nth-child(3) {
  display: block;
}

.ea-future-costs {
  margin-bottom: 1rem !important;
}

.ea-future-costs ul {
  padding-left: 0;
}

.ea-future-costs li {
  padding-left: 0.75rem !important;
}

/* Warning */
.info-warning {
  display: flex;
  padding: 1.5rem 1.5rem 1.5rem 1rem;
  background-color: var(--nsw-status-warning-orange-bg);
  border-left: 4px solid var(--nsw-status-warning-orange);
}

.info-warning::before {
  font-family: "Material Icons";
  /* stylelint-disable-line font-family-no-missing-generic-family-keyword */
  color: var(--nsw-status-warning-orange);
  content: "error";
  font-size: 1.875rem;
  margin-right: 1rem;
  margin-top: -0.3rem;
  line-height: initial;
}

/* Error */
.info-error {
  display: flex;
  padding: 1.5rem 1.5rem 1.5rem 1rem;
  background-color: var(--nsw-status-error-red-bg);
  border-left: 4px solid var(--nsw-status-error-red);
}

.info-error::before {
  font-family: "Material Icons";
  /* stylelint-disable-line font-family-no-missing-generic-family-keyword */
  color: var(--nsw-status-error-red);
  content: "cancel";
  font-size: 1.875rem;
  margin-right: 1rem;
  margin-top: -0.3rem;
  line-height: initial;
}

/* Info */
.info-info {
  display: flex;
  padding: 1.5rem 1.5rem 1.5rem 1rem;
  background-color: var(--nsw-status-info-blue-bg);
  border-left: 4px solid var(--nsw-status-info-blue);
}

.info-info::before {
  font-family: "Material Icons";
  /* stylelint-disable-line font-family-no-missing-generic-family-keyword */
  color: var(--nsw-status-info-blue);
  content: "info";
  font-size: 1.875rem;
  margin-right: 1rem;
  margin-top: -0.3rem;
  line-height: initial;
}

/* Success */
.info-success {
  display: flex;
  padding: 1.5rem 1.5rem 1.5rem 1rem;
  background-color: var(--nsw-status-success-green-bg);
  border-left: 4px solid var(--nsw-status-success-green);
}

.info-success::before {
  font-family: "Material Icons";
  color: var(--nsw-status-success-green);
  content: "check_circle";
  font-size: 1.875rem;
  margin-right: 1rem;
  margin-top: -0.3rem;
  line-height: initial;
}

.info-success .ob-information,
.info-warning .ob-information,
.info-error .ob-information,
.info-info .ob-information {
  line-height: 1.5rem;
}

.info-warning .ob-information strong,
.info-error .ob-information strong,
.info-info .ob-information strong,
.info-success .ob-information strong {
  font-weight: 700 !important;
}

.info-slim {
  border-left: 0;
  padding: 0.5rem;
  font-size: 0.875rem;
}

.info-slim::before {
  font-size: 1.25rem;
  margin-right: 0.5rem;
  margin-top: 0;
}

.custom-section-header > .ob-section > .ob-section__header > .title {
  display: none;
}

.custom-section-header > .ob-section > .ob-section__header {
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: nowrap;
}

/* Repeatable Set Label */
.h2 > div > div > div > label {
  font-size: 2rem;
  line-height: 125% !important;
  font-weight: 700 !important;
  color: var(--nsw-text-dark) !important;
}

.h3 > div > div > div > label {
  font-size: 1.5rem;
  line-height: 125% !important;
  font-weight: 700 !important;
  color: var(--nsw-text-dark) !important;
}

/* Specific for Form F */
[data-ob-name="Selected_FormF"] {
  padding-top: 2.25rem;
}

[data-ob-name="Animals_Disposed_Unknown"] .ob-repeatable-set__container {
  display: grid;
  gap: 0.5em;
  margin-bottom: 1.25rem;

  /* padding: 0.5em; */
  grid-template-columns: 5fr 5fr;
}

[data-ob-name="Animals_Disposed"] .ob-repeatable-set__container {
  display: grid;
  gap: 0.5em;
  margin-bottom: 1.25rem;

  /* padding: 0.5em; */
  grid-template-columns: 5fr 5fr 5fr;
}

.animals-repeatable-set .ob-repeatable-set__container {
  display: grid;
  gap: 0.5em;
  margin: 0;

  /* padding: 0.5em; */
  grid-template-columns: 4fr 4fr 4fr;
}

[data-ob-name="Current_Animals"] .ob-repeatable-set .ob-repeatable-set__container > .ob-button_remove,
[data-ob-name="Acquire_Animals"] .ob-repeatable-set .ob-repeatable-set__container > .ob-button_remove,
[data-ob-name="Dispose_Animals"] .ob-repeatable-set .ob-repeatable-set__container > .ob-button_remove,
[data-ob-name="Animals_Disposed"] .ob-repeatable-set .ob-repeatable-set__container > .ob-button_remove {
  display: none;
}

[data-ob-name="Animals_Disposed"] .button.ob-button.ob-button__add.is-primary.cypress-add-repeatable-set {
  display: none;
}

[data-ob-name="Current_Animals"] .ob-repeatable-set__container > div,
[data-ob-name="Acquire_Animals"] .ob-repeatable-set__container > div,
[data-ob-name="Dispose_Animals"] .ob-repeatable-set__container > div,
[data-ob-name="Animals_Disposed"] .ob-repeatable-set__container > div,
[data-ob-name="Animals_Disposed_Unknown"] .ob-repeatable-set__container > div {
  margin-bottom: 0;
}

[data-ob-name="Animals_Disposed_Unknown"] .ob-repeatable-set .ob-repeatable-set__container > .ob-button_remove {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  min-height: 40px !important;
  max-height: 40px !important;
  border-radius: 0 !important;
}

/* end of Form F */

/* New Table Standard (e.g. Movement Permit Validation) */
@media screen and (max-width: 575px) {
  [class~="ob-information__content"] table {
    width: 100%;
  }

  [class~="ob-information__content"] table tr {
    display: grid;
    grid-template-columns: 1fr;
    word-break: break-word;
    margin-bottom: 1em;
  }

  [class~="ob-information__content"] thead,
  [class~="ob-information__content"] th {
    font-weight: bold;
  }
}

@media screen and (min-width: 575px) {
  [class~="ob-information__content"] table tr {
    padding: 0.5em;
    gap: 0.5em;

    /* white-space: nowrap; */
    word-break: break-word;
    vertical-align: top !important;
    margin-bottom: 1em;
  }

  [class~="ob-information__content"] thead,
  [class~="ob-information__content"] th {
    font-weight: bold;
    padding: 0.25em 0.75em 0.25em 0;
  }

  [class~="ob-information__content"] td {
    padding: 0.25em 0.75em 0.25em 0;
  }
}

/****
** Link Hover
****/

a:hover {
  background-color: var(--nsw-text-link-hover);
  outline: 2px solid var(--nsw-text-link-hover);
}

/** Spinner **/
.on-loading {
  border-top-color: var(--nsw-brand-accent);
}

.ob-button-submit.hide-submit-button,
.ob-button-submit-cancel.hide-cancel-button,
.ob-button-save-draft.hide-draft-button {
  display: none;
}

.ob-checkbox__input-label > .ob-checkbox__input,
.ob-checkbox__input-label > .ob-radio__input,
.ob-radio__input-label > .ob-checkbox__input,
.ob-radio__input-label > .ob-radio__input {
  padding: 0;
  margin-left: 0;
}

.ob-radio__input-label,
.ob-checkbox__input-label {
  margin-bottom: 0.75rem;
}

.ob-max-length__text {
  min-width: max-content;
  margin-left: 1rem;
}

.no-margin-top {
  margin-top: unset !important;
}

.margin-top {
  margin-top: 1rem;
}

.ob-label {
  font-weight: var(--nsw-font-bold);
}

.hide-menu-button .fa-hamburger-container {
  display: none;
}

[data-ob-name="triggerEquipmentLookup"] {
  margin-bottom: 0 !important;
}

[data-ob-name="triggerEquipmentLookup"] .ob-form__element {
  display: none;
}

[data-ob-name="triggerEquipmentLookup"] .is-looking-up {
  margin-bottom: 2.5rem !important;
}

/* Hide Submit Button EAO */
.OLEAApp01 .ob-form__page-4 .button.is-success {
  display: none;
}
