/*
Theme Name: Salient Child Theme
Theme URI: http: //mysite.com/
Description: This is a custom child theme for Salient
Author: My Name
Author URI: http: //mysite.com/
Template: salient
Version: 0.1
*/

.container-wrap {
    padding-top: 0px !important;  
    padding-bottom: 0px !important;
}

#menu-footer-menu {
  font-size: .7em;
  margin-top: 20px;
}


#footer-outer .widget.widget_nav_menu li {
    padding: 2px 0 !important;
}

.mc4wp-success {
  margin-top: 20px;
}

.grav-wrap {
    display: none !important;
}

.archive div.container-wrap {
    margin-top: 0px;
    padding-top: 40px !important;
}

#custom_html-2 {
    font-size: 15.4px;
}

.bold,strong,b {
    font-family: Open Sans !important;
    font-weight: 800 !important;
            }
            
            
            
            @media only screen and (min-width: 1000px) {
/*                 #page-header-wrap.fullscreen-header,#page-header-wrap.fullscreen-header #page-header-bg,html:not(.nectar-box-roll-loaded) .nectar-box-roll > #page-header-bg.fullscreen-header,.nectar_fullscreen_zoom_recent_projects,#nectar_fullscreen_rows:not(.afterLoaded) > div {
                    height:70vh;
                } */

                .wpb_row.vc_row-o-full-height.top-level,.wpb_row.vc_row-o-full-height.top-level > .col.span_12 {
                    min-height: 70vh;
                }

                .admin-bar #page-header-wrap.fullscreen-header,.admin-bar #page-header-wrap.fullscreen-header #page-header-bg,.admin-bar .nectar_fullscreen_zoom_recent_projects,.admin-bar #nectar_fullscreen_rows:not(.afterLoaded) > div {
                    height: calc(70vh - 32px);
                }

                .admin-bar .wpb_row.vc_row-o-full-height.top-level,.admin-bar .wpb_row.vc_row-o-full-height.top-level > .col.span_12 {
                    min-height: calc(70vh - 32px);
                }

                #page-header-bg[data-alignment-v="middle"] .span_6 .inner-wrap,#page-header-bg[data-alignment-v="top"] .span_6 .inner-wrap {
                    padding-top: 85px;
                }

                .nectar-slider-wrap[data-fullscreen="true"]:not(.loaded),.nectar-slider-wrap[data-fullscreen="true"]:not(.loaded) .swiper-container {
                    height: calc(70vh + 2px)!important;
                }

                .admin-bar .nectar-slider-wrap[data-fullscreen="true"]:not(.loaded),.admin-bar .nectar-slider-wrap[data-fullscreen="true"]:not(.loaded) .swiper-container {
                    height: calc(70vh - 30px)!important;
                }
            }

            @media only screen and (max-width: 1000px) {
                .using-mobile-browser #page-header-wrap.fullscreen-header,.using-mobile-browser #page-header-wrap.fullscreen-header #page-header-bg,.using-mobile-browser #nectar_fullscreen_rows:not(.afterLoaded):not([data-mobile-disable="on"]) > div {
                    height:calc(70vh - 116px);
                }

                .using-mobile-browser .wpb_row.vc_row-o-full-height.top-level,.using-mobile-browser .wpb_row.vc_row-o-full-height.top-level > .col.span_12 {
                    min-height: calc(70vh - 116px);
                }

                .admin-bar #page-header-wrap.fullscreen-header,.admin-bar #page-header-wrap.fullscreen-header #page-header-bg,html:not(.nectar-box-roll-loaded) .admin-bar .nectar-box-roll > #page-header-bg.fullscreen-header,.admin-bar .nectar_fullscreen_zoom_recent_projects,.admin-bar .nectar-slider-wrap[data-fullscreen="true"]:not(.loaded),.admin-bar .nectar-slider-wrap[data-fullscreen="true"]:not(.loaded) .swiper-container,.admin-bar #nectar_fullscreen_rows:not(.afterLoaded):not([data-mobile-disable="on"]) > div {
                    height: calc(70vh - 63px - 46px);
                }

                .admin-bar .wpb_row.vc_row-o-full-height.top-level,.admin-bar .wpb_row.vc_row-o-full-height.top-level > .col.span_12 {
                    min-height: calc(70vh - 63px - 46px);
                }

                [data-bg-header="true"][data-permanent-transparent="1"] #page-header-wrap.fullscreen-header,[data-bg-header="true"][data-permanent-transparent="1"] #page-header-wrap.fullscreen-header #page-header-bg,html:not(.nectar-box-roll-loaded) [data-bg-header="true"][data-permanent-transparent="1"] .nectar-box-roll > #page-header-bg.fullscreen-header,[data-bg-header="true"][data-permanent-transparent="1"] .nectar_fullscreen_zoom_recent_projects,[data-permanent-transparent="1"] .nectar-slider-wrap[data-fullscreen="true"]:not(.loaded),[data-permanent-transparent="1"] .nectar-slider-wrap[data-fullscreen="true"]:not(.loaded) .swiper-container {
                    height: 70vh;
                }

                [data-permanent-transparent="1"] .wpb_row.vc_row-o-full-height.top-level,[data-permanent-transparent="1"] .wpb_row.vc_row-o-full-height.top-level > .col.span_12 {
                    min-height: 70vh;
                }

                body[data-transparent-header="false"] #ajax-content-wrap.no-scroll {
                    min-height: calc(70vh - 63px);
                    height: calc(70vh - 63px);
                }
            }


