/*-----------------------------------------*/
/*--- 1. Reset                      -------*/
/*--- 2. Structure                  -------*/
/*--- 3. Global Styles              -------*/
/*--- 4. Header                     -------*/
/*--- 5. Navigation                 -------*/
/*--- 6. Home Page Banner           -------*/
/*--- 7. Breadcrumb                 -------*/
/*--- 8. Content                    -------*/
/*--- 9. Footer                     -------*/
/*-----------------------------------------*/

/*--- 1. Reset                      -------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
    outline:0;
    background:transparent;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1.5;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}
/* change colours to suit your needs */
ins {
    background-color:#FFB81C;
    color:#231f20;
    text-decoration:none;
}
/* change colours to suit your needs */
mark {
    background-color:#FFB81C;
    color:#231f20;
    font-style:italic;
    font-weight:bold;
}
del {
    text-decoration: line-through;
}
abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}
/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;
    border-top:1px solid #425563;
    margin:1em 0;
    padding:0;
}
input, select {
    vertical-align: middle;
}
input, select, textarea {
    width: 100%;
}
input[type=checkbox], input[type=radio] {
    width: auto;
}

/*------------------- 2. Structure --------------------------------------------*/
@import url("https://assets.nhs.uk/fonts/nhsuk-fonts-1.3.0.css");

html {
    position: relative;
    min-height: 100%;
    font-size: 62.5%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}
