/*
 Theme Name:     Pearl Jade Marketing Development
 Description:    A Custom Theme by Pearl Jade Marketing
 Author:         Pearl Jade Marketing
 Author URI:     https://pjademkt.com/
 Template:       Divi
 Version:        1.0.0
*/

/* GENERAL */
#et-secondary-menu{
    float: none;
    text-align: center;
}

#et-secondary-menu a{
    font-weight: 600 !important;
}

.expander.arrow-down:before,
.expander-2.arrow-down:before,
.expander-3.arrow-down:before,
.expander-4.arrow-down:before,
.expander-5.arrow-down:before,
.expander-6.arrow-down:before{
    content: "READ MORE";
    color: #5f9595;
    font-weight: 500;
    margin-right: 7px;
    vertical-align: top;
}

.expander,
.expander-2,
.expander-3,
.expander-4,
.expander-5,
.expander-6{
    height: 2em;
    overflow: hidden;
    cursor: pointer;
    content: "\a";
    white-space: pre;
}

.arrow-down:after {
    content: "READ LESS";
    color: #5f9595;
    font-weight: 500;
    margin-right: 7px;
    vertical-align: top;
    display: block;
}

/* MOBILE MENU */
@media only screen and (max-width: 981px) {
  .et_header_style_left #logo{
    content: url("https://8490442c93.nxcli.io/wp-content/uploads/2025/01/functional-healing-logo-mobile.png");
      max-width: 70% !important;
  }
}

.mobile_menu_bar:before{
    color: #F5D1C3 !important;
    background: #ffffff;
}

.et_mobile_menu{
    border-top: 3px solid #F5D1C3 !important;
    height: 100vh !important;
    background-image: url('https://8490442c93.nxcli.io/wp-content/uploads/2025/01/functional-health-tree-submark-grey.png');
    background-size: contain;
    background-position: bottom;
    background-repeat: no-repeat;
}

#main-header #mobile_menu.et_mobile_menu li a{
    color: #ffffff !important;
    text-align: center;
    font-size: 30px;
    line-height: 34px;
    border-bottom: 0px;
    padding-bottom: 20px;
}

/* HOME */
.submark h2:before{
    content: url(https://8490442c93.nxcli.io/wp-content/uploads/2024/12/pink-leaf-left.png);
    display: inline-block;
    transform: scale(.7);
}

.submark h2:after{
    content: url(https://8490442c93.nxcli.io/wp-content/uploads/2024/12/pink-leaf-right.png);
    display: inline-block;
    transform: scale(.7);
}

.steps .et_pb_blurb_position_left .et_pb_main_blurb_image{
    width: 100px;
}

.events a{
    text-transform: uppercase;
    font-weight: 600;
}

/* MOBILE CUSTOMIZATION */
.color-section .et_pb_column{
    width: 20% !important;
}

.picture-row .et_pb_column{
    width: 33% !important;
}

.mobile-carousel .swiper-pagination-bullet{
    width: 15px;
    height: 15px;
}

.steps .et_pb_blurb_position_left .et_pb_main_blurb_image{
    width: 70px;
}

/*** wrap row in a flex box ***/
.custom-row {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap; /* Safari 6.1+ */
    flex-wrap: wrap;
}
 
/*** custom classes that will designate the order of columns in the flex box row ***/
@media (max-width: 765px) {
    .first-on-mobile {
        -webkit-order: 1;
        order: 1;
    }

    .second-on-mobile {
        -webkit-order: 2;
        order: 2;
    }
}


/* FORM */
.quiz .gform-theme--foundation .gfield input,
#mobile-quiz .gform-theme--foundation .gfield input{
    border-radius: 50px;
}

.quiz .gform-theme--foundation .gfield.gfield--input-type-text,
.quiz .gform-theme--foundation .gfield.gfield--input-type-email{
    grid-column: 1/8;
}

.custom-form.quiz input:focus,
#mobile-quiz input:focus{
    outline-color:#F0BC68;
    border: 1px solid #F0BC68;
}

.custom-form.quiz .gfield.gfield--type-radio,
#mobile-quiz .gfield.gfield--type-radio{
    display: inline;
}

.custom-form.quiz .gfield--type-radio .gfield_label,
#mobile-quiz .gfield--type-radio .gfield_label{
    display: contents !important;
}

.custom-form.quiz .gfield--type-radio .ginput_container{
    float: right;
}

#mobile-quiz .gfield--type-radio .ginput_container{
    padding-top: 10px;
}

.custom-form.quiz .gfield--type-radio .gfield_radio,
#mobile-quiz .gfield--type-radio .gfield_radio{
    display: inline !important;
}

