/*
Theme Name: Leading Reform
Theme URI: https://pixll.dev/
Author: Utsab Roy
Author URI: https://pixll.dev/
Description: Leading Reform WordPress Theme
Version: 1.1.32
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: pixll-theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root {
    /*Colors*/
    --c1: #023045;
    --c2: #f26532;
    --c3: #222222;
    --c4: #222222;
    --tc: var(--c1);
    --tc_h: var(--c1);
    --border_c: #023045;
    --bg1: #ffffff;
    --bg2: #e9f6fd;
    --bg3: #023045;
    --bg4: #f5f5f6;
    --box_shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
    --input_box_shadow: inset 0 0 0 1px var(--c1);
    --max_width: 1000px;
    --max_sidebar_width: 400px;
    --top_offset: 0px;

    /*Fonsts*/
    --heading_font: 'apotek-comp', sans-serif;
    --sub_heading_font: 'apotek-comp', sans-serif;
    --body_font: 'Source Sans Pro', sans-serif;
    --body: 17px;
    --h1: 4rem;
    --h2: 3.2rem;
    --h3: 2.2rem;
    --h4: 1.3rem;
    --h5: 1.1rem;
    --caption: 0.83rem;
    --small: 0.69rem;
    --heading_lh: 0.9em;
    --body_lh: 1.4em;

    /**/
    --menu_height: 120px;
    --padding: 10px 12px;
    --section_padding: 80px;
    --gap: 45px;
    --gap_min: 22px;
    --radius: 15px;
    --c_radius: 25px;
    --ci_radius: 25px;
    --bezier: cubic-bezier(0.25, 0.8, 0.35, 0.9);
    --fvh: 100vh;
    --fvh: 100dvh;


    /*Woocommerce*/
    --message: #232323;
    --error: #d42222;
    --success: #15bf86;
    --info: #1e73be;
    --message_bg: var(--bg1);
}


@media only screen and (max-width: 1000px) {
    :root {
        --section_padding: 70px;
        --c_radius: 30px;
    }
}

@media only screen and (max-width: 600px) {
    :root {
        --body: 15px;
        --h1: 3rem;
        --h2: 2.4rem;
        --h3: 2rem;
        --h4: 1.6rem;
        --h5: 1.2rem;
        --gap: 20px;
        --section_padding: 30px;
    }
}

.hidden {
    display: none !important;
}

* {
    margin: 0;
    padding: 0;
}

*, *:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    font-size: var(--body);
    font-weight: 400;
    font-family: var(--body_font);
    scroll-behavior: smooth;
    scroll-padding-top: var(--section_padding);
}

.admin-bar {
    --top_offset: 0;
}

body {
    font-size: var(--body);
    background-color: var(--bg1);
    color: var(--tc);
    position: relative;
}

section {
    position: relative;
    overflow-x: clip;
}

.h1, .h2, .h3, .h4, .h5,
h1, h2, h3, h4, h5 {
    color: var(--tc);
    font-family: var(--heading_font);
    line-height: var(--heading_lh);
    font-weight: 400;
}

:where(.h1, .h2, .h3, .h4, .h5, h1, h2, h3, h4, h5)+* {
    margin-top: 0.8em;
}

:where(.h1, .h2, .h3, .h4, .h5, h1, h2, h3, h4, h5) b,
:where(.h1, .h2, .h3, .h4, .h5, h1, h2, h3, h4, h5) strong {
    font-family: var(--sub_heading_font);
}

.has-c-4-background-color :where(.h1, .h2, .h3, .h4, .h5, h1, h2, h3, h4, h5) b,
.has-c-4-background-color :where(.h1, .h2, .h3, .h4, .h5, h1, h2, h3, h4, h5) strong {
    color: var(--c3)
}

.has-c-5-background-color :where(.h1, .h2, .h3, .h4, .h5, h1, h2, h3, h4, h5) b,
.has-c-5-background-color :where(.h1, .h2, .h3, .h4, .h5, h1, h2, h3, h4, h5) strong {
    color: #000;
}

h2 i {
    font-family: var(--sub_heading_font);
    font-style: normal;
}

b {
    font-weight: 800;
}

.wp-block-heading.has-x-large-font-size,
.h1, h1 {
    font-size: var(--h1) !important;
    text-wrap: balance;
}

.h2, h2 {
    font-size: var(--h2);
    text-wrap: balance;
}

.h3, h3 {
    font-size: var(--h3);
}

.has-large-font-size {
    font-size: var(--h3) !important;
}

.h4, h4 {
    font-size: var(--h4);
}

.h5, h5 {
    font-size: var(--h5);
}

.pText, p {
    line-height: 1.6em;
    color: var(--tc);
}

