/*
Theme Name:   AWM
Theme URI:    annexwealth.com
Description:  Annex Wealth Management Theme
Author:       FCMG
Author URI:   fc.mg
Template:     Divi
Version:      1.0.0
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Droid+Serif:wght@400;700&family=Open+Sans:wght@300;400;600;700&display=swap');

/* ==========================
   GENERAL STYLING
   ========================== */
body {
    padding-top: 100px !important;
    background-color: black;
    font-family: 'Open Sans', Verdana, sans-serif;
}

body.is-subdomain .et_pb_menu a,
body.is-subdomain .et_pb_menu__menu,
body.is-subdomain .et_pb_menu__menu > ul > li > a {
    font-family: 'Open Sans', Verdana, sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Droid Serif', Georgia, serif !important;
}

/* Apply Lora font only to privateclient subdomain */
body.data-subdomain-privateclient h1, 
body.data-subdomain-privateclient h2, 
body.data-subdomain-privateclient h3, 
body.data-subdomain-privateclient h4, 
body.data-subdomain-privateclient h5, 
body.data-subdomain-privateclient h6 {
    font-family: 'Lora', serif !important;
}

/* ==========================
   BLOG SUBDOMAIN BACKGROUND
   ========================== */
body.data-subdomain-blog .et_pb_post_content_0_tb_body .et_pb_section {
    background-color: transparent !important;
}




/* ==========================
   BUTTON & MENU STYLING
   ========================== */
.awm-inline-button {
    display: inline-block;
    vertical-align: middle;
    width: auto;
    margin-right: 10px;
}

.et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li>a {
    margin-right: 20px;
}


.menu-item-has-children > a {
    cursor: pointer;
}

/* ==========================
   TEXT ALIGNMENT
   ========================== */
.text_inline_right { text-align: right; }
.text_inline_left { text-align: left; }

.text_inline_right .et_pb_text {
    display: inline-block;
    margin: 0px 20px 5px 0px;
}

.text_inline_left .et_pb_text {
    display: inline-block;
    margin: 0px 0px 5px 20px;
}

/* ==========================
   FLEXBOX LAYOUTS
   ========================== */
.custom-column {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bottom-image {
    margin-top: auto;
}

/* Flexbox for .flex-whoweare */
.flex-whoweare .et_pb_column {
    display: flex;
    align-items: top;
    justify-content: flex-start;
    gap: 20px;
}

/* Ensure images inside flex-whoweare resize properly */
.flex-whoweare img {
    max-width: 100%;
    height: auto;
}

/* ==========================
   GRAVITY FORMS STYLING
   ========================== */
.gform_wrapper .gform_body .gfield, 
.et_pb_gf_wrapper .gform_wrapper .gfield {
    margin-bottom: 2px !important;
    padding-bottom: 0 !important;
}

.gform-theme--foundation .gform_fields {
    grid-row-gap: 10px !important;
}

/* Reduce space between last field and submit button */
.gform_wrapper .gform_footer {
    margin-top: 10px !important;
    padding-top: 0 !important;
}

/* Gravity Forms Input Fields */
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="url"],
.gform_wrapper textarea {
    width: 100% !important;
    height: 60px !important;
    font-size: 14px !important;
    padding: 10px 20px !important;
    border-radius: 50px !important;
}

/* Gravity Forms Textarea */
.gform_wrapper textarea {
    min-height: 150px !important;
}

/* Default Submit Button Styling */
#gform_wrapper_1 .gform_footer input[type="submit"],
#gform_wrapper_2 .gform_footer input[type="submit"] {
    padding: 18px 50px !important;
    font-size: 18px !important;
    font-weight: bold !important;
    border-radius: 50px !important;
    transition: all 0.3s ease-in-out;
}

/* Button Colors */
#gform_wrapper_1 .gform_footer input[type="submit"] {
    background-color: #f6ae1c !important;
    color: #000000 !important;
    border: 3px solid #f6ae1c !important;
}

#gform_wrapper_1 .gform_footer input[type="submit"]:hover {
    background-color: #000000 !important;
    color: #f6ae1c !important;
}


/* ==========================
   GRAVITY FORMS STYLING - FORM IDs 4, 5, 6 & 9
   ========================== */

/* Apply Open Sans font to form fields */
#gform_wrapper_4 input[type="text"],
#gform_wrapper_4 input[type="email"],
#gform_wrapper_4 input[type="tel"],
#gform_wrapper_4 input[type="url"],
#gform_wrapper_4 textarea,
#gform_wrapper_4 select,
#gform_wrapper_5 input[type="text"],
#gform_wrapper_5 input[type="email"],
#gform_wrapper_5 input[type="tel"],
#gform_wrapper_5 input[type="url"],
#gform_wrapper_5 textarea,
#gform_wrapper_5 select,
#gform_wrapper_6 input[type="text"],
#gform_wrapper_6 input[type="email"],
#gform_wrapper_6 input[type="tel"],
#gform_wrapper_6 input[type="url"],
#gform_wrapper_6 textarea,
#gform_wrapper_6 select,
#gform_wrapper_9 input[type="text"],
#gform_wrapper_9 input[type="email"],
#gform_wrapper_9 input[type="tel"],
#gform_wrapper_9 input[type="url"],
#gform_wrapper_9 textarea,
#gform_wrapper_9 select{
    font-family: 'Open Sans', sans-serif !important;
    width: 100% !important;
    height: 40px !important;
    font-size: 14px !important;
    padding: 5px 10px !important;
    margin-top: 5px !important;
    border-radius: 5px !important;
    border: 2px solid #ffffff !important;
    transition: border-color 0.3s ease-in-out;
    line-height: normal !important;
    vertical-align: middle !important;
}