/* =====================================================================
   Accessibility fixes - WCAG 2.2 AA - Nimbletoad, November 2026
   Brand blue #00ADEE stays on button fills. Where it is used as text or
   as a band behind white text it moves to #0075A2 (4.7:1 on white).
   ===================================================================== */

/* 1. Brand blue used as text on white -> darker shade of the same blue (1.4.3) */
.container-wrap [style*="color: #00adee" i]:not([style*="background" i]),
.container-wrap [style*="color:#00adee" i]:not([style*="background" i]),
.container-wrap [style*="color: #01adee" i]:not([style*="background" i]),
.container-wrap [style*="color:#01adee" i]:not([style*="background" i]),
.container-wrap [style*="color: #00aeef" i]:not([style*="background" i]),
.container-wrap [style*="color:#00aeef" i]:not([style*="background" i]) {
  color: #0075A2 !important;
}

/* 2. Blue bands with white text -> deeper blue so the white text passes (1.4.3) */
.row-bg[style*="#00adee" i],
.row-bg[style*="#01adee" i],
.row-bg[style*="#00aeef" i],
.column-bg[style*="#00adee" i],
.column-bg[style*="#01adee" i] {
  background-color: #0075A2 !important;
}
.light .nectar-button.see-through span,
.light .nectar-button.see-through i {
  color: #ffffff !important;
}

/* 3. Buttons: keep the brand blue fill, dark text (1.4.3) */
.nectar-button.regular-button.accent-color,
.nectar-button.regular-button.accent-color span,
.nectar-button.regular-button.accent-color i,
.nectar-button.regular.accent-color,
.nectar-button.regular.accent-color span,
.nectar-button.regular.accent-color i,
.nectar-button.n-sc-button.accent-color,
.nectar-button.n-sc-button.accent-color span,
.nectar-button.n-sc-button.accent-color i,
#header-outer .nectar-button.accent-color:not(.see-through),
#header-outer .nectar-button.accent-color:not(.see-through) span,
.mc4wp-form input[type="submit"],
#footer-outer input[type="submit"] {
  color: #1A1A1A !important;
}