body {
    font-family: "Frutiger W01", Arial, sans-serif !important;
    background-color: #fff;
    color: #231f20;
    font-size: 1.6rem;
    letter-spacing: 0rem;
    line-height: calc(1.6rem * 1.5);
    word-spacing: calc(1.6rem * 0.16);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
[class*="col-"] {
    display: inline-block;
    vertical-align: middle;
}
main {
    margin: 20px auto;
}
.alert-primary {
    background-color: #005EB8;
    color: #fff!important;
    border: 0;
    padding: 10px;
}
.alert-primary form label {
    margin-bottom: 0;
}
details {
    margin-bottom: 1.5rem;
}
details summary {
    color: #231f20;
    font-size: 1.6rem;
    line-height: calc(1.6rem * 1.5);
    word-spacing: calc(1.6rem * 0.16);
    font-weight: bold;
    text-decoration: underline;
}
details summary:hover {
    text-decoration: none;
}
details summary:focus {
    background: #FFB81C!important;
    color: #231F20!important;
    box-shadow: none!important;
    text-decoration: none;
}
/*------------------- 3. Global Styles-----------------------------------------*/
.skip-link {
    left: -9999px;
    padding: 8px;
    position: absolute;
}
.skip-link:active,
.skip-link:focus {
    left: 16px;
    top: 16px;
    z-index: 9999;
    background-color:#fff;
    border-radius: 5px;
}
strong, b {
    font-weight: bold;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: #425563;
}
h1 {
    font-size: 3.5rem;
    line-height: calc(3.5rem * 1.5);
    word-spacing: calc(3.5rem * 0.16);
    font-weight: bold;
    margin-bottom: 10px;
}
h2 {
    font-size: 2.8rem;
    line-height: calc(2.8rem * 1.5);
    word-spacing: calc(2.8rem * 0.16);
    font-weight: bold;
    margin: 10px 0px 0px 0px;
}
h3{
    font-size: 2.4rem;
    line-height: calc(2.4rem * 1.5);
    word-spacing: calc(2.4rem * 0.16);
    font-weight: bold;
    margin: 10px 0px 0px 0px;
}
h4{
    font-size: 2.2rem;
    line-height: calc(2.2rem * 1.5);
    word-spacing: calc(2.2rem * 0.16);
    margin: 10px 0px 0px 0px;
}
h5{
    font-size: 2rem;
    line-height: calc(2rem * 1.5);
    word-spacing: calc(2rem * 0.16);
    margin: 10px 0px 0px 0px;
}
h6{
    font-size: 1.8rem;
    line-height: calc(1.8rem * 1.5);
    word-spacing: calc(1.8rem * 0.16);
    margin: 10px 0px 0px 0px;
}
p, ul, ol {
    margin-bottom: 1.5rem;
}

/*  Links */
a {
    text-decoration: underline;
    color: inherit;
    font-weight: bold;
    font-size: 1.6rem;
    line-height: calc(1.6rem * 1.5);
    word-spacing: calc(1.6rem * 0.16);
}
a:hover {
    text-decoration: none;
    color: inherit;
}
a:focus {
    background: #FFB81C !important;
    color: #231f20 !important
}
a:has(img) {
    display: inline-flex;
}
a:has(img):focus {
    background: transparent !important;
}
a:hover img, a:focus img {
    outline: 3px solid #ffb81C;
}
main a {
    color: #425563;
    text-decoration: underline;
}
main a:hover {
    text-decoration: none;
}

/* Grid Layouts */
.gridLayout [class*="col-"]:empty {
    display: none !important;
}

/* Blockquotes */
blockquote {
    padding: 10px 20px;
    margin: 0 0 20px;
    border-left: 5px solid #0d2240;
}
blockquote p {
    font-size: 1.6rem;
    line-height: calc(1.6rem * 1.5);
    word-spacing: calc(1.6rem * 0.16);
    font-weight: 300;
    line-height: 1.25;
    margin-bottom: 0;
}

/*  Lists  */
ul, ol{
    margin-left: 30px;
}
ul{
    list-style: circle;
    list-style-position: outside;
}
ol{
    list-style: decimal;
    list-style-position: inside;
}

/*  Tables  */
table {
    display: table;
    width: 100%;
    border-spacing: 0;
    vertical-align: top;
    overflow-x: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1.5rem;
}
table thead {
    vertical-align: bottom;
    border-top: 1px solid #E8EDEE;
    border-bottom: 2px solid #E8EDEE;
}
table thead th {
    font-weight: bold;
    border-top: 0px;
}
table td, table th {
    padding: 0.75rem;
    border: 1px solid #E8EDEE;
}
.table caption {
    font-size: 16px;
    line-height: calc(1.6rem * 1.5);
    word-spacing: calc(1.6rem * 0.16);
    color: #425563;
}
/* - Table Media Queries - */
@media screen and (max-width: 576px) {
    table {
        display: block;
    }
}

/* Alignment */
.align-center, .alignCenter, .ce-headline-center {
    text-align:center;
}
.align-left, .alignLeft, .ce-headline-left {
    text-align:left;
}
.align-right, .alignRight, .ce-headline-right {
    text-align:right;
}

/* Buttons */
button, .blueButton a {
    position: relative;
    display: inline-block;
    width: 100%;
    cursor: pointer;
    padding: 12px;
    border: 0px;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    background-color: #005EB8;
    color: #fff;
    font-size: 1.6rem;
    line-height: calc(1.6rem * 1.5);
    word-spacing: calc(1.6rem * 0.16);
    font-weight: normal;
    margin-bottom: 1.5rem;
}
button:hover,
.blueButton a:hover {
    background-color: #003087;
    box-shadow: none;
    text-decoration: underline;
}
button:focus,
.blueButton a:focus {
    background-color: #ffb81C;
    color: #231f20;
    box-shadow: none!important;
    outline: none;
}

/* Forms */
form {
    font-size: 1.6rem;
    line-height: calc(1.6rem * 1.5);
    word-spacing: calc(1.6rem * 0.16);
}
form label {
    width: 100%;
    margin-bottom: 10px;
    cursor: text;
    font-weight: bold;
}
form select, form input, form textarea {
    width: 100%;
    margin-bottom: 5px;
    padding: 5px;
    background-color: #fff;
    border: 1px solid #425563;
}
form input::placeholder {
    color: #425563;
}
form [type=submit] {
    display: inline-block;
    width: 100%;
    background-color: #005EB8;
    color: #fff;
    border: none;
    padding: 12px;
}
form [type=submit]:hover {
    background-color: #003087;
    text-decoration: underline;
}
form [type=submit]:focus {
    background-color: #ffb81C;
    color: #231f20;
    box-shadow: none!important;
    outline: none;
}
form [type=search]::-webkit-search-decoration,
form [type=search]::-webkit-search-cancel-button,
form [type=search]::-webkit-search-results-button,
form [type=search]::-webkit-search-results-decoration {
    appearance: none;
}
form input:focus, form textarea:focus {
    box-shadow: 0 0 0 3px #ffb81C;
    outline: none;
}

/* Media */
/* - Images - */
img {
    max-width: 100%;
    height: auto;
}
figcaption {
    color: #425563;
    font-size: 1.4rem;
    line-height: calc(1.4rem * 1.5);
    word-spacing: calc(1.4rem * 0.16);
    margin-bottom: 1.5rem;
}

/* - TYPO3 Text Media and Text Picture Override - */
.ce-textpic, .ce-image {
    display: flex;
    flex-wrap: wrap;
}
.ce-textpic .ce-bodytext {
    width: 100%;
}
.ce-textpic .ce-gallery, .ce-image .ce-gallery {
    order: 1;
    width: 100%;
    margin-bottom: 1.5rem;
}
.ce-textpic .ce-gallery figure, .ce-image .ce-gallery figure {
    display: flex;
    flex-direction: column;
    margin: 0;
}
.ce-textpic.ce-left .ce-gallery figure, .ce-image.ce-left .ce-gallery figure{
    align-items: flex-start;
}
.ce-textpic.ce-right .ce-gallery figure, .ce-image.ce-right .ce-gallery figure {
    align-items: flex-end;
}
.ce-textpic.ce-right .ce-gallery figure, .ce-image.ce-right .ce-gallery figure figcaption {
    text-align: right;
}
.ce-textpic.ce-center .ce-gallery figure, .ce-image.ce-center .ce-gallery figure {
    align-items: center;
}
.ce-textpic.ce-center .ce-gallery figure, .ce-image.ce-center .ce-gallery figure figcaption {
    text-align: center;
}
.ce-above .ce-gallery {
    order: 0;
}
.ce-textpic .ce-gallery[data-ce-columns]:not([data-ce-columns="1"]) .ce-column,
.ce-image .ce-gallery[data-ce-columns]:not([data-ce-columns="1"]) .ce-column {
    display: inline-block;
}

/* - TYPO3 Text Media and Text Picture Override Media Queries - */
@media (min-width: 768px) {
    .frame-type-textpic:has(.ce-right) > .ce-textpic, .frame-type-textpic:has(.ce-left) > .ce-textpic,
    .frame-type-textmedia:has(.ce-right) > .ce-textpic, .frame-type-textmedia:has(.ce-left) > .ce-textpic {
        align-items: center;
    }
    .ce-textpic.ce-left:has(.ce-gallery) > .ce-gallery, .ce-textpic.ce-right:has(.ce-gallery) > .ce-gallery {
        width: 20%;
    }
    .ce-textpic.ce-left:has(.ce-gallery) > .ce-bodytext, .ce-textpic.ce-right:has(.ce-gallery) > .ce-bodytext {
        width: 80%;
    }
    .ce-textpic.ce-right:has(.ce-gallery) > .ce-bodytext {
        padding-right: 20px;
    }
    .ce-textpic.ce-left:has(.ce-gallery) > .ce-gallery {
        order: 0;
        padding-right: 20px;
    }
    .ce-left.ce-above .ce-gallery, .ce-right.ce-above .ce-gallery, .ce-center.ce-above .ce-gallery,
    .ce-left.ce-below .ce-gallery, .ce-right.ce-below .ce-gallery, .ce-center.ce-below .ce-gallery,
    .ce-left.ce-above .ce-bodytext, .ce-right.ce-above .ce-bodytext, .ce-center.ce-above .ce-bodytext,
    .ce-left.ce-below .ce-bodytext, .ce-right .ce-below .ce-bodytext, .ce-center.ce-below .ce-bodytext {
        display: flex !important;
        flex-direction: column;
        width: 100% !important;
        padding-right: 0px !important;
    }
}
@media (max-width: 576px) {
    .ce-textpic.ce-right .ce-gallery figure,
    .ce-textpic.ce-center .ce-gallery figure {
        align-items: flex-start;
    }
}

/* - YouTube Video - */
.video .video-embed {
    width: 100%;
}

.video .video-embed iframe {
    height: 468px;
    border: 0;
    outline: none;
}

/* iFrames */
iframe {
    width: 100%;
}

/*------------------- 4. Header -----------------------------------*/
header .siteLogoSearch {
    padding: 20px;
}
header .siteLogoSearch .logo, header .siteLogoSearch .search {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
}
header .siteLogoSearch .logo img {
    width: auto;
}

/* Header Media Queries */
@media screen and (max-width: 767px) {
    header .siteLogoSearch .search {
        order: 2;
    }
    header .siteLogoSearch .logo {
        margin-bottom: 20px;
    }
    header .siteLogoSearch .logo a {
        justify-content: center;
    }
}

/*--- 5. Navigation                 -------*/
nav {
    background-color: #005EB8;
}
nav .navbar {
    padding-top: 0px;
    padding-bottom: 0px;
}
nav .navbar-nav {
    margin: 0;
    width: 100%;
    justify-content: space-between;
}
nav .navbar li.nav-item:last-child {
    background-color: #DA291C;
}
nav .navbar li.nav-item a {
    color: #fff;
    padding: 12px !important;
    cursor: pointer;
}
nav .navbar li.nav-item a:hover {
    background-color: #003087;
    box-shadow: none;
    text-decoration: underline;
}
nav .navbar li.nav-item.active > a, nav.navbar li.nav-item:active > a {
    background-color: #003087;
    color: #fff;
    text-decoration: underline;
}
nav .navbar li.nav-item a:focus-visible {
    box-shadow: none;
}

/* Toggle Button */
nav .navbar-toggler {
    width: 100%;
    border-color: transparent !important;
    background-color: #005EB8;
    color: #fff;
    padding: 12px 20px;
    margin-bottom: 0;
    text-align: center;
    font-size: 1.6rem;
    line-height: calc(1.6rem * 1.5);
    word-spacing: calc(1.6rem * 0.16);
    outline: none;
    box-shadow: none;
    border-radius: 0px;
}
nav .navbar-toggler:focus {
    background-color: #ffb81C;
    color: #231f20;
    box-shadow: none !important;
    outline: 4px solid #ffb81C;
}
nav .navbar-toggler.collapsed .close-icon {
    display: none;
}
nav .navbar-toggler:not(.collapsed) .close-icon {
    display: inline;
}
nav .navbar-toggler:not(.collapsed) .open-icon {
    display: none;
}
nav .navbar-collapse li.nav-item {
    padding: 0;
    flex-grow: 1;
    flex-basis: 0;
    text-align: center;
}
nav .navbar-collapse li.nav-item a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

/* Navigation Media Queries */
@media screen and (max-width: 991px) {
    nav .navbar-nav {
        margin: 0;
        text-align: center;
    }
    nav .navbar-collapse .navbar-nav .nav-link {
        padding-right: 12px;
        padding-left: 12px;
    }
    nav .navbar .navbar-toggler:hover {
        text-decoration: underline;
    }
    nav .navbar .navbar-toggler[aria-expanded="true"] {
        background-color: #003087;
        color: #fff;
    }
    nav .navbar .dropdown-menu {
        display: block;
    }
    nav .navbar .dropdown-menu li:first-child {
        border-top: 0px;
    }
    nav .navbar .dropdown-menu .last-menu {
        border-left: 0px;
        margin-left: 0px;
    }
    nav .navbar .dropdown-menu .dropdown-toggle::after {
        display: none;
    }
    nav .navbar .navbar-nav .dropdown-menu {
        position: static;
        float: none;
    }
}

/*--- 6. Home Page Banner           -------*/
.homepageBanner {
    display: none;
}
.homepageBanner a {
    flex-direction: column;
    width: 100%;
    text-decoration: none;
}
.homepageBanner a:hover .ce-gallery figure img,
.homepageBanner a:focus .ce-gallery figure img {
    outline: 0;
}
.homepageBanner a:hover .frame:has(.banner-heading) {
    background-color: #0072CE;
    text-decoration: underline;
}
.homepageBanner a:focus .frame:has(.banner-heading) {
    background-color: #ffb81C;
    color: #231f20;
    box-shadow: none!important;
    outline: none;
}
.homepageBanner [class*="col-"] {
    display: flex;
    padding: 0 1px;
}
.homepageBanner .ce-gallery {
    margin-bottom: 0;
}
.homepageBanner .ce-gallery figure img {
    width: 100%;
}
.homepageBanner .frame:has(.banner-heading) {
    background-color: #003087;
    color: #fff;
    text-align: center;
    padding: 10px 15px;
    height: 100%;
}
.homepageBanner .banner-heading {
    display: block;
    font-size: 2rem;
    line-height: calc(2rem * 1.5);
    word-spacing: calc(2rem * 0.16);
    margin-bottom: 5px;
}
.homepageBanner p {
    font-size: 1.4rem;
    line-height: calc(1.4rem * 1.5);
    word-spacing: calc(1.4rem * 0.16);
    font-weight: normal;
    margin-bottom: 0;
}

/* Banner Media Queries */
@media screen and (max-width: 576px) {
    .homepageBanner [class*="col-"] {
        padding: 0 0 2px;
    }
}

/*--- 7. Breadcrumb                 -------*/
.breadcrumb {
    list-style: none;
    background-color: #fff;
    margin: 20px 0;
    font-size: 1.6rem;
    line-height: calc(1.6rem * 1.5);
    word-spacing: calc(1.6rem * 0.16);
}
.breadcrumb .breadcrumb-item a {
    color: #212529;
    text-decoration: underline;
    font-size: 1.6rem;
    line-height: calc(1.6rem * 1.5);
    word-spacing: calc(1.6rem * 0.16);
}
.breadcrumb .breadcrumb-item a:hover {
    text-decoration: none;
}
.breadcrumb .breadcrumb-item+.breadcrumb-item::before {
    content: var(--bs-breadcrumb-divider, ">");
}

/* - Removes duplicate Home link on specific pages - */
.newsPage .breadcrumb .breadcrumb-item:nth-child(2n) {
    display: none;
}

/*--- 8. Content                    -------*/
/* Image Maps */
.imageMap {
    margin: 0 auto 1.5rem;
}

/* Section Menu */
.section-menu {
    border-left: 1px solid #E8EDEE;
    padding-left: 10px;
}
.section-menu nav {
    background-color: transparent;
}
.section-menu ul {
    margin-left: 0px;
    list-style: none;
}
.section-menu li {
    width: 100%;
    margin-left: 0px;
}
.section-menu ul li.active a {
    background-color: #003087;
    text-decoration: underline;
}
.section-menu ul li a {
    position: relative;
    display: block;
    background-color: #0072CE;
    color: #fff;
    font-weight: normal;
    font-size: 1.6rem;
    line-height: calc(1.6rem * 1.5);
    word-spacing: calc(1.6rem * 0.16);
    text-decoration: none;
    padding: 10px;
    margin-bottom: 5px;
    border-radius: 5px;
}
.section-menu ul li a:hover {
    background-color: #003087;
    box-shadow: none;
    text-decoration: underline;
}
.section-menu ul li a:focus {
    background-color: #ffb81C;
    color: #231f20;
    box-shadow: none!important;
    outline: none;
}

/* - Additional Buttons -*/
/* -- Freedom to Speak Up -- */
.FTSU-btn a {
    position: relative;
    display: block;
    background-color: #78BE20;
    color: #212529;
    font-weight: normal;
    font-size: 1.6rem;
    line-height: calc(1.6rem * 1.5);
    word-spacing: calc(1.6rem * 0.16);
    text-decoration: none;
    padding: 10px;
    margin-bottom: 5px;
    border-radius: 5px;
}
.FTSU-btn a:hover {
    background-color: #006747;
    color: #fff;
    box-shadow: none;
    text-decoration: underline;
}
.FTSU-btn a:focus {
    background-color: #ffb81C;
    color: #231f20;
    box-shadow: none!important;
    outline: none;
}

/* Section Menu Media Queries */
@media screen and (max-width: 991px) {
    .section-menu {
        border-left: 0;
        padding-left: 0;
        border-top: 1px solid #E8EDEE;
        padding-top: 10px;
    }
}

/*--- Accordions -------*/
.accordion .accordion-item {
    border: 1px solid #E8EDEE;
    margin-bottom: 5px;
}
.accordion .accordion-item .accordion-button {
    margin-bottom: 0;
}
.accordion .accordion-item:first-of-type .accordion-button {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}
.accordion .accordion-item:last-of-type .accordion-button {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}
.accordion .accordion-item:last-of-type .accordion-button > .accordion-header .accordion-button.collapsed {
    border-bottom-right-radius: 0px!important;
    border-bottom-left-radius: 0px!important;
}

/* - Accordion Header - */
.accordion .accordion-item .accordion-header {
    border: 0;
    padding: 0;
    margin: 0px;
}
.accordion .accordion-item .accordion-header:before {
    display: none;
}
.accordion .accordion-item .accordion-header button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: #0d2240;
    color: #fff;
    border-radius: 0px;
    border: 0px;
    padding: 10px;
    text-align: left;
    font-size: 1.6rem;
    line-height: calc(1.6rem * 1.5);
    word-spacing: calc(1.6rem * 0.16);
}
.accordion .accordion-item .accordion-header button:hover,
.accordion .accordion-item .accordion-header button:hover {
    background-color: #003087;
    box-shadow: none;
    text-decoration: underline;
}
.accordion .accordion-item .accordion-header button:focus, .accordion-button:not(.collapsed) {
    background: #fcc100!important;
    color: #231f20!important;
    box-shadow: none;
    border-color: transparent;
}
.accordion .accordion-item .accordion-header .accordion-button::after {
    content: none;
}
.accordion .accordion-item .accordion-header .accordion-button .accordion-record-header {
    margin-right: 40px;
}
.accordion .accordion-item .accordion-header .accordion-button .accordion-toggle-text {
    margin-left: auto;
}
.accordion .accordion-item .accordion-header .accordion-button .accordion-toggle-text:after {
    content: '\002B';
    margin-left: 10px;
}
.accordion .accordion-item .accordion-header .accordion-button:not(.collapsed) .accordion-toggle-text:after {
    content: '\2212';
}
.accordion-item:last-of-type>.accordion-header .accordion-button.collapsed {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

/* - Accordion Body - */
.accordion .accordion-item .accordion-body {
    padding: 10px;
}
.accordion .accordion-item .accordion-body h2:first-child {
    display: none;
}
.accordion .accordion-item .accordion-body .accordion h2:first-child {
    display: block;
}
.accordion .accordion-item .accordion-body .accordion .accordion-body h2:first-child {
    display: none;
}

/* - Tabs - */
.tab-navigation {
    background-color: transparent;
}
.tab-navigation .nav-tabs {
    border-bottom: 2px solid #e8edee;
}
.tab-navigation .nav-tabs button {
    width: auto;
    background: transparent;
    color: #005EB8;
    font-size: 1.6rem;
    border: 2px solid transparent;
    padding: 10px 12px;
    border-radius: 0;
    text-decoration: underline;
    transition: none;
}
.tab-navigation .nav-tabs button:hover {
    background-color: #003087;
    color: #fff;
    text-decoration: none;
    border: 2px solid transparent;
}
.tab-navigation .nav-tabs button:focus {
    background-color: #ffb81C;
    color: #231f20;
    box-shadow: none !important;
    outline: none;
    border: 2px solid transparent;
}
.tab-navigation .nav-tabs button.active {
    border: 2px solid #e8edee !important;
    text-decoration: none;
}

/* Frames */
/* - Button Grid for Menus - */
.buttonMenu ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    list-style: none;
    margin-left: 0;
}
.buttonMenu ul li {
    display: flex;
    flex: 0 0 calc((100% / 6) - (8px * (6 - 1) / 6));
    margin-left: 0px;
    margin-right: 8px;
    margin-top: 5px;
    margin-bottom: 5px;
    text-decoration: none !important;
}
.buttonMenu ul li:nth-child(6n) {
    margin-right: 0px;
}
.buttonMenu ul li a {
    display: inline-flex;
    width: 100%;
    height: 100%;
    padding: 12px;
    text-align: center;
    text-decoration: none !important;
    align-items: center;
    background-color: #003087;
    color: #fff !important;
    font-weight: normal;
    font-size: 1.6rem;
    line-height: calc(1.6rem * 1.5);
    word-spacing: calc(1.6rem * 0.16);
}
.buttonMenu ul li a:hover {
    background: #0072CE;
    text-decoration: underline !important;
}
.buttonMenu ul li a:focus {
    background: #FFB81C !important;
    color: #231f20 !important;
}
.buttonMenu ul li a span {
    width: 100%;
}

