/*
Theme Name:     Info CWM
Theme URI:      https://wpcrunchy.com
Description:    Custom theme for info.carsonwealth.com
Author:         Pau Sumampong
Author URI:     https://codevwork.com
Template:       Divi
Version:        1.0.5
*/


/* =Theme customization starts here
------------------------------------------------------- */
/*Custom Fonts Code Start*/

@font-face {
    font-family: 'HelveticaNeueLTPro-700';
    src: url('/wp-content/themes/Divi-Child/assets/fonts/HelveticaNeueLTPro-Bd.woff') format('woff'),
        url('/wp-content/themes/Divi-Child/assets/fonts/HelveticaNeueLTPro-Bd.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HelveticaNeueLTPro-500';
    src: url('/wp-content/themes/Divi-Child/assets/fonts/HelveticaNeueLTPro-Md.woff') format('woff'),
        url('/wp-content/themes/Divi-Child/assets/fonts/HelveticaNeueLTPro-Md.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HelveticaNeueLTPro-400';
    src: url('/wp-content/themes/Divi-Child/assets/fonts/HelveticaNeueLTPro-Roman.woff') format('woff'),
        url('/wp-content/themes/Divi-Child/assets/fonts/HelveticaNeueLTPro-Roman.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HelveticaNeueLTPro-300';
    src: url('/wp-content/themes/Divi-Child/assets/fonts/HelveticaNeueLTPro-Lt.woff') format('woff'),
        url('/wp-content/themes/Divi-Child/assets/fonts/HelveticaNeueLTPro-Lt.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HelveticaNeueLTPro-200';
    src: url('/wp-content/themes/Divi-Child/assets/fonts/HelveticaNeueLTPro-UltLt.woff') format('woff'),
        url('/wp-content/themes/Divi-Child/assets/fonts/HelveticaNeueLTPro-UltLt.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HelveticaNeueLTPro-100';
    src: url('/wp-content/themes/Divi-Child/assets/fonts//HelveticaNeueLTPro-Th.woff') format('woff'),
        url('/wp-content/themes/Divi-Child/assets/fonts/HelveticaNeueLTPro-Th.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

body {
    overflow-x: hidden;
}

/*Custom Fonts Code End*/

.et-boc #main-header {
    box-shadow: none !important;
}

input#gform_submit_button_1 {
    background: #d7b556;
    color: #0f304a;
    border: none;
    font-family: 'HelveticaNeueLTPro-700';
    padding: 14px 64px;
    border-radius: 6px;
    margin-left: auto;
    margin-right: auto;
}

span.gfield_required {
    display: none !important;
}

label.gfield_label {
    color: rgb(27 38 50 / 60%);
    font-family: 'HelveticaNeueLTPro-700';
    font-size: 14px !important;
    line-height: 18px !important;
}

.ginput_container.ginput_container_text input {
    padding: 18px 16px 16px !important;
    border-radius: 4px;
    border: 1px solid rgba(13, 48, 74, 0.5);
}

.ginput_container.ginput_container_text input:focus {
    border: 1px solid #D6B556;
}

.et_header_style_left .logo_container {
    text-align: center;
}

footer.et-l.et-l--footer p {
    padding-bottom: 20px;
	font-size: 11px;
    line-height: 20px;
    font-family: 'HelveticaNeueLTPro-400';
    font-weight: 400;
}

.hero-banner .et_pb_image .et_pb_image_wrap {
    width: 100%;
}

.hero-banner span.et_pb_image_wrap img {
    width: 100%;
}

.custom-gravity-form-container .gform_wrapper.gravity-theme .gf_progressbar_title {
    display: none;
}

.custom-gravity-form-container .gform_wrapper.gravity-theme .gf_progressbar_percentage span {
    display: none;
}

.custom-gravity-form-container .gform_wrapper.gravity-theme .gf_progressbar_percentage {
    height: 8px;
}

.custom-gravity-form .gform_page_footer {
    text-align: center;
}

.custom-gravity-form .gform_page_footer input[type="button"] {
    background: #D6B556;
    color: #0D304A;
    border: none;
    outline: none;
    padding: 15px;
    width: 284px;
    border-radius: 6px;
    margin: 0 auto;
    font-size: 18px;
    font-family: 'HelveticaNeueLTPro-700';
}

.custom-gravity-form-container p.question {
    font-size: 18px;
    text-transform: uppercase;
    text-align: center;
    color: #D6B556;
    font-family: 'HelveticaNeueLTPro-700';
    margin-bottom: 15px;
    margin-top: 30px;
}

.custom-gravity-form-container h2.question-heading {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    color: #0D304A;
    font-family: 'Frank Ruhl Libre';
}

.custom-gravity-form-container .gform_wrapper.gravity-theme .gform_previous_button.button {
    position: absolute;
    top: 0;
    left: -15vw;
    border: none;
    background: url(../../uploads/2022/06/back-icon.svg) left top no-repeat;
    padding-left: 34px;
    font-size: 18px;
    font-family: 'HelveticaNeueLTPro-700';
    color: #0D304A;
    line-height: 31px;
    margin-bottom: 0;
}

.custom-gravity-form-container .gform_wrapper.gravity-theme .gform_next_button.button,
.custom-gravity-form-container .gform_wrapper.gravity-theme input[type="submit"] {
    background: #D6B556;
    color: #0D304A;
    border: none;
    outline: none;
    padding: 15px;
    width: 284px;
    border-radius: 6px;
    margin: 0 auto;
    font-size: 18px;
    font-family: 'HelveticaNeueLTPro-700';
}

.custom-gravity-form-container .for-custom-buttons .gform_page_footer {
    text-align: center;
}

.custom-gravity-form-container .gform_wrapper.gravity-theme .gf_progressbar_percentage.percentbar_12 {
    display: none;
}

.custom-gravity-form-container .gform_wrapper.gravity-theme .gform_fields {
    display: flex;
    flex-direction: column;
}

.for-custom-buttons .gfield.gfield--width-full.gfield_html.gfield_html_formatted.gfield_no_follows_desc.field_sublabel_below.field_description_below.gfield_visibility_visible {
    display: initial;
}

.for-custom-buttons .gfield.gfield--width-full.field_sublabel_below.field_description_below.gfield_visibility_visible {
    display: flex;
    width: 100%;
    align-items: flex-end;
    margin-bottom: 20px;
}

.for-custom-buttons .gfield.gfield--width-full.field_sublabel_below.field_description_below.gfield_visibility_visible .gfield_label {
    display: inline-block;
    width: 50%;
    float: left;
    font-size: 24px !important;
    color: #0D304A;
    line-height: initial !important;
    margin-bottom: 0;
    font-family: 'Frank Ruhl Libre';
}

.for-custom-buttons .ginput_container.ginput_container_text {
    display: inline-block;
    width: 50%;
    float: left;
}

.custom-gravity-form-container .gform_wrapper.gravity-theme .gfield.input-border input {
    font-family: 'HelveticaNeueLTPro-400';
    font-size: 16px;
    letter-spacing: 0.8px;
    line-height: 18px;
    color: #0D304A;
    border: 1px solid rgba(13, 48, 74, 0.5);
    padding: 18px 16px 16px;
    border-radius: 4px;
}

.custom-gravity-form-container .gform_wrapper.gravity-theme .gfield input {
    border: none;
    border-bottom: 1px solid rgba(13, 48, 74, 1);
    border-radius: 0;
	font-size: 16px;
    font-family: 'HelveticaNeueLTPro-400';
}

.for-custom-buttons .gfield.full-width-label-option {
    display: flex;
    flex-direction: column;
}

.for-custom-buttons .gfield.full-width-label-option .gfield_label {
    display: inline-block !important;
    width: 100% !important;
    text-align: center;
}

.for-custom-buttons .gfield.full-width-label-option .ginput_container.ginput_container_multiselect select {
    border: none;
    overflow: hidden;
    margin: 0 auto;
    float: none;
}

.for-custom-buttons .gfield.full-width-label-option .ginput_container.ginput_container_multiselect {
    text-align: center;
    width: 100%;
}

.for-custom-buttons .gfield.full-width-label-option .ginput_container.ginput_container_multiselect select {
    width: auto;
    border: none;
    overflow: hidden;
    margin: 0 auto;
    max-height: 331px;
}

.for-custom-buttons .gfield.full-width-label-option .ginput_container.ginput_container_multiselect select option {
    padding: 20px 60px;
    border: 1px solid rgba(13, 48, 74, 0.3);
    margin-bottom: 15px;
    border-radius: 7px;

}

.custom-gravity-form-container .gform_wrapper.gravity-theme .gfield.dollar-icon input {
    background: url(assets/images/dollar.svg) left center no-repeat;
    padding-left: 25px !important;
}

.for-custom-buttons .gfield.full-width-label-option .ginput_container.ginput_container_multiselect select option:checked {
    background: #ffffff;
    border: 2px solid #D6B556;
    box-shadow: 0px 3px 13px rgb(27 38 50 / 20%);
}

div#post_form #postform input {
    opacity: 0;
    visibility: hidden;
    display: none;
}

div#post_form #postform {
    text-align: center;
}

div#post_form #postform button#postbtn {
    background: #D6B556;
    color: #0D304A;
    border: none;
    outline: none;
    padding: 15px;
    width: 284px;
    border-radius: 6px;
    margin: 0 auto;
    font-size: 18px;
    font-family: 'HelveticaNeueLTPro-700';
}

/* .custom-gravity-form-container .gform_wrapper.gravity-theme input[type="submit"] {
    display: none;
} */

.for-custom-buttons .gfield.full-width-label-option .ginput_container.ginput_container_multiselect select option {
    padding: 20px 60px;
    border: 1px solid rgba(13, 48, 74, 0.3);
    margin-bottom: 15px;
    border-radius: 7px;
}

.custom-gravity-form-container .gform_wrapper.gravity-theme .gfield select.large {
    padding: 18px 16px 16px;
    border-radius: 4px;
}

.custom-gravity-form-container select {
    border: 1px solid rgba(13, 48, 74, 0.5);
}

.custom-gravity-form-container .gform_wrapper.gravity-theme .gfield_label {
    font-family: 'HelveticaNeueLTPro-700';
    font-size: 14px;
    line-height: 18px;
    letter-spacing: -0.2px;
    color: #0D304A;
}

.custom-gravity-form-container div#gform_1_validation_container {
    display: none;
}

.custom-gravity-form-container .gform_wrapper .gfield_error label {
    color: rgb(27 38 50 / 60%);
}

.custom-gravity-form-container .gform_wrapper .gfield_error [aria-invalid=true] {
    border: 1px solid #EA6348 !important;
}

.custom-gravity-form-container .gform_wrapper .gfield_validation_message,
.gform_wrapper .validation_message {
    background: #ffffff;
    border: 1px solid #ffffff;
    color: #EA6348 !important;
    padding: 0 !important;
}


#cp_popup_id_145 .cp-popup-content.cp-slide_in.top-right {
    right: 0;
}

