/*----      Version 2.0.3        ----------*/
/*--- 1. Structure                  -------*/
/*--- 2. Global Styles              -------*/
/*--- 3. Header & Banner            -------*/
/*--- 4. Nav                        -------*/
/*--- 5. Content                    -------*/
/*--- 6. Footer                     -------*/
/*-----------------------------------------*/
@import url("https://assets.nhs.uk/fonts/nhsuk-fonts-1.3.0.css");
/*--- 1. Structure                  -------*/

body,
html {
    font-family: "Frutiger W01", Arial, sans-serif;
    word-wrap: break-word !important;
    font-weight: 400;
}

html {
    font-size: 62.5%;
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 170px;

    overflow-x: hidden;
    background-color: #f0f4f5;
    font-size: 1.8rem;
    line-height: 2.7rem;
    /*    letter-spacing:0.216rem ;
        word-spacing:0.288rem;*/
}

@media (max-width: 766px) {
    body {
        margin-bottom: 285px;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 15px;
}

::-webkit-scrollbar-track {
    background-color: #fff;
}

/* this colour is the banner colour at 80%*/
::-webkit-scrollbar-thumb {
    background-color: #005eb8cc;
}

/* these are coloured with the banner colour at 60% and a border of the colour above*/
::-webkit-scrollbar-thumb:hover,
::-webkit-scrollbar-thumb:active {
    background-color: #005eb899;
    border: 1px solid #005eb8cc;
}

/*--- 2. Global Styles              -------*/

h1 {
    font-size: 4rem;
    line-height: 6rem;
    /*    letter-spacing: 0.480rem;
        word-spacing: 0.640rem;*/
    font-weight: 600;
}

h2 {
    font-size: 3.6rem;
    line-height: 5.4rem;
    /*    letter-spacing: 0.432rem ;
        word-spacing: 0.576rem;*/
    font-weight: 600;
}

h3 {
    font-size: 3rem;
    line-height: 4.5rem;
    /*    letter-spacing: 0.360rem;
        word-spacing: 0.480rem;*/
    font-weight: 600;
}

h4 {
    font-size: 2.6rem;
    line-height: 3.9rem;
    /*    letter-spacing: 0.312rem;
        word-spacing: 0.416rem;*/
    font-weight: 600;
}

h5 {
    font-size: 2rem;
    line-height: 3rem;
    /*    letter-spacing: 0.240rem;
        word-spacing: 0.320rem;*/
    font-weight: 600;
}

h6 {
    font-size: 1.8rem;
    line-height: 2.7rem;
    /*    letter-spacing: 0.216rem;
        word-spacing: 0.288rem;*/
    font-weight: 600;
}

p {
    margin-bottom: 3.2rem;
}

a {
    color: #005eb8;
    text-decoration: underline;
}

a:focus {
    background-color: #ffb81C;
    box-shadow: 0 0 0 4px #ffb81C;
    color: #212b32 !important;
    outline: 4px solid transparent;
    outline-offset: 4px;
}

a:hover {
    background-color: #ffcd60;
    box-shadow: 0 0 0 4px #ffcd60;
    color: #212b32 !important;
    text-decoration: none;
    outline: 4px solid transparent;
    outline-offset: 4px;
}

a:visited {
    color: #330072;
}

a:active {
    color: #374047;
}

hr {
    margin-top: 20px;
    margin-bottom: 20px;
    width: 100%;
    border: 1px solid #ccc;
}

.strike {
    text-decoration: line-through !important;
    cursor: not-allowed !important;
}

.visually-hidden {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

/*white and grey rows*/
.whiteRow,
.white {
    background-color: #fff;
}

.grey {
    background-color: #f0f4f5;
}

#main .container,
#main .container-fluid {
    padding-top: 40px;
    padding-bottom: 40px;
}

/*--- 3. Header & Banner            -------*/
/*header*/
#NHSLozenge {
    margin: 15px 0;
    float: right;
}

#CHFTLozenge {
    padding-bottom: 10px;
    float: right;
}

#header {
    background: #fff;
}

/*banner*/
#banner {
    background-color: #005EB8;
}

#pageTitle, #pageSubtitle {
    display: inline-block;
    color: #fff;
}

#pageTitle {
    font-size: 4.4rem;
    line-height: 6.6rem;
    /*    letter-spacing: 0.528rem;
        word-spacing: 0.704rem;*/
    margin-top: 1rem;
    margin-bottom: 1rem;
}

#pageSubtitle {
    font-size: 2.2rem;
    line-height: 3.3rem;
    /*    letter-spacing: 0.264rem;
        word-spacing: 0.352rem;*/
    margin-bottom: 1.5rem;
}

#iconSurround {
    position: relative;
    height: 100%;
}

#iconSurround img {
    position: absolute;
    top: 50%;
    margin-top: -60px; /* Move the image back up half its height */
}

@media (max-width: 991px) {
    #iconSurround img {
        margin-top: -60px; /* Move the image back up half its height */
    }
}

@media (max-width: 991px) {
    #iconSurround {
        display: none;
    }
}

/*--- 4. Nav                        -------*/
/*main nav*/
#navigation {
    background: #fff;
}

