.unbranded * {
    /* Use the universal selector and !important to *ALWAYS OVERRIDE* GDS Transport */
    font-family: "HelveticaNeue", "Helvetica Neue", "Arial", "Helvetica", sans-serif !important;
}


#footer {
    border: 0;
    background: white;
}


#global-header {
    background-color: #005EB8;
}

#global-header .header-wrapper {
    background-color: #005EB8;
}

#global-header #logo {
    float: left;
    overflow: visible;
    color: white;
    font-weight: bold;
    font-size: 24px;
    line-height: 1;
    text-decoration: none;
    text-rendering: optimizeLegibility;
    border-bottom: 1px solid transparent;
    background: url(../images/nhsi-logo-resized.png) no-repeat;
    background-size: 113px 51px;
    background-color: #005EB8;
    background-position: 0 0;
}

/* Global header bar */
#global-header-bar {
    height: 10px;
    background-color: #003087;
}

.phase-banner {
    max-width: 960px;
    margin: auto;
}

#global-header .header-proposition {
    padding-top: 10px !important;
    background-color: #005EB8;
}


ul.chosen-choices {
    background-image: url('../images/chosenarrow.png') !important;
    background-repeat: no-repeat;
    background-position: 99% 50%;
    padding-right: 5% !important;
}

.chosen-container-single .chosen-single {
    background: none !important;
    background-color: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
}

#footer {
    background-color: #e7eced;
    color: #425563;
    font-size: 14px;
    padding: 10px 0 50px 0;
    border-top: 0;
}

#footer .footer-wrapper {
    background-color: #e7eced;
    padding-top: 10px;
}

#footer a {
    text-decoration: underline;
    color: #425563;
}

#footer p {
    color: #425563;
}

#footer .footer-meta {
    padding-bottom: 10px;
    font-size: 14px;
}

.social {
    position: relative;
    top: 1px;
    padding-bottom: 10px;
    display: inline-block;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    vertical-align: top;
    -webkit-font-smoothing: antialiased;
}

html {
    background-color: #e7eced;
}

.flat-menu {
    position: relative;
    top: 1px;
    display: inline-block;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    vertical-align: top;
    -webkit-font-smoothing: antialiased;
}

.fa-padded {
    padding: 0 20px 0 0;
}

.menu-padded {
    padding: 0 12px 0 0;
}

.top-padded {
    padding-top: 20px;
}

a.button {
    margin-top: 20px;
}

#proposition-links li {
    border-bottom: none !important;
    list-style: none !important;
}

@media (min-width: 769px) {
    .govuk-check-your-answers {
        display: table;
    }
}

.govuk-check-your-answers > * {
    position: relative;
    border-bottom: 1px solid #bfc1c3;
}

@media (min-width: 769px) {
    .govuk-check-your-answers > * {
        display: table-row;
        border-bottom-width: 0;
    }
}

.govuk-check-your-answers > * > * {
    display: block;
}

@media (min-width: 769px) {
    .govuk-check-your-answers > * > * {
        display: table-cell;
        padding: 0.63158em 1.05263em 0.47368em 0;
        margin: 0;
    }
}

@media (min-width: 769px) {
    .govuk-check-your-answers > *:first-child > * {
        padding-top: 0;
    }
}

.govuk-check-your-answers .cya-question {
    font-weight: bold;
    margin: 0.63158em 4em 0.21053em 0;
}

.govuk-check-your-answers > *:first-child .cya-question {
    margin-top: 0;
}

@media (min-width: 769px) {
    .govuk-check-your-answers.cya-questions-short, .govuk-check-your-answers.cya-questions-long {
        width: 100%;
    }

    .govuk-check-your-answers.cya-questions-short .cya-question {
        width: 30%;
    }

    .govuk-check-your-answers.cya-questions-long .cya-question {
        width: 50%;
    }
}

@media (min-width: 769px) {
    .pull-right {
        float: right;
    }
}

.logged-in {
    display: inline-flex;
    float: right;
    font-size: 16px;
    margin-top: 15px;
    margin-bottom: 15px;
}

@media (min-width: 641px) {
    .logged-in {
        font-size: 16px;
        line-height: 1.25;
    }
}

.govuk-check-your-answers .cya-answer {
    padding-bottom: 0.47368em;
}

.govuk-check-your-answers .cya-change {
    text-align: right;
    position: absolute;
    top: 0;
    right: 0;
}