#cp_popup_id_145 .cp-popup-content {
    height: 100vh;
}

#cp_popup_id_145 #cp_custom_html-2-145 {
    left: 0;
    top: 75px;
    z-index: 2;
    width: 100%;
    padding: 0 50px;
    box-sizing: border-box;
    position: relative;
}

#cp_popup_id_145 #cp_custom_html-2-145 .cp-target {
    width: 100%;
}

#cp_popup_id_145 .gform_wrapper.gravity-theme .gf_step {
    display: inline-block;
    margin: 8px 8px 8px 0;
}

#cp_popup_id_145.cp_style_145 #cp_custom_html-2-145 .cp-target {
    width: 100%;
    text-align: inherit;
}

#cp_popup_id_145.cp_style_145 #cp_custom_html-2-145 .cp-target .gf_page_steps {
    text-align: center;
}

.cp_style_145 #cp_custom_html-2-145 .cp-target {
    width: 100% !important;
}

.cp_style_145 #cp_close_text-2-145 {
    text-align: center;
    width: 100%;
    left: 0 !important;
}

.cp_style_145 #cp_close_text-2-145 .cp-close-field {
    margin: 0 auto;
    color: #ffffff;
}

.cp_style_145 #cp_close_text-2-145 .cp-close-field .cp-close-link {
    color: #ffffff !important;
    text-indent: -99px;
    background: url(assets/images/close.svg) no-repeat center;
}