/* Fix dropdown text alignment */
#gform_wrapper_4 select,
#gform_wrapper_5 select,
#gform_wrapper_6 select,
#gform_wrapper_9 select {
    appearance: none;
    background-color: #ffffff !important;
    color: #000000 !important;
    text-indent: 0.01px;
    text-overflow: "";
    padding-right: 30px !important;
}

/* Style for dropdown placeholders */
#gform_wrapper_4 select option[value=""],
#gform_wrapper_4 select option:first-child,
#gform_wrapper_5 select option[value=""],
#gform_wrapper_5 select option:first-child,
#gform_wrapper_6 select option[value=""],
#gform_wrapper_6 select option:first-child,
#gform_wrapper_9 select option[value=""],
#gform_wrapper_9 select option:first-child {
    color: #888888 !important;
}

/* Active field highlight */
#gform_wrapper_4 input[type="text"]:focus,
#gform_wrapper_4 input[type="email"]:focus,
#gform_wrapper_4 input[type="tel"]:focus,
#gform_wrapper_4 input[type="url"]:focus,
#gform_wrapper_4 textarea:focus,
#gform_wrapper_4 select:focus,
#gform_wrapper_4 input[type="checkbox"]:focus,
#gform_wrapper_4 input[type="radio"]:focus,
#gform_wrapper_5 input[type="text"]:focus,
#gform_wrapper_5 input[type="email"]:focus,
#gform_wrapper_5 input[type="tel"]:focus,
#gform_wrapper_5 input[type="url"]:focus,
#gform_wrapper_5 textarea:focus,
#gform_wrapper_5 select:focus,
#gform_wrapper_5 input[type="checkbox"]:focus,
#gform_wrapper_5 input[type="radio"]:focus,
#gform_wrapper_6 input[type="text"]:focus,
#gform_wrapper_6 input[type="email"]:focus,
#gform_wrapper_6 input[type="tel"]:focus,
#gform_wrapper_6 input[type="url"]:focus,
#gform_wrapper_6 textarea:focus,
#gform_wrapper_6 select:focus,
#gform_wrapper_6 input[type="checkbox"]:focus,
#gform_wrapper_6 input[type="radio"]:focus,
#gform_wrapper_9 input[type="text"]:focus,
#gform_wrapper_9 input[type="email"]:focus,
#gform_wrapper_9 input[type="tel"]:focus,
#gform_wrapper_9 input[type="url"]:focus,
#gform_wrapper_9 textarea:focus,
#gform_wrapper_9 select:focus,
#gform_wrapper_9 input[type="checkbox"]:focus,
#gform_wrapper_9 input[type="radio"]:focus {
    border-color: #000000 !important;
    outline: none !important;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5) !important;
}

/* Gravity Forms Textarea */
#gform_wrapper_4 textarea,
#gform_wrapper_5 textarea,
#gform_wrapper_6 textarea,
#gform_wrapper_9 textarea {
    min-height: 75px !important;
    height: 75px !important;
    max-height: 200px !important;
    font-size: 12px !important;
}

/* Style field descriptions and sublabels */
#gform_wrapper_4 .gfield_description,
#gform_wrapper_5 .gfield_description,
#gform_wrapper_6 .gfield_description,
#gform_wrapper_9 .gfield_description{
    color: #000000 !important;
    font-size: 12px !important;
    margin-top: 0px !important;
    padding-top: 0 !important;
}

/* Style checkbox and radio button labels */
#gform_wrapper_4 .gfield_checkbox label,
#gform_wrapper_4 .gfield_radio label,
#gform_wrapper_5 .gfield_checkbox label,
#gform_wrapper_5 .gfield_radio label,
#gform_wrapper_6 .gfield_checkbox label,
#gform_wrapper_6 .gfield_radio label,
#gform_wrapper_9 .gfield_checkbox label,
#gform_wrapper_9 .gfield_radio label {
    color: #000000 !important;
    font-size: 12px !important;
}

/* Reduce space between label and description */
#gform_wrapper_4 .gfield_label,
#gform_wrapper_5 .gfield_label,
#gform_wrapper_6 .gfield_label,
#gform_wrapper_9 .gfield_label {
    color: #000000 !important;

    margin-bottom: 0px !important;
    padding-bottom: 0 !important;
}

/* Submit Button Styling */
#gform_wrapper_4 .gform_footer input[type="submit"],
#gform_wrapper_5 .gform_footer input[type="submit"],
#gform_wrapper_6 .gform_footer input[type="submit"],
#gform_wrapper_9 .gform_footer input[type="submit"] {
    font-family: 'Open Sans', sans-serif !important;
    padding: 15px 50px !important;
    font-size: 18px !important;
    font-weight: bold !important;
    border-radius: 5px !important;
    background-color: #000000 !important;
    color: #F6AE1C !important;
    border: 3px solid #000000 !important;
    transition: all 0.3s ease-in-out;
}

