/*
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
*/

/* WP Store Locator 3.x: restore the search bar layout from 2.x.
   3.x sets margin-inline-end: 10px on every div in the search bar with an
   id-weighted selector, which overrides the margin-right: auto that packs the
   fields to the left, and replaces the 2.x dropdown wrapper with a plain select. */
#wpsl-wrap #wpsl-search-wrap form div.wpsl-search-btn-wrap {
    margin-inline-end: auto;
}

#wpsl-wrap #wpsl-search-wrap form div.wpsl-select-wrap {
    margin-inline-end: 0;
}

#wpsl-wrap #wpsl-search-wrap form div#wpsl-category {
    min-width: 179px;
}

/* 3.x sets an inline width on the dropdown from its content. */
#wpsl-wrap #wpsl-search-wrap #wpsl-category .wpsl-dropdown {
    width: 100% !important;
}

@media only screen and (max-width: 570px) {
    #wpsl-wrap #wpsl-search-wrap form div.wpsl-input,
    #wpsl-wrap #wpsl-search-wrap form div#wpsl-category {
        margin-inline-end: 0;
    }

    #wpsl-wrap #wpsl-search-wrap form div.wpsl-select-wrap {
        flex-wrap: nowrap;
        width: 100%;
    }

    #wpsl-wrap #wpsl-search-wrap form div.wpsl-select-wrap #wpsl-radius,
    #wpsl-wrap #wpsl-search-wrap form div.wpsl-select-wrap #wpsl-results {
        flex: 1 1 50%;
        min-width: 0;
    }
}

/* USP list: WPBakery 8 no longer wraps the text block content in .wpb_wrapper,
   so the theme's USP rules (which expect that wrapper) stopped matching. */
body .ocm-effect-wrap .ocm-effect-wrap-inner #ajax-content-wrap .container-wrap .container .row .wpb_row.component-usps>.col>.vc_column_container>.vc_column-inner>.wpb_wrapper>.wpb_text_column {
    display: flex;
    justify-content: center;
}

body .ocm-effect-wrap .ocm-effect-wrap-inner #ajax-content-wrap .container-wrap .container .row .wpb_row.component-usps>.col>.vc_column_container>.vc_column-inner>.wpb_wrapper>.wpb_text_column>ul {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: flex-start;
    row-gap: 10px;
}

body .ocm-effect-wrap .ocm-effect-wrap-inner #ajax-content-wrap .container-wrap .container .row .wpb_row.component-usps>.col>.vc_column_container>.vc_column-inner>.wpb_wrapper>.wpb_text_column>ul li {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 16px;
    list-style-type: none;
    font-size: 15px !important;
    line-height: 20px !important;
}

body .ocm-effect-wrap .ocm-effect-wrap-inner #ajax-content-wrap .container-wrap .container .row .wpb_row.component-usps>.col>.vc_column_container>.vc_column-inner>.wpb_wrapper>.wpb_text_column>ul li>strong {
    display: contents;
}

body .ocm-effect-wrap .ocm-effect-wrap-inner #ajax-content-wrap .container-wrap .container .row .wpb_row.component-usps>.col>.vc_column_container>.vc_column-inner>.wpb_wrapper>.wpb_text_column>ul li::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    background-size: 12px;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='13' viewBox='0 0 16 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 6L6 10L14 2' stroke='%23ECA224' stroke-width='3'/%3E%3C/svg%3E%0A");
}

@media only screen and (min-width: 1000px) {
    body .ocm-effect-wrap .ocm-effect-wrap-inner #ajax-content-wrap .container-wrap .container .row .wpb_row.component-usps>.col>.vc_column_container>.vc_column-inner>.wpb_wrapper>.wpb_text_column>ul {
        flex-flow: row;
        align-items: center;
        column-gap: 50px;
    }
}
