/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0.2
*/

.main-content p, .main-content ul{
	font-family: 'Barlow Condensed';
    font-size: 21px;
	color:#000001;
	line-height:1.4;
}

.main-content p a{color:#000001; text-decoration: underline;}
.main-content p a:hover{text-decoration: none;}

.nectar_single_testimonial p{
    font-size: 41px;
    font-weight: 300;
}

@media (max-width:999px){
	.nectar_single_testimonial p{font-size:34px;}
}

.benefit-title p, .story-heading p{
    text-transform: uppercase;
    color: #0eade2;
    font-size: 28px;
    font-weight: 600;
	letter-spacing:0.5px;
}

.benefit-img{
	width:250px!important;
}

.story-heading p{padding-bottom: 10px;}

/* Careers vacancy cards, with the Read More links kept outside the blue panel. */
.kc-opportunity-card {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 38px;
    min-height: 280px;
    background: #0eade2;
    text-align: center;
    flex-direction: column;
}

.kc-opportunity-card > .wpb_wrapper {
    width: 100%;
}

body .kc-opportunity-card,
body .kc-opportunity-card p {
    color: #fff;
    text-align: center;
}

.kc-opportunity-card p:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
}

.kc-opportunities > .row_col_wrap_12 > .wpb_column:not(:first-child) .nectar-cta {
    text-align: center;
    margin-top: 24px;
}

.kc-opportunity-card p{
    font-size: 24px;
}

.kc-opportunity-card p strong{
    font-size: 26px;
}

@media (min-width: 1000px) {
    .kc-opportunity-card {
        aspect-ratio: 1 / 1;
        min-height: 0;
    }
}

/* Shared testimonial layout with page-specific quotation marks. */
body.page-id-6120 #discover {
    --kc-open-quote: url("imgs/open-quote-blue.png");
    --kc-close-quote: url("imgs/close-quote-blue.png");
}

body:is(.home, .page-id-6120) #discover .nectar_single_testimonial .open-quote {
    display: none;
}

body:is(.home, .page-id-6120) #discover .nectar_single_testimonial p {
    position: relative;
    padding-left: 1.4em;
}

body:is(.home, .page-id-6120) #discover .nectar_single_testimonial p::before,
body:is(.home, .page-id-6120) #discover .nectar_single_testimonial p::after {
    content: "";
    width: 1em;
    height: 0.87em;
    background-repeat: no-repeat;
    background-size: contain;
}

body:is(.home, .page-id-6120) #discover .nectar_single_testimonial p::before {
    position: absolute;
    top: 0.16em;
    left: 0;
    background-image: var(--kc-open-quote, url("imgs/open-quote.png"));
}

body:is(.home, .page-id-6120) #discover .nectar_single_testimonial p::after {
    display: inline-block;
    margin-left: 0.3em;
    margin-right: -1.3em;
    vertical-align: -0.05em;
    background-image: var(--kc-close-quote, url("imgs/close-quote.png"));
}

/* Fade the testimonial photo into the white background. */
body:is(.home, .page-id-6120) #discover > .row_col_wrap_12 > .wpb_column:last-child .hover-wrap-inner {
    position: relative;
}

body:is(.home, .page-id-6120) #discover > .row_col_wrap_12 > .wpb_column:last-child .hover-wrap-inner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #fff 0%, rgba(255, 255, 255, 0.85) 12%, rgba(255, 255, 255, 0) 50%);
    pointer-events: none;
}

@media only screen and (min-width: 1000px) {
    body:is(.home, .page-id-6120) #discover > .row_col_wrap_12 > .wpb_column:first-child {
        flex: 0 0 55%;
        width: 55%;
        margin-right: 0;
        z-index: 2;
    }

    body:is(.home, .page-id-6120) #discover > .row_col_wrap_12 > .wpb_column:last-child {
        flex: 0 0 50%;
        width: 50%;
        margin-left: -5%;
        margin-right: 0;
        z-index: 1;
    }
}

/* Keep the four homepage image links clear in every hover state. */
body.home #discover + .wpb_row .nectar-fancy-box[data-style="parallax_hover"] h2 {
    font-size: 42px;
    line-height: 1.2;
}

body.home #discover + .wpb_row .nectar-fancy-box[data-style="parallax_hover"] .parallaxImg-wrap .bg-img::after {
    opacity: 0 !important;
    background: none !important;
}

/* A light top shade keeps the Our Team icon visible against the trees. */
body.home #discover + .wpb_row .vc_col-sm-3:nth-child(3) .nectar-fancy-box[data-style="parallax_hover"] .parallaxImg-wrap .bg-img::after {
    opacity: 1 !important;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.12) 22%, transparent 45%) !important;
    pointer-events: none;
}

