.govuk-header {
    background: #1d70b8;
}

.govuk-header__container {
    margin-bottom: 0;
    border-bottom: none;
}

.crmEntityFormView, .entitylist, .crmEntityFormView .actions {
	border: none !important;
}

.crmEntityFormView .tab-title {
  display: none;
}

#InsertButton, #UpdateButton {
    font-family: GDS Transport, arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.1875;
    box-sizing: border-box;
    display: inline-block;
    position: relative;
    width: 100%;
    margin: 0 0 22px;
    padding: 8px 10px 7px;
    border: 2px solid transparent;
    border-radius: 0;
    color: #fff;
    background-color: #00703c;
    box-shadow: 0 2px 0 #002d18;
    text-align: center;
    vertical-align: top;
    cursor: pointer;
    -webkit-appearance: none
}

@media print {
    #InsertButton, #UpdateButton {
        font-family: sans-serif
    }
}

@media (min-width:40.0625em) {
    #InsertButton, #UpdateButton {
        font-size: 1.1875rem;
        line-height: 1
    }
}

@media print {
    #InsertButton, #UpdateButton {
        font-size: 14pt;
        line-height: 19px
    }
}

@media (min-width:40.0625em) {
    #InsertButton, #UpdateButton {
        margin-bottom: 32px;
        width: auto
    }
}

#InsertButton:active,
#InsertButton:hover,
#InsertButton:link,
#InsertButton:visited,
#UpdateButton:active,
#UpdateButton:hover,
#UpdateButton:link,
#UpdateButton:visited {
    color: #fff;
    text-decoration: none
}

#InsertButton::-moz-focus-inner,
#UpdateButton::-moz-focus-inner {
    padding: 0;
    border: 0
}

#InsertButton:hover,
#UpdateButton:hover {
    background-color: #005a30
}

#InsertButton:active,
#UpdateButton:active {
    top: 2px
}

#InsertButton:focus,
#UpdateButton:focus {
    border-color: #fd0;
    outline: 3px solid transparent;
    box-shadow: inset 0 0 0 1px #fd0
}

#InsertButton:focus:not(:active):not(:hover),
#UpdateButton:focus:not(:active):not(:hover) {
    border-color: #fd0;
    color: #0b0c0c;
    background-color: #fd0;
    box-shadow: 0 2px 0 #0b0c0c
}

#InsertButton:before,
#UpdateButton:before {
    content: "";
    display: block;
    position: absolute;
    top: -2px;
    right: -2px;
    bottom: -4px;
    left: -2px;
    background: transparent
}

#InsertButton:active:before,
#UpdateButton:active:before {
    top: -4px
}

#InsertButton[disabled],
#UpdateButton[disabled] {
    opacity: .5
}

#InsertButton[disabled]:hover,
#UpdateButton[disabled]:hover {
    background-color: #00703c;
    cursor: not-allowed
}

#InsertButton[disabled]:active,
#UpdateButton[disabled]:active {
    top: 0;
    box-shadow: 0 2px 0 #002d18
}

a:not(.btn):hover {
    text-decoration: none !important;
}

