:root {
    --pri: #946e2d;
    --pri-dark: #6a4f21;
    --sec: #7f4873;
    --sec-dark: #64385a;
    --text-bluegrey: #3a424d;
    --banner-overlay: #3f4752;
    --light-grey: #c9c9c9;
    --bluegrey: #2d313f;
    --light-gold: #a4957b;
    --text-black: #000;
    --white: #fff;
    --font-1: "Ubuntu", sans-serif;
    --font-2: "Gilda Display", serif;
}

h1 {
    font-family: "Gilda Display", serif;
    margin: 1.5rem 0rem;
    color: var(--pri);
    font-weight: normal;
    font-size: 2.6em;
    line-height: 1.05em;
}

h2 {
    font-family: "Gilda Display", serif;
    margin: 1.5rem 0rem 1rem 0rem;
    color: var(--pri);
    font-weight: normal;
    font-size: 2.25em;
    line-height: 1.25em;
}

h3 {
    font-family: "Gilda Display", serif;
    margin: 1.25rem 0rem 1rem 0rem;
    color: var(--pri);
    font-weight: bold;
    font-size: 1.8em;
    line-height: 1.5em;
}

h4 {
    font-family: "Gilda Display", serif;
    color: var(--pri);
    margin: 1.25rem 0rem 1rem 0rem;
    font-weight: normal;
    font-size: 1.2em;
    line-height: 1.25em;
}

p {
    margin: 1rem 0rem;
}

    h1:first-child,
    h2:first-child,
    h3:first-child,
    h4:first-child,
    p:first-child {
        margin-top: 0px;
    }

a:link, a:active, a:visited, a {
    color: var(--sec);
    transition: 0.3s ease-in-out;
}

    a:active, a:focus, a:hover {
        color: var(--pri);
    }

/* Testimonial slider */
.testimonial_section {
    background-color: #050522;
    background-image: url("../../images/testimonial-banner.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    margin: 150px 0;
    overflow: visible;
    position: relative;
}

.testimonial_section_inner {
    padding-bottom: 28px;
    padding-top: 28px;
    position: relative;
}

.testimonial_section h2 {
    color: #fff;
    font-family: "Gilda Display", serif;
    font-size: 30px;
    font-weight: 400;
    margin: 0 0 20px;
}

    .testimonial_section h2 span {
        color: #a97b20;
    }

.testimonial_slide {
    display: flex !important;
    flex-direction: column;
    position: relative;
}

.testimonial_content {
    min-width: 0;
    padding: 5px 42px 15px;
}

.testimonial_quote {
    font-size: 16px;
    line-height: 1.35;
    padding: 0 24px;
    position: relative;
}

    .testimonial_quote::before,
    .testimonial_quote::after,
    .testimonial-list__quote::before,
    .testimonial-list__quote::after {
        color: #fff;
        font-family: Georgia, serif;
        font-size: 60px;
        /*font-weight: 700;*/
        font-weight: 800;
        line-height: 1;
        position: absolute;
    }

    .testimonial_quote::before,
    .testimonial-list__quote::before {
        content: "\201C";
        left: -20px;
        top: 5px;
    }

    .testimonial_quote::after,
    .testimonial-list__quote::after {
        bottom: 4px;
        content: "\201D";
        right: -5px;
    }

.testimonial_text p:last-child {
    margin-bottom: 8px;
}

.testimonial_name {
    display: block;
    font-size: 28px;
}

.testimonial_image {
    margin: 18px 0 0;
}

    .testimonial_image img {
        display: block;
        height: auto;
        width: 100%;
    }

.testimonial_all_link {
    background: #a97b20;
    color: #fff;
    display: inline-block;
    font-weight: 500;
    margin: 18px 0 0;
    padding: 10px 18px;
}

.testimonial_arrow {
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 38px;
    line-height: 1;
    padding: 0;
    position: absolute;
    top: 45px;
    z-index: 3;
}

.testimonial_prev {
    left: 0;
}

.testimonial_next {
    right: 0;
}

.testimonial_slider,
.testimonial_slider .slick-list,
.testimonial_slider .slick-track,
.testimonial_slider .testimonial_slide {
    width: 100%;
}

    .testimonial_slider .slick-list {
        overflow-x: clip;
        overflow-y: visible;
    }

    .testimonial_slider .slick-disabled,
    .testimonial_slider .slick-hidden {
        display: none !important;
    }
    /*
    .testimonial_slider .testimonial_text,
    .testimonial_slider .testimonial_text p {
        height: auto !important;
        max-height: none !important;
        min-height: 0 !important;
    }*/
    .testimonial_slider .testimonial_text {
        margin-bottom: 20px;
    }

        .testimonial_slider .testimonial_text p {
            font-size: 18px;
            margin-bottom: 8px;
            margin-top: 0;
        }

h1:last-child,
h2:last-child,
h3:last-child,
h4:last-child,
p:last-child {
    margin-bottom: 0px;
}

a:link,
a:active,
a:visited {
    color: var(--sec);
    text-decoration: none;
}

a:hover, a:focus, a:hover {
    color: var(--pri);
}

a img {
    border: 0px;
}

a.pdf {
    display: inline-block;
    padding-left: 22px;
    background: url('../../images/pdf.png') left 2px no-repeat;
}

a.word {
    display: inline-block;
    padding-left: 22px;
    background: url('../../images/doc.png') left 2px no-repeat;
}

.btn-pri {
    color: #fff !important;
    background-color: var(--pri);
    margin: 5px 0px;
    padding: 7px 15px;
    font-size: 18px;
}

    .btn-pri:hover {
        background-color: var(--pri-dark);
    }

.btn-sec {
    color: #fff !important;
    background-color: var(--sec);
    margin: 5px 0px;
    padding: 7px 15px;
    font-size: 18px;
}

    .btn-sec:hover {
        background-color: var(--sec-dark);
    }
/*-----------------------------------------------------------------------------------------------*/

.clearer {
    clear: both;
    height: 0px;
    overflow: hidden;
    font-size: 0px;
    line-height: 0px;
}

.clear:after {
    content: " ";
    clear: both;
    display: block;
}

hr {
    height: 1px;
    overflow: hidden;
    color: #666666;
    border: none;
    background-color: #666666;
}

.spacer {
    margin-top: 15px;
    margin-bottom: 15px;
}

.spacer_top {
    margin-top: 15px;
}

.spacer_bottom {
    margin-bottom: 15px;
}

.padder {
    padding-left: 15px;
    padding-right: 15px;
}

.padder_left {
    padding-left: 15px;
}

.padder_right {
    padding-right: 15px;
}

.nopadding {
    padding: 0px !important;
}

.nopadding_right {
    padding-right: 0px !important;
}

.nopadding_left {
    padding-left: 0px !important;
}

.push_right {
    float: right;
}

.push_left {
    float: left;
}

img.alignright {
    float: right;
    margin-left: 20px;
    margin-bottom: 4px;
    display: block;
}

img.alignleft {
    float: left;
    margin-right: 20px;
    margin-bottom: 4px;
    display: block;
}

img.aligncenter {
    text-align: center;
    margin: 1em auto 5px auto;
    clear: both;
    display: block;
}

img.fullwidth {
    margin: 0px;
    display: block;
}
/*-----------------------------------------------------------------------------------------------*/

html {
    font-size: 16px;
}

body {
    margin: 0px;
    color: #666666;
    font-size: 1rem;
    line-height: 1.5em;
    font-family: "Ubuntu", sans-serif;
}

    body > form {
        margin: 0px;
    }

.blur {
    -webkit-filter: blur(7px);
    -moz-filter: blur(7px);
    filter: blur(7px);
}
/*-----------------------------------------------------------------------------------------------*/
#admin_navigation {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10000;
}