.captionText {
    display: block;
    font-size: var(--caption);
}

.smallText {
    display: block;
    font-size: var(--small);
}

a {
    color: var(--tc);
    /* font-weight: 600; */
    text-decoration: underline;
}

a:focus,
a:hover {
    color: var(--tc_h);
}

ul {
    list-style: none;
}

ol, ul {
    color: var(--tc);
    line-height: var(--body_lh);
}

svg,
img {
    width: 100%;
    display: block;
}

img {
    object-fit: cover;
}

.sub {
    font-family: var(--sub_heading_font);
    letter-spacing: normal;
}

p.sub strong {
    letter-spacing: 0.06em;
}

.srOnly {
    max-width: 1px;
    max-height: 1px;
    position: absolute;
    visibility: hidden;
}

.has-bg-1-color,
.has-white-color {
    --tc: var(--bg1) !important;
    --tc_h: var(--bg1);
}

.has-black-color {
    --tc: #000 !important;
    --tc_h: #000;
    text-shadow: none;
}

/*Elements*/
:where(.woocommerce a.button,
    .woocommerce button.button,
    .components-button,
    .wp-element-button,
    input[type="submit"],
    .btn) {
    --_color: var(--bg1);
    --_bg: var(--c1);
    --_hover_color: var(--bg1);
    --_hover_bg: var(--c1);
    cursor: pointer;
    color: var(--_color) !important;
    background-color: var(--_bg) !important;
    border: solid 2px var(--_bg) !important;
    border-radius: 0px !important;
    display: block;
    font-family: var(--heading_font) !important;
    font-size: 1em !important;
    line-height: 1.2em !important;
    font-weight: 400 !important;
    letter-spacing: 0.08em;
    text-transform: inherit;
    text-decoration: none !important;
    text-align: center !important;
    text-shadow: none;
    padding: 0.5em 1.2em !important;
    transition: all 0.2s ease;
    position: relative;
}

:where(.woocommerce a.button,
    .woocommerce button.button,
    .components-button,
    .wp-element-button,
    input[type="submit"],
    .btn):hover,
:where(.woocommerce a.button,
    .woocommerce button.button,
    .components-button,
    .wp-element-button,
    input[type="submit"],
    .btn):focus {
    transition: all 0.2s ease;
    color: var(--_hover_color) !important;
    background-color: var(--_hover_bg) !important;
    border-color: var(--_hover_bg) !important;
}

.btn a {
    background: none;
    text-decoration: none;
    color: var(--_color);
    padding: 0;
    margin: 0;
}


.wp-block-button .has-c-1-background-color,
.btn.s1 {
    --_color: var(--tc);
    --_bg: var(--c1);
    --_hover_color: var(--tc);
    --_hover_bg: var(--c1);
}

.wp-block-button .has-c-2-background-color,
.btn.s2 {
    --_color: var(--tc);
    --_bg: var(--c2);
    --_hover_color: var(--tc);
    --_hover_bg: var(--c2);
}

.wp-block-button .has-c-3-background-color,
.btn.s3 {
    --_color: var(--tc);
    --_bg: var(--c3);
    --_hover_color: var(--tc);
    --_hover_bg: var(--c3);
}

.wp-block-button .has-c-4-background-color,
.btn.s4 {
    --_color: var(--tc);
    --_bg: var(--c4);
    --_hover_color: var(--tc);
    --_hover_bg: var(--c4);
}

.wp-block-button .has-c-5-background-color,
.btn.s5 {
    --_color: var(--tc);
    --_bg: var(--c5);
    --_hover_color: var(--tc);
    --_hover_bg: var(--c5);
}

.wp-block-button.is-style-outline a,
.btn.outline {
    --_color: var(--c2);
    --_bg: transparent;
    border-color: var(--_color) !important;
    --_hover_color: var(--c3);
    --_hover_bg: var(--c2);
}


.wp-block-buttons,
.btnGroup {
    display: flex;
    flex-direction: row;
    gap: 0.5em;
    align-items: center;
}

*+.wp-block-buttons,
*+.btnGroup {
    margin-top: 2em;
}


.btnGroup .or {
    display: block;
    text-align: center;
    line-height: 0.8em;
    font-size: 0.8em;
    opacity: 0.8;
}

.btnGroup .or::before {
    content: "-";
    display: block;
    transform: rotate(90deg);
}

.btnGroup .or::after {
    content: "-";
    display: block;
    transform: rotate(90deg);
    line-height: 1em;
}

@media only screen and (max-width: 600px) {
    .btnGroup {
        width: 100%;
        flex-direction: column;
    }

    .btnGroup .btn {
        width: 100%;
    }

    .btnGroup .or {
        margin: -0.5em 0;
    }

    .btnGroup .or::before,
    .btnGroup .or::after {
        display: inline;
        transform: none;
        line-height: inherit;
        margin: 0 0.5em;
    }
}

