

:root {
    --scc-heading: 60, 60, 59;
    --scc-secondary-heading: 60, 60, 59;
    --scc-text: 60, 60, 59;
    --scc-link: 176, 34, 104;
    --scc-link-hover: 0, 64, 109;
    --scc-highlight: 236, 0, 140;
    --scc-borders: 60, 60, 59;
    --scc-btn-bg: 236, 0, 140;
    --scc-btn-text: 255, 255, 255;
    --scc-btn-borders: 60, 60, 59;
    --scc-btn-bg-hover: 255, 255, 255;
    --scc-btn-text-hover: 60, 60, 59;
    --scc-header-bg: 255, 255, 255;
    --scc-header-text: 220, 228, 235;
    --scc-header-borders: 255, 255, 255;
    --scc-header-highlight: 124, 192, 74;
    --scc-logo-link: 255, 255, 255;
    --scc-logo-link-hover: 220, 228, 235;
    --scc-nav-link: 60, 60, 59;
    --scc-nav-link-hover: 176, 34, 104;
    --scc-nav-dropdown-bg: 243, 242, 245;
    --scc-nav-dropdown-link: 60, 60, 59;
    --scc-nav-dropdown-link-hover: 176, 34, 104;
    --scc-banner-bg: 255, 255, 255;
    --scc-banner-heading: 255, 255, 255;
    --scc-banner-text: 255, 255, 255;
    --scc-footer-bg: 46, 45, 44;
    --scc-footer-text: 255, 255, 255;
    --scc-footer-link: 255, 255, 255;
    --scc-footer-link-hover: 220, 228, 235;
    --scc-font: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --scc-heading-font: 'Rubik', -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --scc-radius: 5px;
    --scc-btn-radius: 150px;
    --scc-spacing: 30px;
    --scc-pc-spacing: 30px;
    --scc-header-height: 90px;
    --scc-max-width: 1350px;
    --scc-box-shadow: 0 2px 1px rgba(0, 0, 0, .1);
    --scc-header-box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
    --bs-primary: #b02268;
    --bs-primary-rgb: var(--scc-link);
    --bs-body-font-family: var(--scc-font);
    --bs-body-font-size: 16px;
    --bs-body-color: #3c3c3b;
    --bs-link-color: #b02268;
    --bs-link-hover-color: #00406d;
}

@media (min-width: 768px) { :root { --scc-pc-spacing: 40px; } }
@media (min-width: 992px) { :root { --scc-pc-spacing: 50px; } }
@media (min-width: 992px) { :root { --scc-header-height: 120px; } }
@media (min-width: 1200px) { :root { --scc-pc-spacing: 60px; } }



body {
    font-family: var(--scc-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: -0.15px;
    color: rgb(var(--scc-text));
    background-color: #fff;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    font-family: var(--scc-heading-font);
    font-weight: 600;
    line-height: 130%;
    letter-spacing: 0;
    color: rgb(var(--scc-heading));
    margin-bottom: 0.75em;
}

h1, .h1 { font-size: 35px; }
h2, .h2 { font-size: 30px; }
h3, .h3 { font-size: 28px; }
h4, .h4 { font-size: 24px; }
h5, .h5 { font-size: 22px; }
h6, .h6 { font-size: 20px; }

@media (min-width: 576px) {
    h1, .h1 { font-size: 45px; }
}
@media (min-width: 768px) {
    h1, .h1 { font-size: 50px; }
    h2, .h2 { font-size: 35px; }
    h3, .h3 { font-size: 32px; }
    h4, .h4 { font-size: 26px; }
    h5, .h5 { font-size: 24px; }
    h6, .h6 { font-size: 22px; }
}
@media (min-width: 992px) {
    h1, .h1 { font-size: 60px; }
    h2, .h2 { font-size: 40px; }
    h3, .h3 { font-size: 35px; }
    h4, .h4 { font-size: 28px; }
    h5, .h5 { font-size: 26px; }
    h6, .h6 { font-size: 24px; }
}
@media (min-width: 1200px) {
    h2, .h2 { font-size: 45px; }
    h3, .h3 { font-size: 40px; }
    h4, .h4 { font-size: 32px; }
    h5, .h5 { font-size: 30px; }
    h6, .h6 { font-size: 26px; }
}

p { margin-bottom: 1em; }

/* Paragraphs in the page content: no space above (Clean's styles.css gives every paragraph 2rem above and below) */
main p {
    margin-top: 0;
}

/* Paragraphs in the page content that have another paragraph beside them: 10px above and 15px below. Not a lone
   paragraph, and not in a row whose settings give it a Margin Top or Margin Bottom (.has-block-margin, set by
   sccRows). The selector is kept to the weight of "main p", so rules for particular components (for example no
   margin below the last paragraph of rich text) still win */
main p:where(:is(p ~ p, p:has(~ p)):not(.has-block-margin p)) {
    margin-top: 10px;
    margin-bottom: 15px;
}

/* Tables in the page content (e.g. the cookie table in the privacy policy): full width, a 2px border round every
   cell in the border colour, 10px padding, header cells in the heading colour. Long words wrap, so a table fits the
   page at 320px without scrolling sideways */
main table {
    width: 100%;
    margin: 5px 0 var(--scc-spacing);
    background: transparent;
    border-color: rgb(var(--scc-borders));
    border-style: solid;
    border-width: 2px 0 0 2px;
}

main table th,
main table td {
    padding: 10px;
    border-color: rgb(var(--scc-borders));
    border-style: solid;
    border-width: 0 2px 2px 0;
    overflow-wrap: break-word;
}

/* On small screens a long word in a cell can break anywhere, so the columns can be narrower than the word */
@media (max-width: 575.98px) {
    main table th,
    main table td {
        overflow-wrap: anywhere;
    }
}

main table th {
    color: rgb(var(--scc-heading));
}

main table tr p:first-of-type {
    margin-top: 0;
}

main table tr p:last-of-type {
    margin-bottom: 0;
}



a {
    color: rgb(var(--scc-link));
}
a:hover,
a:focus {
    color: rgb(var(--scc-link-hover));
}
/* Links in text are underlined; buttons (such as the rich text row's button) are not */
.richtext a:not(.btn),
.page-content p a:not(.btn) {
    text-decoration: underline;
}

:focus-visible {
    outline: 2px solid rgb(var(--scc-highlight));
    outline-offset: 2px;
}

.container {
    max-width: var(--scc-max-width);
}


.btn {
    font-family: var(--scc-heading-font);
    font-weight: 600;
    font-size: 18px;
    line-height: 130%;
    letter-spacing: 0;
    text-transform: none;
    border-radius: var(--scc-btn-radius);
    padding: 9px 18px;
}

.btn-primary,
.btn-primary:disabled {
    color: rgb(var(--scc-btn-text));
    background-color: rgb(var(--scc-btn-bg));
    border: 2px solid rgb(var(--scc-btn-borders));
    box-shadow: var(--scc-box-shadow);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
    color: rgb(var(--scc-btn-text-hover));
    background-color: rgb(var(--scc-btn-bg-hover));
    border-color: rgb(var(--scc-btn-borders));
}


.skip-to-content {
    position: absolute;
    left: 15px;
    top: -100px;
    z-index: 1100;
    padding: 10px 14px;
    color: rgb(var(--scc-btn-text));
    background: rgb(var(--scc-btn-bg));
    border-radius: var(--scc-radius);
}
.skip-to-content:focus {
    top: 15px;
    color: rgb(var(--scc-btn-text));
}


/* Header (as investsalford.com), full width, in two rows. Small screens: a 90px bar with the logo on the left and the
   menu button on the right; the menu panel holds the main navigation, search, the call to action button and the
   secondary navigation. From 992px: a top row with the secondary navigation on the left, the logo in the centre and
   the call to action button on the right, which scrolls out of view; and a bottom row with the main navigation in the
   centre and search on the right, which stays at the top of the screen. All rules are scoped to #site-header so they
   do not reach blocks with the same class names (e.g. a call to action row's .cta-links) */
#site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: rgb(var(--scc-header-bg));
    color: rgb(var(--scc-header-text));
    box-shadow: var(--scc-header-box-shadow);
}

#site-header > .container {
    max-width: none;
}

#site-header .site-header-top {
    position: relative;
    display: flex;
    align-items: center;
    height: var(--scc-header-height);
}

#site-logo {
    margin-right: auto;
    padding: 15px 40px 15px 0;
}
#site-logo a {
    display: block;
}
#site-logo img {
    display: block;
    width: auto;
    height: calc(var(--scc-header-height) - 30px);
    max-width: 60vw;
}

#site-header ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Main navigation links: black, without an underline; hovered or focused, the hover colour with an underline in the
   same colour */
#site-header .site-navigation a {
    display: block;
    font-family: var(--scc-heading-font);
    font-size: 16px;
    font-weight: 600;
    line-height: 150%;
    letter-spacing: 0;
    color: #000;
    text-decoration: none;
}

#site-header .site-navigation a:hover,
#site-header .site-navigation a:focus {
    color: rgb(var(--scc-nav-link-hover));
    text-decoration: underline;
    text-decoration-color: rgb(var(--scc-nav-link-hover));
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
}

#site-header .site-navigation .expand-subpages {
    position: relative;
    width: 20px;
    padding: 0;
    background: none;
    border: 0;
    color: #000;
}

#site-header .site-navigation .expand-subpages:hover,
#site-header .site-navigation .expand-subpages:focus {
    color: rgb(var(--scc-nav-link-hover));
}

