/*
	* Theme Name: [Custom theme name]
	* Description: Custom child theme by [Company name] using the Salient parent theme. Optimized for WCAG, ADA compliance, SEO, and speed.
	* Theme URI: [Company website URL, theme details page if applicable]
	* Author: ThemeNectar/[Company name]
	* Author URI: [Company website URL]
	* Template: salient
	* Version: 4.2
*/

@import url("helpers.css");

/* -----------------------------------------------------------
    Variables — Color palette
------------------------------------------------------------ */

:root {
    /* Green (match to Salient "Extra Color 1") */

    --palette-1: #62bb46;
    --palette-1-lt: #76e154;
    --palette-1-dk: #478732;
    --palette-1-rgb: 98, 187, 70;

    /* Blue (match to Salient "Extra Color 2") */

    --palette-2: #4f96b8;
    --palette-2-lt: #5fb5de;
    --palette-2-dk: #396c84;
    --palette-2-rgb: 79, 150, 184;

    /* Yellow (match to Salient "Extra Color 3") */

    --palette-3: #ffd520;
    --palette-3-lt: #ffe320;
    --palette-3-dk: #ccaa19;
    --palette-3-rgb: 255, 213, 32;

    /* Gradient, Greens */

    --gradient-1: linear-gradient(0deg, var(--palette-1) 0%, var(--palette-1-lt) 65%);

    /* Gradient, Blues */

    --gradient-2: linear-gradient(0deg, var(--palette-3) 0%, var(--palette-2-lt) 65%);

    /* Gradient, Yellows */

    --gradient-3: linear-gradient(0deg, var(--palette-3) 0%, var(--palette-3-lt) 65%);
}

/* -----------------------------------------------------------
    Variables — Typography
------------------------------------------------------------ */

:root {
    --font-heading: "Montserrat", Arial, sans-serif; /* Set the font for headings, keeping Arial and sans-serif as fallback options */
    --font-body: "Lato", Arial, sans-serif; /* Set the font for body copy, keeping Arial and sans-serif as fallback options */
    --font-body-color: #404040; /* Set the salient body font color and this to match */
    --font-code: "Lucida Console", monospace; /* System font, do not change */
}

/* -----------------------------------------------------------
    Site-specific
------------------------------------------------------------ */

/* Template - Page hero */

#pr-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: #ccdce4;
}

@media(min-width: 768px) {
    #pr-hero {
        padding-top: 100px;
        padding-bottom: 100px;
    }
}

#pr-hero .pr-hero__content {
    position: relative;
    z-index: 3;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
	text-align: center;
	width: 100%;
}

#pr-hero .pr-hero__title {
    color: #2e576b;
}

#pr-hero .pr-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-color: rgba(204, 220, 228, .7);
}

#pr-hero .pr-hero__image {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

/* Masonry grid layout (custom) */

.masonry-layout > .wpb_wrapper {
    column-count: 1;
    column-gap: 1;
}

@media (min-width: 992px) {
    .masonry-layout > .wpb_wrapper {
        column-count: 2;
    }
}

@media (min-width: 1400px) {
    .masonry-layout > .wpb_wrapper {
        column-count: 3;
    }
}

.masonry-layout > .wpb_wrapper > * {
    display: grid;
    grid-template-rows: 1fr auto;
    break-inside: avoid;
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* Slide-in Contact Form (Hustle plugin)

body .hustle-ui.hustle-slidein.hustle-slidein-position--south-east .hustle-slidein-content {
    bottom: 4rem !important;
}

body .hustle-ui.hustle-slidein.hustle-slidein-position--south-east .hustle-slidein-content>[class*=hustle-] {
    max-width: 100% !important;
	width: 25rem !important;
    background-color: #4f96b8;
    border-radius: .3rem 0 0 0;
    box-shadow: 0 0 3rem rgb(0 0 0 / 30%);
}

body .hustle-ui.hustle-slidein .forminator-row {
	margin-bottom: 10px !important;
}

body .hustle-ui.hustle-slidein .hustle-content-wrap,
body .hustle-ui.hustle-slidein .hustle-group-content {
	padding: 0 5px !important;
}

body .hustle-slidein-content .hustle-info.hustle-info--compact .hustle-button-icon {
    position: absolute;
    top: .5rem;
    right: .2rem;
}

body .hustle-ui.hustle-slidein .hustle-slidein-content .hustle-info.hustle-info--compact .hustle-button-icon .hustle-icon-close {
    color: #fff;
}
*/

/* -----------------------------------------------------------
    Sidebar menus (custom)
------------------------------------------------------------ */

.material .sidebar .widget ul {
    margin: 0;
}

.material .sidebar .widget ul > li {
    list-style: none;
}

.material .sidebar .widget ul > li > a {
    display: block;
    padding: 8px 20px !important;
    background-color: #f5f5f5;
    border-top: 2px solid #fff;
}

/* -----------------------------------------------------------
    Floating footer bar (custom)
------------------------------------------------------------ */

#floating-footer {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 10;
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 4rem;
    background-color: #fff;
    border-top: 1px solid #dfdfdf;
    box-shadow: 0 -0.5rem 1.5rem rgba(0, 0, 0, 0.05);
    background: rgb(245, 245, 245);
    background: rgb(255, 255, 255);
    background: -moz-linear-gradient(
        0deg,
        rgba(255, 255, 255, 1) 0%,
        rgba(224, 224, 224, 1) 100%
    );
    background: -webkit-linear-gradient(
        0deg,
        rgba(255, 255, 255, 1) 0%,
        rgba(224, 224, 224, 1) 100%
    );
    background: linear-gradient(
        0deg,
        rgba(255, 255, 255, 1) 0%,
        rgba(224, 224, 224, 1) 100%
    );
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#e0e0e0",GradientType=1);
}