.custom-form.quiz .gfield--type-radio .gfield_radio input,
#mobile-quiz .gfield--type-radio .gfield_radio input{
    border: 2px solid #F0BC68 !important;
}

.custom-form.quiz .gfield--type-radio .gfield_radio input:before,
#mobile-quiz .gfield--type-radio .gfield_radio input:before{
    background-color: #F0BC68;
}

.custom-form.quiz .gfield--type-radio .gchoice:first-child{
    padding-right: 40px;
}

.custom-form.quiz .gfield--type-radio#field_1_9 .ginput_container,
.custom-form.quiz .gfield--type-radio#field_1_10 .ginput_container{
    float: none;
}

.custom-form.quiz .gfield--type-radio#field_1_9 .gfield_label,
.custom-form.quiz .gfield--type-radio#field_1_10 .gfield_label{
    display: block !important;
}

.custom-form.quiz .gfield--type-radio#field_1_9 .gchoice,
.custom-form.quiz .gfield--type-radio#field_1_10 .gchoice{
    padding-right: 3.5%;
}

.custom-form.quiz .gfield--type-radio#field_1_9 .gchoice.gchoice_1_9_0,
.custom-form.quiz .gfield--type-radio#field_1_10 .gchoice.gchoice_1_10_0{
    padding-right: .5%;
}

.custom-form.quiz .gfield--type-radio#field_1_9 .gchoice:first-child label:after,
.custom-form.quiz .gfield--type-radio#field_1_10 .gchoice:first-child label:after{
    content: "Not Important";
    font-size: 14px;
    display: block;
    margin-left: -65px;
    padding-top: 5px;
}

.custom-form.quiz .gfield--type-radio#field_1_9 .gchoice:last-child label:after,
.custom-form.quiz .gfield--type-radio#field_1_10 .gchoice:last-child label:after{
    content: "Very Important";
    font-size: 14px;
    display: block;
    margin-left: -65px;
    padding-top: 5px;
}

.custom-form.quiz .gform-footer,
#mobile-quiz .gform-footer{
    justify-content: center;
    align-items: center;
}

.custom-form.quiz .gform-footer .gform_button,
#mobile-quiz .gform-footer .gform_button{
    border-radius: 0px !important;
    background: #876046 !important;
    font-weight: 600 !important;
    margin-top: 30px;
    font-size: 18px !important;
}

#mobile-quiz .gform-page-footer{
    float: right;
}

#mobile-quiz .gform_next_button{
    background: transparent;
    color: #876046;
    box-shadow: none;
    font-weight: 700;
}

.get-connected-form .field-container input[type=text]{
    border-radius: 50px !important;
}

/* FOOTER */
.footer-section .et_pb_row{
    width: 90%;
    max-width: 100%;
}
 
.footer-section .et_pb_row .col-1{
    width: 55%;
}

.footer-section .et_pb_row .col-2{
    width: 34%;
    margin-right: 5% !important;
}
 
/* =Theme customization starts here
------------------------------------------------------- */

/*-------------------------------------------------------------------*/
/*-----------------------Header/Menu Styles--------------------------*/
/*-------------------------------------------------------------------*/

@media (min-width: 981px) {
    span#et-info-phone {
        float: right;
    }
    .container.clearfix.et_menu_container {
        width: 95%;
        max-width: 100%;
        margin:auto;
    }
    /* Increase Logo Size on Desktop */
    #logo {
        max-height: 85%;
        width: auto;
    }
}
@media (max-width:981px) {
    .container.clearfix.et_menu_container {
        width: 95%;
        max-width: 100%;
        margin:auto;
    }
    /* Increase Logo Size on Mobile */
    #logo {
        max-height: 80%;
        width:auto;
    }
}
span#et-info-phone:before {
    margin-right: 5px;
}
span#et-info-phone {
    font-weight: bold;
}
div#et-info {
    width: 100%;
}

/*------------------------------------------*/
/*-----------Scroll to Top Button-----------*/
/*------------------------------------------*/