#header {
    /*background: rgba(0, 0, 0, 0.35);*/
    /*padding: 14px 0px;*/
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    width: 100%;
    z-index: 1000;
}

    #header .header-inner {
        align-items: center;
        display: flex;
        justify-content: space-between;
        transition: padding 0.3s ease-in-out;
    }

    #header .container {
        padding: 0;
        position: relative;
        width: 100%;
    }

    #header .logo {
        display: inline-flex;
        /*float: left;*/
        height: 100%;
        line-height: 0px;
        /*margin-left: -35px;*/
    }

        #header .logo img {
            display: block;
            height: auto;
            max-height: 180px;
            width: auto;
            transition: max-height 0.3s ease-in-out;
        }

        #header .logo #MainLogoGold {
            display: none;
        }

        #header .logo #MainLogo {
        }

    #header .header-right-wrapper {
        gap: 15px;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        align-self: flex-start;
        margin-top: 10px;
        transition: margin-top 0.3s ease-in-out;
    }

        #header .header-right-wrapper a {
            color: #fff;
            font-family: "Gilda Display", serif;
            font-size: 32px;
            line-height: 1;
        }

        #header .header-right-wrapper .navbar-toggle {
            margin-right: 0;
            margin-left: 0;
            padding: 5px;
        }

        #header .header-right-wrapper .open-search {
            align-items: center;
            display: inline-flex;
            font-family: inherit;
            font-size: 22px;
            justify-content: center;
        }

        #header .header-right-wrapper .navbar-toggle .icon-bar {
            background-color: #fff;
            height: 3px;
            border-radius: 15px;
        }

    #header.scrolled {
        background-color: #fff;
        box-shadow: 0 3px 14px rgba(0, 0, 0, 0.12);
    }

        #header.scrolled .header-inner {
            padding: 8px 0;
        }

        #header.scrolled .logo img {
            max-height: none;
        }

        #header.scrolled .logo #MainLogo {
            max-height: none;
        }

        #header.scrolled .logo #MainLogoGold {
            max-height: 101px;
        }

        #header.scrolled .logo #MainLogo {
            display: none;
        }

        #header.scrolled .header-right-wrapper a {
            color: var(--text-bluegrey);
        }

        #header.scrolled .header-right-wrapper {
            margin-top: 0;
        }

            #header.scrolled .header-right-wrapper .navbar-toggle .icon-bar {
                background-color: var(--text-bluegrey);
            }
/* Inner pages retain the compact header, using the white logo on purple. */
/* Inner and search pages retain the compact header, using the white logo on purple. */
body.master_lower #header,
body.master_lower #header.scrolled,
body.page_search #header,
body.page_search #header.scrolled {
    background-color: #7f4873;
}

    body.master_lower #header .header-inner,
    body.page_search #header .header-inner {
        padding: 8px 0;
    }

    body.master_lower #header .logo img {
        max-height: none;
    }

    body.page_search #header .logo img {
        max-height: 72px;
    }

#header .logo .lower-header-logo {
    display: none;
}

body.master_lower #header .logo .lower-header-logo,
body.page_search #header .logo .lower-header-logo {
    display: block !important;
}