/* Submit Button Hover Effect */
#gform_wrapper_4 .gform_footer input[type="submit"]:hover,
#gform_wrapper_5 .gform_footer input[type="submit"]:hover,
#gform_wrapper_6 .gform_footer input[type="submit"]:hover,
#gform_wrapper_9 .gform_footer input[type="submit"]:hover {
    background-color: rgba(0,0,0,0.00) !important;
    color: #000000 !important;
    border-color: #000000 !important;
}


/* ==========================
   GRAVITY FORMS STYLING - FORM ID 3 (Clients Subdomain Only)
   ========================== */
body.data-subdomain-clients #gform_wrapper_3 input[type="text"],
body.data-subdomain-clients #gform_wrapper_3 input[type="email"],
body.data-subdomain-clients #gform_wrapper_3 input[type="tel"],
body.data-subdomain-clients #gform_wrapper_3 input[type="url"],
body.data-subdomain-clients #gform_wrapper_3 textarea,
body.data-subdomain-clients #gform_wrapper_3 select {
    font-family: 'Open Sans', sans-serif !important;
    width: 100% !important;
    height: 40px !important;
    font-size: 14px !important;
    padding: 5px 10px !important;
    margin-top: 5px !important;
    border-radius: 5px !important;
    border: 2px solid #ffffff !important;
    transition: border-color 0.3s ease-in-out;
    line-height: normal !important;
    vertical-align: middle !important;
}

body.data-subdomain-clients #gform_wrapper_3 select {
    appearance: none;
    background-color: #ffffff !important;
    color: #000000 !important;
    padding-right: 30px !important;
}

body.data-subdomain-clients #gform_wrapper_3 select option[value=""],
body.data-subdomain-clients #gform_wrapper_3 select option:first-child {
    color: #888888 !important;
}

body.data-subdomain-clients #gform_wrapper_3 input:focus,
body.data-subdomain-clients #gform_wrapper_3 textarea:focus,
body.data-subdomain-clients #gform_wrapper_3 select:focus,
body.data-subdomain-clients #gform_wrapper_3 input[type="checkbox"]:focus,
body.data-subdomain-clients #gform_wrapper_3 input[type="radio"]:focus {
    border-color: #000000 !important;
    outline: none !important;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5) !important;
}

body.data-subdomain-clients #gform_wrapper_3 textarea {
    min-height: 75px !important;
    height: 75px !important;
    max-height: 200px !important;
    font-size: 12px !important;
}

body.data-subdomain-clients #gform_wrapper_3 .gfield_description {
    color: #000000 !important;
    font-size: 12px !important;
    margin-top: 0px !important;
    padding-top: 0 !important;
}

body.data-subdomain-clients #gform_wrapper_3 .gfield_checkbox label,
body.data-subdomain-clients #gform_wrapper_3 .gfield_radio label {
    color: #000000 !important;
    font-size: 12px !important;
}

body.data-subdomain-clients #gform_wrapper_3 .gfield_label {
    color: #000000 !important;
    margin-bottom: 0px !important;
    padding-bottom: 0 !important;
}

body.data-subdomain-clients #gform_wrapper_3 .gform_footer input[type="submit"] {
    font-family: 'Open Sans', sans-serif !important;
    padding: 15px 50px !important;
    font-size: 18px !important;
    font-weight: bold !important;
    border-radius: 5px !important;
    background-color: #000000 !important;
    color: #F6AE1C !important;
    border: 3px solid #000000 !important;
    transition: all 0.3s ease-in-out;
}

body.data-subdomain-clients #gform_wrapper_3 .gform_footer input[type="submit"]:hover {
    background-color: rgba(0,0,0,0.00) !important;
    color: #000000 !important;
    border-color: #000000 !important;
}





/* ==========================
   FONT AWESOME ICONS
   ========================== */
.fa-news .et-pb-icon,
.fa-library .et-pb-icon,
.fa-mediarequest .et-pb-icon,
.fa-wealthmanagement .et-pb-icon,
.fa-ourteam .et-pb-icon,
.fa-locations .et-pb-icon,
.fa-families .et-pb-icon,
.fa-businesses .et-pb-icon,
.fa-piedollar .et-pb-icon,
.fa-chartdollar .et-pb-icon,
.fa-taxdollar .et-pb-icon,
.fa-estatelayer .et-pb-icon,
.fa-riskmanagement .et-pb-icon,
.fa-401k .et-pb-icon,
.fa-divorce .et-pb-icon,
.fa-whoweare .et-pb-icon,
.fa-wealthyist .et-pb-icon,
.fa-bizchecklist .et-pb-icon,
.fa-wealthprompt .et-pb-icon,
.fa-projecting .et-pb-icon,
.fa-circlex .et-pb-icon,
.fa-magnifydollar .et-pb-icon,
.fa-filepen .et-pb-icon,
.fa-choices .et-pb-icon,
.fa-getstartedmobile .et-pb-icon,
.fa-testimonials .et-pb-icon,
.fa-individual .et-pb-icon,
.fa-actionitems .et-pb-icon,
.fa-ongoingsupport .et-pb-icon,
.fa-financialsituation .et-pb-icon,
.fa-advisory .et-pb-icon,
.fa-reporting .et-pb-icon,
.fa-team .et-pb-icon,
.fa-calendardays .et-pb-icon,
.fa-circleplay .et-pb-icon,
.fa-inboxfull .et-pb-icon,
.fa-microphone .et-pb-icon,
.fa-seedling .et-pb-icon{
    display: none !important;
}