/* Add kc-heading to a heading element or its wrapper; colour stays editable. */
body :is(h1, h2, h3, h4, h5, h6).kc-heading,
body .kc-heading :is(h1, h2, h3, h4, h5, h6) {
    font-family: 'Sue Ellen Francisco', cursive !important;
    font-weight: 700 !important;
    font-size: clamp(38px, 3.62vw, 44px);
    line-height: 1.3;
}

/* Optional narrow measure for longer headings, as used in the PDF. */
body :is(h1, h2, h3, h4, h5, h6).kc-heading-narrow,
body .kc-heading-narrow :is(h1, h2, h3, h4, h5, h6) {
    max-width: 7.5em;
}

body :is(h1, h2, h3, h4, h5, h6).kc-heading-narrow-less,
body .kc-heading-narrow-less :is(h1, h2, h3, h4, h5, h6) {
    max-width: 8.5em;
}

@media (min-width:1000px){
        .narrow-p{max-width: 34em;}
}

.white-text, .white-text p, .white-text h1, .white-text h2{color:#fff;}

/* Holistic approach icons, aligned with the start of each text block. */
.holistic-list :is(.care-planning, .parental-input, .key-working-sessions, .expert-team) {
    position: relative;
    padding-left: 80px;
    min-height: 56px;
}

.holistic-list :is(.care-planning, .parental-input, .key-working-sessions, .expert-team)::before,
.holistic-list :is(.care-planning, .parental-input, .key-working-sessions, .expert-team)::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 56px;
    height: 56px;
    background: var(--kc-holistic-icon) center top / contain no-repeat;
    pointer-events: none;
    transition: opacity 250ms ease;
}