body.master_lower #header .logo #MainLogo,
body.master_lower #header .logo #MainLogoGold,
body.page_search #header .logo #MainLogo,
body.page_search #header .logo #MainLogoGold {
    display: none !important;
}

body.master_lower #header .header-right-wrapper,
body.page_search #header .header-right-wrapper {
    margin-top: 0;
}

    body.master_lower #header .header-right-wrapper > a,
    body.page_search #header .header-right-wrapper > a {
        color: #fff;
    }

    body.master_lower #header .header-right-wrapper .navbar-toggle .icon-bar,
    body.page_search #header .header-right-wrapper .navbar-toggle .icon-bar {
        background-color: #fff;
    }

body.master_lower,
body.page_search {
    --lower-admin-bar-height: 0px;
    --lower-header-height: calc(94px + var(--lower-admin-bar-height));
}

    body.master_lower #header,
    body.page_search #header {
        margin-top: var(--lower-admin-bar-height);
    }

    body.master_lower .lower_banner,
    body.page_search .lower_banner {
        margin-top: var(--lower-header-height);
    }

#content {
    margin-top: 30px;
}

.hearing-solutions {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    column-gap: 20px;
}

    .hearing-solutions li {
        position: relative;
        padding-left: 18px;
        color: #fff;
        font-size: 22px;
        line-height: 1.2;
        text-align: left;
    }

        .hearing-solutions li a {
            color: #fff;
        }

            .hearing-solutions li a:active,
            .hearing-solutions li a:focus,
            .hearing-solutions li a:hover {
                color: var(--pri);
            }

        .hearing-solutions li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0.45em;
            width: 8px;
            height: 8px;
            background: var(--pri);
            border-radius: 50%;
        }

.intro_section {
    margin: 30px 0;
}

    .intro_section .btn-pri {
        display: inline-flex;
    }

.banner-links {
    bottom: 0px;
    background: rgb(0, 0, 0, 0.7);
    position: absolute;
    z-index: 11111;
    width: 100%;
    padding: 25px 0;
}

.banner-ribbon {
    position: absolute;
    top: -250px;
    right: 0;
    width: 250px;
    height: 250px;
    background: var(--sec);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    text-decoration: none;
    color: #fff;
    overflow: hidden;
    z-index: 11111;
}

    .banner-ribbon:hover {
        background: var(--sec-dark);
    }

.banner-ribbon-text {
    display: block;
    text-align: center;
    white-space: nowrap;
    padding: 30px 40px;
    left: 40px;
    transform: rotate(-45deg);
    position: absolute;
}

    .banner-ribbon-text h4 {
        font-size: 28px;
        margin-bottom: 5px;
    }

    .banner-ribbon-text h4,
    .banner-ribbon-text p {
        margin: 0;
        color: #fff;
    }

.banner-links h4 {
    text-align: center;
    color: #fff;
    margin-bottom: 25px;
}
/*-----------------------------------------------------------------------------------------------*/

.lower_banner {
    position: relative;
    isolation: isolate;
    background-position: center center;
    height: 250px;
    overflow: hidden;
}

    .lower_banner::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        background: linear-gradient(to right, var(--banner-overlay) 0%, var(--banner-overlay) 50%, rgba(63, 71, 82, 0) 100%);
        z-index: 1;
        pointer-events: none;
    }

    .lower_banner .container {
        z-index: 2;
        height: 100%;
        position: relative;
        text-align: center;
    }

    .lower_banner img {
        width: auto !important;
        height: 100% !important;
        max-width: none !important;
    }

    .lower_banner .container h1,
    .lower_banner .container p {
        position: absolute;
        left: 15px;
        bottom: 15px;
        margin: 0px;
        /*        padding: 15px;*/
        color: #FFFFFF;
        font-weight: normal;
        font-size: 4em;
        line-height: 1.05em;
        /*        background-color: #4C61BB;*/
    }

    .lower_banner .image_upload {
        position: absolute;
        width: 100%;
    }

    .lower_banner .image_upload_instructions {
        z-index: 999;
    }
/*-----------------------------------------------------------------------------------------------*/
.breadcrumb {
    padding: 0px;
    background-color: transparent;
}

    .breadcrumb > li + li:before {
        color: var(--sec);
        content: "|";
        padding: 0 15px 0 5px;
    }

    .breadcrumb > .active {
        color: var(--sec);
    }
/*-----------------------------------------------------------------------------------------------*/

#footer {
    margin-top: 50px;
    padding: 20px 0px;
    color: #FFFFFF;
    font-size: 0.8em;
    background-color: #03031d;
}

.page_home #footer {
    margin-top: 20px;
}

#footer .footer_separator {
    padding: 0px 10px;
}

#footer a {
    color: #FFFFFF;
}

    #footer a:hover {
        color: var(--pri);
    }

.footer-logo {
    width: 200px;
    place-self: center;
}

.footer-logo-right {
    place-self: flex-end;
    width: 150px;
}

.footer-primary-row {
    align-items: center;
    display: grid;
    gap: 24px 18px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

    .footer-primary-row .footer-main-logo {
        display: flex;
        grid-column: 1 / -1;
        grid-row: 1;
        justify-content: center;
    }

    .footer-primary-row .footer-contact {
        align-items: center;
        display: flex;
        grid-column: 1;
        grid-row: 2;
    }

        .footer-primary-row .footer-contact p {
            margin: 0;
        }

    .footer-primary-row .footer-partner-logo {
        display: flex;
        grid-column: 2;
        grid-row: 2;
        justify-content: flex-end;
    }

        .footer-primary-row .footer-partner-logo .footer-logo-right {
            margin: 0;
            max-width: 100%;
        }

.social-icon-links {
    text-align: right;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

    .social-icon svg {
        width: 17px;
        height: 17px;
        fill: #fff;
    }

.links-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}


.logged_in {
    margin-top: 50px;
}

    .logged_in #header {
        margin-top: 100px;
    }