#site-header .site-navigation .expand-subpages::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -2px 0 0 -5px;
    border-style: solid;
    border-width: 5px 5px 0;
    border-color: currentColor transparent transparent;
    transition: transform .2s ease-in-out;
}

#site-header .site-navigation li.open-child > .expand-subpages::before {
    transform: rotate(180deg);
}

#site-header .secondary-navigation a {
    font-family: var(--scc-heading-font);
    font-size: 14px;
    font-weight: 400;
    line-height: 150%;
    color: rgb(var(--scc-nav-link));
    text-decoration: underline;
}
#site-header .secondary-navigation a:hover,
#site-header .secondary-navigation a:focus {
    color: rgb(var(--scc-nav-link-hover));
}

#site-header .expand-search {
    padding: 0;
    font-size: 20px;
    color: #000;
    background: none;
    border: 0;
}

#site-header .expand-search:hover,
#site-header .expand-search:focus {
    color: rgb(var(--scc-nav-link-hover));
}

#site-header .expand-search .close-icon,
#site-header .expand-search[aria-expanded="true"] .search-icon {
    display: none;
}

#site-header .expand-search[aria-expanded="true"] .close-icon {
    display: inline-block;
}

#site-header .site-search-form {
    display: flex;
    gap: 5px;
}

.site-search-form .form-control,
.footer-search .form-control {
    border-radius: var(--scc-radius);
    border-color: rgb(var(--scc-borders));
}

.site-search-form .btn-search,
.footer-search .btn-search {
    flex: 0 0 auto;
}

@media (max-width: 991.98px) {
    /* Top row: just the logo and the menu button */
    #site-header .site-header-top .secondary-navigation,
    #site-header .site-header-top .cta-links {
        display: none;
    }

    #site-header .site-nav-toggle {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 0;
        font-family: var(--scc-heading-font);
        font-size: 16px;
        font-weight: 600;
        color: #000;
        background: none;
        border: 0;
    }

    .site-nav-toggle-bars {
        position: relative;
        display: block;
        width: 26px;
        height: 18px;
    }
    .site-nav-toggle-bars span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background: currentColor;
        transition: transform .2s ease-in-out, opacity .2s ease-in-out;
    }
    .site-nav-toggle-bars span:nth-child(1) { top: 0; }
    .site-nav-toggle-bars span:nth-child(2) { top: 8px; }
    .site-nav-toggle-bars span:nth-child(3) { top: 16px; }

    .site-nav-open .site-nav-toggle-bars span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .site-nav-open .site-nav-toggle-bars span:nth-child(2) { opacity: 0; }
    .site-nav-open .site-nav-toggle-bars span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    /* The menu panel, below the header bar */
    #site-header .site-menu {
        display: none;
        position: fixed;
        top: var(--scc-header-height);
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1030;
        overflow-y: auto;
        padding-bottom: var(--scc-spacing);
        background: rgb(var(--scc-nav-dropdown-bg));
    }

    .site-nav-open #site-header .site-menu {
        display: block;
    }

    body.site-nav-open {
        overflow: hidden;
    }

    #site-header .site-navigation li {
        display: flex;
        flex-wrap: wrap;
        border-bottom: 1px solid rgba(var(--scc-nav-dropdown-link), .1);
    }

    #site-header .site-navigation li > a {
        flex: 1;
        padding: 15px;
    }

    #site-header .site-navigation .expand-subpages {
        width: 50px;
    }

    #site-header .site-navigation li > ul {
        display: none;
        flex: 0 0 100%;
        background: rgba(0, 0, 0, .05);
    }

    #site-header .site-navigation li.open-child > ul {
        display: block;
    }

    #site-header .site-navigation li > ul li:last-child {
        border-bottom: 0;
    }

    #site-header .site-navigation li > ul a {
        padding-left: 30px;
    }

    /* Below the navigation: search (always open), the call to action button and the secondary navigation */
    #site-header .site-menu .site-search,
    #site-header .site-menu-extra > * {
        padding: 15px 15px 0;
    }

    #site-header .site-menu .expand-search {
        display: none;
    }
}

@media (min-width: 992px) {
    /* The header is as tall as both rows and sticks with only its bottom row showing, so the top row scrolls away */
    #site-header {
        top: calc(var(--scc-header-height) / -2);
    }

    #site-header .site-nav-toggle,
    #site-header .site-menu-extra {
        display: none;
    }

    /* Top row: secondary navigation on the left, the logo in the centre, the call to action button on the right */
    #site-header .site-header-top {
        height: calc(var(--scc-header-height) / 2);
    }

    #site-logo {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
        padding: 0 20px;
    }

    #site-logo img {
        width: auto;
        height: calc(var(--scc-header-height) / 2 - 10px);
        max-width: none;
    }

    #site-header .site-header-top .secondary-navigation {
        margin-right: auto;
    }
    #site-header .site-header-top .secondary-navigation ul {
        display: flex;
        gap: 15px;
    }

    #site-header .site-header-top .cta-links {
        position: relative;
        z-index: 1035;
        margin-left: auto;
    }

    /* Bottom row: the main navigation in the centre, search on the right */
    #site-header .site-header-bottom {
        position: relative;
        display: flex;
        justify-content: center;
        height: calc(var(--scc-header-height) / 2);
    }

    #site-header .site-search {
        position: absolute;
        top: 0;
        right: 0;
        height: 100%;
    }

    #site-header .expand-search {
        width: 30px;
        height: 100%;
        text-align: center;
    }

    #site-header .site-search-form {
        display: none;
        position: absolute;
        top: 7.5px;
        right: 30px;
        z-index: 1040;
        width: min(360px, 40vw);
        height: calc(var(--scc-header-height) / 2 - 15px);
    }

    #site-header .site-search-form.is-open {
        display: flex;
    }

    #site-header .site-navigation > ul {
        display: flex;
        white-space: nowrap;
    }

    #site-header .site-navigation > ul > li {
        position: relative;
        display: flex;
        height: calc(var(--scc-header-height) / 2);
    }

    #site-header .site-navigation > ul > li > a {
        padding: 0 15px;
        line-height: calc(var(--scc-header-height) / 2);
    }

    #site-header .site-navigation > ul > li.has-child > a {
        padding-right: 20px;
    }

    #site-header .site-navigation > ul > li.has-child > .expand-subpages {
        position: absolute;
        top: 0;
        right: 0;
        height: 100%;
    }

    /* Drop-down: centred below its item */
    #site-header .site-navigation li > ul {
        visibility: hidden;
        opacity: 0;
        position: absolute;
        top: calc(var(--scc-header-height) / 2 - 7px);
        left: 50%;
        transform: translateX(-50%);
        z-index: 1040;
        width: 240px;
        padding: 10px 0;
        white-space: normal;
        background: rgb(var(--scc-nav-dropdown-bg));
        box-shadow: var(--scc-header-box-shadow);
        transition: opacity .2s ease-in-out, top .2s ease-in-out, visibility .2s;
    }

    #site-header .site-navigation li:hover > ul,
    #site-header .site-navigation li:focus-within > ul,
    #site-header .site-navigation li.open-child > ul {
        visibility: visible;
        opacity: 1;
        top: calc(var(--scc-header-height) / 2);
    }

    #site-header .site-navigation li > ul a {
        padding: 8px 20px;
    }
}


.page-title {
    padding-top: var(--scc-pc-spacing);
}

.page-title h1 {
    margin-bottom: 0.5em;
}

.secondary-heading,
.page-title .secondary-heading {
    font-size: 14px;
    font-weight: 500;
    line-height: 140%;
    letter-spacing: 0.5px;
    color: rgb(var(--scc-secondary-heading));
}
@media (min-width: 768px) { .secondary-heading, .page-title .secondary-heading { font-size: 16px; } }

.page-title .meta {
    color: rgb(var(--scc-text));
}

.page-title .badge {
    color: #fff;
    background: rgb(var(--scc-highlight));
}

.page-content {
    padding-bottom: var(--scc-pc-spacing);
}

.page-content .right-col {
    margin-top: var(--scc-spacing);
}

@media (min-width: 992px) {
    .page-content .right-col { margin-top: 0; }
}

.umb-block-list > * + * {
    margin-top: var(--scc-spacing);
}

/* Content rows (as investsalford.com): full width sections, one after another with no gap, each padded above and
   below (30px, 40px from 768px, 50px from 992px, 60px from 1200px). Banners fill the width with no padding. A row's
   colour set colours the whole section. Rows in the "Content with sidebar" column (.content-row-column) are styled
   further down */
.content-row {
    padding: var(--scc-pc-spacing) 0;
}

.content-row.content-row-banner {
    padding: 0;
}

/* The row's colour is on the section, so the block inside does not repeat it as a padded band */
.content-row.scc-colour > .container > .scc-colour {
    padding: 0;
    background: none;
}

.content-row .richtext > :last-child,
.content-row .pod-text > :last-child {
    margin-bottom: 0;
}


.banner-row {
    margin-bottom: 0;
}

.banner-row .banner {
    align-items: center;
    justify-content: flex-start;
    background-color: rgb(var(--scc-banner-bg));
}

.banner-row .banner-medium {
    min-height: calc(65vh - var(--scc-header-height));
}

.content-rows > .home-banner {
    max-width: var(--scc-max-width);
    margin-left: auto;
    margin-right: auto;
}

.banner-row .banner-small {
    min-height: max(50vh, 340px);
}

.banner-row .banner-large {
    min-height: 100vh;
}

.banner-row .banner.banner-has-text::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgb(var(--scc-banner-bg));
    opacity: 0;
}