/* Crossfade the two SVGs rather than abruptly replacing a background image. */
.holistic-list :is(.care-planning, .parental-input, .key-working-sessions, .expert-team)::after {
    /* Strengthen the fine SVG linework at its small display size. */
    filter: brightness(0.8) drop-shadow(0 0 0.45px #5f50a2);
}

.holistic-list :is(.care-planning, .parental-input, .key-working-sessions, .expert-team)::before {
    background-image: var(--kc-holistic-icon-white);
    opacity: 0;
}

.holistic-list .care-planning {
    --kc-holistic-icon: url("imgs/care-planning.svg");
    --kc-holistic-icon-white: url("imgs/care-planning-white.svg");
}

.holistic-list .parental-input {
    --kc-holistic-icon: url("imgs/parental-input.svg");
    --kc-holistic-icon-white: url("imgs/parental-input-white.svg");
}

.holistic-list .key-working-sessions {
    --kc-holistic-icon: url("imgs/key-working-sessions.svg");
    --kc-holistic-icon-white: url("imgs/key-working-sessions-white.svg");
}

.holistic-list .expert-team {
    --kc-holistic-icon: url("imgs/expert-team.svg");
    --kc-holistic-icon-white: url("imgs/expert-team-white.svg");
}

@media (max-width: 690px) {
    .holistic-list :is(.care-planning, .parental-input, .key-working-sessions, .expert-team) {
        padding-left: 64px;
        min-height: 44px;
    }

    .holistic-list :is(.care-planning, .parental-input, .key-working-sessions, .expert-team)::before,
    .holistic-list :is(.care-planning, .parental-input, .key-working-sessions, .expert-team)::after {
        width: 44px;
        height: 44px;
    }
}

.holistic-list .wpb_text_column{
    border: 10px solid #fff;
    border-radius: 5px;	
    background-color: #fff;
    transition: background-color 250ms ease, border-color 250ms ease, color 250ms ease;
}

.holistic-list .wpb_text_column :is(p, h3, a) {
    transition: color 250ms ease;
}

.holistic-list .wpb_text_column:is(:hover, :focus-within) {
    background-color: #5f50a2;
    border-color: #5f50a2;
    color: #fff;
}

.holistic-list .wpb_text_column:is(:hover, :focus-within) :is(p, h3, a) {
    color: #fff;
}

.holistic-list .wpb_text_column:is(:hover, :focus-within)::before {
    opacity: 1;
}

.holistic-list .wpb_text_column::after {
    opacity: 1;
}

.holistic-list .wpb_text_column:is(:hover, :focus-within)::after {
    opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
    .holistic-list .wpb_text_column,
    .holistic-list .wpb_text_column::before,
    .holistic-list .wpb_text_column::after,
    .holistic-list .wpb_text_column :is(p, h3, a) {
        transition: none;
    }
}

/* Full-bleed charity strip with naturally proportioned, equal-height logos. */
body .kc-charity-carousel {
    --kc-logo-height: 80px;
    --kc-logo-peek: 80px;
    overflow: hidden !important;
}

body .kc-charity-carousel .nectar-flickity {
    width: calc(100% + var(--kc-logo-peek) * 2) !important;
    max-width: none;
    margin-left: calc(-1 * var(--kc-logo-peek));
}

body .kc-charity-carousel .nectar-flickity .cell {
    width: max-content !important;
    margin-right: 60px !important;
}

body .kc-charity-carousel .cell :is(.inner-wrap-outer, .inner-wrap, .img-with-aniamtion-wrap, .hover-wrap, .hover-wrap-inner) {
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

body .kc-charity-carousel .cell img {
    display: block;
    height: var(--kc-logo-height) !important;
    width: auto !important;
    max-width: none !important;
    object-fit: contain;
    margin: 0;
}

@media (max-width: 690px) {
    body .kc-charity-carousel {
        --kc-logo-height: 56px;
        --kc-logo-peek: 40px;
    }

    body .kc-charity-carousel .nectar-flickity .cell {
        margin-right: 32px !important;
    }
}

/* Square award cards on About Us; kc-flip-square can also be reused elsewhere. */
body.page-id-5980 .nectar-flip-box,
body .nectar-flip-box.kc-flip-square,
body .kc-flip-square .nectar-flip-box {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto !important;
    min-height: 0 !important;
}

body.page-id-5980 .nectar-flip-box > :is(.flip-box-front, .flip-box-back),
body .nectar-flip-box.kc-flip-square > :is(.flip-box-front, .flip-box-back),
body .kc-flip-square .nectar-flip-box > :is(.flip-box-front, .flip-box-back) {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100% !important;
    min-height: 0 !important;
    box-sizing: border-box;
}

/* Static team-style arrow on the front of the About Us award cards. */
body.page-id-5980 .nectar-flip-box > .flip-box-front::before {
    content: "";
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 24'%3E%3Cpath d='M2 12h30M22 2l10 10-10 10' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 27px 18px no-repeat;
    z-index: 2;
    transform: translateZ(3px);
    backface-visibility: hidden;
    pointer-events: none;
}

/* The reverse can grow below the square image when its text needs more room. */
body.page-id-5980 .nectar-flip-box > .flip-box-back,
body .nectar-flip-box.kc-flip-square > .flip-box-back,
body .kc-flip-square .nectar-flip-box > .flip-box-back {
    bottom: auto;
    height: auto !important;
    min-height: 100% !important;
    display: flex;
    align-items: center;
}

body.page-id-5980 .nectar-flip-box .flip-box-back .inner,
body .nectar-flip-box.kc-flip-square .flip-box-back .inner,
body .kc-flip-square .nectar-flip-box .flip-box-back .inner {
    position: relative;
    top: auto;
    bottom: auto;
    max-height: none;
    overflow: visible;
    transform: translateZ(60px) scale(0.94);
    box-sizing: border-box;
}

/* Reusable buttons: kc-button defaults to white; add purple for the purple asset. */
.kc-button,
.kc-button-white {
    --kc-button-border: url("imgs/Border-White.svg");
    --kc-button-color: #fff;
}

.kc-button.purple {
    --kc-button-border: url("imgs/Border-Purple.svg");
    --kc-button-color: #5f50a2;
}

.kc-button.white {
    --kc-button-border: url("imgs/Border-White.svg");
    --kc-button-color: #fff;
}

.kc-button.blue {
    --kc-button-border: url("imgs/Border-Blue.svg");
    --kc-button-color: #0eade2;
}
.kc-button.green {
	--kc-button-border: url("imgs/Border-Green.svg");
	--kc-button-color:#32A888
}

/* Remove Call to Action decorations so only the custom border and scale remain. */
body .nectar-cta:is(.kc-button, .kc-button-white) :is(.link_wrap, .nectar-button-type) {
    border: 0 !important;
    box-shadow: none !important;
    background: none !important;
    transform: none !important;
}

body .nectar-cta:is(.kc-button, .kc-button-white) :is(.link_wrap, .text)::before,
body .nectar-cta:is(.kc-button, .kc-button-white) :is(.link_wrap, .text)::after,
body .nectar-cta:is(.kc-button, .kc-button-white) :is(.arrow, .link_text > i, .link_text > svg) {
    display: none !important;
}

body .nectar-cta:is(.kc-button, .kc-button-white) .link_text .text {
    font: inherit;
    letter-spacing: inherit;
}

/* Footer calls to action: equal hand-drawn borders and a compact layout. */
.inner_row:has(+ .divider-wrap + .footer-cols) > .row_col_wrap_12_inner {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 25px;
}

.inner_row:has(+ .divider-wrap + .footer-cols) > .row_col_wrap_12_inner > .wpb_column {
    flex: 0 0 auto;
    width: auto;
    margin: 0;
}

.inner_row:has(+ .divider-wrap + .footer-cols) > .row_col_wrap_12_inner > .wpb_column:not(:has(.nectar-button)) {
    display: none;
}

body .inner_row:has(+ .divider-wrap + .footer-cols) .nectar-button,
body :is(.nectar-button:is(.kc-button, .kc-button-white), .nectar-cta:is(.kc-button, .kc-button-white) .link_text), .kc-opportunity-card a, #cff .cff-load-more{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 60px;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 10px 20px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent var(--kc-button-border, url("imgs/Border-White.svg")) center / 100% 100% no-repeat !important;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 24px;
    color: var(--kc-button-color, #fff) !important;
    box-shadow: none !important;
    opacity: 1 !important;
    transform: scale(1);
    transition: transform 180ms ease !important;
}

#cff .cff-load-more{
background: transparent url("imgs/Border-Green.svg") center / 100% 100% no-repeat !important;
	color:#32A888!important;
}

.kc-opportunity-card a{text-decoration:none!important;}

body .inner_row:has(+ .divider-wrap + .footer-cols) .nectar-button::before,
body .inner_row:has(+ .divider-wrap + .footer-cols) .nectar-button::after,
body :is(.nectar-button:is(.kc-button, .kc-button-white), .nectar-cta:is(.kc-button, .kc-button-white) .link_text)::before,
body :is(.nectar-button:is(.kc-button, .kc-button-white), .nectar-cta:is(.kc-button, .kc-button-white) .link_text)::after {
    display: none !important;
}

body .inner_row:has(+ .divider-wrap + .footer-cols) .nectar-button span,
body :is(.nectar-button:is(.kc-button, .kc-button-white), .nectar-cta:is(.kc-button, .kc-button-white) .link_text) span {
    color: var(--kc-button-color, #fff) !important;
    transform: none !important;
}

body .inner_row:has(+ .divider-wrap + .footer-cols) .nectar-button.red-button{
background: transparent var(--kc-button-border, url("imgs/Border-Red.svg")) center / 100% 100% no-repeat !important;
}

body .inner_row:has(+ .divider-wrap + .footer-cols) .nectar-button.red-button, body .inner_row:has(+ .divider-wrap + .footer-cols) .nectar-button.red-button span{
    color: #ed272f!important;
}


body .inner_row:has(+ .divider-wrap + .footer-cols) .nectar-button:hover,
body :is(.nectar-button:is(.kc-button, .kc-button-white), .nectar-cta:is(.kc-button, .kc-button-white) .link_text):hover, .kc-opportunity-card a:hover, #cff .cff-load-more:hover{
    transform: scale(1.05) !important;
}

body .inner_row:has(+ .divider-wrap + .footer-cols) .nectar-button:focus-visible,
body :is(.nectar-button:is(.kc-button, .kc-button-white), .nectar-cta:is(.kc-button, .kc-button-white) .link_text):focus-visible {
    outline: 2px solid var(--kc-button-color, #fff);
    outline-offset: 5px;
}

.holistic-list h3{
    font-family: 'Barlow Condensed';
    color: #5f50a2;
    font-size: 28px;
    font-weight: 700;
}

/* PACE icons extracted as vectors from KES144745-Therapy.pdf. */
.pace-list h3 {
    font-family: 'Barlow Condensed';
    color: #fe8f02;
    font-size: 28px;
    font-weight: 700;
}

.pace-list :is(.playfulness, .acceptance, .curiosity, .empathy) {
    position: relative;
    padding-left: 80px;
    min-height: 56px;
}

.pace-list :is(.playfulness, .acceptance, .curiosity, .empathy)::before,
.pace-list :is(.playfulness, .acceptance, .curiosity, .empathy)::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 56px;
    height: 56px;
    background: var(--kc-pace-icon) center top / contain no-repeat;
    pointer-events: none;
    transition: opacity 250ms ease;
}

.pace-list :is(.playfulness, .acceptance, .curiosity, .empathy)::before {
    background-image: var(--kc-pace-icon-white);
    filter: drop-shadow(0 0 0.45px #fff);
    opacity: 0;
}

.pace-list :is(.playfulness, .acceptance, .curiosity, .empathy)::after {
    filter: drop-shadow(0 0 0.6px #fe8f02);
    opacity: 1;
}

.pace-list .playfulness {
    --kc-pace-icon: url("imgs/playfulness.svg");
    --kc-pace-icon-white: url("imgs/playfulness-white.svg");
}
.pace-list .acceptance {
    --kc-pace-icon: url("imgs/acceptance.svg");
    --kc-pace-icon-white: url("imgs/acceptance-white.svg");
}
.pace-list .curiosity {
    --kc-pace-icon: url("imgs/curiosity.svg");
    --kc-pace-icon-white: url("imgs/curiosity-white.svg");
}
.pace-list .empathy {
    --kc-pace-icon: url("imgs/empathy.svg");
    --kc-pace-icon-white: url("imgs/empathy-white.svg");
}

.pace-list .wpb_text_column {
    border: 10px solid #fff;
    border-radius: 5px;
    background-color: #fff;
    transition: background-color 250ms ease, border-color 250ms ease, color 250ms ease;
}

.pace-list .wpb_text_column :is(p, h3, a) {
    transition: color 250ms ease;
}

.pace-list .wpb_text_column:is(:hover, :focus-within) {
    background-color: #f68b02;
    border-color: #f68b02;
    color: #fff;
}

.pace-list .wpb_text_column:is(:hover, :focus-within) :is(p, h3, a) {
    color: #fff;
}

.pace-list .wpb_text_column:is(:hover, :focus-within)::before { opacity: 1; }
.pace-list .wpb_text_column:is(:hover, :focus-within)::after { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
    .pace-list .wpb_text_column,
    .pace-list .wpb_text_column::before,
    .pace-list .wpb_text_column::after,
    .pace-list .wpb_text_column :is(p, h3, a) {
        transition: none;
    }
}

@media (max-width: 690px) {
    .pace-list :is(.playfulness, .acceptance, .curiosity, .empathy) {
        padding-left: 64px;
        min-height: 44px;
    }
    .pace-list :is(.playfulness, .acceptance, .curiosity, .empathy)::before,
    .pace-list :is(.playfulness, .acceptance, .curiosity, .empathy)::after {
        width: 44px;
        height: 44px;
    }
}

.nectar-flip-box .flip-box-back .inner {
    padding: 40px;
     font-family: 'Barlow Condensed';
    font-size: 20px;
}

@media (min-width: 1000px) and (max-width: 1270px) {
    .nectar-flip-box .flip-box-back .inner {
        padding: 25px;
        font-size: 18px;
    }

    body.page-id-5980 .nectar-flip-box > .flip-box-back,
    body .nectar-flip-box.kc-flip-square > .flip-box-back,
    body .kc-flip-square .nectar-flip-box > .flip-box-back {
        height: 100% !important;
        min-height: 0 !important;
    }

    body.page-id-5980 .nectar-flip-box .flip-box-back .inner,
    body .nectar-flip-box.kc-flip-square .flip-box-back .inner,
    body .kc-flip-square .nectar-flip-box .flip-box-back .inner {
        max-height: 100%;
        overflow-y: auto;
        overflow-x: hidden;
    }
}

@media only screen and (max-width: 690px) {
    .inner_row:has(+ .divider-wrap + .footer-cols) > .row_col_wrap_12_inner {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body .inner_row:has(+ .divider-wrap + .footer-cols) .nectar-button,
    body :is(.nectar-button:is(.kc-button, .kc-button-white), .nectar-cta:is(.kc-button, .kc-button-white) .link_text) {
        transition: none !important;
    }
}

h1, h2, h3{
  font-family: "Sue Ellen Francisco", cursive;
  font-weight: 400;
  font-style: normal;
text-transform:uppercase;
}

h2 {
    font-size: 38px;
}

/* Our Homes galleries: side arrows instead of pagination dots. */
body.page-id-6198 .owl-carousel .owl-dots {
    display: none !important;
}

body.page-id-6198 .owl-carousel .owl-nav {
    margin: 0;
}

body.page-id-6198 .owl-carousel .owl-nav :is(.owl-prev, .owl-next) {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #111;
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-id-6198 .owl-carousel .owl-prev { left: -44px; }
body.page-id-6198 .owl-carousel .owl-next { right: -44px; }

body.page-id-6198 .owl-carousel .owl-nav :is(.owl-prev, .owl-next)::before {
    content: "";
    width: 12px;
    height: 12px;
    border-top: 3px solid currentColor;
    border-right: 3px solid currentColor;
    transform: rotate(45deg);
}

body.page-id-6198 .owl-carousel .owl-nav .owl-prev::before {
    transform: rotate(-135deg);
}

body.page-id-6198 .wpb_row:has(> .row-bg-wrap .row-bg[style*="#ed272f" i]) .owl-carousel .owl-nav :is(.owl-prev, .owl-next) {
    color: #fff;
}

body.page-id-6198 .owl-carousel .owl-nav :is(.owl-prev, .owl-next):focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.owl-theme[data-desktop-cols] .owl-nav [class*=owl-]:hover{
	background: transparent;
	color:#666666;
}

@media (max-width: 999px) {
    body.page-id-6198 .owl-carousel {
        width: calc(100% - 64px);
        margin-inline: auto;
    }
    body.page-id-6198 .owl-carousel .owl-prev { left: -34px; }
    body.page-id-6198 .owl-carousel .owl-next { right: -34px; }
}

body.page-id-6344 h3 {
    font-family: 'Barlow Condensed', sans-serif !important;
    font-weight: 700!important;
}

/* Shared hero height despite different text lengths. */
body:is(.home, .page-id-5980, .page-id-6120, .page-id-6163, .page-id-6198, .page-id-6304, .page-id-6344, .page-id-6370, .page-id-6380, .page-id-6420) .main-content > .row > .wpb_row.top-level {
    height: clamp(600px, 52vw, 1000px);
    min-height: clamp(560px, 52vw, 1000px);
    box-sizing: border-box;
    padding-top: clamp(130px, 13vw, 250px) !important;
    padding-bottom: 0 !important;
}

body:is(.page-id-5980, .page-id-6120, .page-id-6163, .page-id-6198, .page-id-6304, .page-id-6344, .page-id-6370, .page-id-6380, .page-id-6420) #breadcrumbs {
    display: none;
}

body:is(.page-id-5980, .page-id-6120, .page-id-6163, .page-id-6198, .page-id-6304, .page-id-6344, .page-id-6370, .page-id-6380, .page-id-6420) .container-wrap {
    padding-top: 0 !important;
}

body:is(.page-id-5980, .page-id-6120, .page-id-6163, .page-id-6198, .page-id-6304, .page-id-6344, .page-id-6370, .page-id-6380, .page-id-6420) .main-content > .row > .wpb_row.top-level > .row-bg-wrap {
    isolation: isolate;
}

body:is(.page-id-5980, .page-id-6163, .page-id-6420) .main-content > .row > .wpb_row.top-level > .row-bg-wrap > .row-bg-overlay {
    background: #5f50a2 !important;
    opacity: 0.7 !important;
    mix-blend-mode: multiply;
}

body:is(.page-id-5980, .page-id-6163, .page-id-6420) .main-content > .row > .wpb_row.top-level > .nectar-shape-divider-wrap[data-style="waves_opacity_alt"] path:nth-child(1) {
    fill: #5f50a2;
    opacity: 1;
}

body:is(.page-id-5980, .page-id-6163, .page-id-6420) .main-content > .row > .wpb_row.top-level > .nectar-shape-divider-wrap[data-style="waves_opacity_alt"] path:nth-child(2) {
    fill: rgba(220, 216, 232, 0.55);
    opacity: 1;
}

body:is(.page-id-5980, .page-id-6163, .page-id-6420) .main-content > .row > .wpb_row.top-level > .nectar-shape-divider-wrap[data-style="waves_opacity_alt"] path:nth-child(3) {
    fill: #fff;
    opacity: 1;
}

/* Continue the final orange story into the footer's top wave. */
body.page-id-6163 .main-content > .row > .wpb_row:last-child {
    margin-top: 0 !important;
}

body.page-id-6163 .main-content > .row > .wpb_row:last-child > .nectar-shape-divider-wrap[data-position="top"] .nectar-shape-divider {
    fill: #f68f2b;
}

/* Carry the final red section into the layered wave above the white footer. */
body.page-id-6198 .main-content > .row > .wpb_row.white-footer {
    margin-top: 0 !important;
}

body.page-id-6198 .white-footer > .nectar-shape-divider-wrap[data-position="top"] path:nth-child(1) {
    fill: #ef4854;
    opacity: 1;
}

body.page-id-6198 .white-footer > .nectar-shape-divider-wrap[data-position="top"] path:nth-child(2) {
    fill: #d5000b;
    opacity: 1;
}

body.page-id-6198 .white-footer > .nectar-shape-divider-wrap[data-position="top"] path:nth-child(3) {
    fill: #ed272f;
    opacity: 1;
}

/* Our Homes: red photo tint and a solid red ribbon with a softer lower band. */
body.page-id-6198 .main-content > .row > .wpb_row.top-level > .row-bg-wrap > .row-bg-overlay {
    background: #ed272f !important;
    opacity: 0.8 !important;
    mix-blend-mode: multiply;
}

body.page-id-6198 .main-content > .row > .wpb_row.top-level > .nectar-shape-divider-wrap[data-style="waves_opacity_alt"] path:nth-child(1) {
    fill: #ed272f;
    opacity: 1;
}

body.page-id-6198 .main-content > .row > .wpb_row.top-level > .nectar-shape-divider-wrap[data-style="waves_opacity_alt"] path:nth-child(2) {
    fill: rgba(249, 214, 217, 0.55);
    opacity: 1;
}

body.page-id-6198 .main-content > .row > .wpb_row.top-level > .nectar-shape-divider-wrap[data-style="waves_opacity_alt"] path:nth-child(3) {
    fill: #fff;
    opacity: 1;
}

/* Therapeutic Approach: warm yellow tint and the layered ribbon from its PDF. */
body.page-id-6304 .main-content > .row > .wpb_row.top-level > .row-bg-wrap > .row-bg-overlay {
    background: #fe8f02 !important;
    opacity: 0.8 !important;
    mix-blend-mode: multiply;
}

body.page-id-6304 .main-content > .row > .wpb_row.top-level > .nectar-shape-divider-wrap[data-style="waves_opacity_alt"] path:nth-child(1) {
    fill: #fe8f02;
    opacity: 1;
}

body.page-id-6304 .main-content > .row > .wpb_row.top-level > .nectar-shape-divider-wrap[data-style="waves_opacity_alt"] path:nth-child(2) {
    fill: rgba(255, 226, 188, 0.65);
    opacity: 1;
}

body.page-id-6304 .main-content > .row > .wpb_row.top-level > .nectar-shape-divider-wrap[data-style="waves_opacity_alt"] path:nth-child(3) {
    fill: #fff;
    opacity: 1;
}

/* Careers uses the blue tint and layered ribbon from its PDF design. */
body.page-id-6120 .main-content > .row > .wpb_row.top-level > .row-bg-wrap > .row-bg-overlay, body.page-id-6370 .main-content > .row > .wpb_row.top-level > .row-bg-wrap > .row-bg-overlay{
    background: #0eade2 !important;
    opacity: 0.8 !important;
    mix-blend-mode: multiply;
}

body.page-id-6120 .main-content > .row > .wpb_row.top-level > .nectar-shape-divider-wrap[data-style="waves_opacity_alt"] path:nth-child(1), body.page-id-6370 .main-content > .row > .wpb_row.top-level > .nectar-shape-divider-wrap[data-style="waves_opacity_alt"] path:nth-child(1){
    fill: #0eade2;
    opacity: 1;
}

body.page-id-6120 .main-content > .row > .wpb_row.top-level > .nectar-shape-divider-wrap[data-style="waves_opacity_alt"] path:nth-child(2) {
    fill: rgba(210, 225, 239, 0.65);
    opacity: 1;
}

body.page-id-6120 .main-content > .row > .wpb_row.top-level > .nectar-shape-divider-wrap[data-style="waves_opacity_alt"] path:nth-child(3) {
    fill: #fff;
    opacity: 1;
}

/* Tint the homepage photo without washing out its shadows and detail. */
body.home .main-content > .row > .wpb_row:first-child > .row-bg-wrap {
    isolation: isolate;
}

body.home .main-content > .row > .wpb_row:first-child > .row-bg-wrap > .row-bg-overlay {
    background: #35a788 !important;
    opacity: 0.8 !important;
    mix-blend-mode: multiply;
}

/* Opaque green ribbon, followed by the design's muted translucent band. */
body.home .main-content > .row > .wpb_row:first-child > .nectar-shape-divider-wrap[data-style="waves_opacity_alt"] path:nth-child(1), body.page-id-6344 .main-content > .row > .wpb_row:first-child > .nectar-shape-divider-wrap[data-style="waves_opacity_alt"] path:nth-child(1), body.page-id-6380 .main-content > .row > .wpb_row:first-child > .nectar-shape-divider-wrap[data-style="waves_opacity_alt"] path:nth-child(1){
    fill: #50ad96;
    opacity: 1;
}

body.home .main-content > .row > .wpb_row:first-child > .nectar-shape-divider-wrap[data-style="waves_opacity_alt"] path:nth-child(2) {
    fill: rgba(220, 226, 222, 0.6);
    opacity: 1;
}

body.home .main-content > .row > .wpb_row:first-child > .nectar-shape-divider-wrap[data-style="waves_opacity_alt"] path:nth-child(3) {
    fill: #fff;
    opacity: 1;
}

/* Keep Salient's header measurements while the logo extends over the hero. */
#header-outer[data-format="default"] #top #logo {
    width: clamp(120px, 11.2vw, 160px);
    height: 30px;
    overflow: visible;
}

#header-outer[data-format="default"] #top #logo img.stnd {
    position: absolute;
    top: 0;
    left: 0;
    width: clamp(120px, 11.2vw, 160px);
    height: clamp(120px, 11.2vw, 160px);
    max-height: none;
    object-fit: contain;
    opacity: 1 !important;
    visibility: visible;
}

#header-outer[data-format="default"].small-nav #top #logo {
    height: 24px;
}

@media only screen and (min-width: 1000px) {
    /* Centre the sticky logo on the bar's bottom edge: half in, half below. */
    #header-outer[data-format="default"].small-nav #top .span_3 {
        position: relative;
    }

    #header-outer[data-format="default"].small-nav #top #logo {
        position: static;
        width: 100px;
    }

    #header-outer[data-format="default"].small-nav #top #logo img.stnd {
        top: calc(100% - 50px);
        width: 100px;
        height: 100px;
    }

    #header-outer[data-format="default"] #top .span_3 {
        flex: 0 0 clamp(120px, 11.2vw, 160px);
        margin-right: clamp(24px, 3.3vw, 48px);
    }

    #header-outer[data-format="default"] #top .span_9 {
        flex: 1 1 0;
        min-width: 0;
    }

    #header-outer[data-format="default"] #top .span_9 > nav {
        width: 100%;
    }

    #header-outer[data-format="default"] #top nav > .sf-menu:not(.buttons) {
        display: flex;
        flex: 1 1 auto;
        width: 100%;
        justify-content: space-between;
        gap: clamp(6px, 0.8vw, 12px);
    }

    #header-outer[data-format="default"] #top nav > .sf-menu:not(.buttons) > li > a {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        white-space: nowrap;
        font-size: clamp(12px, 1.12vw, 16px);
    }
}