li.nav-item {
    padding: 5px;
}

.navbar {
    padding: 0;
}

@media (max-width: 767px) {
    li.nav-item {
        padding: 5px 0;
    }

    .nav-link {
        padding: 5px 10px !important;
    }
}

.nav-link {
    text-decoration: none;
}

.navbar-light .navbar-nav .nav-link {
    color: #005eb8;
}

/*sub nav*/
.dropdown-menu {
    border: none;
    border-radius: 0;
    margin: 5px 0 0;
    padding: 0;
    min-width: 100%;
}

.dropdown-menu ul {
    list-style: none;
    padding: 0;
}

.dropdown-item {
    text-decoration: none;
    border-radius: 0 !important;
    font-weight: normal;
    font-size: 1.8rem;
    line-height: 2.7rem;
    /*    letter-spacing: 0.108rem;
        word-spacing: 0.288rem;*/
    margin: 5px 0;
}

.dropdown-item.active,
.dropdown-item:active {
    color: #fff !important;
    text-decoration: none;
    background-color: #005EB8;
}

.nav-pills .nav-link {
    border-radius: 0;
    color: #FFFFFF;
}

.nav-link.active {
    background-color: #005EB8 !important;
    color: #fff !important;
    box-shadow: 0 0 0 5px #005EB8;
}

.nav-pills .nav-link.active:focus, .nav-link:focus {
    box-shadow: 0 0 0 5px #ffb81C;
    background-color: #ffb81C !important;
    color: #212b32 !important;
}

.nav-pills .nav-link.active:hover, .nav-link:hover {
    background-color: #ffcd60 !important;
    box-shadow: 0 0 0 5px #ffcd60 !important;
    color: #212b32 !important;
}

/*contents nav*/
.contents-list {
    margin-bottom: 48px;
}

.contents-list ol,
.contents-list ul {
    list-style: none;
    padding: 0;
}

.contents-list li {
    background: url("data:image/svg+xml,%3Csvg class='nhsuk-icon nhsuk-icon__emdash' xmlns='http://www.w3.org/2000/svg' fill='%23aeb7bd' width='16'6 height='1' aria-hidden='true'%3E%3Cpath d='M0 0h19v1H0z'%3E%3C/path%3E%3C/svg%3E") left 1.2rem no-repeat;
    padding: 0 0 0 32px;
    position: relative;
    margin-bottom: 8px;
}

.nav-pills .show > .nav-link {
    color: #212b32 !important;
    background-color: #005EB8;
}

.navbar-toggler {
    padding: .75rem;
    font-size: 2rem;
    margin: .5rem 0;
}

/*--- 5. Content                    -------*/
#main {
    border-top: solid 2px #f0f4f5;
}

/*icons*/
.cross {
    fill: #da291c;
    cursor: pointer;
}

.chevron-left {
    height: 24px;
    width: 24px;
    margin-top: -4px;
    fill: #005eb8;
}

.nhsuk-icon {
    height: 34px;
    width: 34px;
}

/*Buttons*/
.btn,
.btn:visited {
    background-color: #007f3b;
    color: #ffffff;
    border: 2px solid transparent;
    border-radius: 4px;
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    position: relative;
    text-align: center;
    line-height: 2.7rem;
    vertical-align: top;
    width: auto;
    height: auto;
    padding: 12px 16px;
    margin: .5rem 0 2rem 0;
    font-size: 1.8rem;
    /*    letter-spacing:0.216rem ;
        word-spacing:0.288rem;*/
    font-weight: 600;
    text-decoration: none;
}

a.btn:hover,
.btn,
.btn:visited {
    box-shadow: 0 4px 0 #003317;
}

.btn:hover,
.btn:focus,
.btn:active {
    background-color: #00662f !important;
    color: #fff !important;
    border-color: transparent !important
}

.btn-secondary,
.btn-secondary:visited {
    background-color: #425563;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
    background-color: #384854 !important;
    color: #fff !important;
}

.btn-white,
.btn-white:visited {
    background-color: #fff;
    color: #231f20;
}

.btn-white:hover,
.btn-white:focus,
.btn-white:active {
    background-color: #f2f2f2 !important;
    color: #231f20 !important;
}

.btn:focus {
    box-shadow: 0 0 0 4px #ffb81C;
    outline: 4px solid transparent;
    outline-offset: 4px;
}

.btn:active {
    box-shadow: none;
    top: 4px;
}

.btn-row {
    width: 100%;
    margin-top: 0;
}

/*Icon button sets*/
#solidHeader {
    background-color: #ccc;
    padding: 10px 5px;
    margin-bottom: 0;
    height: 100%;
}

.btn-Col {
    padding: 0 15px 0 0;
}

.btn-icon {
    margin: 0;
    width: 100%;
    height: 100%;
    font-size: 3rem;
    line-height: 4.5rem;
    padding: 10px 5px;
    border-radius: 0;
    box-shadow: none;
}

.btn-action {
    margin: 0;
    width: 5.5rem;
    height: 100%;
    font-size: 2rem;
    line-height: 4.5rem;
    padding: 5px;
    border-radius: 0;
    box-shadow: none;
    border: solid 1px #00662f;
}