.container {
}

    .container.large-container {
        max-width: 1440px;
        width: 100% !important;
    }

.search-for-bar.section {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 30px 0 25px;
}

    .search-for-bar.section h1,
    .search-for-bar.section h2,
    .search-for-bar.section h3,
    .search-for-bar.section h4,
    .search-for-bar.section h5,
    .search-for-bar.section h6 {
        color: var(--white);
        font-size: 42px;
        line-height: 1.4;
    }

    .search-for-bar.section .row {
        align-items: center;
        display: flex;
        flex-direction: column;
    }

        .search-for-bar.section .row > section {
            width: 100%;
        }

    .search-for-bar.section .input-wrapper {
        background: #ececec;
        border-radius: 15px;
        display: flex;
        justify-content: flex-start;
        padding: 15px 30px 15px 15px;
        width: 100%;
    }

        .search-for-bar.section .input-wrapper input {
            min-width: 330px;
            padding: 5px 10px 5px 30px;
            border: none;
            border-radius: 10px;
            width: 100%;
        }

        .search-for-bar.section .input-wrapper .search-logo {
            margin-left: 20px;
        }

            .search-for-bar.section .input-wrapper .search-logo img {
                max-height: 30px;
            }

.module_inline.section {
    overflow-x: hidden;
}

.reviews {
    display: flex;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    justify-content: space-between;
}

    .reviews img {
        transform: scale(0.8);
        transform-origin: center;
    }

/* Full client stories: text-block-inspired panels without widget full-bleed rules. */
body.master_lower:has(.testimonial-list) .lower_banner {
    background-color: var(--text-bluegrey);
}

.testimonial-list {
    width: 100%;
    max-width: none;
    margin: 32px auto 64px;
}

.testimonial-list__item {
    display: flex;
    align-items: stretch;
    background: #050522 url("../../images/testimonial-banner.png") center / cover no-repeat;
    color: #fff;
    margin-bottom: 40px;
}

.testimonial-list__image {
    flex: 0 0 35%;
    min-width: 0;
    height: 400px;
    position: relative;
    overflow: hidden;
}

    .testimonial-list__image img {
        display: block;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100% !important; /* Override the shared mobile img height rule. */
        object-fit: cover;
        object-position: center;
    }

.testimonial-list__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 1 0;
    min-width: 0;
    padding: 40px;
    overflow-wrap: anywhere;
}

.testimonial-list__quote {
    border: 0;
    font-style: normal;
    margin: 0 0 24px;
    padding: 0 24px;
    position: relative;
}

.testimonial-list__text,
.testimonial-list__text p {
    color: #fff;
    font-family: var(--font-1);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.35;
}

    .testimonial-list__text > :first-child {
        margin-top: 0;
    }

    .testimonial-list__text > :last-child {
        margin-bottom: 0;
    }

.testimonial-list__content > .testimonial-list__name {
    color: #fff;
    font-family: var(--font-1);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    padding: 0 24px;
}

.testimonial-list__empty {
    padding: 24px 0;
}

@media (max-width: 767px) {
    .testimonial-list__item {
        flex-direction: column;
        margin-bottom: 24px;
    }

    .testimonial-list__image {
        flex-basis: auto;
        height: 260px;
    }

    .testimonial-list__content {
        padding: 24px;
    }

    .testimonial-list__quote::before {
        left: -12px;
    }
}