@media only screen and (max-width: 999px) {
    #header-outer[data-format="default"] #top #logo {
        width: 64px;
        height: 24px;
    }

    #header-outer[data-format="default"] #top #logo img.stnd {
        width: 64px;
        height: 64px !important;
    }
}

div[data-style="default"] .toggle > .toggle-title a, div[data-style="default"] .toggle > .toggle-title {
    font-size: 21px;
    line-height: 21px;
    font-family: 'Barlow Condensed';
    font-weight: 700;
}

.toggle>.toggle-title a i{top: 17px;}

.toggle.open > .toggle-title a{background-color: #31a889;}

/* Contact details: decorative Font Awesome icons with matching green circles. */
.kc-contact-details a {
    display: block;
    position: relative;
    padding-left: 46px;
    min-height: 34px;
    margin-bottom: 12px;
    overflow-wrap: anywhere;
}

.kc-contact-details a::before {
    content: var(--kc-contact-icon);
    position: absolute;
    left: 0;
    top: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #32a888;
    color: #fff;
    font-family: 'FontAwesome';
    font-size: 16px;
    font-weight: 400;
    line-height: 34px;
    text-align: center;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.kc-contact-details a[href^="mailto:"] { --kc-contact-icon: "\f0e0"; }
.kc-contact-details a[href^="tel:"] { --kc-contact-icon: "\f095"; }
.kc-contact-details a[href*="facebook.com"] { --kc-contact-icon: "\f09a"; }
.kc-contact-details a[href*="instagram.com"] { --kc-contact-icon: "\f16d"; }

.kc-contact-details .wpb_text_column br { display: none; }

/* Use plain plus/minus glyphs rather than Salient's circled variants. */
body .toggle > .toggle-title a i:is(.fa-minus, .fa-minus-circle, .fa-plus-circle)::before {
    content: "\f068";
}

body .toggle:not(.open) > .toggle-title a i:is(.fa-minus, .fa-minus-circle, .fa-plus-circle, .fa-plus)::before {
    content: "\f067";
}

body .toggle:not(.open) > .toggle-title,
body .toggle:not(.open) > .toggle-title a,
body .toggle:not(.open) > .toggle-title a i {
    color: #333;
}
