/*search form and form dropdown results */
form.search-form.selway-search-form {
    border-radius: 6px
}

button.selway-search-submit {
    border: none;
    color: #ffffff;
    background-color: #1e6617;
    padding: 13px 30px;
    font-family: inherit;
    font-weight: inherit;
    line-height: 1;
    border-radius: 0 6px 6px 0;
}

.woocommerce input[type="search"].selway-search-field {
    margin-right: -3px;
    border-radius: 6px 0 0 6px;
}

.selway-search-results {
    position: absolute;
    border: solid 1px #ccc;
    background-color: #fff;
    margin-top: 7px;

}

.selway-search-result-product {
    border-bottom: solid 1px #ccc;
}

.selway-search-result-product a {
    display: flex;
    align-items: center;
    padding: 0 15px;
    border-left: 5px solid #fff;
    border-right: 5px solid #fff;
}

.selway-search-result-product a:hover,
.selway-search-result-seemore a:hover {
    border-left: 5px solid #1e6617;
    border-right: 5px solid #1e6617;
}

.selway-search-result-image,
.woocommerce img.selway-search-result-image,
.woocommerce-page img.selway-search-result-image {
    max-height: 4em;
    min-width: 4em;
    margin-right: 1em;
    padding: 0;
}

.selway-search-result-title {
    padding: 0 0.5em;
    font-weight: 600;
    color: #777;
}

.selway-search-result-seemore {
    text-align: center;
    border-top: solid 1px #eaeaea;
    background-color: #1e6617;
}

.selway-search-result-seemore a {
    display: block;
    padding: 3px;
    color: #fff;
    font-weight: 600;
}

.selway-search-results.no-results {
    font-weight: 600;
    color: #1e6617;
    padding: 5px 15px;
}



/* filter selections*/
.selwaypf-filter-holder {
    margin-bottom: 5px;
}

.selwaypf-filter-label {
    font-weight: 700;
    font-size: 1.2em;
}

.selwaypf-filter-value-holder {
    display: flex;
    line-height: 1em;
    margin: 5px;
    padding: 0.5em 0;
}

.selwaypf-filter-value-holder>input {
    margin-right: 7px;
}

input[type="checkbox"]:checked {
    accent-color: #1e6617;
}

.tod-flex-sort-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}


/*new filter secttion*/
div.selwaypf-filter-label {
    background: #ddd;
    border: 1px solid #ccc;
    padding: 5px 0 5px 15px;
    position: relative;
}

div.selwaypf-filter-label::after {
    border-style: solid;
    border-width: 0.15em 0.15em 0 0;
    content: '';
    display: inline-block;
    height: 0.8em;
    right: 0.8em;
    width: 0.8em;
    top: 1em;
    transform: rotate(-45deg);
    vertical-align: top;
    position: absolute;
}

.selwaypf-filter-label.accordion.active {
    background: #eee;
    cursor: pointer;
}

.selwaypf-filter-label.accordion.active::after {
    transform: rotate(135deg);
    transition: all 0.5s;
    top: 0.5em;
}

.togg {
    padding: 0 18px;
    display: none;
    overflow: hidden;
    border: 1px solid #ccc;
}

/* Hide load more button so we can take over infinite scroll */
.ast-shop-load-more {
    position: absolute;
    left: -300px;
}