@media (max-width: 991px) {
    .btn-Col {
        padding: 0 15px;
        margin-top: 15px;
    }
}

/* Back and skip link */
.back {
    text-decoration: none !important;
    margin-bottom: 2rem !important;
    display: inline-block;
}

.back:hover,
.back:focus {
    color: #212b32;
    text-decoration: underline !important;
}

.back:visited {
    color: #005eb8;
}

.back:hover .chevron-left,
.back:focus .chevron-left {
    fill: #212b32;
}

.skip-link {
    left: -9999px;
    padding: 8px;
    position: absolute;
}

.skip-link:active,
.skip-link:focus {
    left: 16px;
    top: 16px;
    z-index: 2;
}

/*action link*/
.action-link {
    font-size: 2.1rem;
    line-height: 1.55556;
    display: inline-block;
    font-weight: 600;
    padding-left: 42px;
    position: relative;
    text-decoration: none;
    margin-bottom: 2rem;
}

.action-link .arrow-right-circle {
    fill: #007f3b;
    height: 40px;
    left: -3px;
    position: absolute;
    top: -4px;
    width: 40px;
}

.action-link:hover {
    text-decoration: underline;
}

.action-link:focus {
    background-color: #ffcd60;
}

/*breadcrumb*/
.breadcrumb {
    background-color: #fff;
    padding-bottom: 12px;
    padding-top: 12px;
    margin-bottom: 2rem;
}

.breadcrumb ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb li {
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 2.5rem;
    background: url("data:image/svg+xml,%3Csvg class='nhsuk-icon nhsuk-icon__chevron-right' xmlns='http://www.w3.org/2000/svg' fill='%23aeb7bd' height='18' width='18' viewBox='0 0 24 24' aria-hidden='true'%3E%3Cpath d='M15.5 12a1 1 0 0 1-.29.71l-5 5a1 1 0 0 1-1.42-1.42l4.3-4.29-4.3-4.29a1 1 0 0 1 1.42-1.42l5 5a1 1 0 0 1 .29.71z'%3E%3C/path%3E%3C/svg%3E") right -1px top 4px no-repeat;
    display: inline-block;
    margin-bottom: 0;
    padding-left: 3px;
    padding-right: 27px;
}

.breadcrumb li:last-child {
    background: none;
}

.breadcrumbBack {
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 2.5rem;
    background: url("data:image/svg+xml,%3Csvg class='nhsuk-icon nhsuk-icon__chevron-left' xmlns='http://www.w3.org/2000/svg' fill='%23005eb8' height='24' width='24' viewBox='0 0 24 24' aria-hidden='true'%3E%3Cpath d='M8.5 12c0-.3.1-.5.3-.7l5-5c.4-.4 1-.4 1.4 0s.4 1 0 1.4L10.9 12l4.3 4.3c.4.4.4 1 0 1.4s-1 .4-1.4 0l-5-5c-.2-.2-.3-.4-.3-.7z'%3E%3C/path%3E%3C/svg%3E") -8px center no-repeat;
    margin: 0;
    padding-left: 24px;
}

@media (min-width: 767px) {
    .breadcrumbBack {
        display: none;
    }
}

@media (max-width: 766px) {
    .breadcrumb ol {
        display: none;
    }
}


/*-----------forms------*/
/*legends*/
fieldset legend {
    font-weight: 400;
    font-size: 1.8rem;
    line-height: 2.7rem;
    box-sizing: border-box;
    color: #212b32;
    display: table;
    margin-bottom: 8px;
    max-width: 100%;
    overflow: hidden;
    padding: 0;
    white-space: normal;
    /*    letter-spacing:0.216rem ;
        word-spacing:0.288rem;*/
}


label {
    display: block;
}

fieldset {
    margin: 0 0 2rem;
}

.form-group {
    margin-bottom: 2rem;
}

/*generic form*/
.form-check {
    font-weight: 400;
    font-size: 1.8rem;
    line-height: 2.7rem;
    clear: left;
    display: block;
    margin-bottom: 8px;
    min-height: 40px;
    padding: 0 0 0 40px;
    position: relative;
    /*    letter-spacing:0.216rem ;
        word-spacing:0.288rem;*/
}

.form-check input {
    cursor: pointer;
    height: 40px;
    left: 0;
    margin: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    width: 40px;
    z-index: 1;
}

.form-check label {
    font-weight: 400;
    font-size: 1.8rem;
    line-height: 2.7rem;
    display: block;
    margin-bottom: 4px;
    /*    letter-spacing:0.216rem ;
        word-spacing:0.288rem;*/
}

legend {
    font-size: 1.8rem;
    line-height: 2.7rem;
    font-weight: 600;
    /*    letter-spacing:0.216rem ;
        word-spacing:0.288rem;*/
}

/*checkboxes and radios*/
.checkbox input,
.radio input {
    cursor: pointer;
    height: 40px;
    left: 0;
    margin: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    width: 40px;
    z-index: 1;
}

.checkbox label,
.radio label {
    -ms-touch-action: manipulation;
    cursor: pointer;
    display: inline-block;
    margin-bottom: 0;
    padding: 8px 12px 4px;
    touch-action: manipulation;
}