.banner-row .banner-caption {
    position: relative;
    max-width: var(--scc-max-width);
    margin: 0 auto;
    padding: var(--scc-pc-spacing) 15px;
    background: none;
    color: rgb(var(--scc-banner-text));
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.banner-row .banner-caption > * {
    flex: 0 0 100%;
}

@media (min-width: 768px) {
    .banner-row .banner-caption > * { max-width: 90%; }
}
@media (min-width: 992px) {
    .banner-row .banner-caption > * { max-width: 83.333%; }
}
@media (min-width: 1200px) {
    .banner-row .banner-caption > * { max-width: 75%; }
}

.banner-row .banner-caption h2 {
    color: rgb(var(--scc-banner-heading));
    font-weight: 600;
    font-size: 35px;
    margin: 0;
}
@media (min-width: 576px) { .banner-row .banner-caption h2 { font-size: 45px; } }
@media (min-width: 768px) { .banner-row .banner-caption h2 { font-size: 50px; } }
@media (min-width: 992px) { .banner-row .banner-caption h2 { font-size: 60px; } }

.banner-row .banner-caption .richtext,
.banner-row .banner-caption p {
    color: rgb(var(--scc-banner-text));
}

.banner-row .banner-caption p {
    margin: 0;
}

.banner-row .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 0;
    background-color: #fff;
}
.banner-row .carousel-indicators .active {
    background-color: rgb(var(--scc-link));
}

.content-col .banner-row .banner-medium {
    min-height: 340px;
}
@media (min-width: 992px) {
    .content-col .banner-row .banner-medium { min-height: 420px; }
}

.sub-navigation {
    padding-top: 15px;
    margin-bottom: var(--scc-spacing);
    border-top: 1px solid rgb(var(--scc-borders));
}

.sub-navigation-heading {
    margin: 0;
    padding: 0 0 10px;
    font-family: var(--scc-heading-font);
    font-size: 16px;
    font-weight: 600;
    line-height: 150%;
}

/* The section link is in the heading colour, so it is underlined to show it is a link; the underline goes on hover and
   keyboard focus, so the change shows the pointer or focus is on it */
.sub-navigation-heading a {
    color: rgb(var(--scc-heading));
    text-decoration: underline;
}

.sub-navigation-heading a:hover,
.sub-navigation-heading a:focus-visible {
    text-decoration: none;
}

.sub-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sub-navigation li {
    padding: 3px 0;
}

.sub-navigation li a {
    display: block;
    font-family: var(--scc-heading-font);
    font-size: 16px;
    font-weight: 400;
    color: rgb(var(--scc-link));
    text-decoration: none;
    transition: all .2s ease-in-out;
}

.sub-navigation li:not(.active) > a:hover,
.sub-navigation li:not(.active) > a:focus {
    padding-left: 3px;
    color: rgb(var(--scc-link-hover));
}

.sub-navigation li.active > a {
    color: rgb(var(--scc-heading));
}

.sub-navigation ul ul {
    padding-top: 5px;
}

.sub-navigation ul ul li a {
    position: relative;
    padding-left: 12px;
}

.sub-navigation ul ul li a::before {
    content: "";
    position: absolute;
    top: 11px;
    left: 0;
    width: 5px;
    height: 1px;
    background-color: rgb(var(--scc-borders));
}

.sub-navigation ul ul li:not(.active) > a:hover {
    padding-left: 15px;
}

/* Each level below the second is indented a further 12px, so the lists show the structure of the section */
.sub-navigation ul ul ul {
    padding-left: 12px;
}

/* A page with pages below it: room on the right for its button, which shows or hides them (scc-theme.js) */
.sub-navigation li.has-child {
    position: relative;
}

.sub-navigation li.has-child > a {
    margin-right: 30px;
}

.sub-navigation li.has-child:not(.open-child) > .sub-navigation-pages {
    display: none;
}

.sub-navigation .expand-subpages {
    position: absolute;
    top: 3px;
    right: 0;
    width: 24px;
    height: 24px;
    padding: 0;
    color: rgb(var(--scc-link));
    background: transparent;
    border: 2px solid rgb(var(--scc-borders));
}

.sub-navigation .expand-subpages:hover {
    color: rgb(var(--scc-link-hover));
}

.sub-navigation .expand-subpages:focus-visible {
    outline: 2px solid rgb(var(--scc-highlight));
    outline-offset: 2px;
}

/* A triangle: down when closed, up when open */
.sub-navigation .expand-subpages::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -2px 0 0 -5px;
    border-style: solid;
    border-width: 5px 5px 0;
    border-color: currentColor transparent transparent;
    transition: transform .2s ease-in-out;
}

.sub-navigation li.open-child > .expand-subpages::before {
    transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
    .sub-navigation .expand-subpages::before {
        transition: none;
    }
}


.pods-intro {
    margin-bottom: var(--scc-pc-spacing);
}

.pods-intro > :last-child,
.pods-intro .richtext > :last-child {
    margin-bottom: 0;
}

.pods-intro.text-center h2 {
    margin-bottom: 0;
}

.pod {
    height: 100%;
}

/* A heading of the Heading Tag's level (h3 by default), or a paragraph heading: the same margins either way */
.pod-heading {
    margin: 0 0 0.75em;
    font-family: var(--scc-heading-font);
    font-size: 20px;
    font-weight: 600;
    line-height: 130%;
}
@media (min-width: 992px) { .pod-heading { font-size: 24px; } }

.pod-heading.pod-heading-sm { font-size: 16px; }

.pod-heading.pod-heading-lg { font-size: 22px; }
@media (min-width: 576px) { .pod-heading.pod-heading-lg { font-size: 24px; } }
@media (min-width: 768px) { .pod-heading.pod-heading-lg { font-size: 26px; } }
@media (min-width: 992px) { .pod-heading.pod-heading-lg { font-size: 30px; } }
@media (min-width: 1200px) { .pod-heading.pod-heading-lg { font-size: 35px; } }

.pod-text-image {
    display: flex;
    flex-direction: column;
}

.pod-text-image-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    color: inherit;
    text-decoration: none;
}

.pod-text-image-link:hover,
.pod-text-image-link:focus {
    color: inherit;
}

.pod-text-image-link:hover .pod-heading,
.pod-text-image-link:focus .pod-heading {
    text-decoration: underline;
}

.page-pods {
    margin-top: var(--scc-spacing);
}

.subpage-listing-item,
.pod-text-image .pod-image {
    margin-bottom: 20px;
    overflow: hidden;
}

.subpage-listing-item img.card-img-top,
.pod-text-image .pod-image img {
    width: 100%;
    transition: transform .4s ease-in-out;
}

.subpage-listing-item:hover img.card-img-top,
.pod-text-image:hover .pod-image img {
    transform: scale(1.05);
}

.pod-text-image .pod-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.pod-text-image .pod-link {
    margin-top: auto;
    margin-bottom: 0;
}

.pod-quote blockquote {
    margin: 0 0 10px;
}

.pod-quote .quote {
    font-family: var(--scc-font);
    font-size: 20px;
    font-style: italic;
    font-weight: 700;
    line-height: 140%;
    letter-spacing: -0.15px;
    color: rgb(var(--scc-heading));
}
@media (min-width: 992px) { .pod-quote .quote { font-size: 24px; } }

.pod-quote .person {
    margin: 0;
    font-size: 14px;
}

.right-col .pod + .pod {
    margin-top: var(--scc-spacing);
}

.accordion-row .accordion-item {
    border: 0;
    background: none;
}

.accordion-row .accordion-item + .accordion-item {
    margin-top: 10px;
}

.accordion-row .accordion-button {
    font-family: var(--scc-heading-font);
    font-size: 16px;
    font-weight: 600;
    line-height: 150%;
    color: rgb(var(--scc-btn-text));
    background-color: rgb(var(--scc-btn-bg));
    border: 2px solid rgb(var(--scc-btn-borders));
    border-radius: var(--scc-radius) !important;
    box-shadow: none;
}
@media (min-width: 992px) { .accordion-row .accordion-button { font-size: 18px; } }

.accordion-row .accordion-button:not(.collapsed),
.accordion-row .accordion-button:hover {
    color: rgb(var(--scc-btn-text-hover));
    background-color: rgb(var(--scc-btn-bg-hover));
}

.accordion-row .accordion-button::after {
    filter: brightness(0) invert(1);
}
.accordion-row .accordion-button:not(.collapsed)::after,
.accordion-row .accordion-button:hover::after {
    filter: none;
}

.accordion-row .accordion-button:focus {
    box-shadow: 0 0 0 .2rem rgba(var(--scc-highlight), .35);
}

.accordion-row .accordion-body {
    padding: 15px 0;
}

.accordion-row .nav-tabs {
    border-bottom: 1px solid rgb(var(--scc-borders));
}

.accordion-row .nav-tabs .nav-link {
    font-family: var(--scc-heading-font);
    font-weight: 600;
    color: rgb(var(--scc-text));
    border: 0;
    border-bottom: 3px solid transparent;
}

.accordion-row .nav-tabs .nav-link:hover,
.accordion-row .nav-tabs .nav-link.active {
    color: rgb(var(--scc-link));
    background: none;
    border-bottom-color: rgb(var(--scc-highlight));
}

.subpage-listing-item {
    border: 0;
    border-radius: 0;
    background: none;
}

.subpage-listing-item .card-img-top {
    border-radius: var(--scc-radius);
}

.subpage-listing-item .card-body {
    padding: 15px 0 0;
}

.subpage-listing-item .card-title {
    font-family: var(--scc-heading-font);
    font-size: 20px;
    font-weight: 600;
    line-height: 130%;
    color: rgb(var(--scc-heading));
}
@media (min-width: 992px) { .subpage-listing-item .card-title { font-size: 24px; } }