@media (min-width: 769px) {
    .govuk-check-your-answers .cya-change {
        position: static;
        padding-right: 0;
    }
}

.check-your-answers td {
    font-family: "nta", Arial, sans-serif;
    font-weight: 400;
    text-transform: none;
    font-size: 16px;
    line-height: 1.25;
    vertical-align: top;
}

@media (min-width: 641px) {
    .check-your-answers td {
        font-size: 19px;
        line-height: 1.31579;
    }
}

.check-your-answers .change-answer {
    text-align: right;
    font-weight: bold;
    padding-right: 0;
}

@media (min-width: 769px) {
    .govuk-check-your-answers > *:last-child > * {
        padding-top: 0;
        border-bottom: 1px solid #bfc1c3;
    }
}

.accept-button {
    background-color: #00823b;
    position: relative;
    display: -moz-inline-stack;
    display: inline-block;
    padding: .526315em .789473em .263157em;
    border: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    outline: 1px solid transparent;
    outline-offset: -1px;
    -webkit-appearance: none;
    -webkit-box-shadow: 0 2px 0 #003618;
    -moz-box-shadow: 0 2px 0 #003618;
    box-shadow: 0 2px 0 #003618;
    font-size: 1em;
    line-height: 1.25;
    text-decoration: none;
    -webkit-font-smoothing: antialiased;
    cursor: pointer;
    color: #fff;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    vertical-align: top;
    text-align: center;
}

.pi-text {
    background-color: #FFAFCD;
}

.pi-textarea {
    resize: none;
}

.govuk-check-your-answers .cya-change a {
    color: #005ea5;
    text-decoration: underline;
}

.cya-change a:hover {
    cursor: pointer;
    color: #2b8cc4;
    text-decoration: underline;
}

.popover-body {
    font-size: 1.5em !important;
}

.form-control {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: "nta", Arial, sans-serif;
    font-weight: 400;
    text-transform: none;
    font-size: 16px;
    line-height: 1.25;
    width: 50%;
    padding: 5px 4px 4px;
    border: 2px solid #0b0c0c;
}

@media (min-width: 641px) {
    .form-control {
        font-size: 19px;
        line-height: 1.31579;
    }
}

@media (min-width: 641px) {
    .form-control {
        width: 50%;
    }
}

input.form-control,
textarea.form-control {
    -webkit-appearance: none;
    border-radius: 0;
}

textarea.form-control {
    opacity: 1;
    background-image: none;
}

.form-control-3-4 {
    width: 100%;
}

@media (min-width: 641px) {
    .form-control-3-4 {
        width: 75%;
    }
}

.form-control-2-3 {
    width: 100%;
}

@media (min-width: 641px) {
    .form-control-2-3 {
        width: 66.66%;
    }
}

.form-control-1-2 {
    width: 100%;
}

@media (min-width: 641px) {
    .form-control-1-2 {
        width: 50%;
    }
}

.form-control-1-3 {
    width: 100%;
}

@media (min-width: 641px) {
    .form-control-1-3 {
        width: 33.33%;
    }
}

.form-control-1-4 {
    width: 100%;
}

@media (min-width: 641px) {
    .form-control-1-4 {
        width: 25%;
    }
}

.form-control-1-8 {
    width: 100%;
}

@media (min-width: 641px) {
    .form-control-1-8 {
        width: 12.5%;
    }
}


.review-table, .retrieved-table {
    float: right;
    display: inline-flex;
}

.showed-records {
    float: right;
    text-align: right
}

.showed-records div {
    margin-top: 5px;
}

.showed-records select {
    width: auto;
    margin-left: 5px;
}

.review-table li, .retrieved-table li {
    display: inline-block;
    padding: 5px;
}

#review-records {
    width: 140%;
    margin-left: -20%;
}

.form-label {
    color: #0b0c0c;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.09375;
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
}

.no-border {
    border: none !important;
}

.section-space {
    margin-top: 5% !important;
}

.light-button {
    -webkit-font-smoothing: antialiased;
    font-weight: 400;
    box-sizing: border-box;
    display: inline-block;
    position: relative;
    margin-top: 0;
    margin-right: 0;
    margin-left: 0;
    padding: 8px 10px 7px;
    border: 2px solid transparent;
    border-radius: 0;
    text-align: center;
    vertical-align: top;
    cursor: pointer;
    -webkit-appearance: none;
    font-size: 1em;
    line-height: 1.15;
    margin-bottom: 32px;
    width: auto;
    background-color: #f3f2f1;
    box-shadow: 0 2px 0 #929191;
    color: #0b0c0c;
}