.cp_style_145 .get-retirement-ready-form .gf_step .gf_step_number {
    font-size: 0;
    border: none;
    background: #F5E9C6;
    border-radius: 3px;
    height: 17px;
    min-width: 130px;

}

.cp_style_145 .get-retirement-ready-form .gf_step_completed .gf_step_number::before {
    display: none;
}

.cp_style_145 .get-retirement-ready-form .gf_step_completed .gf_step_number::after {
    display: none;
}

.cp_style_145 .get-retirement-ready-form .gf_step.gf_step_completed .gf_step_number {
    background: #D6B556;
}


.cp_style_145 .get-retirement-ready-form .gf_step_active .gf_step_number {
    background: #D6B556;
}

.cp_style_145 .get-retirement-ready-form .gf_page_steps {
    border-bottom: 0;
    margin-bottom: 16px;
}

.cp_style_145 .cp-popup-content .cpro-form-container {
    overflow-y: scroll;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */

}

.cp_style_145 .cp-popup-content .cpro-form-container::-webkit-scrollbar {
    display: none;
}

.get-retirement-ready-form .f-header h2 {
    color: #ffffff;
    font-style: normal;
    font-family: 'Frank Ruhl Libre';
    font-weight: 900;
    font-size: 48px;
    line-height: 50px;
    text-align: center;
    letter-spacing: -1px;
}