/* Set Correct Font Awesome Icons Before Text */
.fa-news .et_pb_main_blurb_image:before { content: "\f1ea"; }
.fa-library .et_pb_main_blurb_image:before { content: "\f02d"; }
.fa-mediarequest .et_pb_main_blurb_image:before { content: "\f4a3"; }
.fa-wealthmanagement .et_pb_main_blurb_image:before { content: "\f4c5"; }
.fa-ourteam .et_pb_main_blurb_image:before { content: "\f508"; }
.fa-locations .et_pb_main_blurb_image:before { content: "\f3c5"; }
.fa-families .et_pb_main_blurb_image:before { content: "\e300"; }
.fa-businesses .et_pb_main_blurb_image:before { content: "\f2b5"; }
.fa-piedollar .et_pb_main_blurb_image:before { content: "\e605"; }
.fa-chartdollar .et_pb_main_blurb_image:before { content: "\e473"; }
.fa-taxdollar .et_pb_main_blurb_image:before { content: "\f752"; }
.fa-estatelayer .et_pb_main_blurb_image:before { content: "\f5fd"; }
.fa-riskmanagement .et_pb_main_blurb_image:before { content: "\e247"; }
.fa-401k .et_pb_main_blurb_image:before { content: "\e522"; }
.fa-divorce .et_pb_main_blurb_image:before { content: "\f7a9"; }
.fa-whoweare .et_pb_main_blurb_image:before { content: "\f471"; }
.fa-wealthyist .et_pb_main_blurb_image:before { content: "\f3c9"; }
.fa-bizchecklist .et_pb_main_blurb_image:before { content: "\f0ae"; }
.fa-wealthprompt .et_pb_main_blurb_image:before { content: "\f120"; }
.fa-projecting .et_pb_main_blurb_image:before { content: "\f65a"; }
.fa-circlex .et_pb_main_blurb_image:before { content: "\f06a"; }
.fa-magnifydollar .et_pb_main_blurb_image:before { content: "\f688"; }
.fa-filepen .et_pb_main_blurb_image:before { content: "\f31c"; }
.fa-choices .et_pb_main_blurb_image:before { content: "\f732"; }
.fa-getstartedmobile .et_pb_main_blurb_image:before { content: "\f164"; }
.fa-testimonials .et_pb_main_blurb_image:before { content: "\e17a"; }
.fa-individual .et_pb_main_blurb_image:before { content: "\f577"; }
.fa-actionitems .et_pb_main_blurb_image:before { content: "\f0ae"; }
.fa-ongoingsupport .et_pb_main_blurb_image:before { content: "\f086"; }
.fa-financialsituation .et_pb_main_blurb_image:before { content: "\f571"; }
.fa-advisory .et_pb_main_blurb_image:before { content: "\e14f"; }
.fa-reporting .et_pb_main_blurb_image:before { content: "\f65a"; }
.fa-team .et_pb_main_blurb_image:before { content: "\e533"; }
.fa-calendardays .et_pb_main_blurb_image:before { content: "\f073"; }
.fa-circleplay .et_pb_main_blurb_image:before { content: "\f144"; }
.fa-inboxfull .et_pb_main_blurb_image:before { content: "\e1ba"; }
.fa-microphone .et_pb_main_blurb_image:before { content: "\f3c9"; }
.fa-seedling .et_pb_main_blurb_image:before { content: "\f4d8"; }

/* Ensure Font Awesome Icons Display Correctly in the Menu */
.fa-news .et_pb_main_blurb_image:before,
.fa-library .et_pb_main_blurb_image:before,
.fa-mediarequest .et_pb_main_blurb_image:before,
.fa-wealthmanagement .et_pb_main_blurb_image:before,
.fa-ourteam .et_pb_main_blurb_image:before,
.fa-locations .et_pb_main_blurb_image:before,
.fa-families .et_pb_main_blurb_image:before,
.fa-whoweare .et_pb_main_blurb_image:before,
.fa-wealthyist .et_pb_main_blurb_image:before,
.fa-bizchecklist .et_pb_main_blurb_image:before,
.fa-wealthprompt .et_pb_main_blurb_image:before,
.fa-testimonials .et_pb_main_blurb_image:before {
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    font-size: 20px;
    color: #f6ae1c !important; /* Default color */
    display: inline-block;
    text-align: center;
    margin-right: 10px; /* Space between icon & text */
    margin-top: 5px; /* Moves icon down by 5px */
    vertical-align: middle;
}

.fa-businesses .et_pb_main_blurb_image:before {
	font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    font-size: 20px;
    color: #f6ae1c !important; /* Default color */
    display: inline-block;
    text-align: center;
    margin-right: 6px; /* Space between icon & text */
    margin-top: 5px; /* Moves icon down by 5px */
    vertical-align: middle;
}

.fa-getstartedmobile .et_pb_main_blurb_image:before {
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    font-size: 20px;
    color: #000000 !important; /* Default color */
    display: inline-block;
    text-align: center;
    margin-right: 10px; /* Space between icon & text */
    margin-top: 5px; /* Moves icon down by 5px */
    vertical-align: middle;
}