.is-style-no-style a,
.btn.noStyle,
button.noStyle {
    border: none !important;
    background: none !important;
    padding: 0 20px 0 0 !important;
    font-size: 1em;
    line-height: 1em;
    cursor: pointer;
}

.is-style-no-style a::after {}

button.noStyle.toggleNav {
    font-size: 1.5rem;
}

.inlineButton {
    padding: 0;
    border: none;
    color: var(--tc);
    --hover: var(--tc);
    background-color: transparent;
    --hover_bg: transparent;
}


.container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
}

.container>* {
    grid-area: 1/1;
    width: 100%;
}

.pixll_group-content,
.container .c_content,
.boxed {
    width: clamp(300px, 90%, var(--max_width));
    margin: 0 auto;
    z-index: 1;
}

.pixll_group.fullW>.pixll_group-content,
.container.fullW>.c_content {
    width: 100%;
}

.fullH {
    min-height: var(--fvh);
}

.container.blue {
    --tc: var(--c2);
    --tc_h: var(--c2);
    background-color: var(--c1);
}

.container.blue strong {
    color: var(--c3);
}

.container.black {
    --tc: var(--c2);
    --tc_h: var(--c2);
    background-color: var(--c3);
}

.container.blue strong {
    color: var(--c1);
}

.container .c_background,
.container .c_overlay {
    height: 100%;
    background-repeat: no-repeat;
    overflow: clip;
    position: relative;
    background-size: cover;
    background-position: center;
}

.pixll_group .pixll_group-overlay,
.container .c_overlay {}

.container .c_overlay {
    opacity: 0.5;
    background-image: linear-gradient(135deg, rgb(135, 113, 54) 0%, rgb(0, 0, 0) 100%);
}

.section_padd {
    padding-top: var(--section_padding);
    padding-bottom: var(--section_padding);
}

.section_padd_top {
    padding-top: var(--section_padding);
}

.section_padd_bottom {
    padding-bottom: var(--section_padding);
}

.pixll_group:first-child .pixll_group-content,
.container.first .c_content {}

.col-2,
.col-3,
.col-4,
.col-auto {
    display: grid !important;
    gap: var(--gap);
}

.center:where(.col-2,
    .col-3,
    .col-4) {
    align-items: center;
}

.center {
    justify-content: center;
}

.content.center {
    align-items: center;
    text-align: center;
}

.col-auto {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

:root {
    --col-2: repeat(2, 1fr);
    --col-3: repeat(3, 1fr);
    --col-4: repeat(4, 1fr);
}

.col-2 {
    grid-template-columns: var(--col-2);
    gap: clamp(30px, 10vw, 100px);
}

.col-3 {
    grid-template-columns: var(--col-3);
}

.col-4 {
    grid-template-columns: var(--col-4);
}


@media only screen and (max-width: 1000px) {
    :root {
        --col-2: repeat(2, 1fr);
        --col-3: repeat(2, 1fr);
        --col-4: repeat(2, 1fr);
    }
}


@media only screen and (max-width: 600px) {
    :root {
        --col-2: 1fr;
        --col-3: 1fr;
        --col-4: 1fr;
    }
}

.content {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
    align-items: flex-start;
}

#skip-nav {
    display: none;
}

#skip-nav:focus {
    display: block;
    outline: none;
    position: absolute;
    top: 10px;
    left: 10px;
}

.with-sidebar {
    display: grid;
    align-items: start;
    grid-template-columns: 1fr 300px;
    grid-gap: clamp(20px, 4vw, 60px);
}

.with-sidebar .sidebar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: solid hsl(0, 0%, 95%);
    ;
    border-width: 0 0 0 1px;
    padding-left: clamp(20px, 4vw, 30px);
}

.sidebar h4+ul {
    padding-top: var(--gap_min)
}

.sidebar ul+h4 {
    padding-top: var(--gap)
}

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

.sidebar ul li+li {
    padding-top: 0.4em;
}

/* Page */
.default-hero {
    min-height: clamp(400px, 40vh, 400px);
    --tc: var(--bg1);
}

.default-hero.small {
    min-height: clamp(200px, 20vh, 300px);
    background-color: var(--c1);
}