/*checkboxes - the box*/
.checkbox input + label::before {
    background: #fff;
    border: 2px solid #425563;
    box-sizing: border-box;
    content: '';
    height: 40px;
    left: 0;
    position: absolute;
    top: 0;
    width: 40px;
}

.checkbox input:focus + label::before {
    box-shadow: 0 0 0 4px #ffb81C;
    outline: 4px solid transparent;
    outline-offset: 4px;
}

/*checkboxes - the tick*/
.checkbox input:checked + label::after {
    opacity: 1;
}

.checkbox input + label::after {
    -ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    background: transparent;
    border: solid;
    border-top-color: transparent;
    border-width: 0 0 4px 4px;
    content: '';
    height: 10px;
    left: 10px;
    opacity: 0;
    position: absolute;
    top: 13px;
    transform: rotate(-45deg);
    width: 22px;
}

/*radios - the circle*/
.radio input + label::before {
    background: #fff;
    border: 2px solid #425563;
    border-radius: 50%;
    box-sizing: border-box;
    content: '';
    height: 40px;
    left: 0;
    position: absolute;
    top: 0;
    width: 40px;
}

.radio input:focus + label::before {
    box-shadow: 0 0 0 5px #ffb81C;
    outline: 4px solid transparent;
    outline-offset: 4px;
}

/*radios - the check*/
.radio input:checked + label::after {
    opacity: 1;
}

.radio input + label::after {
    background: #425563;
    border: 10px solid #212b32;
    border-radius: 50%;
    content: '';
    height: 0;
    left: 10px;
    opacity: 0;
    position: absolute;
    top: 10px;
    width: 0;
}

/*checkboxes and radios - disabled field*/
.checkbox input:disabled,
.checkbox input:disabled + label,
.radio input:disabled,
.radio input:disabled + label {
    cursor: not-allowed;
}

.checkbox input:disabled + label::before,
.radio input:disabled + label::before {
    background: #E8EDEE;
    border: 2px solid #6c757d;
}

.form-check input:disabled + label {
    color: #6c757d;
}

/*radio scale*/
@media (min-width: 1200px) {
    .radio-scale-5 .radio input + label::before,
    .radio-scale-5 .radio input {
        left: 40%;
    }

    .radio-scale-5 .radio input + label::after {
        left: calc(40% + 10px);
    }

    .radio-scale-4 .radio input + label::before,
    .radio-scale-4 .radio input {
        left: 42%;
    }

    .radio-scale-4 .radio input + label::after {
        left: calc(42% + 10px);
    }

    .radio-scale-3 .radio input + label::before,
    .radio-scale-3 .radio input {
        left: 45%;
    }

    .radio-scale-3 .radio input + label::after {
        left: calc(45% + 10px);
    }
}

@media (min-width: 991px) {
    .radio-scale-5 .radio input + label::before,
    .radio-scale-5 .radio input {
        left: 38%;
    }

    .radio-scale-5 .radio input + label::after {
        left: calc(38% + 10px);
    }

    .radio-scale-4 .radio input + label::before,
    .radio-scale-4 .radio input {
        left: 40%;
    }

    .radio-scale-4 .radio input + label::after {
        left: calc(40% + 10px);
    }

    .radio-scale-3 .radio input + label::before,
    .radio-scale-3 .radio input {
        left: 43%;
    }

    .radio-scale-3 .radio input + label::after {
        left: calc(43% + 10px);
    }
}

@media (min-width: 768px) {
    .radio-scale .form-check {
        padding: 0;
    }

    .radio-scale .radio {
        display: inline-block;
        text-align: center;
        vertical-align: top;
    }

    .radio-scale .radio label {
        padding: 8px 0 4px;
    }

    .radio-scale .radio input {
        display: block;
        position: relative;
        top: 0;
    }

    .radio-scale:before {
        content: '';
        position: relative;
        top: 20px;
        display: block;
        background-color: #000;
        height: 4px;
    }

    .radio-scale-3 .radio {
        width: 32%;
    }

    .radio-scale-4 .radio {
        width: 24%;
    }

    .radio-scale-5 .radio {
        width: 18%;
    }

    .radio-scale-3:before {
        left: 15%;
        width: 65%;
    }

    .radio-scale-4:before {
        left: 11%;
        width: 75%;
    }

    .radio-scale-5:before {
        left: 9%;
        width: 76%;
    }

    .radio-scale-5 .radio input + label::before,
    .radio-scale-5 .radio input {
        left: 35%;
    }

    .radio-scale-5 .radio input + label::after {
        left: calc(35% + 10px);
    }

    .radio-scale-4 .radio input + label::before,
    .radio-scale-4 .radio input {
        left: 37%;
    }

    .radio-scale-4 .radio input + label::after {
        left: calc(37% + 10px);
    }

    .radio-scale-3 .radio input + label::before,
    .radio-scale-3 .radio input {
        left: 40%;
    }

    .radio-scale-3 .radio input + label::after {
        left: calc(40% + 10px);
    }
}

/*dates*/
.date-item {
    display: inline-block;
    margin-bottom: 0;
    margin-right: 24px;
}

/*selects*/
select {
    height: 40px;
    cursor: pointer;
}