/* Blurb Icons Black BG */
.fa-piedollar .et_pb_main_blurb_image:before,
.fa-chartdollar .et_pb_main_blurb_image:before,
.fa-taxdollar .et_pb_main_blurb_image:before,
.fa-estatelayer .et_pb_main_blurb_image:before,
.fa-riskmanagement .et_pb_main_blurb_image:before,
.fa-401k .et_pb_main_blurb_image:before,
.fa-divorce .et_pb_main_blurb_image:before,
.fa-projecting .et_pb_main_blurb_image:before,
.fa-circlex .et_pb_main_blurb_image:before,
.fa-magnifydollar .et_pb_main_blurb_image:before,
.fa-filepen .et_pb_main_blurb_image:before,
.fa-choices .et_pb_main_blurb_image:before,
.fa-advisory .et_pb_main_blurb_image:before,
.fa-reporting .et_pb_main_blurb_image:before,
.fa-team .et_pb_main_blurb_image:before,
.fa-calendardays .et_pb_main_blurb_image:before,
.fa-circleplay .et_pb_main_blurb_image:before,
.fa-inboxfull .et_pb_main_blurb_image:before,
.fa-microphone .et_pb_main_blurb_image:before,
.fa-seedling .et_pb_main_blurb_image:before {
    font-family: "Font Awesome 6 Pro";
    font-weight: 500;
    font-size: 32px;
    color: #f6ae1c !important; /* Default color */
    display: inline-block;
    text-align: center;
    vertical-align: middle;
}

/* Blurb Icons Yellow BG */
.fa-individual .et_pb_main_blurb_image:before,
.fa-actionitems .et_pb_main_blurb_image:before,
.fa-ongoingsupport .et_pb_main_blurb_image:before,
.fa-financialsituation .et_pb_main_blurb_image:before{
    font-family: "Font Awesome 6 Pro";
    font-weight: 500;
    font-size: 32px;
	padding-bottom:5px;
    color: #000000 !important; /* Default color */
    display: inline-block;
    text-align: center;
    vertical-align: middle;
}

/* Fix Left-Aligned Icons */
.fa-news.et_pb_blurb_position_left .et_pb_main_blurb_image:before,
.fa-library.et_pb_blurb_position_left .et_pb_main_blurb_image:before,
.fa-mediarequest.et_pb_blurb_position_left .et_pb_main_blurb_image:before,
.fa-wealthmanagement.et_pb_blurb_position_left .et_pb_main_blurb_image:before,
.fa-ourteam.et_pb_blurb_position_left .et_pb_main_blurb_image:before,
.fa-locations.et_pb_blurb_position_left .et_pb_main_blurb_image:before,
.fa-families.et_pb_blurb_position_left .et_pb_main_blurb_image:before,
.fa-businesses.et_pb_blurb_position_left .et_pb_main_blurb_image:before,
.fa-whoweare.et_pb_blurb_position_left .et_pb_main_blurb_image:before,
.fa-wealthyist.et_pb_blurb_position_left .et_pb_main_blurb_image:before,
.fa-bizchecklist.et_pb_blurb_position_left .et_pb_main_blurb_image:before,
.fa-wealthprompt.et_pb_blurb_position_left .et_pb_main_blurb_image:before,
.fa-getstartedmobile.et_pb_blurb_position_left .et_pb_main_blurb_image:before,
.fa-testimonials.et_pb_blurb_position_left .et_pb_main_blurb_image:before {
    display: inline-block;
    margin-top: 10px; /* Moves left-aligned icons further down */
}

/* Ensure Icons & Text are Aligned Properly */
.fa-news .et_pb_blurb_description,
.fa-library .et_pb_blurb_description,
.fa-mediarequest .et_pb_blurb_description,
.fa-wealthmanagement .et_pb_blurb_description,
.fa-ourteam .et_pb_blurb_description,
.fa-locations .et_pb_blurb_description,
.fa-families .et_pb_blurb_description,
.fa-businesses .et_pb_blurb_description,
.fa-whoweare .et_pb_blurb_description,
.fa-wealthyist .et_pb_blurb_description,
.fa-bizchecklist .et_pb_blurb_description,
.fa-wealthprompt .et_pb_blurb_description,
.fa-getstartedmobile .et_pb_blurb_description,
.fa-testimonials .et_pb_blurb_description {
    display: flex;
    align-items: center; /* Aligns text & icons correctly */
}

/* Fix Icon Positioning at the End of Text */
.fa-news .et_pb_blurb_description:after,
.fa-library .et_pb_blurb_description:after,
.fa-mediarequest .et_pb_blurb_description:after,
.fa-wealthmanagement .et_pb_blurb_description:after,
.fa-ourteam .et_pb_blurb_description:after,
.fa-locations .et_pb_blurb_description:after,
.fa-families .et_pb_blurb_description:after,
.fa-businesses .et_pb_blurb_description:after,
.fa-whoweare .et_pb_blurb_description:after,
.fa-wealthyist .et_pb_blurb_description:after,
.fa-bizchecklist .et_pb_blurb_description:after,
.fa-wealthprompt .et_pb_blurb_description:after,
.fa-testimonials .et_pb_blurb_description:after {
    font-family: "Font Awesome 6 Pro";
    content: "\f178"; /* Arrow Icon */
    font-weight: 900;
    font-size: 20px;
    color: #f6ae1c !important; /* Default color */
    display: inline-block;
    margin-left: auto; /* Moves arrow to the far right */
    vertical-align: middle;
}

.fa-getstartedmobile .et_pb_blurb_description:after {
    font-family: "Font Awesome 6 Pro";
    content: "\f178"; /* Arrow Icon */
    font-weight: 900;
    font-size: 20px;
    color: #000000 !important; /* Default color */
    display: inline-block;
    margin-left: auto; /* Moves arrow to the far right */
    vertical-align: middle;
}



