/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.improved-search .x-off-canvas-content { 
    padding: 60px 15px 15px 15px !important;
}
.improved-search.x-off-canvas.x-active .x-off-canvas-close { 
    position: absolute;
    right: 0;
    left: auto;
}
.improved-search.x-off-canvas.x-active .x-off-canvas-close span {
    display: inline-block;
    vertical-align: top;
}
.improved-search.x-off-canvas.x-active .x-off-canvas-close svg {
    margin: 0;
    width: 25px;
    height: 25px;
}

#chewy_custom_search { 
    width: 100%;
    display: inline-block;
}
#chewy_custom_search form {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-width: 0px 0px 1px 0px;
    border-style: none none solid none;
    border-color: transparent transparent rgb(0,41,87) transparent;
    font-size: 1em;
    background-color: transparent;
    box-shadow: 0em 0.15em 0.5em 0em transparent;
}
#chewy_custom_search form input.x-search-input {
    order: 1;
    font-family: inherit;
    color: rgb(var(--bechewy)) !important;
    margin-bottom: 5px;
}
#chewy_custom_search form input.x-search-input {
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px;
    overflow: hidden;
}
#chewy_custom_search form input.x-search-input::placeholder {
    color: #CACACA !important;
}
#chewy_custom_search form .x-search-btn-submit {
    order: 3;
    margin-bottom: 5px;
}
#chewy_custom_search form .x-search-btn-clear {
    background: #ccc;
    pointer-events: auto;
    width: 32px;
    height: 32px;
    border-radius: 100px;
    margin-bottom: 5px;
    color: #fff;
}
#chewy_custom_search .x-search-btn i {
    border-radius: 100px;
    padding: 7px;
    font-size: 2rem;
    font-weight: 700;
}

#chewy_input_container {
    position: relative;
    display: flex;
    flex: auto;
}
#chewy_input_autocomplete {
    width: 100%;
    font-size: 16px;
    overflow: visible;
    line-height: 1.2;
    margin-top: 10px;
}
#chewy_input_autocomplete ul { 
    margin-bottom: 0px; 
}
#chewy_input_autocomplete a {
    text-decoration: underline;
}
#chewy_input_autocomplete.has-results { 
    display: inline-block;
}
.improved-search .parsley_shortcode,
#chewy_search_autocomplete .parsley_shortcode {
    padding: 0px 0px 40px 0px;
}

@media (min-width: 1280px) { 
    body.page .improved-search .x-section,
    body.x-integrity .improved-search .x-section { 
        max-width: 1280px !important;
    }
}
@media (min-width: 1024px) { 
    #chewy_custom_search form input.x-search-input, 
    #chewy_input_autocomplete { 
        padding-left:10px !important;
    }
    .improved-search .x-col {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    #chewy_search_autocomplete,
    .improved-search .parsley_shortcode {
        display: inline-block;
        width: 100%;
    }
    .improved-search .parsley_shortcode,
    #chewy_search_autocomplete .parsley_shortcode {
        padding: 10px 70px 40px 70px;
    }
}

@media (max-width: 640px) {	
    #chewy_custom_search form input.x-search-input {
        font-size: 24px;
    }
}