/* -- Specific styling for Grid Containers -- */
.col-lg-8 .buttonMenu ul li {
    flex: 0 0 calc((100% / 3) - (8px * (3 - 1) / 3));
}
.col-lg-8 .buttonMenu ul li:nth-child(4n) {
    margin-right: 8px;
}
.col-lg-8 .buttonMenu ul li:nth-child(3n) {
    margin-right: 0px;
}
.col-lg-6 .buttonMenu ul li,
.col-lg-4 .buttonMenu ul li {
    flex: 0 0 calc((100% / 2) - (8px * (2 - 1) / 2));
}
.col-lg-6 .buttonMenu ul li:nth-child(2n),
.col-lg-4 .buttonMenu ul li:nth-child(2n) {
    margin-right: 0px;
}
.col-lg-3 .buttonMenu ul li {
    flex: 0 0 100%;
    margin-right: 0px;
}
.col-lg-3 .buttonMenu ul li:nth-child(4n) {
    margin-right: 0px;
}

/* - Button Menu Media Queries - */
@media screen and (max-width: 1200px) {
    .buttonMenu ul li {
        flex: 0 0 calc((100% / 4) - (8px * (4 - 1) / 4));
    }
    .buttonMenu ul li:nth-child(6n) {
        margin-right: 8px;
    }
    .buttonMenu ul li:nth-child(4n) {
        margin-right: 0px;
    }

    /* -- Specific styling for Grid Containers -- */
    .col-lg-4 .buttonMenu ul li {
        flex: 0 0 100%;
        margin-right: 0px;
    }
    .col-lg-4 .buttonMenu ul li:nth-child(4n) {
        margin-right: 0px;
    }
}
@media screen and (max-width: 991px) {
    .buttonMenu ul li {
        flex: 0 0 calc((100% / 3) - (8px * (3 - 1) / 3));
    }
    .buttonMenu ul li:nth-child(4n) {
        margin-right: 8px;
    }
    .buttonMenu ul li:nth-child(3n) {
        margin-right: 0px;
    }

    /* -- Specific styling for Grid Containers -- */
    .col-lg-8 .buttonMenu ul li,
    .col-lg-6 .buttonMenu ul li {
        flex: 0 0 calc((100% / 2) - (8px * (2 - 1) / 2));
    }
    .col-lg-8 .buttonMenu ul li:nth-child(3n),
    .col-lg-6 .buttonMenu ul li:nth-child(3n) {
        margin-right: 8px;
    }
    .col-lg-8 .buttonMenu ul li:nth-child(2n),
    .col-lg-6 .buttonMenu ul li:nth-child(2n) {
        margin-right: 0px;
    }
}
@media screen and (max-width: 767px) {
    .buttonMenu ul li {
        flex: 0 0 calc((100% / 2) - (8px * (2 - 1) / 2));
    }
    .buttonMenu ul li:nth-child(3n) {
        margin-right: 8px;
    }
    .buttonMenu ul li:nth-child(2n) {
        margin-right: 0px;
    }

    /* Specific styling for Grid Containers */
    .col-lg-8 .buttonMenu ul li,
    .col-lg-6 .buttonMenu ul li {
        flex: 0 0 100%;
        margin-right: 0px;
    }
}
@media screen and (max-width: 576px) {
    .buttonMenu ul li {
        flex: 0 0 100%;
        margin-right: 0px;
    }
}