.homepage-content {
    margin-top: 25px;
}
/*#region -- Text Blocks */
.text_block {
    --padding: 70px;
    --margin: 60px;
    width: 100%;
    margin-top: var(--margin);
    margin-bottom: var(--margin);
    /*padding: 70px 0;*/
    padding: 0;
    position: relative;
    /*overflow: hidden;*/
}

    .text_block::after {
        content: '';
        background-image: url('../../images/round.png');
        background-repeat: no-repeat;
        display: flex;
        height: 100%;
        justify-content: center;
        left: 0;
        margin: 0 auto;
        max-height: 80px;
        max-width: 80px;
        position: absolute;
        right: 0;
        width: 100%;
        top: -8%;
        /*top: -10.5%;*/
    }

    .text_block .text {
        background: var(--light-grey);
        height: 100%;
        width: 100%;
    }

        .text_block .text h1,
        .text_block .text h2,
        .text_block .text h3,
        .text_block .text h4,
        .text_block .text h5,
        .text_block .text h6 {
            font-size: 48px;
        }

        .text_block .text p {
            font-size: 18px;
            line-height: 1.6;
        }

    .text_block.grey-blue .text,
    .text_block[data-color="grey-blue"] .text {
        background: var(--bluegrey);
    }

        .text_block.grey-blue .text p,
        .text_block[data-color="grey-blue"] .text p {
            color: var(--white);
        }

        .text_block.grey-blue .text h1,
        .text_block[data-color="grey-blue"] .text h1,
        .text_block.grey-blue .text h2,
        .text_block[data-color="grey-blue"] .text h2,
        .text_block.grey-blue .text h3,
        .text_block[data-color="grey-blue"] .text h3,
        .text_block.grey-blue .text h4,
        .text_block[data-color="grey-blue"] .text h4,
        .text_block.grey-blue .text h5,
        .text_block[data-color="grey-blue"] .text h5,
        .text_block.grey-blue .text h6,
        .text_block[data-color="grey-blue"] .text h6 {
            color: var(--white);
        }
    /*.text_block.light-blue .text,
    .text_block[data-color="light-blue"] .text {
        background: var(--baby-blue);
    }

        .text_block.light-blue .text p,
        .text_block[data-color="light-blue"] .text p {*/
    /*color: var(--white);*/
    /*color: var(--text-grey);
        }

        .text_block.light-blue .text h1,
        .text_block[data-color="light-blue"] .text h1,
        .text_block.light-blue .text h2,
        .text_block[data-color="light-blue"] .text h2,
        .text_block.light-blue .text h3,
        .text_block[data-color="light-blue"] .text h3,
        .text_block.light-blue .text h4,
        .text_block[data-color="light-blue"] .text h4,
        .text_block.light-blue .text h5,
        .text_block[data-color="light-blue"] .text h5,
        .text_block.light-blue .text h6,
        .text_block[data-color="light-blue"] .text h6 {
            color: var(--primary);
        }*/

    .text_block.light-gold .text,
    .text_block[data-color="light-gold"] .text {
        background: var(--light-gold);
    }

        .text_block.light-gold .text p,
        .text_block[data-color="light-gold"] .text p,
        .text_block[data-color="light-gold"] .text ul li,
        .text_block[data-color="light-gold"] .text ul li::before {
            color: var(--white) !important;
        }

        .text_block.light-gold .text h1,
        .text_block[data-color="light-gold"] .text h1,
        .text_block.light-gold .text h2,
        .text_block[data-color="light-gold"] .text h2,
        .text_block.light-gold .text h3,
        .text_block[data-color="light-gold"] .text h3,
        .text_block.light-gold .text h4,
        .text_block[data-color="light-gold"] .text h4,
        .text_block.light-gold .text h5,
        .text_block[data-color="light-gold"] .text h5,
        .text_block.light-gold .text h6,
        .text_block[data-color="light-gold"] .text h6 {
            color: var(--white);
        }

    .text_block .text .manual_container_left {
        box-sizing: border-box;
        height: 100%;
        padding: 40px 60px;
    }

    .text_block .text .text_block_text p {
        font-size: 18px;
        line-height: 1.55;
        margin: 0 0 14px;
    }

    .text_block .text .text_block_text h1,
    .text_block .text .text_block_text h2,
    .text_block .text .text_block_text h3,
    .text_block .text .text_block_text h4,
    .text_block .text .text_block_text h5,
    .text_block .text .text_block_text h6 {
        margin-bottom: 30px;
    }

    .text_block .text .text_block_text p:empty,
    .text_block .text .text_block_text p.text-block-empty {
        display: none;
    }

    .text_block .text .text_block_text .btn-pri {
        display: inline-block;
        font-weight: 400;
        margin-top: 60px;
    }

    .text_block .image {
        /*        margin-top: -15px;
        margin-bottom: -15px;*/
        background-size: cover;
        background-position: center;
        width: 100%;
    }

    .text_block.style_2 .text,
    .text_block[data-style="two"] .text {
        z-index: 2;
    }
    /*    .text_block.style_2 .image,
    .text_block[data-style="two"] .image {
        margin-left: -100px;
    }*/

    .text_block .image .text_block_image,
    .text_block .image .text_block_image p,
    .text_block .image .text_block_image p img {
        height: 100%;
    }

        .text_block .image .text_block_image p {
            margin: 0;
        }

            .text_block .image .text_block_image p img {
                object-fit: cover;
                height: 100% !important;
                width: 100% !important;
                position: relative;
            }

    .text_block + .text_block {
        /*margin-top: 100px;*/
        margin-top: 20px;
    }

.widget_text_block[data-color="grey"]::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0.5%;
    /*width: 159vw;*/
    width: 200vw;
    transform: translateX(-50%);
    background: var(--background-grey);
    z-index: 0;
}

.widget_text_block[data-color="dark-blue"]::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0.5%;
    /*width: 159vw;*/
    width: 200vw;
    transform: translateX(-50%);
    background: var(--primary);
    z-index: 0;
}

.widget_text_block[data-color="light-blue"]::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0.5%;
    /*width: 159vw;*/
    width: 200vw;
    transform: translateX(-50%);
    background: var(--baby-blue);
    z-index: 0;
}