option {
    cursor: pointer;
}

/*text and text area*/
/*inputs*/
input {
    height: 40px;
    margin-top: 0;
}

input,
textarea,
select {
    font-weight: 400;
    font-size: 1.8rem;
    line-height: 2.7rem;
    border: 2px solid #425563;
    border-radius: 0 !important;
    box-sizing: border-box;
    padding: 4px;
    width: 100%;
    /*    letter-spacing:0.216rem ;
        word-spacing:0.288rem;*/
}

input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 4px #ffb81C;
    outline: 4px solid transparent;
    outline-offset: 4px;
}

textarea {
    -webkit-appearance: none;
    display: block;
    min-height: 40px;
    margin-bottom: 10px;
    resize: vertical;
}

.input-width-2 {
    width: 5.4ex;
}

.input-width-3 {
    width: 7.2ex;
}

.input-width-4 {
    width: 9ex;
}

.input-width-5 {
    width: 10.8ex;
}

.input-width-6 {
    width: 12.6ex;
}

.input-width-7 {
    width: 14.4ex;
}

.input-width-8 {
    width: 16.2ex;
}

.input-width-9 {
    width: 18ex;
}

.input-width-10 {
    width: 19.8ex;
}

.input-width-auto {
    width: auto;
}

/*validation*/
.bad,
.error {
    font-weight: 600;
    font-size: 1.8rem;
    line-height: 2.7rem;
    /*    letter-spacing:0.216rem ;
        word-spacing:0.288rem;*/
    clear: both;
    color: #DA291C;
    display: block;
    margin-bottom: 16px;
}

.red {
    color: #DA291C;
}

.form-group-error {
    border-left: 4px solid #DA291C;
    padding-left: 16px;
}

.input-error {
    border: 3px solid #DA291C;
}

.error-summary {
    border: 4px solid #DA291C;
    background-color: #fff;
    margin-bottom: 2rem;
    padding: 24px;
}

.error-summary h2,
.error-summary h3 {
    font-weight: 600;
    font-size: 2.4rem;
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 16px;
}

.error-summary p {
    font-weight: 400;
    font-size: 1.8rem;
    line-height: 2.7rem;
    /*    letter-spacing:0.216rem ;
        word-spacing:0.288rem;*/
}

.error-summary ul {
    padding: 0;
}

.error-summary li {
    margin-bottom: 8px;
}

.error-summary li,
.error-summary a {
    list-style-type: none;
    color: #da291c;
    font-weight: 600;
}

.hint {
    font-weight: 400;
    font-size: 1.8rem;
    line-height: 2.7rem;
    color: #425563;
    display: block;
    margin-bottom: 16px;
}

.error-message {
    font-weight: 600;
    font-size: 1.8rem;
    line-height: 2.7rem;
    clear: both;
    color: #da291c;
    background-color: #fff;
    display: block;
    padding: 10px;;
    margin-bottom: 2rem;
}

.form-group-error {
    border-left: 4px solid #da291c;
    padding-left: 16px;
}

/*tooltip*/
.tooltip-inner {
    max-width: 250px;
    padding: 1rem;
    color: #fff;
    text-align: center;
    background-color: #003087;
    border-radius: .25rem;
    font-size: 1.2rem;
    line-height: 1.8rem;
    /*    letter-spacing: 0.144rem;
        word-spacing: 0.192rem;*/
}

.bs-tooltip-auto[x-placement^=top] .arrow::before,
.bs-tooltip-top .arrow::before {
    top: 0;
    border-width: .4rem .4rem 0;
    border-top-color: #003087;
}

.tooltip.show {
    opacity: 1;
}

/*accordion or expander and details (you need it all)*/
.accordion .card {
    margin-bottom: 20px;
    border: 0;
}

.accordion .details-summary {
    padding: 24px;
    background-color: #fff !important;
    display: block;
    margin: 4px;
}

.accordion .details-summary p,
.accordion .details-summary span {
    background: url("data:image/svg+xml,%3Csvg class='nhsuk-icon nhsuk-icon__plus' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='32' aria-hidden='true'%3E%3Ccircle cx='12' cy='12' r='10' fill='%23005eb8'%3E%3C/circle%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M12 8v8M8 12h8'%3E%3C/path%3E%3C/svg%3E%0A") left -2px center no-repeat;
    color: #005eb8;
    cursor: pointer;
    display: block;
    padding: 8px 8px 8px 38px;
    position: relative;
}

.accordion .details-summary[aria-expanded="true"] p,
.accordion .details-summary[aria-expanded="true"] span {
    background: url("data:image/svg+xml,%3Csvg class='nhsuk-icon nhsuk-icon__minus' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='32' aria-hidden='true'%3E%3Ccircle cx='12' cy='12' r='10' fill='%23005eb8'%3E%3C/circle%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M8 12h8'%3E%3C/path%3E%3C/svg%3E%0A") left -2px center no-repeat;
}

.accordion .details-summary:before {
    display: none;
}

.accordion .details-summary:hover {
    box-shadow: 0 0 0 4px #ffcd60;
}

.accordion .details-summary:hover,
.accordion .details-summary:active,
.accordion .details-summary:focus {
    outline: 0;
}