.subpage-listing-item:hover,
.subpage-listing-item:focus {
    box-shadow: none;
}

.subpage-listing-item:hover .card-title {
    text-decoration: underline;
}

.link-list a i {
    color: rgb(var(--scc-link));
}

.sitemap-row ul {
    padding-left: 1.25em;
}

.sitemap-row > ul {
    padding-left: 0;
    list-style: none;
}

.sitemap-row li {
    margin: 5px 0;
}

#site-footer {
    position: relative;
    overflow: hidden;
    padding: var(--scc-pc-spacing) 0 var(--scc-spacing);
    color: rgb(var(--scc-footer-text));
    background-color: rgb(var(--scc-footer-bg));
    border: 0;
}

#site-footer .footer-background-image {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-size: auto;
    background-position: center top;
}

#site-footer > :not(.footer-background-image) {
    position: relative;
}

#site-footer a {
    color: rgb(var(--scc-footer-link));
    text-decoration: underline;
}

#site-footer a:hover,
#site-footer a:focus {
    color: rgb(var(--scc-footer-link-hover));
    text-decoration: underline;
}

#site-footer .breadcrumb-trail {
    padding-bottom: var(--scc-spacing);
}

#site-footer .breadcrumb {
    --bs-breadcrumb-divider-color: #fff;
    --bs-breadcrumb-item-active-color: #fff;
    margin: 0;
    font-size: 14px;
}

/* Breadcrumb items: always white; links underlined, losing the underline when hovered or focused */
#site-footer .breadcrumb-item,
#site-footer .breadcrumb-item a,
#site-footer .breadcrumb-item a:hover,
#site-footer .breadcrumb-item a:focus {
    color: #fff;
}

#site-footer .breadcrumb-item a {
    text-decoration: underline;
}

#site-footer .breadcrumb-item a:hover,
#site-footer .breadcrumb-item a:focus {
    text-decoration: none;
}

/* A triangle (Ionicons "\f282") before every item, in place of Bootstrap's "/" divider. The empty alternative text
   keeps screen readers from announcing the icon */
#site-footer .breadcrumb-item::before,
#site-footer .breadcrumb-item + .breadcrumb-item::before {
    content: "\f282";
    content: "\f282" / "";
    position: relative;
    top: 1px;
    float: none;
    display: inline-block;
    padding: 0;
    margin-right: 7.5px;
    font-family: "Ionicons";
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#site-footer .breadcrumb-item + .breadcrumb-item {
    padding-left: 15px;
}

.footer-columns {
    row-gap: var(--scc-spacing);
}

.footer-heading {
    margin-bottom: 15px;
    font-family: var(--scc-heading-font);
    font-size: 20px;
    font-weight: 600;
    line-height: 130%;
    color: rgb(var(--scc-footer-text));
}
@media (min-width: 992px) { .footer-heading { font-size: 24px; } }

.footer-text p:last-child {
    margin-bottom: 0;
}

.footer-search {
    display: flex;
    margin-bottom: 15px;
}

#site-footer .quick-links ul,
#site-footer .social ul,
#site-footer .footer-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#site-footer .quick-links li {
    padding: 3px 0;
}

#site-footer .social ul {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

#site-footer .social img {
    display: block;
    height: 40px;
    width: auto;
}

#site-footer .footer-navigation {
    margin-top: var(--scc-pc-spacing);
}

#site-footer .footer-navigation ul {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 30px;
    font-size: 13px;
}


.btn-back-to-top {
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 1020;
    width: 45px;
    height: 45px;
    color: rgb(var(--scc-btn-text));
    background-color: rgb(var(--scc-btn-bg));
    border: 2px solid rgb(var(--scc-btn-borders));
    border-radius: var(--scc-radius);
    box-shadow: var(--scc-box-shadow);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease-in-out, visibility .2s ease-in-out;
}
.btn-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
}

.btn-back-to-top:hover,
.btn-back-to-top:focus {
    color: rgb(var(--scc-btn-text-hover));
    background-color: rgb(var(--scc-btn-bg-hover));
}

.cookie-notice {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 1040;
    max-width: min(400px, 100vw);
    padding: 20px;
    background: #fff;
    border-radius: var(--scc-radius);
    box-shadow: 0 0 100px rgba(0, 0, 0, .1), var(--scc-box-shadow);
}

.cookie-notice[hidden] {
    display: none;
}

.cookie-notice-heading {
    font-family: var(--scc-heading-font);
    font-size: 20px;
    font-weight: 600;
    line-height: 130%;
    color: rgb(var(--scc-heading));
    margin-bottom: 10px;
}

.cookie-notice-text p:last-child,
.cookie-notice-link {
    margin-bottom: 0;
}

.cookie-notice-text a {
    text-decoration: underline;
}

.cookie-notice-link {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@media (prefers-reduced-motion: reduce) {
    #site-header,
    .subpage-listing-item img.card-img-top,
    .pod-text-image .pod-image img,
    .btn-back-to-top {
        transition: none;
    }
}

.scc-colour-set1 { --scc-set-bg: 230, 0, 126; --scc-set-heading: 255, 255, 255; --scc-set-text: 255, 255, 255; --scc-set-link: 255, 255, 255; --scc-set-link-hover: 220, 228, 235; }
.scc-colour-set2 { --scc-set-bg: 0, 64, 109; --scc-set-heading: 255, 255, 255; --scc-set-text: 255, 255, 255; --scc-set-link: 255, 255, 255; --scc-set-link-hover: 197, 228, 246; }
.scc-colour-set3 { --scc-set-bg: 46, 45, 44; --scc-set-heading: 255, 255, 255; --scc-set-text: 255, 255, 255; --scc-set-link: 220, 228, 235; --scc-set-link-hover: 236, 0, 140; }
.scc-colour-set4 { --scc-set-bg: 224, 0, 105; --scc-set-heading: 255, 255, 255; --scc-set-text: 255, 255, 255; --scc-set-link: 255, 255, 255; --scc-set-link-hover: 228, 226, 224; }
.scc-colour-set5 { --scc-set-bg: 228, 230, 235; --scc-set-heading: 0, 0, 0; --scc-set-text: 60, 60, 59; --scc-set-link: 176, 34, 104; --scc-set-link-hover: 0, 64, 109; }

.scc-colour {
    color: rgb(var(--scc-set-text));
    background-color: rgb(var(--scc-set-bg));
}

.scc-colour h1, .scc-colour h2, .scc-colour h3, .scc-colour h4, .scc-colour h5, .scc-colour h6,
.scc-colour .window-heading {
    color: rgb(var(--scc-set-heading));
}

.scc-colour a:not(.btn) {
    color: rgb(var(--scc-set-link));
}

.scc-colour a:not(.btn):hover,
.scc-colour a:not(.btn):focus,
.scc-colour a:not(.btn):active {
    color: rgb(var(--scc-set-link-hover));
}

/* Tables in a colour set (e.g. in a rich text row with a Colour Set): header cells and borders in the set's colours */
.scc-colour table,
.scc-colour table th,
.scc-colour table td {
    border-color: rgb(var(--scc-set-text));
}

.scc-colour table th {
    color: rgb(var(--scc-set-heading));
}

/* Subpage listing items with an Item Colour Set: a rounded box in the set's colours, the image rounded at the top
   only, and the title and summary padded inside the colour */
.subpage-listing-item.scc-colour {
    border-radius: var(--scc-radius);
}

.subpage-listing-item.scc-colour:hover,
.subpage-listing-item.scc-colour:focus {
    color: rgb(var(--scc-set-text));
}

.subpage-listing-item.scc-colour .card-img-top {
    border-radius: var(--scc-radius) var(--scc-radius) 0 0;
}

.subpage-listing-item.scc-colour .card-body {
    padding: var(--scc-spacing);
}

.subpage-listing-item.scc-colour .card-title {
    color: rgb(var(--scc-set-heading));
}

.richtext.scc-colour,
.richtext.has-background-image {
    padding: var(--scc-pc-spacing) 15px;
}

.richtext.has-background-image {
    background-repeat: no-repeat;
    background-size: 100% auto;
}

.richtext-outro {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: var(--scc-spacing) 0 0;
}

/* The rich text row's optional button, below the text (not underlined like the links in the text) */
.richtext .richtext-button {
    margin: var(--scc-spacing) 0 0;
}

.richtext .richtext-button .btn {
    text-decoration: none;
}

.windows-row .window {
    position: relative;
    display: flex;
    height: 100%;
    min-height: 375px;
    background-size: cover;
    background-position: center;
}

.windows-row .window:not(.scc-colour) {
    background-color: rgb(var(--scc-header-bg));
}

/* "Add Colour Overlay" on a window: the image is covered with the window's background colour (its colour set's, or
   the window background) at 0.4 opacity, deepening to 0.8 while a linked window is hovered or focused */
.windows-row .window.window-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgb(var(--scc-set-bg, var(--scc-header-bg)));
    border-radius: inherit;
    opacity: .4;
    transition: opacity .3s ease-in-out;
    pointer-events: none;
}

.windows-row .window.window-overlay:has(.window-link:hover, .window-link:focus-visible)::before {
    opacity: .8;
}

.windows-row .window.window-overlay > * {
    position: relative;
    z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
    .windows-row .window.window-overlay::before {
        transition: none;
    }
}

.windows-row .window-link {
    display: flex;
    flex: 1;
    color: inherit;
    text-decoration: none;
}

.windows-row .window-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 15px;
    padding: var(--scc-spacing);
}