.get-retirement-ready-form .f-header h2 span#grr-fname,
.get-retirement-ready-form .f-header h2 span#grr-fname-2 {
    text-transform: capitalize;
}

.get-retirement-ready-form legend.gfield_label,
.get-retirement-ready-form label,
.get-retirement-ready-form label.gfield_label,
.get-retirement-ready-form p {
    color: #ffffff;
    opacity: 0.6;
    font-family: 'HelveticaNeueLTPro-300';
    font-size: 14px !important;
}

.get-retirement-ready-form input[type=text],
.get-retirement-ready-form input[type=email],
.get-retirement-ready-form input[type=tel] {
    background-color: transparent;
    border: 1px solid #FFFFFF !important;
    border-radius: 4px;
    color: #ffffff !important;
    height: 45px;
}

.cp_style_145 .get-retirement-ready-form input[type='radio'] {
    background: transparent;
}

.get-retirement-ready-form .ginput_container.ginput_container_text input:focus {
    border: 1px solid #D6B556 !important;
}

.cp_style_145 .get-retirement-ready-form .gform_previous_button.button {
    display: none;
}

.cp_style_145 .get-retirement-ready-form .gform_next_button.button,
.cp_style_145 .get-retirement-ready-form .gform_button.button {
    background: #D6B556 !important;
    color: #0D304A !important;
    border-radius: 6px;
    padding: 17px 48px 14px;
    font-family: 'HelveticaNeueLTPro-700';
    font-style: normal;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0.5px;
    width: 70%;
    margin: 0 auto;
    float: none;
    display: block;
    border: none;
}

.cp_style_145 .get-retirement-ready-form .gform_button.button {
    margin-top: 40vh;
}

.cp_style_145 .get-retirement-ready-form .f-header p {
    color: #ffffff !important;
    opacity: 1;
    font-size: 20px !important;
    font-family: 'HelveticaNeueLTPro-200';
    text-align: center;
    margin-top: 30px;
    letter-spacing: 1px;
}

.cp_style_145 .get-retirement-ready-form select {
    background-color: transparent !important;
    border: 1px solid #ffffff !important;
    padding: 18px 16px 16px !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-family: 'HelveticaNeueLTPro-300';
}

.cp_style_145 .get-retirement-ready-form select option {
    background: #0d304a;
}

.floating-banner {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 9;
    background-color: #0D304A;
    max-width: 346px;
    height: 283px;
    padding: 28px;
	border-radius: 8px 0px 0px 8px;
}