.widget_text_block {
    margin: 24px 0;
    position: relative;
    isolation: isolate;
}
/* Use the page's available width (excluding its scrollbar) for these full-bleed widgets. */
body.master_lower #content {
    container-type: inline-size;
}

    body.master_lower #content h3 {
        /*font-size: 36px;*/
        font-weight: 400;
        line-height: 1.2;
    }
    /* Ordinary page copy only; widgets retain their own typography and colours. */
    body.master_lower #content > .container > p,
    body.master_lower_sidebar #content .page_content > p {
        font-weight: 400;
        line-height: 1.55;
        color: #424242;
    }
    /* Text-block copy stays regular-weight, independent of the main content. */
    body.master_lower #content .widget_text_block .text_block_text p,
    body.master_lower_sidebar #content .widget_text_block .text_block_text p {
        font-weight: 400;
    }
    /* Card headings retain the colours defined by their selected card theme. */
    body.master_lower #content h3:not(:where(.widget_cards *)) {
        color: var(--sec);
    }

    body.master_lower #content .page_content ul:not(.breadcrumb):not(.pagination):not(.dropdown-menu):not(.side_menu):not(.nav-tabs) {
        margin: 24px 0;
        padding: 0 0 0 20px;
    }

        body.master_lower #content .page_content ul:not(.breadcrumb):not(.pagination):not(.dropdown-menu):not(.side_menu):not(.nav-tabs) li {
            color: var(--sec);
            font-size: 17px;
            font-weight: 400;
            line-height: 1.55;
            margin-bottom: 10px;
        }

            body.master_lower #content .page_content ul:not(.breadcrumb):not(.pagination):not(.dropdown-menu):not(.side_menu):not(.nav-tabs) li::before {
                color: var(--sec);
            }

    body.master_lower #content .widget_cards h2,
    body.master_lower #content .widget_cards h3 {
        font-size: 30px;
        font-weight: 400;
        line-height: 1.2;
        margin-bottom: 10px;
    }

    body.master_lower #content .widget_cards p {
        font-size: 17px;
        font-weight: 400;
        line-height: 1.5;
    }

    body.master_lower #content .widget_text_block.text_block {
        width: 100cqw;
        max-width: none;
        margin-left: calc(50% - 50cqw);
        margin-right: calc(50% - 50cqw);
    }
/* Break out from the sidebar content column to the full page width.
   The centre offset follows Bootstrap's 30px gutters and 8/12, then 9/12 columns. */
body.master_lower_sidebar #content .widget_text_block.text_block {
    --text-block-page-centre: 50%;
    width: 100cqw;
    max-width: none;
    margin-left: calc(var(--text-block-page-centre) - 50cqw);
    margin-right: calc(100% - var(--text-block-page-centre) - 50cqw);
}

@media (min-width: 768px) {
    body.master_lower_sidebar #content .widget_text_block.text_block {
        --text-block-page-centre: calc(75% + 7.5px);
    }
}

@media (min-width: 992px) {
    body.master_lower_sidebar #content .widget_text_block.text_block {
        --text-block-page-centre: calc(66.666667% + 5px);
    }
}

body.master_lower_sidebar .lower-sidebar {
    margin-top: 30px;
    margin-bottom: 30px;
}

body.master_lower_sidebar #content .page_content > h2:first-of-type {
    font-weight: 400;
    font-size: 46px;
    line-height: 1.15;
    margin-bottom: 18px;
}

body.master_lower_sidebar .side-menu-container {
    padding: 20px;
    background: #f6f1f5;
}

    body.master_lower_sidebar .side-menu-container h2 {
        margin-top: 0;
        font-size: 28px;
    }

body.master_lower_sidebar #content .side_menu ul {
    padding-left: 0;
}

body.master_lower_sidebar #content .side_menu li::before {
    content: none;
}

body.master_lower_sidebar #content .side_menu li {
    border-top: 0;
}

body.master_lower_sidebar #content .side_menu a {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.45;
    padding-left: 0;
    padding-right: 0;
    color: var(--text-bluegrey);
    padding-left: 10px;
}

    body.master_lower_sidebar #content .side_menu a:hover,
    body.master_lower_sidebar #content .side_menu a:focus {
        color: var(--pri);
        background: transparent;
    }

body.master_lower_sidebar #content .side_menu li.active > a {
    color: var(--white);
    background: var(--sec);
}

@media (max-width: 767px) {
    body.master_lower_sidebar #content .page_content > h2:first-of-type,
    body.master_lower_sidebar #content .page_content > .lmeditor_inline > h2:first-of-type {
        font-size: 36px;
    }

    body.master_lower #content h3 {
        font-size: 30px;
    }
}

@media (min-width: 768px) {
    body.master_lower_sidebar .lower-sidebar {
        margin-top: 0;
        margin-top: 0;
        position: sticky;
        top: 120px;
        z-index: 10;
    }
}

.widget_text_block::before {
    display: none;
    pointer-events: none;
}

.widget_text_block > * {
    position: relative;
    z-index: 1;
}
/* .text_block::after {
    display: none;
} */