.accordionText {
    padding: 24px 16px 16px 24px;
}

.accordion .details-summary[aria-expanded="true"] {
    border-bottom: 1px solid #f0f4f5;
}

.details p {
    margin: 0;
}

.details-text p {
    margin: 0 0 0 10px;
}

.details {
    color: #212b32;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    line-height: 2.7rem;
    display: block;
}

.details-summary {
    color: #005eb8;
    cursor: pointer;
    display: inline-block;
    padding-left: 24px;
    position: relative;
    -webkit-appearance: none;
}

.details-summary p,
.details-summary span {
    text-decoration: underline;
}

.details-summary:before {
    bottom: 0;
    content: '';
    left: 0;
    margin: auto;
    position: absolute;
    top: 0;
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-color: transparent;
    clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
    border-width: 7px 0 7px 12.124px;
    border-left-color: inherit;
}

.accordion .details-text {
    border-left: 0;
    margin: 0;
}

.details-text {
    border-left: 4px solid #d8dde0;
    margin: 24px 16px 16px 24px;
}

.details-summary:hover p,
.details-summary:hover span {
    color: #212b32;
    text-decoration: none;
}

.details-summary:hover {
    background-color: #ffcd60;
    box-shadow: 0 0 0 8px #ffcd60;
    color: #212b32;
    text-decoration: none;
}

.details-summary:focus {
    background-color: #ffb81C;
    box-shadow: 0 0 0 8px #ffb81C;
    color: #212b32;
    outline: 4px solid transparent;
    outline-offset: 4px;
}

/*images*/
img caption {
    background-color: #fff;
    font-size: 1.8rem;
    line-height: 1.71429;
    padding: 16px;
}

/*warning callout*/
.warning-callout {
    margin-bottom: 40px;
    margin-top: 40px;
    padding: 32px;
    background-color: #fff9c4;
    color: #212b32;
    padding-top: 0 !important;
}

.warning-callout h2,
.warning-callout h3 {
    font-size: 2.5rem;
    line-height: 1.4;
    background-color: #ffeb3b;
    color: #212b32;
    display: inline-block;
    margin: 0 -32px 8px;
    padding: 8px 32px;
    position: relative;
    top: -16px;
}

.warning-callout p {
    margin-bottom: 0;
}

/*inset text*/
.inset-text {
    max-width: 44em;
    margin: 2rem 0;
    border-left: 12px solid #005eb8;
    padding: 16px;
}

.inset-text p {
    margin-bottom: 0;
}

/*care card*/
.care-card {
    margin-bottom: 40px;
    margin-top: 40px;
    border: 1px solid transparent;
}

.care-card-heading {
    padding: 16px 24px;
    position: relative;
    background-color: #005eb8;
    color: #fff;
}

.care-card h3,
.care-card h2 {
    font-size: 2.6rem;
    line-height: 3.9rem;
    /*    letter-spacing: 0.312rem;
        word-spacing: 0.416rem;*/
    font-weight: 600;
    margin: 0;
}

.care-card-arrow {
    bottom: -10px;
    display: block;
    height: 20px;
    left: 30px;
    overflow: hidden;
    position: absolute;
    transform: rotate(45deg);
    width: 20px;
}

.care-card-arrow:before,
.care-card-arrow:after {
    border: solid 32px #005eb8;
    content: '';
    display: block;
    height: 0;
    position: absolute;
    top: 0;
    transform: rotate(45deg);
    width: 0;
}

.care-card-content {
    background-color: #fff;
    padding: 32px 24px 24px;
}

.care-card-content p {
    margin: 0;
}

/*tables*/
table {
    margin: 0 0 2rem !important;
    border-spacing: 0;
    vertical-align: top;
    width: 100%;
}
thead th {
    border-bottom: 2px solid #d8dde0;
}

th {
    font-weight: 600;
}

th, td {
    font-size: 1.8rem;
    line-height: 2.7rem;
    padding: 8px;
    border-bottom: 1px solid #d8dde0;
    text-align: left;
}

/*menu cards*/
.menu-block {
    margin-bottom: 30px;
    width: 100%;
}

.menu-block a {
    background-color: #fff !important;
    border: 1px solid transparent;
    box-shadow: 0 4px 0 0 #d8dde0;
    display: block;
    height: 100%;
    position: relative;
    text-decoration: none;
    padding: 24px;
}

.menu-block h2 {
    font-weight: 600;
    font-size: 2.4rem;
    line-height: 1.4;
    margin-bottom: 16px;
    text-decoration: underline;
}

.menu-block p {
    color: #425563;
    margin-bottom: 0;
}

.menu-block a:hover {
    background-color: #fff;
    box-shadow: 0 0 0 4px #ffb81C;
    color: #005eb8 !important;
}

.menu-block a:focus {
    background-color: #fff;
    box-shadow: 0 0 0 4px #ffb81C;
}

.menu-block a:active {
    background-color: #f0f4f5;
    box-shadow: 0 0 0 4px #ffbf33;
    top: 4px;
}

.menu-block a:focus h2,
.menu-block a:focus p {
    color: #212b32;
}

.menu-block a:focus h2 {
    text-decoration: underline;
}