.default-hero .c_content {
    text-align: center;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.template-default .entry-content {
    margin: var(--gap) 0 var(--section_padding) 0;
}

.entry-content .is-style-container:first-child {
    margin-top: 0;
}

.page_content {
    /* margin-top: var(--menu_height); */
}

.rowMinContent .pixll_group-content {
    grid-template-rows: max-content;
}

.page_content .c_radius {
    border-radius: var(--c_radius);
}

.page_content .ci_radius {
    border-radius: var(--ci_radius);
}

.page_content .simpleCard h4 {
    margin-right: 1em !important;
}

.page_content .simpleCard>.pixll_group-content {
    padding: 0 !important;
    width: 100%;
}

.page_content p.tag {
    margin: 0 0 0 auto;
    display: block;
    float: right;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.2em 0.6em;
    border-radius: 15px;
}

.page_content .simpleCard .wp-block-buttons {
    padding-top: 0.5em !important;
    margin-top: 0.5em !important;
    border-top: solid 1px rgba(0, 0, 0, 0.05);
}

/* Archive Page */
.archive-title {
    background-color: var(--c1);
    padding: var(--gap_min);
    color: var(--bg1);
    text-align: center;
}

.archive-template .default-hero {
    margin-bottom: var(--gap);
}

.post-list {
    gap: var(--gap_min);
    display: grid;
}


.post-list .list-item .content {
    padding: var(--gap_min);
    gap: 0px;
}

.post-list .list-item .content .link {
    margin: 0;
    text-decoration: underline;
}

.post-list .list-item p {
    font-weight: 400;
    margin: 0.2em 0 0.5em 0;
}


.post-list .list-item a {
    text-decoration: none;
}


.service.list-item .hero {}


.post-list .list-item .hero.stacked {
    height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
    aspect-ratio: 1;
}

.post-list .list-item .hero.stacked>* {
    grid-area: 1/1;
    width: 100%;
    height: 100%;
}

.post-list .list-item .hero.stacked .overlay {
    --tc: var(--bg1);
    position: relative;
    z-index: 1;
}

.post-list .list-item .hero.stacked .overlay::after {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.9));
    transform: scaley(0.5);
    transform-origin: bottom;
    transition: transform 0.4s ease-out !important;
}

.post-list .list-item:hover .hero.stacked .overlay::after {
    transform: scaley(1);
}


.post-list .list-item .hero.stacked .content {
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    justify-content: flex-end;
}

.post-list .list-item .hero.stacked .hidden {
    display: flex !important;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in;
}

.post-list .list-item:hover .hero.stacked .hidden {
    max-height: 400px;
}

/* Post Page */
.post_content .wp-post-image {
    width: calc(100% + 2 * var(--gap));
    height: auto;
    aspect-ratio: 16/9;
    margin: var(--gap) calc(-1 * var(--gap));
}

.post_content .entry-header {
    margin-bottom: var(--gap);
}

.post_content .entry-header .meta-data {
    --tc: var(--c1);
    --tc_h: var(--c1);
}

.post_content h2 {
    font-size: var(--h3);
    --tc: var(--c1);
}

.post_content h3 {
    font-size: var(--h4);
}

.post_content h4 {
    font-size: var(--h5);
}

.post_content *+p {
    margin-top: 0.8em;
}

.post_content ul {
    margin: 0.5em 0 0.8em 0.5em;
}

.post_content .serviceInfoRow {
    margin: var(--gap) auto;
    align-items: flex-start;
}

.post_content .seperator {
    color: var(--c2) !important;
    margin: 0 0.2em;
    opacity: 0.5;
}

p.postNavigation {
    margin-top: var(--gap) !important;
    text-align: center;
    text-transform: capitalize;
}

.page_content .entry-footer {
    margin: var(--section_padding) auto;
}

.page_content .entry-footer .col-2 {
    grid-template-columns: 1fr auto !important;
    margin-bottom: var(--gap_min);
}

ul.pixll_accordion {
    padding: 0 !important;
}

/*Service Page*/
.service-hero {
    background-color: var(--bg2);
    margin-bottom: var(--section_padding);
}

.service-hero .c_content .content {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 500px;
    padding: var(--gap) 0;
}

.service-hero .c_content .content h1 {
    margin: 0;
}

.service-hero .c_content .content h1::after {
    margin-bottom: 0;
}

/* .type-service .serviceInfoRow:has(+.serviceInfoRow) {
    margin-bottom: var(--gap_min);
}

.type-service .serviceInfoRow:has(.is-style-style-2) {
    gap: var(--gap_min);
} */

@media only screen and (max-width: 800px) {
    .post_content .serviceInfoRow {
        flex-wrap: wrap !important;
    }
}

@media only screen and (max-width: 900px) {
    .container.with-sidebar {
        grid-template-columns: 1fr;
    }

    .with-sidebar .sidebar {
        border: none;
        padding: 0;
    }
}

.overflowScroll {
    max-width: 90vw;
    max-height: 90vh;
    overflow: auto;
}

/*Scroll bar style*/
body ::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

body ::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.01);
}