.text_block [data-aos]:has(.cke_widget_editable[contenteditable="true"]) {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.widget_text_block.text_block[data-style="two"] > .flex {
    flex-direction: column;
}

.widget_text_block.text_block > .flex {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

    .widget_text_block.text_block > .flex > .flex-item {
        flex: 0 0 auto;
        min-width: 0;
        width: 100%;
    }

.widget_text_block.text_block[data-style="two"] > .flex > .image {
    margin: 0;
    z-index: 10;
}

.widget_text_block.text_block[data-style="two"] > .flex > .text > .manual_container_left {
    padding: 30px 15px;
}

.widget_text_block.text_block[data-style="one"] > .flex > .image {
    z-index: 10;
}

.widget_text_block.text_block[data-style="one"] > .flex > .text {
    margin: 0;
}

    .widget_text_block.text_block[data-style="one"] > .flex > .text > .manual_container_left {
        padding: 30px 15px;
    }

.homepage-latest-news {
}

    .homepage-latest-news .header-wrapper {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-bottom: 40px;
        position: relative;
    }

        .homepage-latest-news .header-wrapper .btn-pri {
            position: relative;
            right: 0;
        }

        .homepage-latest-news .header-wrapper h2 {
            font-size: 48px;
        }

    .homepage-latest-news .homepage-inline-block {
    }

        .homepage-latest-news .homepage-inline-block a {
            display: flex; 
            justify-content: center; 
        }

        .homepage-latest-news .homepage-inline-block .homepage-inline-block__content {
            padding: 15px 30px 0;
        }
            .homepage-latest-news .homepage-inline-block .homepage-inline-block__content a {
                justify-content: flex-start;
            }

            .homepage-latest-news .homepage-inline-block .homepage-inline-block__content .read-more {
                color: var(--pri);
                font-weight: 500;
            }

            .homepage-latest-news .homepage-inline-block .homepage-inline-block__content h1,
            .homepage-latest-news .homepage-inline-block .homepage-inline-block__content h2,
            .homepage-latest-news .homepage-inline-block .homepage-inline-block__content h3,
            .homepage-latest-news .homepage-inline-block .homepage-inline-block__content h4,
            .homepage-latest-news .homepage-inline-block .homepage-inline-block__content h5,
            .homepage-latest-news .homepage-inline-block .homepage-inline-block__content h6 {
                font-family: var(--font-1);
                font-weight: 500;
                margin: 1rem 0rem 1rem 0rem;
            }

            .homepage-latest-news .homepage-inline-block .homepage-inline-block__content .published-date {
                color: var(--sec);
                font-weight: 500;
                margin-bottom: 0;
            }

            .homepage-latest-news .homepage-inline-block .homepage-inline-block__content p {
                color: var(--text-black);
            }

.page_news {
}

    .page_news.module_article_image {
        margin: 0 0 30px;
    }

        .page_news .module_article_image img {
            display: block;
            height: auto;
            max-height: 400px;
            max-width: 100%;
        }


.page_news_article .article_back_button {
    margin-bottom: 20px;
}

    .page_news_article .article_back_button .btn {
        /*max-width: auto;*/
        align-items: center;
        justify-content: center;
        display: inline-flex;
        width: auto;
    }

.module_article_image {
    float: right;
    width: 40%;
    margin: 0 0 30px 40px;
}

    .module_article_image img {
        max-width: 100%;
        width: auto;
        height: auto;
        display: block;
        margin-left: auto;
    }

@media (max-width: 767px) {
    .module_article_image {
        float: none;
        width: 100%;
        margin: 0 0 25px 0;
    }
}

.modSearchBar {
    background: var(--light-gold) !important;
    color: var(--white) !important;
}

    .modSearchBar .checkboxes {
        background: none;
        border: none;
        box-shadow: none;
    }

    .modSearchBar .form-control {
        height: 42px;
    }

    .modSearchBar .form-group .btn-pri {
        margin: 0;
    }

    .modSearchBar .modSearchFilter td span label {
        color: var(--white);
    }

.search-item {
    margin-bottom: 16px;
}

    .search-item .search-item-content {
        margin-bottom: 16px;
    }

        .search-item .search-item-content .btn-pri {
            display: inline-flex;
        }

#map {
    height: 35em;
    max-height: 50vh;
    margin-top: 50px;
    margin-bottom: 1em;
}


.clinic-search-panel {
    background: #f2edf1;
    color: var(--pri);
    padding: 2px 0px 0px 0px;
}

.clinic-search-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 20px;
}

.locations-container ul:not(.breadcrumb):not(.pagination):not(.dropdown-menu):not(.side_menu):not(.nav-tabs) {
    padding: 0 !important;
}

.locations-container li::before {
    display: none;
}

.clinic-search-fields fieldset {
    flex: 1 1 200px;
    border: 2px solid var(--sec);
    border-radius: 6px;
    padding: 4px 16px 12px;
    margin: 0;
    position: relative;
}

.clinic-search-fields legend {
    padding: 0 8px;
    font-size: 16px;
    border: 0;
    color: var(--sec);
    letter-spacing: .03em;
    width: auto;
    margin-bottom: 0;
}

.clinic-search-fields input[type="text"] {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--sec);
    font-size: 16px;
    padding: 4px 32px 4px 0;
    outline: none;
}

    .clinic-search-fields input[type="text"]::placeholder {
        color: var(--sec);
    }

.clinic-locate-btn {
    position: absolute;
    right: 12px;
    bottom: 10px;
    background: none;
    border: 0;
    color: #cfe0f0;
    cursor: pointer;
    padding: 2px;
    line-height: 0;
}

    .clinic-locate-btn:hover {
        color: #fff;
    }

.clinic-advanced-toggle-row {
    text-align: center;
    margin-top: 18px;
}

    .clinic-advanced-toggle-row button {
        background: none;
        border: 0;
        color: var(--sec);
        font-weight: 600;
        cursor: pointer;
        padding: 4px 8px;
    }

    .clinic-advanced-toggle-row .chevron {
        display: inline-block;
        transition: transform .15s ease;
        margin-left: 4px;
    }

    .clinic-advanced-toggle-row[aria-expanded="true"] .chevron {
        transform: rotate(180deg);
    }

.clinic-advanced-panel {
    max-width: 900px;
    margin: 16px auto 0;
    text-align: center;
}

    .clinic-advanced-panel label {
        font-weight: 400;
        color: var(--sec);
        cursor: pointer;
    }

    .clinic-advanced-panel input[type="checkbox"] {
        margin-right: 8px;
    }

.clinic-search-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
    top: -10px;
    position: relative;
}

    .clinic-search-actions button {
        border: 0;
        border-radius: 4px;
        padding: 10px 32px;
        font-weight: 600;
        cursor: pointer;
    }

#clinicSearchBtn {
    background: var(--sec);
    color: #fff;
}