.govuk-footer__copyright-logo:before {
    background-image: url(https://www.gov.uk/assets/frontend/govuk-crest-9f82a3631d8ac5feb4660345a2b44ca98f077b48248f2cc139a0f412355bebef.svg);
}

@supports ((-webkit-mask-position:initial) or (mask-position:initial)) {
    .govuk-footer__copyright-logo:before {
        -webkit-mask-image: url(https://www.gov.uk/assets/frontend/govuk-crest-9f82a3631d8ac5feb4660345a2b44ca98f077b48248f2cc139a0f412355bebef.svg);
        mask-image: url(https://www.gov.uk/assets/frontend/govuk-crest-9f82a3631d8ac5feb4660345a2b44ca98f077b48248f2cc139a0f412355bebef.svg);
    }
}

.crmEntityFormView .cell {
    padding: 0 0 20px;
}

input.form-control {
    border: 2px solid #0b0c0c;
}

input.form-control {
    font-family: GDS Transport, arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.25;
    box-sizing: border-box;
    width: 100%;
    height: 2.5rem;
    margin-top: 0;
    padding: 5px;
    border: 2px solid #0b0c0c;
    border-radius: 0;
    -webkit-appearance: none;
    appearance: none
}

@media print {
    input.form-control {
        font-family: sans-serif
    }
}

@media (min-width:40.0625em) {
    input.form-control {
        font-size: 1.1875rem;
        line-height: 1.3157894737
    }
}

@media print {
    input.form-control {
        font-size: 14pt;
        line-height: 1.15
    }
}

.form-control:focus {
    outline: 3px solid #fd0;
    outline-offset: 0;
    box-shadow: inset 0 0 0 2px
}

.form-control:disabled {
    opacity: .5;
    color: inherit;
    background-color: transparent;
    cursor: not-allowed
}

textarea.form-control {
    font-family: GDS Transport, arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.25;
    box-sizing: border-box;
    display: block;
    width: 100%;
    min-height: 40px;
    margin-bottom: 5px;
    padding: 5px;
    resize: vertical;
    border: 2px solid #0b0c0c;
    border-radius: 0;
    -webkit-appearance: none
}

@media print {
    textarea.form-control {
        font-family: sans-serif
    }
}

@media (min-width:40.0625em) {
    textarea.form-control {
        font-size: 1.1875rem;
        line-height: 1.25
    }
}

@media print {
    textarea.form-control {
        font-size: 14pt;
        line-height: 1.25
    }
}

.field-label {
    font-family: GDS Transport, arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.25;
    color: #0b0c0c;
    display: block;
    margin-bottom: 5px
}

@media print {
    .field-label {
        font-family: sans-serif
    }
}

@media (min-width:40.0625em) {
    .field-label {
        font-size: 1.1875rem;
        line-height: 1.3157894737
    }
}

@media print {
    .field-label {
        font-size: 14pt;
        line-height: 1.15;
        color: #000
    }
}

.description {
    font-family: GDS Transport, arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.25;
    margin-bottom: 15px;
    color: #505a5f
}

@media print {
    .description {
        font-family: sans-serif
    }
}

@media (min-width:40.0625em) {
    .description {
        font-size: 1.1875rem;
        line-height: 1.3157894737
    }
}

@media print {
    .description {
        font-size: 14pt;
        line-height: 1.15
    }
}

.section-title h3 {
    color: #0b0c0c;
    font-family: GDS Transport, arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.1111111111;
    display: block;
    margin-top: 0;
    margin-bottom: 15px
}

@media print {
    .section-title h3 {
        color: #000;
        font-family: sans-serif
    }
}

@media (min-width:40.0625em) {
    .section-title h3 {
        font-size: 1.5rem;
        line-height: 1.25
    }
}

@media print {
    .section-title h3 {
        font-size: 18pt;
        line-height: 1.15
    }
}

@media (min-width:40.0625em) {
    .section-title h3 {
        margin-bottom: 20px
    }
}

input.form-control.lookup-heading {
    color: black;
    opacity: 1;
    font-weight: bold;
}


/* Edit grid styling */
.entity-grid thead th a {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
  color: inherit;
}

.entity-grid thead th .fa {
  display: none;
}

.entity-grid tbody td .fa {
  display: none;
}

.entity-grid .dropdown.action > button {
  display: none !important;
}

.entity-grid .dropdown.action .dropdown-menu {
  display: inline-flex !important;
  position: static !important;
  inset: auto !important;
  transform: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  min-width: 0 !important;
}

.entity-grid .dropdown.action .dropdown-menu > li {
  margin: 0;
}

.entity-grid .dropdown.action .dropdown-item {
  display: inline-block !important;
  padding: 0 .5rem !important;
  white-space: nowrap;
}

.entity-grid .dropdown.action .dropdown-item {
  background: transparent !important;
  color: var(--bs-link-color, #0d6efd);
  text-decoration: underline;
  border: 0;
}

.entity-grid .dropdown.action .dropdown-item:hover,
.entity-grid .dropdown.action .dropdown-item:focus,
.entity-grid .dropdown.action .dropdown-item:active {
  background: transparent !important;
  color: var(--bs-link-hover-color, #0a58ca);
  text-decoration: underline;
}

/* Check your Answeers grid styling */
  .govuk-table th:first-child,
  .govuk-table td:first-child {
    width: 1%;
    white-space: nowrap;
  }

.govuk-table__head th.govuk-table__header {
  vertical-align: bottom;
}

.govuk-table__head th:not(:first-child),
.govuk-table__body td:not(:first-child),
.govuk-table__cell--numeric {
  text-align: right;
}


.entity-grid tbody th[scope="row"] {
  font-weight: normal;
}

.govuk-table__body th[scope="row"] {
  font-weight: normal;
}
.govuk-table__body th.govuk-total,
.govuk-table__body td.govuk-total {
  font-weight: 700;
}

.govuk-table__spacer td{
    padding: 0;              
    border: 0;             
    height: 2rem;           
}

.govuk-table__spacer td{
  padding: 0;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  height: 2rem;
  border-top: 1px solid #b1b4b6;
}



.govuk-checkboxes--enhanced .govuk-checkboxes__input {
  width: 28px;
  height: 28px;
  margin-top: 2px;
}

.govuk-checkboxes--enhanced .govuk-checkboxes__label::before {
  width: 28px;
  height: 28px;
  top: 2px;
}

.govuk-checkboxes--enhanced .govuk-checkboxes__label::after {
  top: 10px;
  left: 6px;
  width: 14px;
  height: 7px;
}

.govuk-checkboxes--enhanced .govuk-checkboxes__item {
  min-height: 40px;
}

.govuk-checkboxes--enhanced .govuk-checkboxes__label {
  padding-left: 48px;
  font-size: 1.125rem;
}