.windows-row .window-text-top .window-info { justify-content: flex-start; }
.windows-row .window-text-center .window-info { justify-content: center; }
.windows-row .window-text-bottom .window-info { justify-content: flex-end; }
.windows-row .text-center .window-info { align-items: center; }
.windows-row .text-end .window-info { align-items: flex-end; }

/* The window's text (between the heading and the button): spaced by the window's gap, so no margin after its last
   paragraph or list; in the window's text colour (its colour set's, if it has one) */
.windows-row .window-text {
    color: inherit;
}

.windows-row .window-text > :last-child {
    margin-bottom: 0;
}

/* The window heading is a span, or a heading of the Heading Tag's level (spaced by the window's gap, not margins) */
.windows-row .window-heading {
    margin: 0;
    font-family: var(--scc-heading-font);
    font-size: 20px;
    font-weight: 600;
    line-height: 130%;
    color: rgb(var(--scc-heading));
}

/* With a colour set (on the window, or on the row) the window heading is in the set's text colour, like the window's
   text */
.windows-row .scc-colour .window-heading,
.windows-row.scc-colour .window-heading {
    color: rgb(var(--scc-set-text));
}
@media (min-width: 992px) { .windows-row .window-heading { font-size: 24px; } }

.windows-row .window-heading.window-heading-sm { font-size: 16px; }

.windows-row .window-heading.window-heading-lg { font-size: 22px; }
@media (min-width: 576px) { .windows-row .window-heading.window-heading-lg { font-size: 24px; } }
@media (min-width: 768px) { .windows-row .window-heading.window-heading-lg { font-size: 26px; } }
@media (min-width: 992px) { .windows-row .window-heading.window-heading-lg { font-size: 30px; } }
@media (min-width: 1200px) { .windows-row .window-heading.window-heading-lg { font-size: 35px; } }

.windows-row .window-link:hover .window-heading,
.windows-row .window-link:focus .window-heading {
    text-decoration: underline;
}

/* Windows layouts (sccWindowsRow): groups one below the other. Below 992px the windows of mosaic and brick groups
   are one per row; from 992px a mosaic group is two columns of tall (475px, or the height of two windows in a group
   of 3) and short (375px) windows, and a brick group is a row of two windows three fifths and two fifths wide */
.windows-row .windows-groups,
.windows-row .windows-mosaic,
.windows-row .windows-mosaic-col,
.windows-row .windows-brick {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.windows-row .windows-cell {
    display: flex;
    flex-direction: column;
}

.windows-row .windows-cell > .window {
    flex: 1;
}

@media (min-width: 992px) {
    .windows-row .windows-mosaic {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .windows-row .windows-mosaic-col > .windows-cell {
        flex: 1 1 auto;
    }

    .windows-row .windows-mosaic-4 .window-big > .window {
        min-height: 475px;
    }

    .windows-row .windows-brick {
        display: grid;
        grid-template-columns: 3fr 2fr;
    }

    .windows-row .windows-brick.windows-small-first {
        grid-template-columns: 2fr 3fr;
    }
}

.grid-layout-row > .row + .row {
    margin-top: var(--scc-spacing);
}

/* Paragraph headings (.heading), secondary headings (.secondary-heading), intro text (.intro) and quotes (.quote), each
   in three sizes: .sm, medium (no size class) and .lg. Fonts, sizes, weights, line heights, letter spacing and quote
   spacing as on investsalford.com at each breakpoint. One difference: the small secondary heading stays 14px from
   768px (on investsalford.com it drops back to 12px between 992px and 1199px because of a typo in its stylesheet) */

/* Paragraph headings: 20px, 24px from 992px; small 18px, 20px from 992px; large 26px, 28px from 768px, 30px from
   992px, 35px from 1200px. A heading element (h1-h6) with the class keeps its own size */
:is(p, span).heading {
    display: block;
    margin-bottom: 0.75em;
    font-family: var(--scc-heading-font);
    font-size: 20px;
    font-weight: 600;
    line-height: 130%;
    letter-spacing: 0;
    color: rgb(var(--scc-heading));
}
@media (min-width: 992px) { :is(p, span).heading { font-size: 24px; } }

:is(p, span).heading.sm { font-size: 18px; }
@media (min-width: 992px) { :is(p, span).heading.sm { font-size: 20px; } }

:is(p, span).heading.lg { font-size: 26px; }
@media (min-width: 768px) { :is(p, span).heading.lg { font-size: 28px; } }
@media (min-width: 992px) { :is(p, span).heading.lg { font-size: 30px; } }
@media (min-width: 1200px) { :is(p, span).heading.lg { font-size: 35px; } }

/* Secondary headings: 14px, 16px from 768px; small 12px, 14px from 768px; large 16px, 18px from 576px, 20px from
   992px, 22px from 1200px */
.secondary-heading {
    display: block;
    font-family: var(--scc-font);
    font-size: 14px;
    font-weight: 500;
    line-height: 140%;
    letter-spacing: 0.5px;
    color: rgb(var(--scc-secondary-heading));
}
@media (min-width: 768px) { .secondary-heading { font-size: 16px; } }

.secondary-heading.sm {
    font-size: 12px;
    letter-spacing: 0;
}
@media (min-width: 768px) { .secondary-heading.sm { font-size: 14px; } }

.secondary-heading.lg { font-size: 16px; }
@media (min-width: 576px) { .secondary-heading.lg { font-size: 18px; } }
@media (min-width: 992px) { .secondary-heading.lg { font-size: 20px; } }
@media (min-width: 1200px) { .secondary-heading.lg { font-size: 22px; } }

/* Intro text: 18px, 20px from 768px, 22px from 992px, 24px from 1200px; small 16px, 18px from 768px, 20px from 992px;
   large 20px, 22px from 768px, 24px from 992px, 26px from 1200px */
.intro,
.richtext .intro {
    display: block;
    font-family: var(--scc-font);
    font-size: 18px;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: -0.15px;
}
.intro.sm, .richtext .intro.sm { font-size: 16px; }
.intro.lg, .richtext .intro.lg { font-size: 20px; }
@media (min-width: 768px) {
    .intro, .richtext .intro { font-size: 20px; }
    .intro.sm, .richtext .intro.sm { font-size: 18px; }
    .intro.lg, .richtext .intro.lg { font-size: 22px; }
}
@media (min-width: 992px) {
    .intro, .richtext .intro { font-size: 22px; }
    .intro.sm, .richtext .intro.sm { font-size: 20px; }
    .intro.lg, .richtext .intro.lg { font-size: 24px; }
}
@media (min-width: 1200px) {
    .intro, .richtext .intro { font-size: 24px; }
    .intro.lg, .richtext .intro.lg { font-size: 26px; }
}

/* Quotes: bold italic in the heading colour, with an opening quote mark (Ionicons) in the highlight colour above it.
   20px, 24px from 992px; small 18px, 20px from 992px; large 24px, 26px from 768px, 28px from 992px. Inside a
   blockquote (e.g. a quote pod) the quote has no spacing or mark of its own */
.quote {
    position: relative;
    display: block;
    margin: 15px 0;
    padding: 30px 0 15px;
    border: 0;
    font-family: var(--scc-font);
    font-size: 20px;
    font-style: italic;
    font-weight: 700;
    line-height: 140%;
    letter-spacing: -0.15px;
    color: rgb(var(--scc-heading));
}
@media (min-width: 992px) { .quote { font-size: 24px; } }

/* The mark is decorative, so it has empty alternative text where the browser supports it */
.quote::before {
    content: "\f35f";
    content: "\f35f" / "";
    position: absolute;
    top: -8px;
    left: 0;
    font-family: "Ionicons";
    font-size: 140%;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    color: rgb(var(--scc-highlight));
    transform: scaleX(-1) scaleY(-1);
    -webkit-font-smoothing: antialiased;
}
.text-center .quote::before {
    left: 50%;
    transform: translateX(-50%) scaleX(-1) scaleY(-1);
}
.text-end .quote::before,
.text-right .quote::before {
    right: 0;
    left: auto;
}

.quote.sm {
    padding-top: 20px;
    font-size: 18px;
    line-height: 130%;
}
@media (min-width: 992px) { .quote.sm { font-size: 20px; } }

.quote.lg {
    padding-top: 37.5px;
    font-size: 24px;
}
@media (min-width: 768px) { .quote.lg { font-size: 26px; } }
@media (min-width: 992px) { .quote.lg { font-size: 28px; } }

blockquote .quote {
    margin: 0;
    padding: 0;
}
blockquote .quote::before {
    display: none;
}

/* In a colour set: the set's heading colour, and the mark in the set's link colour */
.scc-colour .quote { color: rgb(var(--scc-set-heading)); }
.scc-colour .quote::before { color: rgb(var(--scc-set-link)); }

/* In rich text the headings have no margins of their own: 10px between a heading and the secondary heading below it,
   5px between a secondary heading and the heading below it, and the paragraph spacing before other text */
.richtext :is(p, span).heading,
.richtext .secondary-heading {
    margin: 0;
}

.richtext :is(p, span).heading + .secondary-heading {
    margin-top: 10px;
}

.richtext .secondary-heading + :is(p, span).heading {
    margin-top: 5px;
}

.gallery-video {
    position: relative;
    overflow: hidden;
    background: rgb(var(--scc-text));
}

.gallery-video-play {
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.gallery-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-video iframe {
    border: 0;
}

.gallery-video-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin: -35px 0 0 -35px;
    font-size: 26px;
    color: #fff;
    background: rgba(0, 0, 0, .6);
    border-radius: 50%;
    transition: background-color .2s ease-in-out;
}

.gallery-video:hover .gallery-video-icon,
.gallery-video:focus .gallery-video-icon {
    background: rgb(var(--scc-link));
}

.split-row .gallery-row {
    margin-bottom: 0;
}

.scc-btn-set1 { --scc-b-bg: 255, 255, 255; --scc-b-text: 0, 64, 109; --scc-b-border: 58, 135, 161; --scc-b-bg-hover: 0, 64, 109; --scc-b-text-hover: 255, 255, 255; --scc-b-border-hover: 0, 64, 109; }
.scc-btn-set2 { --scc-b-bg: 220, 228, 235; --scc-b-text: 23, 33, 39; --scc-b-border: 198, 205, 212; --scc-b-bg-hover: 198, 205, 212; --scc-b-text-hover: 23, 33, 39; --scc-b-border-hover: 198, 205, 212; }
.scc-btn-set3 { --scc-b-bg: 255, 255, 255; --scc-b-text: 0, 64, 109; --scc-b-border: 0, 64, 109; --scc-b-bg-hover: 60, 60, 59; --scc-b-text-hover: 255, 255, 255; --scc-b-border-hover: 236, 0, 140; }

.scc-btn {
    color: rgb(var(--scc-b-text));
    background-color: rgb(var(--scc-b-bg));
    border: 2px solid rgb(var(--scc-b-border));
    box-shadow: var(--scc-box-shadow);
}

.scc-btn:hover,
.scc-btn:focus,
a:hover .scc-btn,
a:focus .scc-btn {
    color: rgb(var(--scc-b-text-hover));
    background-color: rgb(var(--scc-b-bg-hover));
    border-color: rgb(var(--scc-b-border-hover));
}

.btn.btn-lg {
    font-size: 18px;
    font-weight: 600;
    line-height: 130%;
    padding: 10px 20px;
}

.btn.btn-sm {
    font-size: 14px;
    padding: 5px 12px;
}

.btn .btn-icon {
    margin-right: 8px;
}

/* Ionicons icons (button icons): the glyph is in the element's data-icon attribute (SccButtonIcon). The empty
   alternative text keeps screen readers from announcing it */
.scc-icon {
    display: inline-block;
    font-style: normal;
    line-height: 1;
}

.scc-icon::before {
    content: attr(data-icon);
    content: attr(data-icon) / "";
    font-family: "Ionicons";
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* A pod with only a button (no image, heading or text): the button is not pushed to the bottom */
.pod-text-image.scc-colour .pod-info:has(> .pod-link:only-child) {
    justify-content: center;
}

/* Banner heading tag, colour set, text alignment and position */
.banner-row .banner-caption .banner-heading:is(h1, h2, h3, h4, h5, h6) {
    color: rgb(var(--scc-banner-heading));
    font-weight: 600;
    font-size: 35px;
    line-height: 130%;
    margin: 0;
}
@media (min-width: 576px) { .banner-row .banner-caption .banner-heading:is(h1, h2, h3, h4, h5, h6) { font-size: 45px; } }
@media (min-width: 768px) { .banner-row .banner-caption .banner-heading:is(h1, h2, h3, h4, h5, h6) { font-size: 50px; } }
@media (min-width: 992px) { .banner-row .banner-caption .banner-heading:is(h1, h2, h3, h4, h5, h6) { font-size: 60px; } }

.banner-row .banner.scc-colour .banner-caption .banner-heading,
.banner-row .banner.scc-colour .banner-caption .richtext,
.banner-row .banner.scc-colour .banner-caption p {
    color: rgb(var(--scc-set-heading));
}

/* "Add Colour Overlay" on a banner: the image (or video) is covered with the banner's background colour (its colour
   set's, or the banner background) at 0.55 opacity, so the text stands out */
.banner-row .banner.banner-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgb(var(--scc-set-bg, var(--scc-banner-bg)));
    opacity: .55;
    pointer-events: none;
}

.banner-row .banner.banner-align-center .banner-caption { justify-content: center; text-align: center; }
.banner-row .banner.banner-align-right .banner-caption { justify-content: flex-end; text-align: right; }

.banner-row .banner.banner-position-top { align-items: flex-start; }
.banner-row .banner.banner-position-center { align-items: center; }
.banner-row .banner.banner-position-bottom { align-items: flex-end; }

/* Default pods with a colour set: full width band at the bottom of the page */
.default-pods-band {
    padding: var(--scc-pc-spacing) 0;
}

.default-pods-band .pod-text-image .pod-image {
    margin-bottom: 0;
}

.default-pods-band .pod-text-image:hover .pod-image img {
    transform: none;
}

/* Windows row with a colour set */
.windows-row.scc-colour {
    padding: var(--scc-pc-spacing) 15px;
}

/* Anchor navigation */
.anchor-navigation-row {
    padding: 15px;
    font-family: var(--scc-heading-font);
    font-size: 16px;
    font-weight: 600;
}

@media (min-width: 992px) { .anchor-navigation-row { font-size: 18px; } }

.anchor-navigation-row.anchor-navigation-sticky {
    position: sticky;
    top: 0;
    z-index: 900;
}

.anchor-navigation-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 25px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.anchor-links-basic .anchor-navigation-links a,
.anchor-links-underline .anchor-navigation-links a {
    text-decoration: none;
}

.anchor-links-underline .anchor-navigation-links a {
    padding-bottom: 2px;
    border-bottom: 2px solid currentColor;
}

.anchor-links-basic .anchor-navigation-links a:hover,
.anchor-links-basic .anchor-navigation-links a:focus {
    text-decoration: underline;
}

.anchor-links-buttons .anchor-navigation-links {
    gap: 10px;
}

.colour-sets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--scc-spacing);
    margin-top: var(--scc-spacing);
}