#clinicClearBtn {
    background: var(--pri);
    color: #fff;
}

.clinic-search-status {
    text-align: center;
    margin: 16px 0 0;
    min-height: 1.2em;
    color: #cfe0f0;
}

.locations-container .location-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.locations-container .location-item {
    padding: 16px 0;
    border-bottom: 1px solid #e2e2e2;
    cursor: pointer;
}

    .locations-container .location-item .full-address {
        margin: 2px 0;
        color: #444;
    }

    .locations-container .location-item .distance {
        margin: 2px 0;
        font-weight: 600;
    }

.location-item p small {
    top: -5px;
    position: relative;
}

.footer-partner-logo .footer-logo-right {
    max-width: 100px !important;
    width: 100% !important;
    height: auto;
    margin-left: auto;
    position: relative;
    top: -42px;
}

.clinic-links-bar {
    background: var(--pri-dark);
    padding: 16px 0;
    text-align: center;
    margin-top: -10px;
}

    .clinic-links-bar h3 {
        display: inline-block;
        vertical-align: middle;
        margin: 0 14px 0 0;
        color: var(--white);
        font-family: var(--font-1);
        font-size: 20px;
        font-weight: 400;
    }

    .clinic-links-bar ul {
        display: inline-flex;
        vertical-align: middle;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

        .clinic-links-bar ul li {
            display: inline-block;
            list-style: none !important;
            margin: 0 !important;
            padding: 9px 16px !important;
            background: var(--bluegrey);
            color: var(--white) !important;
            font-family: var(--font-1);
            font-size: 13px;
            font-weight: 600;
        }

            .clinic-links-bar ul li::before {
                display: none !important;
                content: none !important;
            }

            .clinic-links-bar ul li a {
                color: var(--white) !important;
                text-decoration: none;
            }

            .clinic-links-bar ul li:hover {
                background: var(--sec);
            }

            .clinic-links-bar ul li a:hover,
            .clinic-links-bar ul li a:focus {
                color: var(--white) !important;
                text-decoration: none;
            }

.page_home .banner_item_title span:empty {
    display: none !important;
}

#footer .footer-partner-logos {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 12px;
}

#footer .footer-partner-item {
    width: 75px;
    height: 75px;
    flex: 0 0 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
}

#footer .footer-accreditation-logo {
    max-width: 75px;
    max-height: 75px;
    width: auto;
    height: auto;
    object-fit: contain;
}

#footer .footer-partner-bshaa {
    background: #fff;
    padding: 6px;
}

#footer .footer-app-item {
    flex: 0 0 auto;
    text-align: center;
}

    #footer .footer-app-item .footer-logo-right {
        position: static;
        top: auto;
        margin: 0 auto;
    }

#footer .footer-partner-logos {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 12px;
    transform: translateY(-35px);
}

@media (max-width: 767px) {
    #footer {
        padding: 30px 0;
    }

        #footer .footer-primary-row {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 25px;
        }

            #footer .footer-primary-row .footer-main-logo,
            #footer .footer-primary-row .footer-contact,
            #footer .footer-primary-row .footer-partner-logo {
                width: 100%;
                display: flex;
                justify-content: center;
                text-align: center;
            }

        #footer .footer-main-logo {
            order: 1;
        }

            #footer .footer-main-logo .footer-logo {
                width: 180px;
                margin: 0 auto;
            }

        #footer .footer-contact {
            order: 2;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            margin-bottom: 5px;
        }

            #footer .footer-contact > * {
                width: 100%;
            }

            #footer .footer-contact p {
                width: 100%;
                margin: 0 0 5px;
                text-align: center;
            }

        #footer .footer-partner-logo {
            order: 3;
        }

        #footer .footer-partner-logos {
            justify-content: center;
            align-items: flex-start;
            gap: 12px;
            transform: none;
            width: 100%;
        }

        #footer .footer-partner-item {
            width: 70px;
            height: 70px;
            flex: 0 0 70px;
        }

        #footer .footer-accreditation-logo {
            max-width: 70px;
            max-height: 70px;
        }

        #footer .footer-app-item {
            text-align: center;
        }

            #footer .footer-app-item .footer-logo-right {
                max-width: 70px !important;
                width: 70px !important;
                margin: 0 auto;
                position: static;
                top: auto;
            }

        #footer .container > .row:nth-child(2) {
            text-align: center;
            padding: 0 15px;
        }

            #footer .container > .row:nth-child(2) p {
                line-height: 1.6;
            }

        #footer .container > .row:last-child > section {
            width: 100%;
            float: none;
            text-align: center;
            margin-bottom: 15px;
        }

        #footer .links-footer {
            justify-content: center;
            flex-wrap: wrap;
            gap: 10px 18px;
        }

        #footer .social-icon-links {
            text-align: center;
        }
}

@media (min-width: 768px) and (max-width: 991px) {
    #footer .footer-primary-row {
        row-gap: 35px;
    }

    #footer .footer-main-logo .footer-logo {
        width: 170px;
    }

    #footer .footer-partner-logos {
        transform: none;
        justify-content: flex-end;
    }

    #footer .footer-contact,
    #footer .footer-partner-logo {
        align-self: start;
    }
}

#footer .footer-partner-logos {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    width: fit-content;
    margin-left: auto;
}

#footer .footer-partner-item,
#footer .footer-app-item {
    height: 75px;
}

#footer .footer-app-item {
    flex: 0 0 auto;
    text-align: center;
    overflow: visible;
}