/* 4. Gray text that fell just short */
#mc4wp_form_widget-2 h4, #mc4wp_form_widget-2 h2 { color: #747474 !important; }
.testimonial_slider blockquote .title,
.nectar_single_testimonial .title,
blockquote[data-color="default"] .title { color: #757575 !important; }

/* 5. Links inside body text: darker blue plus underline so they are not identified by color alone (1.4.1, 1.4.3) */
.container-wrap .wpb_text_column a:not(.nectar-button),
.container-wrap .post-content a:not(.nectar-button),
.container-wrap .entry-content a:not(.nectar-button),
.container-wrap .nectar-fancy-ul a:not(.nectar-button),
.container-wrap .toggle .inner-toggle-wrap a:not(.nectar-button) {
  color: #0075A2 !important;
  text-decoration: underline !important;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.container-wrap .light .wpb_text_column a:not(.nectar-button),
.container-wrap .light .post-content a:not(.nectar-button),
.container-wrap .light .entry-content a:not(.nectar-button) {
  color: #ffffff !important;
}

/* 6. Visible keyboard focus everywhere: blue ring with a white inner ring so it shows on light and dark backgrounds (2.4.7) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible,
[role="button"]:focus-visible,
.nectar-button:focus-visible,
#top nav a:focus-visible,
.sf-menu a:focus-visible,
#slide-out-widget-area a:focus-visible,
.slide_out_area_close:focus-visible,
.slide-out-widget-area-toggle a:focus-visible {
  outline: 3px solid #0075A2 !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 3px #ffffff !important;
  border-radius: 2px;
  opacity: 1 !important;
  visibility: visible !important;
}
#top nav > ul > li > a:focus-visible,
.sf-menu li ul li a:focus-visible,
#footer-outer a:focus-visible,
#to-top:focus-visible {
  outline-offset: -4px !important;
  box-shadow: inset 0 0 0 2px #ffffff !important;
}
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.gform_wrapper input:focus-visible,
.gform_wrapper textarea:focus-visible,
.gform_wrapper select:focus-visible {
  outline-offset: 1px !important;
  box-shadow: none !important;
  border-color: #0075A2 !important;
}
.gform_wrapper input[type="text"]:focus,
.gform_wrapper input[type="email"]:focus,
.gform_wrapper input[type="tel"]:focus,
.gform_wrapper textarea:focus,
.mc4wp-form input[type="email"]:focus {
  border-bottom: 2px solid #0075A2 !important;
}

/* 7. Footer and sidebar widget titles are now h2; keep the old h4 look */
#footer-outer .widget h2.nt-widget-title,
#sidebar .widget h2.nt-widget-title {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
  margin: 0 0 15px;
  padding: 0;
}
#footer-outer #custom_html-2 h2.nt-widget-title { color: #ffffff !important; }
#footer-outer #mc4wp_form_widget-2 h2.nt-widget-title { color: #747474 !important; }

/* 8. Screen-reader-only utility for labels added to forms */
.nt-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ---- Nimbletoad accessibility pass 2 (Nov 18 2026, after re-scan) ---- */

/* Header nav text when the header is solid (scrolled / no hero) or on dark-slide pages:
   Salient default #888888 on white is 3.5:1. */
#header-outer:not(.transparent) #top nav > ul > li > a,
#header-outer:not(.transparent) #top nav > .sf-menu > li > a,
#header-outer:not(.transparent) #top nav > ul > li > a .menu-title-text,
#header-outer:not(.transparent) .slide-out-widget-area-toggle a i.label,
#header-outer:not(.transparent) #top .sf-sub-indicator i,
#header-outer.transparent.dark-slide #top nav > ul > li > a,
#header-outer.transparent.dark-slide #top nav > .sf-menu > li > a,
#header-outer.transparent.dark-slide #top nav > ul > li > a .menu-title-text {
  color: #5A5A5A !important;
}
#header-outer:not(.transparent) #top nav > ul > li > a:hover,
#header-outer:not(.transparent) #top nav .sf-menu > .sfHover > a,
#header-outer:not(.transparent) #top nav .sf-menu > .current-menu-item > a,
#header-outer:not(.transparent) #top nav .sf-menu > .current-menu-ancestor > a,
#header-outer:not(.transparent) #top nav .sf-menu > .current_page_item > a,
#header-outer.transparent.dark-slide #top nav > ul > li > a:hover,
#header-outer.transparent.dark-slide #top nav .sf-menu > .current-menu-item > a {
  color: #0075A2 !important;
}