.custom-gravity-form .gform_page_footer.top_label {
    margin-top: 30px;
}
.custom-mgs {
    text-align: center;
    padding: 64px;
    color: #ffffff;
    opacity: 1;
    height: 85vh;
    position: relative;
}
.custom-mgs h2 {
    font-size: 48px;
    color: #fff;
    font-family: 'Frank Ruhl Libre';
    font-weight: 900;
    margin-bottom: 30px;
}
.custom-mgs p {
    font-size: 20px !important;
    font-family: 'HelveticaNeueLTPro-300';
    color: #ffffff;
    opacity: 1;
}
.custom-mgs a.return-to-home {
    position: absolute;
    bottom: 0;
    left: 20%;
    background: #D6B556;
    padding: 10px;
    color: #0D304A;
    max-width: 384px;
    width: 100%;
    font-size: 18px;
    font-family: 'HelveticaNeueLTPro-700';
    box-shadow: 0px 4px 8px rgb(27 38 50 / 10%);
    border-radius: 6px;
}
.custom-mgs h2 span {
    display: block;
    text-transform: capitalize;
}
@media only screen and (min-width: 1800px) {

    .floating-banner {
        padding: 32px;
    }
}



footer.et-l.et-l--footer {
    position: relative;
    z-index: 0;
}

/** =============================================================================
    ADVISOR MATCH FORM
    ========================================================================== */

.advisor-match-testimonial {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    top: -25px;
    left: 0;
    width: 400px;
    height: calc(100% + 63px);
    padding: 70px 60px;
    background-color: #f2f2f2;
    opacity: 0;
    pointer-events: none;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}
.advisor-match-testimonial.show-testimonial {
    animation: slideIn 1s forwards;
}
.advisor-match-testimonial.hide-testimonial {
    animation: slideOut .5s forwards;
}
@keyframes slideIn {
    0% {
        left: 0;
        opacity: 0;
    }
    65% {
        opacity: 0;
    }
    100% {
        left: calc(100% + 20px);
        opacity: 1;
        pointer-events: auto;
    }
}
@keyframes slideOut {
    0% {
        left: calc(100% + 20px);
        opacity: 1;
        pointer-events: auto;
    }
    45% {
        opacity: 0;
    }
    100% {
        left: calc(100% + 60px);
        opacity: 0;
        pointer-events: none;
    }
}
@media (max-width: 768px) {
    .advisor-match-testimonial {
        position: relative;
        top: 0;
        left: 0 !important;
        width: 100% !important;
        opacity: 1 !important;
        height: auto;
        padding: 40px 15px;
    }
}
.advisor-match-testimonial .testimonial-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 35px;
    color: #e7d596;
    font-size: 32px;
}
.advisor-match-testimonial .testimonial-quote {
    position: relative;
    color: #0D304A;
    font-size: 24px;
    font-weight: 700;
    font-family: 'Frank Ruhl Libre';
    text-align: center;
    line-height: 1.5em;
}
.advisor-match-testimonial .testimonial-quote blockquote {
    border: 0 !important;
    padding: 0 !important;
}
.advisor-match-testimonial .testimonial-quote svg {
    width: 24px;
    height: auto;
}
.advisor-match-testimonial .testimonial-quote .quote-icon-left,
.advisor-match-testimonial .testimonial-quote .quote-icon-right {
    position: relative;
    top: -5px;
}
.advisor-match-testimonial .testimonial-quote .quote-icon-left {
    left: -5px;
}
.advisor-match-testimonial .testimonial-byline {
    color: #0D304A;
    font-size: 13px;
    font-style: italic;
    text-align: center;
}
.advisor-match-testimonial .testimonial-byline .testimonial-name {
    font-size: 15px;
}

.advisor-match-gform .gform_wrapper.gravity-theme div.gchoice {
    display: flex !important;
    align-items: flex-start !important;
    margin-bottom: 5px !important;
}

.advisor-match-gform .gform_wrapper.gravity-theme .gfield-choice-input {
    position: relative !important;
    top: 4px !important;
    margin-right: 8px;
}
