/*
Theme Name: Bacon Home Remodeling
Theme URI: https://www.builtbybacon.com
Description: This is a custom child theme for builtbybacon.com
Author: Parkway Digital
Author URI: https://www.pwkydigital.com/
Template: salient
Version: 0.2 
*/

#displaynone, .displaynone {
    display: none !important;
}

@media only screen and (max-width: 999px) {
    .vc_row.vc_row-flex#bootstrapSwap .span_2,
    .vc_row.vc_row-flex#bootstrapSwap .span_3,
    .vc_row.vc_row-flex#bootstrapSwap .span_6,
    .vc_row.vc_row-flex#bootstrapSwap .span_9,
    .vc_row.vc_row-flex#bootstrapSwap .span_12 {
           flex-direction: column-reverse !important;
    }
}

.ascend .container-wrap .light .white_fields_wrapper input[type="text"], 
.ascend .container-wrap .light .white_fields_wrapper textarea, 
.ascend .container-wrap .light .white_fields_wrapper input[type="email"], 
.ascend .container-wrap .light .white_fields_wrapper input[type="password"], 
.ascend .container-wrap .light .white_fields_wrapper input[type="tel"], 
.ascend .container-wrap .light .white_fields_wrapper input[type="url"], 
.ascend .container-wrap .light .white_fields_wrapper input[type="search"], 
.ascend .container-wrap .light .white_fields_wrapper input[type="date"] {
    background-color: rgba(255,255,255,1.0);
    color: #555 !important; 
}

body .icon-salient-cart:before,
.icon-salient-cart:before { 
    content: "\f07a" !important;
    font-family: 'fontawesome' !important;
    font-size: 21px !important
}


body.category .container-wrap, 
body.blog .container-wrap {
    padding-top: 0px;
}

#header-outer:not([data-format=centered-menu-under-logo]):not([data-format=centered-menu-bottom-bar]) #top nav>ul>li[class*=button_]>a:before {
    height: 33px;
    background-color: #FFFBF5;
    color: #310C12;
}

#header-outer:not([data-format=centered-menu-under-logo]):not([data-format=centered-menu-bottom-bar]) #top nav>ul>li[class*=button_]>a .nectar-menu-icon,
#header-outer:not([data-format=centered-menu-under-logo]):not([data-format=centered-menu-bottom-bar]) #top nav>ul>li[class*=button_]>a,
#header-outer:not([data-format=centered-menu-under-logo]):not([data-format=centered-menu-bottom-bar]) #top nav>ul>li[class*=button_]>a span.menu-title-text {
    color: #310C12;
}


#header-outer:not([data-format=centered-menu-under-logo]):not([data-format=centered-menu-bottom-bar]) #top nav>ul>li[class*=button_]>a:hover:before {
    background-color: #310C12;
    color: #FFFBF5;
}

#header-outer:not([data-format=centered-menu-under-logo]):not([data-format=centered-menu-bottom-bar]) #top nav>ul>li[class*=button_]>a:hover .nectar-menu-icon,
#header-outer:not([data-format=centered-menu-under-logo]):not([data-format=centered-menu-bottom-bar]) #top nav>ul>li[class*=button_]>a:hover span.menu-title-text {
    color: #FFFBF5;
}

/* ---  */
.nectar-post-grid[data-text-color=dark] .nectar-post-grid-item a.nectar-underline {
    font-family: Plus Jakarta Sans;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 14.1px;
    line-height: 14.1px;
    font-weight: 700;
}
.nectar-post-grid-wrap[data-style="vertical_list"] .nectar-post-grid > div:not(:last-child):after {
    background-color: transparent !important;
}

.nectar-post-grid-wrap[data-style=vertical_list] .item-main .nectar-link-underline span {
    background-image: none !important;
}

body[data-form-submit="regular"] .container-wrap button[type=submit]:not(.search-widget-btn):before {
    content: "\f178";
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    text-decoration: inherit;
    -webkit-font-smoothing: antialiased;
    font-size: 16px;
    margin-right: 12px;
}

/* ---------------------------------------------------------------------------
   WPForms: match the original Gravity Forms look (forms 6588, 6590, 6592).
   Measured from Gravity Forms form 2 on the staging homepage, 2026-09-13:
   inputs 39px tall, 15px Plus Jakarta Sans, 8px padding, 2px white border,
   square corners; 10px column gap, 16px row gap; native select 37px;
   required-fields note 15px; full-width 42px orange button (Salient
   supplies the button font and arrow). The #wpforms-NNNN id is on the
   container itself.
   --------------------------------------------------------------------------- */