body ::-webkit-scrollbar-track:hover {
    background: rgba(0, 0, 0, 0.02);
}

body ::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.03);
    border-radius: 5px;
}

body ::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.05);
}

/*Form*/
textarea,
select,
input[type="tel"],
input[type="text"],
input[type="email"],
input[type="number"],
input[type="select"],
input[type="password"],
input[type="textarea"] {
    padding: 0.5em 0.8em !important;
    line-height: 1.2em;
    width: 100%;
    border: solid 1px var(--c4);
    color: var(--tc);
    font-family: var(--body_font);
    font-size: 16px;
    border-radius: 0;
    outline: none !important;
}

textarea:focus,
input[type="tel"]:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="select"]:focus,
input[type="password"]:focus,
input[type="textarea"]:focus {
    border-color: var(--tc);
}

::placeholder {
    color: var(--tc);
    opacity: 1;
}

textarea {
    resize: none;
    height: calc(5em + 8px);
}

label {
    color: var(--tc);
}

fieldset label {
    font-size: 0.7rem;
}

label {
    margin: 5px 0;
}

label input,
label textarea {
    margin-top: 5px;
}

form.wpcf7-form input[type="submit"] {
    width: 100%;
}

option {
    color: #000;
}

form.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: var(--gap_min);
}

fieldset {
    padding: 0;
    border: none;
}

fieldset legend {
    padding: 0;
    margin: 0;
}

/*CF7*/
.wpcf7 {
    width: 100%;
}

.wpcf7 p {
    position: relative;
}

.wpcf7 div[class^="uacf7-form"],
.wpcf7 form {
    display: grid;
    gap: 10px;
}

.wpcf7 form .col-auto,
.wpcf7 form .col-2 {
    gap: 0 10px;
}

/* .wpcf7 form>* {
    margin: 0 !important;
} */

.wpcf7-form-control.wpcf7-radio {
    display: flex;
    flex-direction: column;
    gap: 0.5em 1em;
    margin: 5px 0 10px 0;
}

.wpcf7 p:has(.wpcf7-submit) {
    position: relative;
    width: max-content;
    /* margin-left: auto; */
    margin-right: auto;
    text-align: left;
}

.wpcf7 p:has(.wpcf7-submit)::after {
    font-family: 'pd_icons' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\e90a" !important;
    margin: 0;
    display: block;
    position: absolute;
    font-size: 1.4em;
    top: 9px;
    right: 10px;
    transform-origin: center;
    transform: rotate(-45deg);
    transition: transform 0.2s ease-out;
    pointer-events: none;
}

.wpcf7 p:has(.wpcf7-submit:hover, .wpcf7-submit:focus)::after {
    transform: rotate(0) scale(1.1);
}

.wpcf7-spinner {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(50%, -50%);
    /* width: 22px; */
    /* height: 21px; */
    /* margin: 0; */
    background-color: rgb(0 0 0 / 16%);
}

.wpcf7-checkbox {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0 1em;
}

.mc4wp-checkbox label,
.wpcf7-checkbox label {
    position: relative;
}

.mc4wp-checkbox label input,
.wpcf7-checkbox label input {
    opacity: 0;
    width: 1.8em;
}

.mc4wp-checkbox label::before,
.wpcf7-checkbox label::before {
    display: block;
    position: absolute;
    top: 40%;
    left: 0;
    transform: translateY(-50%);
    content: "";
    text-align: center;
    height: 0.9rem;
    width: 0.9rem;
    font-size: 0.7rem;
    line-height: 0.8rem;
    color: var(--c1);
    background-color: transparent;
    border: solid 1px var(--tc);

    font-family: 'pd_icons' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.mc4wp-checkbox label:has(input:checked)::before,
.wpcf7-checkbox label:has(input:checked)::before {
    content: "\e910";
    background-color: var(--c3);
    border-color: var(--c3);
    color: var(--c2);
}

.wpcf7-list-item {
    margin: 0;
}

.wpcf7-list-item label {
    font-size: 1em;
}

.wpcf7-response-output {
    border: none !important;
    color: var(--color_l);
    padding: 0 !important;
    margin: 0 !important;
    /* text-align: center; */
}

.wpcf7-not-valid-tip {
    text-transform: initial;
    font-size: 10px;
    margin: 0;
    padding: 0;
    color: #dc3232;
}

/*Card*/
.card {
    display: flex;
    flex-direction: column;
    background-color: var(--bg1);
    /* border-radius: var(--c_radius); */
    box-shadow: var(--box_shadow);
}

.card .hero {
    aspect-ratio: 4/3;
    width: 100%;
    height: auto;
}

.card .hero img {
    width: 100%;
    height: 100%;
    border-radius: var(--c_radius);
    aspect-ratio: 3/2;
}

.card .content {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    padding: var(--gap_min);
    justify-content: flex-start;
}


.card .content>h3 {
    font-size: var(--h5);
    --tc: var(--c1);
    line-height: 1.2em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card .content .excerpt {
    width: 100%;
    line-height: 1.4em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 !important;
}

.card .actions {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 0.5em;
    align-items: center;
    justify-content: space-between;
    border-top: solid 1px rgba(0, 0, 0, 0.1);
    padding: var(--gap_min);
    margin-top: auto;

}

.card .content .actions>* {
    margin: 0 !important;
}

/*Header*/
.header-container {
    height: var(--menu_height);
}

#masthead {
    position: absolute;
    top: -300px;
    top: var(--top_offset);
    transition: top 0.4s ease-in, background 0.4s ease-in;
    width: 100%;
    z-index: 999;
    background-color: var(--bg3);
    --_gap: var(--gap);
}

#masthead.hideNav {
    --top_offset: -300px;
    /* background-color: var(--bg1); */
}