.menu-block a:hover h2,
.menu-block a:active h2 {
    text-decoration: none;
}

.menu-invert a,
.menu-invert a:hover {
    background-color: #E8EDEE;
}

.menu-trans a {
    box-shadow: none;
}

.menu-trans a,
.menu-trans a:hover {
    background-color: transparent;
}

.menu-invert a,
.menu-invert a:hover {
    background-color: #f0f4f5;
}

.menu-block.menu-disabled a,
.menu-block.menu-disabled a,
.menu-block.menu-disabled p,
.menu-block.menu-disabled h2,
.menu-block.menu-disabled a:hover,
.menu-block.menu-disabled a:hover p,
.menu-block.menu-disabled a:hover h2,
.menu-block.menu-disabled a:focus,
.menu-block.menu-disabled a:focus p,
.menu-block.menu-disabled a:focus h2 {
    background-color: #E8EDEE !important;
    color: #425563 !important;
}

.menu-block.menu-disabled a:hover,
.menu-block.menu-disabled a:focus {
    box-shadow: 0 0 0 4px #425563;
    cursor: not-allowed;
}

.menu-block.menu-invert.menu-disabled a,
.menu-block.menu-invert.menu-disabled a,
.menu-block.menu-invert.menu-disabled p,
.menu-block.menu-invert.menu-disabled h2,
.menu-block.menu-invert.menu-disabled a:hover,
.menu-block.menu-invert.menu-disabled a:hover p,
.menu-block.menu-invert.menu-disabled a:hover h2,
.menu-block.menu-invert.menu-disabled a:focus,
.menu-block.menu-invert.menu-disabled a:focus p,
.menu-block.menu-invert.menu-disabled a:focus h2 {
    background-color: #687782 !important;
    color: #fff !important;
}

.menu-block.menu-invert.menu-disabled a:hover,
.menu-block.menu-invert.menu-disabled a:focus {
    box-shadow: 0 0 0 4px #E8EDEE;
    cursor: not-allowed;
}

/*pagination*/
.dataTables_wrapper .dataTables_paginate {
    background-color: #fff !important;
    background: #fff !important;
    padding: 5px 0 5px;
    float: right;
    text-align: right;
    margin: 0 0 10px !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    box-sizing: border-box;
    display: inline-block;
    min-width: 1.5em;
    padding: 0.5em 1em;
    margin: 0 5px;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    color: #000 !important;
    border: 1px solid transparent;
    border-radius: 0;
    box-shadow: 0 0 0 4px #fff;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background-color: #005eb8 !important;
    background: #005eb8 !important;
    color: #fff !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
    background: #ccc !important;
    cursor: not-allowed !important;
    color: #aaa !important;
}

.dataTables_wrapper .dataTables_info {
    clear: both;
    float: left;
    padding-top: 0.755em;
    margin-bottom: 10px;
}

.dataTables_wrapper .dataTables_length {
    float: left;
    margin-top: 10px;
}

.dataTables_wrapper .dataTables_filter {
    float: right;
    text-align: right;
    margin-top: 10px;
}

/*alert messages*/
.alert {
    padding: 1rem;
    margin-bottom: 1.5rem !important;
}

.alert p {
    margin: 0;
}

.alert-primary {
    background-color: #005EB8;
    color: #fff;
}

.alert-secondary {
    background-color: #41B6E6;
    color: #231f20;
}

.alert-success {
    background-color: #78BE20;
    color: #231f20;
}

.alert-danger {
    background: #8A1538;
    color: #fff;
}

.alert-warning {
    background-color: #fae10066;
    color: #231f20;
}

.alert-info {
    background-color: #006747;
    color: #fff;
}

.alert-light {
    background-color: #E8EDEE;
    color: #231f20;
}

.alert-dark {
    background-color: #425563;
    color: #FFFFFF;
}


/*--- 6. Footer                     -------*/
#footer {
    background-color: #005EB8;
    width: 100%;
    position: absolute;
    bottom: 0;
}

footer .row {
    padding: 20px 0;
}

#footer,
#footer a,
#footer li {
    color: #fff;
}

#managedBy {
    text-align: right;
}

@media (max-width: 768px) {
    #footer ul {
        text-align: center;
    }
}

#footer li {
    padding: 2px 0;
}

div#ui-datepicker-div {
    border-radius: 0;
    border: 2px solid #425563;
}

.ui-widget-header {
    background: #E8EDEE;
}

.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default,
.ui-button,
.ui-button.ui-state-disabled:hover,
.ui-button.ui-state-disabled:active {
    background: #E8EDEE;
    color: #231f20;
}

a.ui-state-default:hover {
    box-shadow: 0 0 0 1px #ffcd60;
}

.ui-state-disabled .ui-state-default {
    background: #425563 !important;
    color: #fff !important;
}

.ui-datepicker-today a {
    background: #005EB8 !important;
    color: #fff !important;
}

.ui-datepicker-today a:hover {
    color: #fff !important;
}

.ui-datepicker-current-day a {
    background: #ffcd60 !important;
}

.ui-state-highlight,
.ui-widget-content .ui-state-highlight,
.ui-widget-header .ui-state-highlight {
    border: none !important;
}