body div.wpforms-container-full:is(#wpforms-6588, #wpforms-6590, #wpforms-6592) {
    --wpforms-field-size-input-height: 39px;
    --wpforms-field-size-font-size: 15px;
    --wpforms-field-size-line-height: 15px;
    --wpforms-field-size-padding-h: 8px;
    --wpforms-field-border-radius: 0px;
    --wpforms-field-border-size: 2px;
    --wpforms-field-border-style: solid;
    --wpforms-field-border-color: #ffffff;
    --wpforms-field-background-color: #ffffff;
    --wpforms-field-text-color: #310c12;
    --wpforms-button-border-radius: 0px;
    --wpforms-button-border-size: 0px;
    --wpforms-button-background-color: #f47d00;
    --wpforms-button-border-color: #f47d00;
    --wpforms-button-text-color: #ffffff;
    --wpforms-button-size-height: 42px;
    --wpforms-button-size-margin-top: 16px;
    margin: 0 0 24px;
}

/* Row spacing: each field carries 16px below it; layout wrappers add none. */
body div.wpforms-container-full:is(#wpforms-6588, #wpforms-6590, #wpforms-6592) .wpforms-field {
    padding: 0 0 16px;
}
body div.wpforms-container-full:is(#wpforms-6588, #wpforms-6590, #wpforms-6592) .wpforms-field.wpforms-field-layout {
    padding: 0;
}

/* Column gap: 10px instead of WPForms' 20px. */
body div.wpforms-container-full:is(#wpforms-6588, #wpforms-6590, #wpforms-6592) .wpforms-layout-row {
    margin: 0 -5px;
    max-width: calc(100% + 10px);
}
body div.wpforms-container-full:is(#wpforms-6588, #wpforms-6590, #wpforms-6592) .wpforms-layout-column {
    padding: 0 5px;
}

/* Text inputs */
body div.wpforms-container-full:is(#wpforms-6588, #wpforms-6590, #wpforms-6592) :is(input[type=text], input[type=email], input[type=tel], input[type=number], input[type=url]) {
    height: 39px;
    padding: 8px;
    font-size: 15px;
    line-height: 15px;
    color: #310c12;
    background-color: #ffffff;
    border: 2px solid #ffffff !important;
    border-radius: 0;
    box-shadow: none;
    background-clip: border-box; /* WPForms' padding-box leaves a hairline seam */
}
body div.wpforms-container-full:is(#wpforms-6588, #wpforms-6590, #wpforms-6592) input::placeholder {
    color: rgba(49, 12, 18, 0.5);
    opacity: 1;
}

/* Dropdown (Classic style = native select, like Gravity Forms).
   Single-choice selects only: a multiple-choice select is a list box. */
body div.wpforms-container-full:is(#wpforms-6588, #wpforms-6590, #wpforms-6592) select:not([multiple]) {
    appearance: auto;
    background-image: none;
    height: 37px;
    min-height: 37px;
    padding: 8px;
    font-size: 15px;
    line-height: normal;
    letter-spacing: 0.3px;
    color: #310c12;
    background-color: #ffffff;
    border: 0;
    border-radius: 0;
}

/* "* indicates required fields" note */
body div.wpforms-container-full:is(#wpforms-6588, #wpforms-6590, #wpforms-6592) .wpforms-field-html {
    padding: 0;
    overflow: visible;
    font-size: 15px;
    line-height: 20.25px;
    letter-spacing: 0.3px;
}
body div.wpforms-container-full:is(#wpforms-6588, #wpforms-6590, #wpforms-6592) .wpforms-field-html * {
    font-size: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    margin: 0;
}

/* Submit button: full width, 42px, 22px above, 24px below
   (Salient's button rules use !important, hence the !important here) */
body div.wpforms-container-full:is(#wpforms-6588, #wpforms-6590, #wpforms-6592) .wpforms-submit-container {
    margin: 22px 0 0 !important;
    padding: 0 0 24px !important;
}
body div.wpforms-container-full:is(#wpforms-6588, #wpforms-6590, #wpforms-6592) button.wpforms-submit {
    width: 100%;
    height: 42px !important;
    padding: 13.5px 22.5px;
    font-size: 12px;
    line-height: 14.4px !important;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    border: 0;
    border-radius: 0;
    background-color: #f47d00;
    color: #ffffff;
}

/* Phones (matches the Gravity Forms mobile fix in Salient's custom CSS):
   fields stack full width, 50px tall, 8px apart. */
@media only screen and (max-width: 640px) {
    body div.wpforms-container-full:is(#wpforms-6588, #wpforms-6590, #wpforms-6592) :is(input[type=text], input[type=email], input[type=tel], input[type=number], input[type=url]) {
        height: 50px;
    }
    body div.wpforms-container-full:is(#wpforms-6588, #wpforms-6590, #wpforms-6592) .wpforms-field {
        padding-bottom: 8px;
    }
    body div.wpforms-container-full:is(#wpforms-6588, #wpforms-6590, #wpforms-6592) :is(.wpforms-field-layout, .wpforms-field-html) {
        padding-bottom: 0;
    }
}