#masthead.viewNav {
    --top_offset: 0px;
    /* background-color: #fff; */
    /* --webkit-backdrop-filter: blur(10px); */
    /* backdrop-filter: blur(10px); */
}

#masthead::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    transform: translateY(99%);
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 25/1;
    background-color: var(--c1);
    clip-path: polygon(100% 0, 0 0, 0 100%);
    z-index: 1;
}

.admin-bar #masthead.viewNav {
    --top_offset: 32px;
}

#masthead #top-nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    font-weight: 600;
}

#masthead #mid-nav {
    display: grid;
    padding-top: var(--_gap);
    /* padding-bottom: var(--_gap); */
    grid-template-columns: auto auto;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
    height: var(--menu_height);
}

#masthead #mid-nav>.logo {
    height: calc(var(--menu_height) - var(--_gap));
    width: max-content;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.logo {
    display: block;
    /* aspect-ratio: 1; */
    width: auto;
    transition: all 0.3s;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--c1) !important;
    text-transform: uppercase;
}

.logo img {
    display: block;
    height: 100%;
    width: auto;
    object-fit: contain;
    object-position: center left;
}

.svglogo {
    font-size: 16pt;
    fill: #fff;
    font-family: var(--heading_font);
    font-weight: 400;
}

.svglogo .sub {
    font-size: 6pt;
    fill: #b9dae8;
    letter-spacing: 0.4pt;
}

@media screen and (min-width: 1000px) {
    #main-navigation .boxed {
        width: 100%;
        max-width: auto;
        margin: 0 auto;
    }
}

#main-navigation .main-menu {
    display: flex;
    flex-direction: row;
    gap: var(--gap_min);
    align-items: baseline;
    justify-content: flex-end;
}

#main-navigation .main-menu .menu-item {
    position: relative;
}

#main-navigation .main-menu .menu-item a {
    --tc: var(--bg1);
    --tc_h: var(--c2);
}

#main-navigation .main-menu .menu-item:not(.btn) a {
    font-weight: 400;
    padding: 0.5em 0;
    text-decoration: none;
    text-transform: uppercase;
}

#main-navigation .main-menu .menu-item.current_page_item:not(.btn)>a,
#main-navigation .main-menu .menu-item:not(.btn) a:hover,
#main-navigation .main-menu .menu-item:not(.btn) a:focus {
    color: var(--tc_h);
}

@media screen and (min-width: 1000px) {
    #main-navigation .main-menu .sub-menu {
        --_bg: var(--bg1);
        position: absolute;
        left: 12px;
        top: 2.2em;
        background: var(--_bg);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        padding: 14px;
        display: flex;
        flex-direction: column;
        gap: 8px;
        z-index: 1;
        width: max-content;
        visibility: hidden;
        border-radius: var(--radius);
        border-top-left-radius: 0;
    }

    #main-navigation .main-menu .sub-menu::before {
        content: "";
        position: absolute;
        display: block;
        top: -20px;
        left: 0px;
        transform: translateY(50%);
        border: solid 10px transparent;
        border-left-color: var(--_bg);
    }

    #main-navigation .main-menu .sub-menu a {}

    #main-navigation .menu-item:hover .sub-menu {
        visibility: visible;
    }
}

#masthead.hideNav,
#masthead.viewNav {
    --menu_height: 80px;
    --_gap: 18px;
}

.navIsOpen #main-navigation {
    left: 0;
    opacity: 1;
    transition: opacity 0.2s;
}

.navIsOpen #masthead {
    --top_offset: 0px !important;
}

#masthead .csic-close {
    cursor: pointer;
}

/*Mobile Header*/
.mobileOnly {
    display: none !important;
}