a.light-button {
    text-decoration: none;
}

@media (max-width: 640px) {
    .light-button {
        width: 100%;
        text-align: center;
    }
}

.light-button:before {
    content: "";
    display: block;
    position: absolute;
    top: -2px;
    right: -2px;
    bottom: -4px;
    left: -2px;
    background: transparent;
}

.light-button:hover {
    background-color: #dbdad9;
    color: #0b0c0c;
}

.page-link {
    padding: 5px 3px !important;
}

.current-page {
    padding: 5px;
}

.sort-header {
    all: unset;
    cursor: pointer;
}

.table-summary {
    margin: 0 0 20px;
}

.harm-summary {
    float: left;
}

.button-export{
   float:right;
   margin-bottom:25px
}

.button-export-summary-area {
    margin-top:23px;
}
.button-export-csv,
.button-export-summary-csv{
    width:170px
  }

.filters-buttons {
    text-align: right;
}

.button-expand-filters {
    padding: 10px 10px 9px;
    font-size: 1em;
    line-height: 1.15;
}

.current-filters-box {
    background-color: #eee;
    padding: 20px;
    margin: 20px 0 20px;
}

.free-text-filter-box {
    background-color: #eee;
    padding: 15px;
    margin: 15px 0 20px;
}

.current-filters {
    background-color: white;
    padding: 15px 20px;
    margin: 0 0 20px;
    border: 3px solid #000;
}

.current-filters-header h3 {
    float: left;
}

.current-filters-header a {
    float: right;
}

.current-filters-summary {
    clear: both;
    margin-top: 20px;
}

.edit-filters-button {
    background-color: #fff;
    margin: 0 20px 0 0;
}

.edit-filters-button:link {
    color: #000;
}

.edit-filters-button:visited {
    color: #000;
}

.edit-filters-button:focus {
    background-color: #fff;
    color: #000 !important;
}

.unset-margin-bottom {
    margin-bottom: 0;
}

.unset-margin {
    margin: 0;
}

.current-filters-header {
    font-size: 1.12em;
}

.current-filter {
    display: inline-block;
    font-size: 0.85em;
    padding: 5px 7px;
    background-color: #eee;
    margin: 5px;
    margin-right: 10px;
    border-radius: 5%;
}

.current-filter-free-text, .current-filter-free-text:disabled {
    resize: none;
    background-color: #fff;
    border: 2px solid #000;
    width: 75%;
    color: #000;
}

.exclude-text-filter {
    margin-top: 15px;
}

.current-filter-operator {
    display: inline-block;
    font-size: 0.85em;
    padding: 5px 0;
    margin: 5px 0 5px 2px;
}

.filters-type {
    margin-top: 10px;
    margin-bottom: 5px;
}

.remove-filter {
    cursor: pointer;
    margin-left: 10px;
    color: #a3a3a3;
}

.preparing-screen {
    margin: 30px 0;
}

#global-header .header-proposition #proposition-menu {
    margin-top: 30px;
}

#global-header .nhs-logo {
    margin: 25px;
    width: 113px;
    height: 51px;
}


.search_button, .search_button::after, .search_button:focus {
    margin: 0;
    float: left;
}

.validate-reference-number {
    width: 100%;
}

.incident-id {
    width: 100%;
    display: block;
}

.errorlist {
    color: #b10e1e;
    font-weight: bold;
    text-decoration: underline;
    margin-bottom: 10px;
}

.search-by-reference-form {
    margin-top: 40px;
}

.search-by-reference-form input {
    border-color: #ccc;
    border-width: 3px;
    margin-right: 10px;
}

.prefix-input-text {
    float: left;
    margin-top: 8px;
    margin-right: 10px;
    font-weight: bold
}

@media (max-width: 769px) {
    .errorlist {
        margin-bottom: 5px;
    }

    .search_button, .search_button::after, .search_button:focus {
        margin-top: 10px;
        clear: both;
        width: auto;
    }

    .prefix-input-text {
        margin-bottom: 5px;
        margin-right: 10px;
        font-weight: bold
    }
}

.text-hint {
    color: #6f777b;
    margin-bottom: 5px;
}

.bold-text-hint {
    font-weight: bold;
}

.full-width {
    width: 100%;
}

.arrow-expand-logo {
    fill: black;
    stroke: black;
    stroke-width: 1;
    cursor: pointer;
}