/* Change Icon Color on PrivateClient */
body.data-subdomain-privateclient .et_pb_main_blurb_image:before,
body.data-subdomain-privateclient .et_pb_blurb_description:after {
    color: #eed19e !important;
}

body.data-subdomain-privateclient .fa-families .et_pb_main_blurb_image:before {
    font-size: 2em;
	padding-top:10px;
}


/* Change Icon Color on Ignite */
body.data-subdomain-ignite .et_pb_main_blurb_image:before,
body.data-subdomain-ignite .et_pb_blurb_description:after {
    color: #f37426 !important;
}

body.data-subdomain-ignite 
.fa-individual .et_pb_main_blurb_image:before,
body.data-subdomain-ignite 
.fa-actionitems .et_pb_main_blurb_image:before,
body.data-subdomain-ignite 
.fa-ongoingsupport .et_pb_main_blurb_image:before,
body.data-subdomain-ignite 
.fa-financialsituation .et_pb_main_blurb_image:before,
body.data-subdomain-ignite 
.fa-actionitems .et_pb_blurb_description:after,
body.data-subdomain-ignite 
.fa-ongoingsupport .et_pb_blurb_description:after,
body.data-subdomain-ignite 
.fa-financialsituation .et_pb_blurb_description:after {
    color: #000000 !important;
}

body.data-subdomain-ignite .fa-families .et_pb_main_blurb_image:before {
    font-size: 2em;
	padding-top:10px;
}

/* === 401(k) Call Option Icons Styling === */

/* Shared Styles for All 401(k) Classes */
.et_pb_text.fa-401kone,
.et_pb_text.fa-401ktwo,
.et_pb_text.fa-401kthree {
    position: relative !important; /* Ensures proper positioning */
    display: flex !important; /* Aligns text and icons in a row */
}

/* === Individual Before Icons for Each 401(k) Class === */

/* 401(k) One */
.et_pb_text.fa-401kone::before {
    content: "\f3cd"; 
    font-family: "Font Awesome 6 Pro"; 
    font-weight: 900; /* Solid weight */
    margin-right: 8px; /* Space between icon and text */
}

/* 401(k) Two */
.et_pb_text.fa-401ktwo::before {
    content: "\f57d"; 
    font-family: "Font Awesome 6 Pro"; 
    font-weight: 900;
    margin-right: 8px;
}

/* 401(k) Three */
.et_pb_text.fa-401kthree::before {
    content: "\f2b5"; 
    font-family: "Font Awesome 6 Pro"; 
    font-weight: 900;
    margin-right: 8px;
}

/* === Shared After Icon for All 401(k) Classes === */
.et_pb_text.fa-401kone::after,
.et_pb_text.fa-401ktwo::after,
.et_pb_text.fa-401kthree::after {
    content: "\f178"; /* Font Awesome icon (Arrow Right) */
    font-family: "Font Awesome 6 Pro"; 
    font-weight: 900;
    display: inline-block;
    margin-left: auto; /* Pushes icon to the right */
}

/* === Icon Size for Better Visibility === */
.et_pb_text.fa-401kone::before,
.et_pb_text.fa-401kone::after,
.et_pb_text.fa-401ktwo::before,
.et_pb_text.fa-401ktwo::after,
.et_pb_text.fa-401kthree::before,
.et_pb_text.fa-401kthree::after {
    font-size: 18px; /* Adjust as needed */
}



/* === QIO TEXT ARROW === */
.et_pb_text.fa-qioarchive {
    position: relative !important; /* Ensures proper positioning */
    display: flex !important; /* Aligns text and icons in a row */
}

.et_pb_text.fa-qioarchive::after {
    content: "\f178"; /* Font Awesome icon (Arrow Right) */
    font-family: "Font Awesome 6 Pro"; 
    font-weight: 900;
	color: #000000;
	padding-right:20px;
    display: inline-block;
    margin-left: auto; /* Pushes icon to the right */
}



/* ==========================
   CLOSE BUTTON FIX
   ========================== */
.divimegapro-close-container .divimegapro-close span.dmm-custom-btn {
    top: 50% !important;
}





/* ================================
   MAIN DOMAIN DEFAULT COLORS
   ================================ */
:root {
	--form1-primary-color: #f6ae1c;
	--form1-secondary-color: #000000;

    --form2-primary-color: #000000;
    --form2-secondary-color: #f6ae1c;
}

/* FORM 1 - Main domain default */
#gform_wrapper_1 .gform_footer input[type="submit"] {
    background-color: var(--form1-primary-color) !important;
    color: var(--form1-secondary-color) !important;
    border: 3px solid var(--form1-primary-color) !important;
}

#gform_wrapper_1 .gform_footer input[type="submit"]:hover {
    background-color: var(--form1-secondary-color) !important;
    color: var(--form1-primary-color) !important;
}

#gform_wrapper_1 .gform_fields input:focus,
#gform_wrapper_1 .gform_fields textarea:focus,
#gform_wrapper_1 .gform_fields select:focus {
    outline: 3px solid var(--form1-primary-color) !important;
    border-color: var(--form1-primary-color) !important;
    box-shadow: 0 0 5px var(--form1-primary-color) !important;
}