@media (min-width: 1000px) {
    #floating-footer {
        display: flex;
    }
}

#floating-footer .phone {
    display: flex;
    align-items: center;
    margin: 0 1rem;
}

#floating-footer .phone span {
    display: inline-flex;
    align-items: center;
    margin-right: 0.5rem;
    padding: 0.25rem 0.75rem;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 0.3rem;
}

#floating-footer .phone-1 span {
    background-color: #4f96b8;
}
#floating-footer .phone-2 span {
    background-color: #4f96b8;
}
#floating-footer .phone-3 span {
    background-color: #4f96b8;
}

#floating-footer .phone span i {
    position: relative;
    top: 0.1px;
    margin-right: 0.5rem;
}

#floating-footer .phone a {
    color: inherit;
    font-weight: 600;
}

#floating-footer .phone-1 a {
    color: #4f96b8;
}
#floating-footer .phone-2 a {
    color: #4f96b8;
}
#floating-footer .phone-3 a {
    color: #4f96b8;
}

/* Footer (Salient) 

body #footer-outer {
	padding-bottom: 4rem;
}

body #footer-outer #footer-widgets .col ul li {
	padding: 0 !important;
} 

body #footer-outer #footer-widgets .col ul li a {
    color: #ccc !important;
    opacity: 1 !important;
}

body #footer-outer #footer-widgets .col ul li a:hover, 
body #footer-outer #footer-widgets .col ul li a:active, 
body #footer-outer #footer-widgets .col ul li a:focus {
    color: #fff !important;
}
@media only screen and (min-width: 1000px){
	body #footer-outer #footer-widgets .row {
		padding: 50px 0 !important;
	}
}

body #footer-outer #copyright a:not(.nectar-button) {
	color: #fff !important;
}
*/

/* -----------------------------------------------------------
    Information Request Form
------------------------------------------------------------ */

/* Layout */

#kmh-intake .forminator-ui {
    --text-header-font: Montserrat, Arial, sans-serif;
    --text-body-font: Lato, Arial, sans-serif;
    --kmh-palette-1-rgb: 98 187 70;
    --kmh-palette-1: rgb(var(--kmh-palette-1-rgb));
    --kmh-palette-1-subtle: rgb(var(--kmh-palette-1-rgb) / 10%);
    --kmh-palette-2-rgb: 79 150 184;
    --kmh-palette-2: rgb(var(--kmh-palette-2-rgb));
    --kmh-palette-2-subtle: rgb(var(--kmh-palette-2-rgb) / 10%);
    --kmh-palette-3-rgb: 255 213 32;
    --kmh-palette-3: rgb(var(--kmh-palette-3-rgb));
    --kmh-palette-3-subtle: rgb(var(--kmh-palette-3-rgb) / 10%);
    --kmh-palette-4-rgb: 37 53 142;
    --kmh-palette-4: rgb(var(--kmh-palette-4-rgb));
    --kmh-palette-4-subtle: rgb(var(--kmh-palette-4-rgb) / 10%);
    --message-success-text: rgb(98 187 70 / 100%);
    --message-success-bg: rgb(98 187 70 / 10%);
    --message-error-text: rgb(237 28 36 / 100%);
    --message-error-bg: rgb(237 28 36 / 10%);
    position: relative;
}

#kmh-intake .forminator-pagination {
    background-color: #edf4f8;
}

#kmh-intake .forminator-pagination[data-step="0"] {
    background-color: #4f96b8;
}

#kmh-intake .forminator-pagination--content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5% 5% calc(5% + 40px) 5%;
    min-height: 60rem;
    text-align: center;
}

#kmh-intake .forminator-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    width: 100%;
    max-width: 600px;
    text-align: center;
}