.colour-set-item {
    margin: 0;
}

.colour-set-item .inner {
    padding: 25px 20px;
    border: 1px solid rgb(var(--scc-set-heading));
    outline: 1px solid rgba(0, 0, 0, .15);
    border-radius: var(--scc-radius);
}

.colour-set-item .secondary-heading {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgb(var(--scc-set-heading));
}

.colour-set-item .heading {
    font-size: 26px;
    font-weight: 800;
    line-height: 120%;
    color: rgb(var(--scc-set-heading));
}

.colour-set-item .text {
    color: rgb(var(--scc-set-text));
}

.colour-set-item figcaption {
    margin-top: 10px;
    font-size: 14px;
}

.colour-set-item .colour-set-name {
    display: block;
    font-weight: 700;
    font-size: 16px;
}

.colour-set-values {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2px 10px;
    margin: 8px 0 0;
}

.colour-set-values dt {
    font-weight: 600;
}

.colour-set-values dd {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.colour-swatch {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 1px solid rgba(0, 0, 0, .3);
    border-radius: 2px;
}

.colour-set-values input[type="color"] {
    flex: 0 0 auto;
    width: 32px;
    height: 24px;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, .3);
    border-radius: 2px;
    background: none;
    cursor: pointer;
}

.colour-set-values .colour-set-value {
    font-size: 13px;
}

.colour-sets-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 15px;
    margin-top: var(--scc-spacing);
}

.colour-sets-status {
    margin: 0;
}

/* "Add a colour set" / "Add a button colour set", with what it does beside it */
.colour-sets-add {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 15px;
    margin-top: var(--scc-spacing);
}

.colour-sets-add p {
    flex: 1 1 280px;
    margin: 0;
    font-size: 14px;
}

/* A set's Delete button, below its colours */
.colour-set-item .colour-set-delete {
    margin-top: 10px;
}

/* A set the page moves focus to (after adding it), scrolled clear of the sticky header */
.colour-set-item {
    scroll-margin-top: calc(var(--scc-header-height) + 20px);
}

.colour-set-item:focus-visible,
.colour-set-item:focus {
    outline: 3px solid rgb(var(--scc-highlight));
    outline-offset: 4px;
}

.colour-sets-subheading {
    margin-top: calc(var(--scc-spacing) * 2);
}

.button-set-item .inner {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    border-color: rgba(0, 0, 0, .15);
}

/* Shows a button colour set's hover colours without hovering */
.scc-btn.scc-btn-hover-preview {
    color: rgb(var(--scc-b-text-hover));
    background-color: rgb(var(--scc-b-bg-hover));
    border-color: rgb(var(--scc-b-border-hover));
}

/* Banner carousels: narrow previous / next controls at the edges (40px, 60px on large screens, as on
   derivesalford.co.uk) instead of Bootstrap's 15% wide ones, and the heading, text and buttons padded clear of them and
   of the slide indicators at the bottom */
.banner-row .carousel {
    --banner-control-width: 40px;
}
@media (min-width: 1200px) {
    .banner-row .carousel { --banner-control-width: 60px; }
}

.banner-row .carousel .carousel-control-prev,
.banner-row .carousel .carousel-control-next {
    width: var(--banner-control-width);
}

.banner-row .carousel .banner-caption {
    padding-left: calc(var(--banner-control-width) + 15px);
    padding-right: calc(var(--banner-control-width) + 15px);
    padding-bottom: max(var(--scc-pc-spacing), 60px);
}

/* Blocks with an "Anchor Name" (the id of the block container): when linked to, stop below the sticky header */
.block-item[id] {
    scroll-margin-top: var(--scc-header-height);
}

/* Accordion / tabs row with a "Button Colour Set": headings (and tabs) use the .scc-btn-setN colours, open and hovered
   ones the set's hover colours. The chevron takes the text colour (a mask instead of the white filter used above) */
.accordion-row.accordion-btn-set .accordion-button {
    color: rgb(var(--scc-b-text));
    background-color: rgb(var(--scc-b-bg));
    border-color: rgb(var(--scc-b-border));
}