@media only screen and (max-width: 1000px) {
    .mobileOnly {
        display: block !important;
    }

    .pcOnly,
    .main-menu .sub-menu {
        display: none;
    }

    .header-container {
        --menu_height: 100px;
    }

    #masthead {
        margin: 0;
    }

    #main-navigation {
        position: fixed;
        top: 0;
        left: -100vw;
        opacity: 0;
        transition: all 0.3s ease-in-out !important;
        width: 80vw;
        height: var(--fvh);
        background-color: var(--bg2);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: stretch;
    }

    #main-navigation .boxed {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .navIsOpen #main-navigation {
        left: 0;
        opacity: 1;
    }

    #main-navigation .main-menu {
        display: flex;
        flex-direction: column;
        gap: var(--gap_min);
        height: 100%;
        justify-content: center;
        padding: var(--gap);
    }

    #main-navigation .main-menu .menu-item:not(.btn) {
        font-size: 1.2em;
    }

    #main-navigation .main-menu .btn {
        margin-top: var(--gap_min);
    }

    #masthead #mid-nav .hamNav {
        height: 25px;
        --_stroke: 2px;
        --_radius: 2px;
        --_spacing: 8px;
        width: auto;
        aspect-ratio: 1;
        position: relative;
        background: transparent;
        border: none;
        cursor: pointer;
        margin-left: auto;
        z-index: 1;
    }

    .hamNav .hamItem {
        position: relative;
        display: block;
        height: var(--_stroke);
        width: 100%;
        background-color: var(--tc);
        border-radius: var(--_radius);
        transition: all 0.4s var(--bezier);
        transform-origin: center;
    }

    .navIsOpen .hamNav .hamItem {
        background-color: transparent;
        transition: all 0.4s var(--bezier) 0.2s;
    }

    .hamNav .hamItem::before,
    .hamNav .hamItem::after {
        content: "";
        position: absolute;
        height: var(--_stroke);
        width: 100%;
        background: var(--tc);
        transform-origin: center;
        border-radius: var(--_radius);
        left: 0;
    }

    .navIsOpen .hamNav .hamItem:before {
        bottom: 0;
        transform: rotate(-45deg);
        transition: bottom 0.3s 0.05s var(--bezier),
            transform 0.3s 0.35s var(--bezier);
    }

    .hamNav .hamItem:before {
        bottom: var(--_spacing);
        transition: bottom 0.3s 0.3s var(--bezier),
            transform 0.3s var(--bezier),
            background-color 0.4s;
    }

    .navIsOpen .hamNav .hamItem:after {
        top: 0;
        transform: rotate(45deg);
        transition: top 0.3s 0.05s var(--bezier),
            transform 0.3s 0.35s var(--bezier);
    }

    .hamNav .hamItem:after {
        top: var(--_spacing);
        transition: top 0.3s 0.3s var(--bezier),
            transform 0.3s var(--bezier),
            background-color 0.4s;
    }
}


/*Search*/
#searchForm {
    display: grid;
    grid-template-columns: 1fr 50px;
    position: relative;
    width: clamp(200px, 95vw, 500px);
}

input[type="search"] {
    width: 100%;
    font-size: 1.2rem;
    padding: 9px 12px;
    background-color: var(--bg1);
    color: #000;
    outline: none !important;
    border-radius: 0;
    font-family: var(--heading_font);
    border: solid 1px var(--tc);
    border-width: 1px 0 1px 1px;
}

input[type="search"]::placeholder {
    color: #000;
    opacity: 1 !important
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    display: none;
}

select {
    font-family: var(--heading_font)
}

select option {
    font-size: 1rem;
    padding: 10px !important;
}

.loading-indicator {
    height: 20px !important;
    width: 20px !important;
    border-radius: 50% !important;
    border: 3px solid var(--bg4) !important;
    border-top: 3px solid var(--c1) !important;
    animation: spinAnimation 1.5s linear infinite !important;
    position: absolute;
    top: calc(50% - 10px);
    right: 60px;
    pointer-events: none;
    display: none;
}

#searchForm .searchButton {
    overflow: hidden;
    background-color: var(--tc);
    color: var(--c2);
    position: relative;
    cursor: pointer;
    border-radius: 0 5px 5px 0;
}

#searchForm .searchButton:before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    opacity: 0.9;
    transition: all 0.2s;
}

#searchForm:hover .searchButton:before {
    opacity: 1;
}

#searchForm .searchButton input {
    position: absolute;
    visibility: hidden;
}