#kmh-intake .forminator-row:first-child {
    max-width: 840px;
}

#kmh-intake .forminator-col {
    width: 100%;
}

#kmh-intake .forminator-pagination-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 5% 20px;
    width: 100%;
}

/* Typography */

#kmh-intake .forminator-ui h2 {
    margin: 0 0 0.5em 0;
    color: var(--kmh-palette-2);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.25;
}

#kmh-intake .forminator-ui [data-step="0"] h2 {
    color: #fff;
}

#kmh-intake .forminator-ui p {
    color: #404040;
    padding-bottom: 1.5em;
    font-size: 20px;
    line-height: 1.5;
}

#kmh-intake .forminator-ui [data-step="0"] p {
    color: #fff;
}

#kmh-intake .forminator-ui #html-1 p {
    padding: 0;
}

#kmh-intake .forminator-ui [data-step="0"] .forminator-checkbox-label {
    color: #fff;
}

/* Inputs */

#kmh-intake .forminator-row {
    margin-bottom: 18px;
}

#kmh-intake .forminator-label {
    display: none;
}

#kmh-intake .forminator-input,
#kmh-intake .forminator-select2,
#kmh-intake .forminator-textarea {
    padding: 10px 20px;
    width: 100%;
    height: 60px;
    font-size: 18px;
    background: #fff;
    border: 1px solid var(--kmh-palette-2);
}

#kmh-intake .forminator-input:focus,
#kmh-intake .forminator-select2:focus {
    border: 1px solid var(--kmh-palette-2);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.11);
}

#kmh-intake .forminator-field-checkbox > div,
#kmh-intake .forminator-field-radio > div {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
}

#kmh-intake .forminator-checkbox-label,
#kmh-intake .forminator-radio-label {
    color: #404040;
}

#kmh-intake .forminator-checkbox,
#kmh-intake .forminator-radio {
    display: flex;
    flex-basis: calc(50% - 10px);
    align-items: center;
    gap: 5px;
    padding: 10px;
    width: 100%;
    text-align: center;
    background-color: #fff;
    box-sizing: border-box;
    border: 1px solid var(--kmh-palette-2);
    border-radius: 5px;
    cursor: pointer;
}

#kmh-intake [data-step="2"] .forminator-checkbox {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-basis: initial;
    gap: initial;
    padding: initial;
    font-size: 18px;
    text-align: left;
    background-color: initial;
    border: initial;
    cursor: initial;
}

#kmh-intake [data-step="2"] .forminator-checkbox [type="checkbox"] {
    margin-right: 15px;
    width: 18px;
    height: 18px;
    border-color: var(--kmh-palette-2);
}

#kmh-intake [data-step="5"] .forminator-radio .forminator-radio-label {
    font-weight: 600;
    text-align: left;
}

#kmh-intake [data-step="5"] .forminator-radio .forminator-radio-label:after {
    display: block;
    font-weight: 400;
}

#kmh-intake
    [data-step="5"]
    .forminator-radio[title="Hourly Care"]
    .forminator-radio-label:after {
    content: "$30-$40 per hour";
}

#kmh-intake
    [data-step="5"]
    .forminator-radio[title="Live-In Care"]
    .forminator-radio-label:after {
    content: "$350-$400 per day";
}

#kmh-intake .forminator-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 250px;
    height: 60px;
    color: #fff;
    font-family: var(--text-header-font);
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    background-color: var(--kmh-palette-4);
    border: 0;
    box-shadow: inset 0 60px 0 0 rgb(255 255 255 / 0%);
    transition: box-shadow 0.3s ease-in-out;
    -webkit-transition: box-shadow 0.3s ease-in-out;
    -moz-transition: box-shadow 0.3s ease-in-out;
    -ms-transition: box-shadow 0.3s ease-in-out;
    -o-transition: box-shadow 0.3s ease-in-out;
}

#kmh-intake .forminator-button:hover {
    cursor: pointer;
    box-shadow: inset 0 60px 0 0 rgb(255 255 255 / 10%);
}

/* Form messages */

#kmh-intake .forminator-response-message.forminator-show {
    font-size: 18px;
    position: absolute;
    bottom: 28px;
    left: 50%;
    width: 560px;
    transform: translateX(-50%);
    text-align: center;
    font-weight: 600;
}

#kmh-intake .forminator-field .forminator-error-message,
#kmh-intake .forminator-response-message.forminator-show.forminator-error {
    color: var(--message-error-text);
}

#kmh-intake .forminator-response-message.forminator-show.forminator-success {
    position: absolute;
    bottom: 50%;
    transform: translate(-50%, 50%);
    color: var(--kmh-palette-2);
    font-family: "Montserrat";
    font-size: 37px;
    line-height: 1.25;
}