.arrow-expand-logo.rotate {
    transform: rotate(180deg);
    transform-origin: 50%;
}

.arrow-box {
    text-align: right;
}

.remove-link-btn {
    background: none !important;
    border: none;
    padding: 0 !important;
    color: #069;
    text-decoration: underline;
    font-size: 18px;
    cursor: pointer;
}

fieldset.deepdive{
  width:95% !important;
}

.filter-form {
    background: #dee0e2;
    padding: 5px 25px;
    position: relative;
}

.reference-number-text{
    float:left;
    margin-right: 10px;
    width:30%
}

p.bold{
    margin: 10px 0 10px 30px;
}

.categorical-filters {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

@media screen and (max-width: 800px) {
    .categorical-filters {
        flex-direction: column;
    }
}

.categorical-filters-form {
    padding-right: 20px;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.categorical-filters-options-item {
    overflow: auto;
    background: #fff;
    border: 3px solid #000;
    padding-right: 20px;
    padding-bottom: 3px;
    /*padding-top: 5px;*/
    padding-left: 20px;
    margin-bottom: 10px;

}

.categorical-filters-options-form .multiple-choice {
    margin-bottom: 10px;
}

.nested-multi-checkbox-choice .multiple-choice {
    margin-bottom: 10px;
}

.categorical-filters-options-item-header {
    display: flex;
    justify-content: space-between;
}

.categorical-filters-options-form {
    overflow: auto;
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    flex: 2;
}

.bottom-buttons {
    text-align: right;
    position: absolute;
    bottom: 20px;
    right: 25px;
}

.bottom-buttons a {
    margin-top: 0 !important;
}

.free-texts-search-box-container {
    display: flex;
    flex-wrap: wrap;
}

.free-text-input-hint{
    margin-top: 5px;
    display: block;
}

.free-texts-search-box-column-labels {
    flex: 1;
}

.free-texts-search-box-column-labels label{
    margin-top: 5px;
    display: block;
}

.free-texts-search-box-column-inputs {
    flex: 3;
}

.grid-container {
    display: inline-grid;
    grid-template-columns: auto 1fr;
    grid-gap: 20px 10px;
    width: 100%;
}

.grid-item {
    margin-top: auto;
    margin-bottom: auto;
    text-align: left;
}

.no-margin-top {
    margin-top: 0;
}

.categorical-filters-options-form h3.heading-medium {
    margin-top: 15px;
    margin-bottom: 15px;
}

.free-text-search-filters h3.heading-medium {
    margin-top: 15px;
}

.input-margin-bottom {
    margin-bottom: 15px;
}

.input-margin-top {
    margin-top: 15px;
}


.filter-form .multiple-choice [type=checkbox] + label::before {
    content: "";
    border: 2px solid;
    background: white;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 0;
    left: 0
}

.filter-form .multiple-choice [type=checkbox] + label::after {
    top: 9px;
    left: 6px;
}

.filter-form .multiple-choice label {
    padding: 5px;
}

#retrieved-records th button {
    position: relative;
}

[aria-sort] button:before {
    content: " \25bc";
    position: absolute;
    right: -15px;
    top: 12px;
    font-size: 0.5em;
}

[aria-sort] button:after {
    content: " \25b2";
    position: absolute;
    right: -15px;
    top: 3px;
    font-size: 0.5em;
}

[aria-sort="ascending"] button:before,
[aria-sort="descending"] button:before {
    content: none;
}

[aria-sort="ascending"] button:after {
    content: " \25b2";
    font-size: .8em;
    position: absolute;
    right: -18px;
    top: 4px;
}

[aria-sort="descending"] button:after {
    content: " \25bc";
    font-size: .8em;
    position: absolute;
    right: -18px;
    top: 4px;
}

.search-reference {
    font-weight: bold;
    font-size: 24px;
    margin-top: 40px;
}

.retrieved-table-data-search {
    float: left;
}

.retrieved-table-data-search li {
    display: inline-block;
    padding: 0 5px 0 !important;
}

.retrieved-table-data-search .current-page {
    display: inline-block;
    padding: 0 5px 0 !important;
}

#page_size_form {
    margin-top: 5px;
}


@media (min-width: 769px) {
    #global-header.with-proposition .header-wrapper .header-proposition #proposition-name {
        margin-left: 10%;
    }
}


.navbar-list {
    font-size: 0;
    list-style: none;
    padding: 6px 6px;
}