/* FORM 2 - Main domain default */
#gform_wrapper_2 .gform_footer input[type="submit"] {
    background-color: var(--form2-primary-color) !important;
    color: var(--form2-secondary-color) !important;
    border: 3px solid var(--form2-primary-color) !important;
}

#gform_wrapper_2 .gform_footer input[type="submit"]:hover {
    background-color: var(--form2-secondary-color) !important;
    color: var(--form2-primary-color) !important;
}

#gform_wrapper_2 .gform_fields input:focus,
#gform_wrapper_2 .gform_fields textarea:focus,
#gform_wrapper_2 .gform_fields select:focus {
    outline: 3px solid var(--form2-primary-color) !important;
    border-color: var(--form2-primary-color) !important;
    box-shadow: 0 0 5px var(--form2-primary-color) !important;
}

/* ================================
   PRIVATECLIENT SUBDOMAIN COLORS
   ================================ */
body.data-subdomain-privateclient {
    --form1-primary-color: #eed19e;
    --form1-secondary-color: #000000;

    --form2-primary-color: #000000;
    --form2-secondary-color: #eed19e;
}

/* ================================
   IGNITE SUBDOMAIN COLORS
   ================================ */
body.data-subdomain-ignite {
    --form1-primary-color: #f37426;
    --form1-secondary-color: #000000;

    --form2-primary-color: #000000;
    --form2-secondary-color: #f37426;
}




/* ==========================
   Individuals & Families
   ========================== */

/* Force all columns in the row to be the same height */
.equal-height-row {
    display: flex;
    align-items: stretch; /* Makes all columns match the tallest one */
}

/* Ensure columns stretch and distribute content properly */
.flex-column {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-grow: 1;
    min-height: 100%; /* Forces full column height */
}

/* Make all content above the button take up available space */
.flex-column > *:not(.sticky-bottom-btn) {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Ensures text stays at the top */
}

/* Ensure button is locked at the bottom of each column */
.sticky-bottom-btn {
    margin-top: auto; /* Pushes button to the very bottom */
    width: 100%; /* Ensures button width consistency */
    text-align: center; /* Centers the text inside the button */
}





/* Remove unwanted spacing causing gap under image */
.full-height-blog .et_pb_post,
.full-height-blog .post-content {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.full-height-blog .entry-title,
.full-height-blog .post-meta,
.full-height-blog .post-content-inner,
.full-height-blog .et_pb_post .post-content {
    display: none !important; /* if you're only showing the featured image */
}


/* Explicitly force columns to stretch fully */
.et_pb_row.equal-height-row {
    display: flex !important;
    align-items: stretch !important;
}

.et_pb_row.equal-height-row .et_pb_column {
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
}

/* Force Blog Module to expand vertically */
.full-height-blog,
.full-height-blog .et_pb_ajax_pagination_container,
.full-height-blog .et_pb_post {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    position: relative !important; /* Needed for absolute positioning below */
}

/* Absolute-positioned image container (guaranteed full height) */
.full-height-blog .entry-featured-image-url {
    position: absolute !important;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0 !important;
}

/* Featured image fully covers the container */
.full-height-blog .entry-featured-image-url img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}


/* 404 Page Button Styling */
.error-buttons {
  display: flex;
  justify-content: center; /* or space-between, flex-start, etc. */
  gap: 1rem; /* adds space between buttons */
  flex-wrap: wrap; /* helps buttons stack on smaller screens */
}


/* ============================
   The Events Calendar Styles
   ============================ */

/* Image Styling */
.tribe-common img {
  border-radius: 20px;
  border-style: solid;
  border-width: 5px;
  border-color: #f6ae1c;
}

/* White Text Color */
.tribe-events .tribe-events-calendar-list__event-datetime,
.tribe-events .tribe-events-calendar-list__event-date-tag-weekday,
.tribe-common .tribe-common-h7,
.tribe-common .tribe-common-h8,
.tribe-events button.tribe-events-c-top-bar__datepicker-button,
.tribe-events-back a,
.tribe-events-back a:visited,
.tribe-common .tribe-common-b2,
.tribe-common .tribe-common-h5,
.tribe-events-event-meta dt,
.tribe-events-content,
abbr.tribe-events-abbr.tribe-events-start-date.published.dtstart,
div.tribe-events-abbr.tribe-events-start-time.published.dtstart {
  color: #ffffff;
}

/* "Back to Events" Link Styling */
.tribe-events-back a,
.tribe-events-back a:visited {
  font-size: 14px;
}

.tribe-events-back {
  padding-top: 10px;
  margin-bottom: 20px;
}

/* Event Title Link Color */
.tribe-events-calendar-list__event-title a {
  color: #f6ae1c !important;
}

/* General Link Color */
.tribe-common a:not(.tribe-common-anchor--unstyle),
.tribe-common a:not(.tribe-common-anchor--unstyle):active,
.tribe-common a:not(.tribe-common-anchor--unstyle):focus,
.tribe-common a:not(.tribe-common-anchor--unstyle):hover,
.tribe-common a:not(.tribe-common-anchor--unstyle):visited,
.tribe-events-event-meta a,
.tribe-events-meta-group .tribe-events-single-section-title,
.tribe-events-single .tribe-events-sub-nav .tribe-events-nav-previous a,
.tribe-events-single .tribe-events-sub-nav .tribe-events-nav-next a {
  color: #f6ae1c;
}