/*--- 9. Footer                     -------*/
footer section {
    padding: 20px;
}
footer a {
    color: inherit;
    text-decoration: underline;
}
footer a:hover {
    color: #231f20;
    text-decoration: none;
}

/* Quicklinks and Accreditations */
/* - Quicklinks - */
footer #quickLinks-Accreds {
    background-color: #005EB8;
    color: #fff;
}
footer #quickLinks-Accreds .quicklinks {
    display: flex;
    margin-bottom: 2.5rem;
}
footer #quickLinks-Accreds .quicklinks a {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: fit-content;
    padding: 10px;
    border-radius: 5px;
}
footer #quickLinks-Accreds .quicklinks a:hover {
    background-color: #003087;
    color: inherit;
}
footer #quickLinks-Accreds .quicklinks a:focus {
    background-color: #003087 !important;
    color: inherit !important;
    outline: 3px solid #ffb81C;
    text-decoration: none;
}
footer #quickLinks-Accreds .quicklinks a img {
    margin-bottom: 1.5rem;
}
footer #quickLinks-Accreds .quicklinks a:hover img, footer #quickLinks-Accreds .quicklinks a:focus img {
    outline: none;
}
footer #quickLinks-Accreds .quicklinks a p {
    color: #fff;
    text-align: center;
    margin-bottom: 0;
}