/* Default button appearance */
.et_pb_scroll_top.et-pb-icon {
    right: 15px; /* space from right */
    bottom: 20px; /* space from bottom */
    padding: 6px; /*padding size*/
    border-radius: 30px; /* make the circle */
    background: #000000 /* button color */;    
    font-size: 32px; /* icon size */
    transition: all .1s ease-in-out; /* add transition */
}
/* Button Appearance on Mouseover */
.et_pb_scroll_top.et-pb-icon:hover {
    bottom: 25px /* space from bottom */;
    background: #000000 /*button hover color*/; 
    transition: all .1s ease-in-out; /*add transition*/
    box-shadow: 0 10px 15px #162c4e4a; /*box shadow on hover*/
}
/* Animation tweaks */
.et_pb_scroll_top.et-visible {
    -webkit-animation: fadeInBottom 1s 1 cubic-bezier(.50,0,.160,1);
    -moz-animation: fadeInBottom 2s 1 cubic-bezier(.50,0,.160,1);
    -o-animation: fadeInBottom 1s 1 cubic-bezier(.50,0,.160,1);
    animation: fadeInBottom 1s 1 cubic-bezier(.50,0,.160,1);
}
.et_pb_scroll_top.et-hidden {
    opacity: 0;
    -webkit-animation: fadeOutBottom 1s 1 cubic-bezier(.77,0,.175,1);
    -moz-animation: fadeOutBottom 1s 1 cubic-bezier(.77,0,.175,1);
    -o-animation: fadeOutBottom 1s 1 cubic-bezier(.77,0,.175,1);
    animation: fadeOutBottom 1s 1 cubic-bezier(.77,0,.175,1);
}

/*------------------------------------------*/
/*------Nesting Mobile Menu Settings--------*/
/*------------------------------------------*/

.et_mobile_menu {
    overflow: scroll !important;
    max-height: 85vh!important;
}
#top-menu .menu-item-has-children .menu-item-has-children > a:first-child::after,
#et-secondary-nav .menu-item-has-children .menu-item-has-children > a:first-child::after {
    content: '5';
}
#main-header #mobile_menu.et_mobile_menu .menu-item-has-children {
    position: relative;
}
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle {
    position: absolute;
    background-color: rgba(0,0,0,0.03);
    z-index: 1;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    top: 3px;
    right: 10px;
    cursor: pointer;
    text-align: center;
    color:#000000;
}
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped {
    background-color: rgba(0,0,0,0.1);
    color:#000000;
}
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle::before {
    font-family: "ETmodules" ;
    font-weight: normal;
    font-style: normal;
    font-variant: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 40px;
    font-size: 24px;
    text-transform: none;
    speak: none;
    content: '\33';
    color:#000000;
}
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped::before {
    content: '\32';
    background-color:#DEDEDE;
}
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle ~ ul.sub-menu {
    display: none !important;
    padding-left: 0;
    color:#000000!important;
}
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped ~ ul.sub-menu {
    display: block !important;
    background-color: rgba(0,0,0,0.03);
    color:#000000;
}
#main-header #mobile_menu.et_mobile_menu li li {
    padding-left: 0;
}
#main-header #mobile_menu.et_mobile_menu li a,
#main-header #mobile_menu.et_mobile_menu li li a,
#main-header #mobile_menu.et_mobile_menu li li li a {
    padding-left: 20px;
    padding-right: 20px;
    color:#000000;
}
#main-header #mobile_menu.et_mobile_menu .menu-item-has-children .sub-menu-toggle + a {
    padding-right: 20px;
    color:#000000;
}
#main-header #mobile_menu.et_mobile_menu .menu-item-has-children > a {
    background-color: transparent;
    font-weight: inherit;
}
#main-header #mobile_menu.et_mobile_menu li.current-menu-item > a {
    font-weight: bolder;
}

/*-------------------------------------------------------------------*/
/*-------MOBILE MENU SLIDE IN EFFECT - FIXED MOBILE HEADER-----------*/
/*-------------------------------------------------------------------*/

/* Fix the mobile header */
@media (max-width: 980px) {
    .et_non_fixed_nav.et_transparent_nav #main-header, .et_non_fixed_nav.et_transparent_nav #top-header, .et_fixed_nav #main-header, .et_fixed_nav #top-header {
        position: fixed;
    }
}
/* Set the mobile menu full height and move it down so it doesn't overlap the fixed header */
#mobile_menu {
    display: block!important;
    height:auto;
    right: 0;
    position: fixed;
    overflow: auto;
    z-index:2!important;
    -webkit-transition: -webkit-transform 0.4s 0s;
    -moz-transition: -moz-transform 0.4s 0s;
    transition: transform 0.4s 0s;
    -overflow-scrolling:touch!important;
    -webkit-overflow-scrolling:touch!important;
}
/* Move the mobile menu fully off the screen when closed using translateX(100%) */
.mobile_nav.closed #mobile_menu {
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
}
/* Move the mobile menu back onto the screen when open using translateX(0%) */
.mobile_nav.opened #mobile_menu {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
}
/* Switch the menu icon to a CROSS when opened */
.mobile_nav.opened .mobile_menu_bar:before {
    content: "\4d";
}

/*-------------------------------------------------------------------*/
/*--------------------------Footer Styles----------------------------*/
/*-------------------------------------------------------------------*/

footer#main-footer {
    display: none;
}