.navbar-item {
    font-size: 20px;
    box-shadow: inset 0 -1px 0 #b1b4b6;
    margin-top: -1px;
    color: #1d70b8;
    display: inline-block;
}

.navbar-item + .navbar-item {
    margin-left: 10px;
}

.navbar-sub-navigation-link {
    border: none;
    background-color: white;
    color: #1d70b8;
    text-align: center;
    font-weight: bold;
}

.navbar-sub-navigation-link:hover {
    text-decoration: underline;
}

.navbar-sub-navigation-link:active {
    color: #0b0c0c;
    background-color: #ffdd00;
}


.link-current {
    border: none;
    background-color: white;
    color: #1d70b8;
    text-align: center;
    font-weight: bold;
    border-bottom: 4px solid #1d70b8;
    text-decoration: none;
}

.link-navbar {
    text-decoration: none;
    margin: unset;
}

.no-filters-applied{
    font-size: 15px;
    font-style: italic;
    margin: auto;
    padding: 0 100px;
    text-align: center;
}

.table-search-results__cell{
    vertical-align: top;
}
.table-search-results__cell.description{
    position: relative;
    padding-left: 20px;
}

.truncated-description{
    cursor: pointer;
}

.truncated-description:before {
    content: "";
    position: absolute;
    top: 17px;
    left: 0;
    margin: auto;
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-color: transparent;
    -webkit-clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
    clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
    border-width: 7px 0 7px 12.124px;
    border-left-color: inherit;
    color: black;
}

.truncated-description.open:before {
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-color: transparent;
    -webkit-clip-path: polygon(0% 0%, 50% 100%, 100% 0%);
    clip-path: polygon(0% 0%, 50% 100%, 100% 0%);
    border-width: 12.124px 7px 0 7px;
    border-top-color: inherit;
}

.deletebutton {
    -webkit-font-smoothing: antialiased;
    font-weight: 400;
    box-sizing: border-box;
    display: inline-block;
    position: relative;
    margin-top: 0;
    margin-right: 0;
    margin-left: 0;
    padding: 8px 10px 7px;
    border: 2px solid transparent;
    border-radius: 0;
    text-align: center;
    vertical-align: top;
    cursor: pointer;
    -webkit-appearance: none;
    font-size: 1em;
    line-height: 1.15;
    margin-bottom: 32px;
    width: auto;
    background-color: #b22222;
    box-shadow: 0 2px 0 #929191;
    color: white;
  }
  @media (max-width: 640px) {
    .deletebutton {
        width: 100%;
        text-align: center;
    }
}

.deletebutton:before {
    content: "";
    display: block;
    position: absolute;
    top: -2px;
    right: -2px;
    bottom: -4px;
    left: -2px;
    background: transparent;
}

.deletebutton:hover {
    background-color: #dbdad9;
    color: #0b0c0c;
}

.saved-notes-free-text, .saved-notes-free-text:disabled {
    resize: none;
    background-color: #fff;
    border: 2px solid #000;
    width: 99%;
    color: #000;
}

.error-savesearch {
    border: 0px solid #b10e1e;
}

.search-bar-button {
    box-shadow: none;
    background-image: url("../images/icon-search.png");
    width: 5% !important;
    height: 40px;
    background-repeat: no-repeat;
    background-position: center;
}

.accordion-toggle {
    display: block;
    text-decoration: none;
    background-image: url("../images/accordion-arrow.png");
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 34px 68px;
    background-position: -5px 0px;
    padding-left: 30px;
    height: 30px;
}

.accordion-toggle:focus {
    background-color: transparent;
    outline: 0px;
}

.arrow_up {
    background-position: -2px -39px; /* -4 / -39 */
}

.accordion-content {
    display: none;
    margin: 20px 0px;
}

.accordion-content.active {
    display: block;
}

.accordion-content > select {
  width: 90%;
}


.reference-number-text{
    float:left;
    margin-right: 10px;
    width:30%
}
p.bold{
    margin: 10px 0 10px 30px;
}

fieldset.deepdive{
  width:95% !important;
}

.incident-id-search-button {
    display: inline-block;
}

.operator-header {
    display: inline-block;
    font-weight: bold;
    text-decoration: underline
}

.guidance {
    float:bottom;
}

.supporting-text {
    font-weight: bold;
    margin-left: 5%;
    margin-top: 0px;
    margin-bottom: 0px;
}

.hr-deleted-reference{
     width: 147px;
    margin: 10px 0px 10px 1px !important;
}