/*date picker - to be removed if we no longer use*/
.ui-datepicker {
    width: 17em;
    padding: .2em .2em 0;
    display: none;
}

.ui-datepicker .ui-datepicker-header {
    position: relative;
    padding: .2em 0;
}

.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
    position: absolute;
    top: 2px;
    width: 1.8em;
    height: 1.8em;
}

.ui-datepicker .ui-datepicker-prev-hover,
.ui-datepicker .ui-datepicker-next-hover {
    top: 1px;
}

.ui-datepicker .ui-datepicker-prev {
    left: 2px;
}

.ui-datepicker .ui-datepicker-next {
    right: 2px;
}

.ui-datepicker .ui-datepicker-prev-hover {
    left: 1px;
}

.ui-datepicker .ui-datepicker-next-hover {
    right: 1px;
}

.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
    display: block;
    position: absolute;
    left: 50%;
    margin-left: -8px;
    top: 50%;
    margin-top: -8px;
}

.ui-datepicker .ui-datepicker-title {
    margin: 0 2.3em;
    line-height: 1.8em;
    text-align: center;
}

.ui-datepicker .ui-datepicker-title select {
    font-size: 1em;
    margin: 1px 0;
}

.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year {
    width: 45%;
}

.ui-datepicker table {
    width: 100%;
    font-size: .9em;
    border-collapse: collapse;
    margin: 0 0 .4em;
}

.ui-datepicker th {
    padding: .7em .3em;
    text-align: center;
    font-weight: bold;
    border: 0;
}

.ui-datepicker td {
    border: 0;
    padding: 1px;
}

.ui-datepicker td span,
.ui-datepicker td a {
    display: block;
    padding: .2em;
    text-align: right;
    text-decoration: none;
}

.ui-datepicker .ui-datepicker-buttonpane {
    background-image: none;
    margin: .7em 0 0 0;
    padding: 0 .2em;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
}

.ui-datepicker .ui-datepicker-buttonpane button {
    float: right;
    margin: .5em .2em .4em;
    cursor: pointer;
    padding: .2em .6em .3em .6em;
    width: auto;
    overflow: visible;
}

.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
    float: left;
}

/* with multiple calendars */
.ui-datepicker.ui-datepicker-multi {
    width: auto;
}

.ui-datepicker-multi .ui-datepicker-group {
    float: left;
}

.ui-datepicker-multi .ui-datepicker-group table {
    width: 95%;
    margin: 0 auto .4em;
}

.ui-datepicker-multi-2 .ui-datepicker-group {
    width: 50%;
}

.ui-datepicker-multi-3 .ui-datepicker-group {
    width: 33.3%;
}

.ui-datepicker-multi-4 .ui-datepicker-group {
    width: 25%;
}

.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header {
    border-left-width: 0;
}

.ui-datepicker-multi .ui-datepicker-buttonpane {
    clear: left;
}

.ui-datepicker-row-break {
    clear: both;
    width: 100%;
    font-size: 0;
}

/* RTL support */
.ui-datepicker-rtl {
    direction: rtl;
}

.ui-datepicker-rtl .ui-datepicker-prev {
    right: 2px;
    left: auto;
}

.ui-datepicker-rtl .ui-datepicker-next {
    left: 2px;
    right: auto;
}

.ui-datepicker-rtl .ui-datepicker-prev:hover {
    right: 1px;
    left: auto;
}

.ui-datepicker-rtl .ui-datepicker-next:hover {
    left: 1px;
    right: auto;
}

.ui-datepicker-rtl .ui-datepicker-buttonpane {
    clear: right;
}

.ui-datepicker-rtl .ui-datepicker-buttonpane button {
    float: left;
}

.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,
.ui-datepicker-rtl .ui-datepicker-group {
    float: right;
}

.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header {
    border-right-width: 0;
    border-left-width: 1px;
}

/* Icons */
.ui-datepicker .ui-icon {
    display: block;
    text-indent: -99999px;
    overflow: hidden;
    background-repeat: no-repeat;
    left: .5em;
    top: .3em;
}

.ui-widget.ui-widget-content {
    border: 1px solid #c5c5c5;
}

.ui-widget-content {
    border: 1px solid #dddddd;
    background: #ffffff;
    color: #333333;
}

.ui-widget-content a {
    color: #333333;
}

.ui-widget-content a:hover {
    box-shadow: 0 0 0 2px #ffcd60;
}

.ui-widget-header {
    border: 1px solid #dddddd;
    background: #e9e9e9;
    color: #333333;
    font-weight: bold;
}

.ui-widget-header a {
    color: #333333;
}

.ui-widget-header .ui-icon {
    background-image: url(../images/ui-icons_444444_256x240.png);
}

.ui-icon-circle-triangle-e {
    background-position: -48px -192px;
}

.ui-icon-circle-triangle-w {
    background-position: -80px -192px;
}

.ui-icon {
    width: 16px;
    height: 16px;
}

.ui-icon {
    display: inline-block;
    vertical-align: middle;
    margin-top: -.25em;
    position: relative;
    text-indent: -99999px;
    overflow: hidden;
    background-repeat: no-repeat;
}