/* Month View Background */
.tribe-events .tribe-events-calendar-month__body {
  background-color: #000000;
}

/* Primary Border Button Styling */
.tribe-common .tribe-common-c-btn-border,
.tribe-common a.tribe-common-c-btn-border {
  border: 2px solid var(--tec-color-accent-primary);
  border-radius: 20px;
  text-align: center;
  padding: 15px 40px;
}

.tribe-common .tribe-common-c-btn-border {
  background-color: #f6ae1c;
  color: #000000;
  border-width: 2px;
}

/* Medium Breakpoint Navigation Arrow Color */
.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-nav__prev {
  color: #f6ae1c;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-nav__next-icon-svg path,
.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-nav__prev-icon-svg path {
  fill: #f6ae1c;
}

/* Small Border Button Styling */
.tribe-common .tribe-common-c-btn-border-small,
.tribe-common a.tribe-common-c-btn-border-small {
  color: #000000 !important;
  background-color: #f6ae1c;
  border: solid #f6ae1c;
  border-radius: 20px;
}

.tribe-common .tribe-common-c-btn-border-small:hover,
.tribe-common a.tribe-common-c-btn-border-small:hover {
  color: #f6ae1c !important;
  background-color: transparent;
  border: solid 2px #f6ae1c;
}

/* Datepicker Button Hover */
.tribe-events button.tribe-events-c-top-bar__datepicker-button:hover {
  color: #f6ae1c;
}

/* Subscribe Dropdown Button Hover */
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:hover,
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button-text:hover,
.tribe-events .tribe-events-c-subscribe-dropdown button.tribe-events-c-subscribe-dropdown__button-text:hover,
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button-icon:hover {
  color: #000000 !important;
}

.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button-text,
.tribe-events .tribe-events-c-subscribe-dropdown button.tribe-events-c-subscribe-dropdown__button-text {
  color: #000000 !important;
  border-width: 0;
}

.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button-icon {
  color: #000000 !important;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-common-c-btn.tribe-events-c-search__button,
.tribe-common--breakpoint-medium.tribe-events .tribe-events-header--has-event-search .tribe-events-c-events-bar,
.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-events-bar__search-container,
.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__content {
  border-radius: 50px;
}

.tribe-events-single .tribe-events-sub-nav a span {
  display: inline-block !important;
}

.tribe-events-single .tribe-events-sub-nav .tribe-events-nav-previous a:hover {
  color: white;
}

.tribe-events-single .tribe-events-sub-nav .tribe-events-nav-next a:hover {
  color: white;
}

abbr.tribe-events-abbr.tribe-events-start-date.published.dtstart,
div.tribe-events-abbr.tribe-events-start-time.published.dtstart {
  color: white;
}

.tribe-events-meta-group {
  margin-right: 400px;
}

/* Remove the background image arrow */
.tribe-events-single .tribe-events-sub-nav .tribe-events-nav-previous a::before, .tribe-events-single .tribe-events-sub-nav .tribe-events-nav-next a:after {
  background-image: none !important;
}

.tribe-events .tribe-events-c-subscribe-dropdown__list {
  background-color: #F6AE1C;
  border: 0;
}

.tribe-events-c-subscribe-dropdown__list-item-link {
  color: #000000 !important; /* Black text */
}

.tribe-events-c-subscribe-dropdown__list-item-link:hover,
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__list-item:hover,
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__list-item:active {
  background-color: #000000;
  color: #F6AE1C !important; /* Yellow text on hover/active */
}

.tribe-events-c-subscribe-dropdown__button-text.tribe-common-c-btn--clear:focus {
  outline: none !important;
  border: none !important;
}

.single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__list, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__list {
	margin-top:10px;
	background-color: #F6AE1C;
	border: 0;
}

.tribe-common-l-container.tribe-events-l-container {
  padding-bottom: 0 !important;
}


.tribe-common-c-svgicon.tribe-common-c-svgicon--caret-left.tribe-events-c-nav__prev-icon-svg, .tribe-common-c-svgicon.tribe-common-c-svgicon--caret-right.tribe-events-c-nav__next-icon-svg {
	display: none;
}

.tribe-events-c-nav__prev-label::before {
	content: "« ";
}

.tribe-events-c-nav__next-label::after {
	content: " »"
}


.et_pb_menu__menu li.menu-item,
.et_pb_menu__menu li.menu-item > a {
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 9999 !important;
}


.divimegapro-menu {
    z-index: 99999 !important;
    position: relative !important;
}


/* =====================
   Ask Annex Sticky CTA
   ===================== */

.et_pb_row.cta-ask {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 999; 
  background-color: #f6ae1c;
  padding: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center; 
}

.cta-ask .et_pb_column {
  display: flex;
  align-items: center !important;
  justify-content: center;
  gap: 40px;
  flex-basis: auto !important;
}

.et_pb_button.fa-commentquestion .et_pb_button_icon {
  display: none !important;
}

.et_pb_button.fa-commentquestion span::before {
  font-family: "Font Awesome 6 Pro"; 
  content: "/e14b"; 
  font-weight: 900;
  display: inline-block;
  margin-right: 10px;
  font-size: 1em;
  vertical-align: middle;
}

.sticky-cta {
  transform: translateY(100%);
  opacity: 0;
  transition: transform 1s ease-out, opacity 1s ease-out; 
  animation: slideUp 1s ease-out 2s forwards; 
}

@keyframes slideUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}