/* - Accreditations - */
footer #quickLinks-Accreds .accreditations {
    margin-bottom: 2.5rem;
}
footer #quickLinks-Accreds .accreditations [class*="col-"]  {
    display: flex;
    align-content: space-between;
}
footer #quickLinks-Accreds .accreditations [class*="col-"]:last-child  {
    flex-wrap: wrap;
    align-items: center;
}
footer #quickLinks-Accreds .accreditations [class*="col-"] img {
    display: inline-flex;
    margin-right: 20px;
    width: 0;
}
footer #quickLinks-Accreds .accreditations [class*="col-"]:first-child img {
    flex: 0 0 calc((100% / 1) - (20px * (1 - 1) / 1));
}
footer #quickLinks-Accreds .accreditations [class*="col-"]:last-child img  {
    flex: 0 0 calc((100% / 4) - (20px * (4 - 1) / 4));
}
footer #quickLinks-Accreds .accreditations [class*="col-"]:last-child img:nth-child(4n)  {
    margin-right: 0;
}
footer #quickLinks-Accreds .accreditations [class*="col-"]:last-child img:last-child  {
    flex: 0 0 calc((100% / 2) - (20px * (2 - 1) / 2));
    margin-right: 0;
}
footer #quickLinks-Accreds .align-right:has(.compcare-logo) {
    text-align: right !important;
}