.accordion-row.accordion-btn-set .accordion-button:not(.collapsed),
.accordion-row.accordion-btn-set .accordion-button:hover {
    color: rgb(var(--scc-b-text-hover));
    background-color: rgb(var(--scc-b-bg-hover));
    border-color: rgb(var(--scc-b-border-hover));
}

.accordion-row.accordion-btn-set .accordion-button::after,
.accordion-row.accordion-btn-set .accordion-button:not(.collapsed)::after,
.accordion-row.accordion-btn-set .accordion-button:hover::after {
    background-image: none;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") center / contain no-repeat;
    filter: none;
}

.accordion-row.accordion-btn-set .nav-tabs {
    gap: 5px;
    border-bottom-color: rgb(var(--scc-b-border));
}

.accordion-row.accordion-btn-set .nav-tabs .nav-link {
    color: rgb(var(--scc-b-text));
    background-color: rgb(var(--scc-b-bg));
    border: 1px solid rgb(var(--scc-b-border));
    border-radius: var(--scc-radius) var(--scc-radius) 0 0;
}

.accordion-row.accordion-btn-set .nav-tabs .nav-link:hover,
.accordion-row.accordion-btn-set .nav-tabs .nav-link.active {
    color: rgb(var(--scc-b-text-hover));
    background-color: rgb(var(--scc-b-bg-hover));
    border-color: rgb(var(--scc-b-border-hover));
}

/* Alert box row (the uSkinned Alert Box component): a Bootstrap alert; with a colour set, the set's colours replace
   the alert style's, and the close button takes the text colour */
.alert-box {
    margin: 0;
    border-radius: var(--scc-radius);
}

.alert-box .richtext > :first-child { margin-top: 0; }
.alert-box .richtext > :last-child { margin-bottom: 0; }

.alert-box.scc-colour {
    color: rgb(var(--scc-set-text));
    background-color: rgb(var(--scc-set-bg));
    border-color: rgba(var(--scc-set-text), .25);
}

.alert-box.scc-colour .btn-close {
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center / 1em auto no-repeat;
    mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center / 1em auto no-repeat;
    opacity: .75;
}

.alert-box.scc-colour .btn-close:hover,
.alert-box.scc-colour .btn-close:focus {
    opacity: 1;
}

/* Call to action row (the uSkinned Call to Action / CTA strip component): stacked on small screens; on large screens
   the text takes 70% (75% from 1200px) beside full width buttons (Left / Right alignment), or everything is stacked and
   centred (Center) */
.cta-row-inner {
    display: flex;
    flex-direction: column;
    gap: var(--scc-spacing);
}

.cta-row .cta-info > :last-child,
.cta-row .cta-info .richtext > :last-child {
    margin-bottom: 0;
}

.cta-row .secondary-heading {
    margin-bottom: .5em;
    font-weight: 500;
}

.cta-row .cta-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
}

.cta-row .cta-align-center {
    align-items: center;
    text-align: center;
}

.cta-row .cta-align-center .cta-info {
    max-width: 83.333%;
}

.cta-row .cta-align-center .cta-links {
    justify-content: center;
}

@media (min-width: 992px) {
    .cta-row .cta-align-left,
    .cta-row .cta-align-right {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .cta-row .cta-align-left .cta-info,
    .cta-row .cta-align-right .cta-info {
        flex: 0 0 70%;
        max-width: 70%;
    }

    .cta-row .cta-align-left .cta-links,
    .cta-row .cta-align-right .cta-links {
        flex: 0 0 calc(30% - var(--scc-spacing));
        flex-direction: column;
    }

    .cta-row .cta-align-left .cta-links .btn,
    .cta-row .cta-align-right .cta-links .btn {
        display: block;
        width: 100%;
    }

    .cta-row .cta-align-right {
        flex-direction: row-reverse;
        text-align: right;
    }
}

@media (min-width: 1200px) {
    .cta-row .cta-align-left .cta-info,
    .cta-row .cta-align-right .cta-info {
        flex-basis: 75%;
        max-width: 75%;
    }

    .cta-row .cta-align-left .cta-links,
    .cta-row .cta-align-right .cta-links {
        flex-basis: calc(25% - var(--scc-spacing));
    }
}

/* Call to action row with a colour set: padded band */
.cta-row.scc-colour {
    padding: var(--scc-pc-spacing) var(--scc-spacing);
}

.cta-row.scc-colour .secondary-heading {
    color: rgb(var(--scc-set-heading));
}

/* Data list row (the uSkinned Data List component): label on the left, value on the right in bold, optional text
   below; with 1 item per row the items are separated by lines; "Add Container Style" boxes the list */
.data-list-title {
    margin-bottom: calc(var(--scc-spacing) / 2);
}

.data-list-title .secondary-heading {
    margin-bottom: .5em;
    font-weight: 500;
}

.data-list-title .data-list-heading {
    margin: 0;
}

.data-list-item {
    position: relative;
    margin: 8px 0;
}

.data-list-items-1 .data-list-item:not(:last-child)::before {
    content: "";
    position: absolute;
    right: calc(var(--bs-gutter-x, 1.5rem) / 2);
    bottom: -8px;
    left: calc(var(--bs-gutter-x, 1.5rem) / 2);
    height: 1px;
    background-color: rgb(var(--scc-borders));
}

.data-list-item-title {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0 15px;
    margin: 0;
}

.data-list-text-right {
    margin-left: auto;
    font-weight: 700;
}

.data-list-item-text {
    margin-top: 4px;
}

.data-list-item-text > :last-child {
    margin-bottom: 0;
}

.data-list-boxed {
    padding: calc(var(--scc-spacing) / 2);
    border: 1px solid rgb(var(--scc-borders));
}

/* Data list row with a colour set: padded band, lines and box border in the set's text colour */
.data-list-row.scc-colour {
    padding: var(--scc-pc-spacing) var(--scc-spacing);
}

.data-list-row.scc-colour .data-list-items-1 .data-list-item:not(:last-child)::before {
    background-color: rgba(var(--scc-set-text), .35);
}

.data-list-row.scc-colour .data-list-boxed {
    border-color: rgba(var(--scc-set-text), .35);
}

.data-list-row.scc-colour .secondary-heading {
    color: rgb(var(--scc-set-heading));
}

/* Banner Style (uSkinned banner style): heights as investsalford.com, less the header. A takeover video banner
   shows the whole 16:9 video instead of filling the screen */
.banner-row .banner.banner-style-takeover {
    min-height: calc(100vh - var(--scc-header-height));
}

.banner-row .banner.banner-style-medium {
    min-height: calc(65vh - var(--scc-header-height));
}

.banner-row .banner.banner-style-short {
    min-height: calc(50vh - var(--scc-header-height));
}

.banner-row .banner.banner-has-video.banner-style-takeover {
    min-height: 0;
    aspect-ratio: 16 / 9;
}

/* Embed code row (the uSkinned Embed Code component): run code (embeds) fit the column; displayed code scrolls */
.embed-code-intro {
    margin-bottom: calc(var(--scc-spacing) / 2);
}

.embed-code-intro .secondary-heading {
    margin-bottom: .5em;
    font-weight: 500;
}

.embed-code-intro > :last-child,
.embed-code-intro .richtext > :last-child,
.embed-code-outro .richtext > :last-child {
    margin-bottom: 0;
}

.embed-code-run iframe,
.embed-code-run video,
.embed-code-run img {
    max-width: 100%;
}

.embed-code-display {
    margin: 0;
    padding: 15px;
    overflow-x: auto;
    font-size: 14px;
    white-space: pre;
    background: rgba(0, 0, 0, .05);
    border: 1px solid rgba(0, 0, 0, .15);
}

.embed-code-outro {
    margin-top: calc(var(--scc-spacing) / 2);
}

/* Embed code row with a colour set: padded band */
.embed-code-row.scc-colour {
    padding: var(--scc-pc-spacing) var(--scc-spacing);
}

.embed-code-row.scc-colour .secondary-heading {
    color: rgb(var(--scc-set-heading));
}

.embed-code-row.scc-colour .embed-code-display {
    color: inherit;
    background: rgba(var(--scc-set-text), .08);
    border-color: rgba(var(--scc-set-text), .3);
}

/* Grid layout row with a colour set: padded band */
.grid-layout-row.scc-colour {
    padding: var(--scc-pc-spacing) var(--scc-spacing);
}

.grid-layout-row .grid-layout-heading {
    margin-bottom: calc(var(--scc-spacing) / 2);
}

/* Links row with a colour set: padded band */
.links-row.scc-colour {
    padding: var(--scc-pc-spacing) var(--scc-spacing);
}

/* Footer navigation: arrow before each link, and the Salford City Council logo */
#site-footer .footer-navigation ul {
    align-items: center;
}
#site-footer .footer-navigation a .fa-solid {
    margin-right: 6px;
    font-size: .8em;
}
#site-footer .footer-navigation .site-credit {
    max-width: 50%;
    margin-left: auto;
}
#site-footer .footer-navigation .site-credit img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 0;
}

/* "magentaline" custom class: a magenta line along the bottom of the row (investsalford.com). Full width content
   rows are already padded; elsewhere (a row in the sidebar column, or a block in a block list) a row has space above the line,
   unless its colour set goes down to the line */
.block-item.magentaline {
    border-bottom: 10px solid #d8117e;
}
.block-item.magentaline:is(.content-row-column, :not(.content-row)) {
    padding-bottom: var(--scc-pc-spacing);
}
.block-item.magentaline:is(.content-row-column, :not(.content-row)):has(> .scc-colour) {
    padding-bottom: 0;
}