/*Side Bar*/
.sideBar {
    position: fixed;
    z-index: 999;
    top: 0;
    visibility: hidden;
    right: -320px;
    height: var(--fvh);
    max-height: var(--fvh);
    overflow: hidden;
    width: 98%;
    max-width: var(--max_sidebar_width);
    box-shadow: 0 0 15px rgb(0 0 0 / 6%);
    background-color: var(--bg1);
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sideBarHeader {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: var(--gap);
    box-shadow: 0 0 15px rgb(0 0 0 / 6%);
}

.sideBarHeader .logo {
    height: 4em;
}

.sideBarHeader .csic-x {
    font-size: 25px;
    cursor: pointer;
}

.woocommerce .woocommerce-mini-cart.cart_list,
.sideBar .sideBarBody {
    max-height: calc(100vh - var(--top_offset) - 130px);
    overflow-y: auto;
    padding: var(--gap);
    display: grid;
    gap: var(--gap);
    margin-bottom: auto;
}

.navIsOpen .sideBarFooter {
    display: flex;
    flex-direction: column;
    gap: var(--gap_min);
    padding: var(--gap);
    box-shadow: 0 0 15px rgb(0 0 0 / 6%);
}

/*Footer*/
.site-footer {
    position: relative;
    z-index: 0;
    --tc: var(--bg1);
    --tc_h: var(--bg1);
    background-color: var(--bg3);
    font-size: 15px;
    padding: var(--gap_min);
}

.site-footer .logo-section {
    text-align: left;
}

.site-footer .logo {
    width: 150px;
    color: #fff !important;
    margin-bottom: 10px;
}

.site-footer .logo-section p {
    width: 100%;
}

.site-footer .logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.site-footer .boxed {}

.site-footer .copy {
    margin-top: var(--gap_min);
    text-align: left;
}

.site-footer .footer-menu {
    line-height: 1.8em;
}

.site-footer .footer-menu a {
    text-decoration: none;
    font-weight: 400;
}

.menu-wrapper .menu-item::before {
    margin-right: 0.5em;
}

ul.socialIcons {
    display: flex;
    flex-direction: row;
    gap: 0.5em;
    font-size: 1em;
    list-style: none !important;
}

ul.socialIcons a {
    position: relative;
    display: block;
    height: 32px;
    width: 32px;
    text-decoration: none !important;
    background-color: var(--tc);
    color: #000;
    padding: 10%;
    border-radius: 10px;
}

ul.socialIcons a:hover {
    background-color: var(--c3);
}

ul.socialIcons a::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.icon {
    height: 60px;
    width: 60px;
    object-fit: contain;
}

.subtitle {
    color: var(--c3);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@media only screen and (min-width: 600px) {
    .col-2.invert>div:nth-child(2) {
        grid-column: 1/2;
        grid-row: 1/2;
    }

    .col-2.invert>div:nth-child(1) {
        grid-column: 2/3;
    }
}


/*Custom to Project*/
.heroSlider {
    --dot: #fff;
    --dotActive: #fff;
}

.heroSlider .wp-block-heading {
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.videoSlider.pixll_slider {
    --dotnavOffset: -20px;
    overflow: visible;
    margin-left: -10px !important;
    margin-right: -10px !important;
    width: calc(100% + 20px) !important;
}

.videoSlider .pixll_slider-slide {
    padding: 10px !important;
}

@media screen and (max-width: 600px) {
    .videoSlider.pixll_slider {
        --slidesToShow: 1 !important;
    }

}

.pixll_slider .pixll_slider-wrapper {}

.pixll_accordion_item-header {}

.pixll_accordion-search_input,
.pixll_accordion_item-header-text {
    font-family: var(--body_font) !important;
    font-size: 1rem !important;
}

#map {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.mapCard h5 {
    font-family: var(--body_font);
    font-size: 16px;
    line-height: 1.4em;
    font-weight: 600;
}

.programAccordion .category_filter {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}

.autism-support {
    --_cat: #ff6f00;
}

.programAccordion .category_filter button {
    flex: 1 1 auto;
    font-family: var(--body_font) !important;
    font-size: 14px !important;
    background-color: var(--_cat, var(--c1)) !important;
    border-color: var(--_cat, var(--c1)) !important;
}

.programAccordion .category_filter button.active {
    box-shadow: 4px 4px 0 color-mix(in srgb, #000 20%, var(--_cat, var(--c1)));
}

.programAccordion .pixll_accordion_item-header-text {
    padding-left: 1.2em !important;
}

.programAccordion .pixll_accordion_item-header-text span {
    pointer-events: none;
    display: block;
    position: absolute;
    top: var(--accordion_padding);
    left: var(--accordion_padding);
    height: 0.8em;
    width: 0.8em;
    overflow: hidden;
    color: var(--_cat, var(--c1));
    background-color: var(--_cat, var(--c1));
    margin-right: 0.4em;
    border-radius: 50%;
}

.pixll_accordion_list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 10px;
}

.pixll_accordion_list .part {
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}