/* Per-page WPBakery custom class ".b_" sets headings to #01adee (3.0:1). */
.container-wrap .b_,
.container-wrap .b_ * {
  color: #0075A2 !important;
}
.container-wrap .light .b_,
.container-wrap .light .b_ * {
  color: #ffffff !important;
}

/* Testimonial attribution: Salient fades the title to 60% opacity. */
.container-wrap blockquote.nectar_single_testimonial .wrap .title,
.container-wrap .testimonial_slider blockquote .title,
.container-wrap blockquote[data-color="default"] .title {
  color: #5F5F5F !important;
  opacity: 1 !important;
}

/* Gravity Forms submit: white on the brand blue is 2.5:1; match the other buttons. */
.gform_wrapper .gform_button,
.gform_wrapper input[type="submit"],
.gform_wrapper .gform_next_button,
.gform_wrapper .gform_previous_button {
  color: #1A1A1A !important;
}

/* Text links in classic (non-WPBakery) page content, e.g. Form ADV. */
.container-wrap .content-inner a:not(.nectar-button):not([class*="button"]):not(:has(img)),
.container-wrap p > a:not(.nectar-button):not([class*="button"]):not(:has(img)) {
  color: #0075A2 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}
.container-wrap .light .content-inner a:not(.nectar-button),
.container-wrap .light p > a:not(.nectar-button) {
  color: #ffffff !important;
}

/* Decorative "Step #1" watermarks on the Retirement Readiness page (10% opacity by design). */
.rel-one { pointer-events: none; }

/* ---- Nimbletoad accessibility pass 3 (Nov 18 2026) ---- */

/* "Work With Us" button-style menu item: dark text on the brand-blue pill in every header state. */
#header-outer #top nav > ul > li[class*="button_solid_color"] > a,
#header-outer #top nav > ul > li[class*="button_solid_color"] > a .menu-title-text,
#header-outer.transparent #top nav > ul > li[class*="button_solid_color"] > a,
#header-outer.transparent #top nav > ul > li[class*="button_solid_color"] > a .menu-title-text,
#header-outer:not(.transparent) #top nav > ul > li[class*="button_solid_color"] > a,
#header-outer:not(.transparent) #top nav > ul > li[class*="button_solid_color"] > a .menu-title-text,
#header-outer #top nav > ul > li[class*="button_solid_color"] > a:hover,
#header-outer #top nav > ul > li[class*="button_solid_color"] > a:hover .menu-title-text {
  color: #1A1A1A !important;
  opacity: 1 !important;
}

/* Retirement Readiness form uses navy buttons (#0c3342): keep white text there. */
.page-id-6367 .gform_wrapper .gform_button,
.page-id-6367 .gform_wrapper input[type="submit"],
.page-id-6367 .gform_wrapper .gform_next_button,
.page-id-6367 .gform_wrapper .gform_previous_button {
  color: #ffffff !important;
}

/* Classic-editor pages (Privacy Policy 128, Disclaimer 130, Form ADV 132, Accessibility Statement 18581): all text links. */
.page-id-128 .main-content a:not(.nectar-button),
.page-id-130 .main-content a:not(.nectar-button),
.page-id-132 .main-content a:not(.nectar-button),
.page-id-18581 .main-content a:not(.nectar-button) {
  color: #0075A2 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

/* Decorative "Step #" watermarks: text is moved to a data attribute by nt-a11y and drawn here, so it stays visual-only. */
.rel-one p[data-nt-text]::before { content: attr(data-nt-text); }