/* Headings in a colour set (including paragraph headings, e.g. ".heading" in pod text) take the set's heading colour */
.scc-colour :is(p, span).heading,
.scc-colour .secondary-heading {
    color: rgb(var(--scc-set-heading));
}

/* Text and image pods with a colour set: the text is padded inside the colour */
.pod-text-image.scc-colour .pod-info {
    padding: var(--scc-spacing);
}

/* Call to action row with its buttons below the text */
.cta-row .cta-buttons-below {
    flex-direction: column;
    align-items: stretch;
    text-align: inherit;
}
@media (min-width: 992px) {
    .cta-row .cta-buttons-below .cta-info {
        flex: 0 0 auto;
        max-width: none;
    }
    .cta-row .cta-buttons-below .cta-links {
        flex: 0 0 auto;
        flex-direction: row;
    }
    .cta-row .cta-buttons-below .cta-links .btn {
        display: inline-block;
        width: auto;
    }
}

/* Subpage listing row: the space below the title or intro text, as below the other rows' intros */
.subpage-listing-row > :is(h2, .richtext):nth-last-child(2) {
    margin-bottom: var(--scc-pc-spacing);
}
.subpage-listing-row > .richtext > :last-child {
    margin-bottom: 0;
}

/* Ionicons 4.5.4 (MIT, Ionic - assets/fonts/ionicons/LICENSE), self-hosted: the breadcrumb triangles */
@font-face {
    font-family: "Ionicons";
    src: url("../fonts/ionicons/ionicons.woff2") format("woff2"),
         url("../fonts/ionicons/ionicons.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Gallery images fill their block, with rounded corners (as investsalford.com) */
.gallery-row figure {
    margin: 0;
}

.gallery-row figure img,
.gallery-row .gallery-item {
    border-radius: var(--scc-radius);
}

/* "Content with sidebar" page layout (as investsalford.com): the page title, then the rows in a column beside a
   sidebar with the section's sub navigation and pods */
.page-title-row {
    padding-top: var(--scc-pc-spacing);
}

.page-title-row .page-title-heading {
    margin-bottom: 0.25em;
}

.page-title-row .secondary-heading.lg {
    margin-bottom: 0;
    font-size: 16px;
}
@media (min-width: 992px) { .page-title-row .secondary-heading.lg { font-size: 18px; } }

.page-with-sidebar {
    padding-bottom: var(--scc-pc-spacing);
}

/* Rows in the content column: padded above (banners too); a row with a colour set is also padded below and at the
   sides */
.content-row.content-row-column {
    padding: var(--scc-pc-spacing) 0 0;
}

.content-row.content-row-column.scc-colour {
    margin-top: var(--scc-pc-spacing);
    padding: var(--scc-spacing);
}

.content-row.content-row-column.scc-colour > .scc-colour {
    padding: 0;
    background: none;
}

/* A row's "Remove Top Padding" and "Remove Bottom Padding" settings: no padding above or below the row's section, in
   the full width rows and in the content column */
.content-row.content-row-no-top-padding,
.content-row.content-row-column.scc-colour.content-row-no-top-padding {
    padding-top: 0;
}

.content-row.content-row-no-bottom-padding,
.content-row.content-row-column.scc-colour.content-row-no-bottom-padding {
    padding-bottom: 0;
}

.right-col {
    padding-top: var(--scc-pc-spacing);
}

.right-col .sidebar-pod + .sidebar-pod,
.right-col .sub-navigation + .sidebar-pod {
    margin-top: var(--scc-spacing);
}

/* Each pod in the sidebar has a line above it and the same spacing as the sub navigation */
.right-col .sidebar-pod {
    padding-top: 15px;
    margin-bottom: var(--scc-spacing);
    border-top: 1px solid rgb(var(--scc-borders));
}

/* Small screens: "In this section" opens the sub navigation */
.in-this-section {
    margin-bottom: var(--scc-spacing);
}

.in-this-section > summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    font-family: var(--scc-heading-font);
    font-weight: 600;
    color: rgb(var(--scc-heading));
    cursor: pointer;
}

.in-this-section > summary:focus-visible {
    outline: 2px solid rgb(var(--scc-highlight));
    outline-offset: 2px;
}

.in-this-section .sub-navigation {
    margin-top: 10px;
}

/* Search results page (as investsalford.com): the title in a colour set 2 strip, the result count, the search form,
   the results as a list of links (heading, description and address) and numbered page links */
.search-title-row .cta-heading {
    margin-bottom: 0;
}

.search-page .content-col {
    padding-top: var(--scc-pc-spacing);
}

/* The search term, picked out in the link colour (white on the highlight colour is below 4.5:1) */
.search-feedback .search-term {
    display: inline-block;
    padding: 0 3px;
    font-weight: 700;
    color: #fff;
    background-color: rgb(var(--scc-link));
    border-radius: calc(var(--scc-radius) / 2);
}

/* The search box, rounded on the right, with the search button inside its right-hand end */
.search-page-form {
    position: relative;
    margin: calc(var(--scc-spacing) / 2) 0;
}

.search-page-form .form-control {
    width: 100%;
    height: 50px;
    min-height: 50px;
    padding-right: 60px;
    border: 2px solid rgb(var(--scc-borders));
    border-radius: var(--scc-radius) var(--scc-btn-radius) var(--scc-btn-radius) var(--scc-radius);
}

.search-page-form .btn-search {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin: 0;
    padding: 0;
    font-size: 20px;
    border-radius: var(--scc-btn-radius);
}

.search-results {
    margin: calc(var(--scc-spacing) / 2) 0;
    padding: 0;
    list-style: none;
}
@media (min-width: 992px) { .search-results { margin: var(--scc-spacing) 0; } }

.search-result + .search-result {
    margin-top: var(--scc-spacing);
}

.search-result > a {
    display: block;
    color: rgb(var(--scc-text));
    text-decoration: none;
}

.search-result-heading {
    margin-bottom: 10px;
    font-family: var(--scc-heading-font);
    font-size: 20px;
    font-weight: 600;
    line-height: 130%;
    letter-spacing: 0;
    color: rgb(var(--scc-heading));
}
@media (min-width: 992px) { .search-result-heading { font-size: 24px; } }

.search-result-text {
    margin-top: 10px;
    margin-bottom: 10px;
}

.search-result-url {
    margin-top: 10px;
    margin-bottom: 0;
    overflow-wrap: anywhere;
}

.search-result-url span {
    color: rgb(var(--scc-link));
}

.search-result > a:hover .search-result-heading,
.search-result > a:focus .search-result-heading,
.search-result > a:hover .search-result-url span,
.search-result > a:focus .search-result-url span {
    color: rgb(var(--scc-link-hover));
    text-decoration: underline;
}

/* Page links: bordered boxes with the current page filled in; Previous and Next at the two ends */
.search-pagination {
    padding: var(--scc-spacing) 0;
}

.search-pagination .pagination {
    position: relative;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0;
}

.search-pagination .page-item.prev,
.search-pagination .page-item.next {
    font-size: 18px;
}

/* On small screens Previous and Next stay beside the page numbers (wrapping if needed), so nothing overlaps */
@media (min-width: 576px) {
    .search-pagination .page-item.prev,
    .search-pagination .page-item.next {
        position: absolute;
        top: 0;
    }

    .search-pagination .page-item.prev { left: 0; }
    .search-pagination .page-item.next { right: 0; }
}

.search-pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    color: rgb(var(--scc-link));
    background-color: #fff;
    border: 2px solid rgb(var(--scc-borders));
    border-radius: var(--scc-radius) !important;
}
@media (min-width: 576px) {
    .search-pagination .page-link {
        min-width: 50px;
        height: 50px;
        padding: 0 16px;
    }
}

.search-pagination .page-item:not(.active) .page-link:hover,
.search-pagination .page-item:not(.active) .page-link:focus {
    color: rgb(var(--scc-link-hover));
    background-color: #f3f2f5;
    box-shadow: var(--scc-box-shadow);
}

/* The current page, in the link colour (white on the highlight colour is below 4.5:1) */
.search-pagination .page-item.active .page-link {
    color: #fff;
    background-color: rgb(var(--scc-link));
    border-color: rgb(var(--scc-link));
}

.search-pagination .page-link:focus-visible {
    outline: 2px solid rgb(var(--scc-highlight));
    outline-offset: 2px;
}

/* Previous and Next: Ionicons triangles */
.search-pagination .page-item.prev .icon::before,
.search-pagination .page-item.next .icon::before {
    font-family: "Ionicons";
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.search-pagination .page-item.prev .icon::before { content: "\f282"; }
.search-pagination .page-item.next .icon::before { content: "\f284"; }

/* Rounded corners on images, pods, windows and video thumbnails in the page content. Banners fill the width of the
   page and stay square, as do the header and footer logos (outside <main>). :where() keeps the image rule at the
   lowest specificity, so circular crops and other image rules still apply. The pods and windows are rounded without
   overflow: hidden, so the focus outline of the link inside them is not cut off. */
:where(main) img {
    border-radius: var(--scc-radius);
}

.banner-row img {
    border-radius: 0;
}

.pod-text-image .pod-image,
.gallery-video,
.windows-row .window {
    border-radius: var(--scc-radius);
}

/* A text and image pod with a colour set: the coloured box is rounded, and its image only at the top */
.pod-text-image.scc-colour {
    border-radius: var(--scc-radius);
}

.pod-text-image.scc-colour .pod-image,
.pod-text-image.scc-colour .pod-image img {
    border-radius: var(--scc-radius) var(--scc-radius) 0 0;
}