/* Contact */
footer #contactDetails a{
    color: #425563;
}
footer #contactDetails .social-icons a img:hover,
footer #contactDetails .social-icons a:focus img {
    border-radius: 50px;
}

/* Copyright */
footer #copyrightInfo {
    background-color: #e8eced;
    color: #231f20;
}
footer #copyrightInfo a {
    color: #425563;
}
footer #copyrightInfo .site-polices a {
    margin: 5px;
}
footer #copyrightInfo .copyright p {
    margin-top: 1.5rem;
}

/* Footer Media Queries */
@media screen and (max-width: 991px) {
    footer .align-right {
        text-align: left;
    }

    /* Quicklinks and Accreditations */
    /* - Quicklinks - */
    footer #quickLinks-Accreds .quicklinks {
        flex-direction: row;
        flex-wrap: wrap;
    }
    footer #quickLinks-Accreds .quicklinks a {
        display: inline-flex;
        flex: 0 0 calc(100% / 4);
    }

    /* Copyright */
    footer #copyrightInfo .sitePolices a {
        display: block;
        margin: 10px 0;
    }
}

@media screen and (max-width: 767px) {
    /* Quicklinks and Accreditations */
    /* - Quicklinks - */
    footer #quickLinks-Accreds .quicklinks a {
        flex: 0 0 calc(100% / 2);
    }

    /* - Accreditations - */
    footer #quickLinks-Accreds .accreditations .col-2 {
        width: 33.33333333%;
    }
    footer #quickLinks-Accreds .accreditations .col-10 {
        width: 66.66666667%;
    }
    footer #quickLinks-Accreds .accreditations [class*="col"]:last-child img  {
        flex: 0 0 calc((100% / 2) - (20px * (2 - 1) / 2));
    }
    footer #quickLinks-Accreds .accreditations [class*="col"]:last-child img:nth-child(2n)  {
        margin-right: 0;
    }
    footer #quickLinks-Accreds .accreditations [class*="col-"]:last-child img:last-child  {
        flex: 0 0 calc((100% / 1) - (20px * (1 - 1) / 1));
    }
}

@media screen and (max-width: 576px) {
    /* Quicklinks and Accreditations */
    /* - Quicklinks - */
    footer #quickLinks-Accreds .quicklinks a {
        flex: 0 0 calc(100% / 1);
    }

    /* - Accreditations - */
    footer #quickLinks-Accreds .accreditations [class*="col"] {
        width: 50%;
        margin: 0 auto;
    }
    footer #quickLinks-Accreds .accreditations [class*="col-"]:last-child img {
        flex: 0 0 calc((100% / 1) - (20px * (1 - 1) / 1));
        margin-right: 0;
    }
    footer #quickLinks-Accreds .accreditations [class*="col-"] img {
        margin-bottom: 1.5rem;
    }
}