.govuk-checkboxes__item * {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}
.govuk-checkboxes__item *:before,
.govuk-checkboxes__item *:after {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}

.input-prefix-tag {
  height: 2.5rem;
  margin-top: 0;
  padding: 5px;
  border: 2px solid #0b0c0c;
  min-width: 3rem;
  text-align: center;
  background-color: #1d70b8;
  border-right: none;
  color: white;
}

.input-suffix-tag {
  height: 2.5rem;
  margin-top: 0;
  padding: 5px;
  border: 2px solid #0b0c0c;
  min-width: 3rem;
  text-align: center;
  background-color: #1d70b8;
  border-left: none;
  color: white;
}

.govuk-input:disabled, .govuk-textarea:disabled, .form-control:disabled, .form-control[readonly] {
  background-color: #e9ecef;
  opacity: 1;
}

@media screen and (max-width: 639px) {
  #reorder {
    display: none;
  }
  table.res-datagrid thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  table.res-datagrid tr {
    display: block;
  }
  table.res-datagrid td {
    display: block;
    width: 100%;
  }
  table.res-datagrid td::before {
    content: attr(data-label);
  }
  table.res-datagrid td:last-child {
    border-bottom: 10px;
  }
}
.govuk-details {
  margin-bottom: 0 !important;
}
.govuk-details__summary {
  font-weight: 400 !important;
}
.govuk-details__summary-text, .govuk-details__summary:hover .govuk-details__summary-text {
  text-decoration: none;
}

.formio-component-datagrid > [ref=messageContainer],
.formio-component-editgrid > [ref=messageContainer],
.formio-component-datamap > [ref=messageContainer],
.formio-component-panel > [ref=messageContainer],
.formio-component-container > [ref=messageContainer],
.formio-component-fieldset > [ref=messageContainer] {
  display: none;
}

.formio-hidden {
  display: none !important;
}

.small-button {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

.govuk-form-input--error {
  border: 2px solid var(--govuk-error-colour, #ca3535) !important;
}
.govuk-form-input--error:focus {
  border-color: var(--govuk-input-border-colour, #0b0c0c) !important;
  box-shadow: none !important;
}

.dataGrid-hr {
  border-bottom: 2px solid #1d70b8;
  border-top: none;
}

.datagrid-tbody {
  overflow-x: hidden;
  overflow-x: clip;
}
.datagrid-tbody [ref=nested-fieldset] {
  margin-left: 1px;
}

.gov-accordion-no-bottom {
  border-bottom: none !important;
}

@media (min-width: 20em) {
  .js-enabled .govuk-tabs__panel--hidden {
    display: none;
  }
}

@media (max-width: 768px) {
  .custom-table {
    display: block;
    overflow-y: scroll;
    max-height: 400px;
    overflow-x: auto;
    white-space: nowrap;
  }
}

.custom-th {
  position: sticky;
  top: 0;
  background: #ffffff;
}

.custom-body {
  height: 100px;
  overflow-y: auto;
  overflow-x: hidden;
}

.govuk-select.auto-height {
  height: auto;
}

.govuk-form-group--error .govuk-form-group {
  overflow: visible;
}

.govuk-checkboxes__item .govuk-checkboxes__input:disabled + .govuk-checkboxes__label,
.govuk-radios__item .govuk-radios__input:disabled + .govuk-radios__label {
  opacity: 1;
  color: #505a5f;
}
.govuk-checkboxes__item .govuk-checkboxes__input:disabled + .govuk-checkboxes__label::before,
.govuk-radios__item .govuk-radios__input:disabled + .govuk-radios__label::before {
  opacity: 0.5;
}

.govuk-checkboxes__item .govuk-checkboxes__input:disabled:checked + .govuk-checkboxes__label::after,
.govuk-radios__item .govuk-radios__input:disabled:checked + .govuk-radios__label::after {
  opacity: 0.5;
}

.formio-component-signature .signature-pad-footer {
  color: #505a5f;
}

.formio-component-editgrid .editRow,
.formio-component-editgrid .removeRow {
  min-width: 44px;
  min-height: 44px;
  margin: 0 5px 5px 0;
  cursor: pointer;
}

/*# sourceMappingURL=template.css.map */
