#search_widget form i.clear {
    right: 15px;
    display: none
}

#search_widget form input {
    width: 100%;
    outline: 0;
    background-color: #f1f1f1;
    border: none;
    border-radius: 5px
}

.ui-autocomplete.searchbar-autocomplete {
    width: 100%;
    min-height: 100%;
    border: none
}

.ui-autocomplete.searchbar-autocomplete li a,
.ui-autocomplete.searchbar-autocomplete li a.ui-state-focus {
    padding: 8px 15px;
    overflow: auto;
    border: none;
    background: 0 0;
    margin: auto;
    border-radius: 0
}

.ui-autocomplete.searchbar-autocomplete li a:hover {
    background-color: #f1f1f1;
    cursor: pointer
}

.ui-autocomplete.searchbar-autocomplete li a .autocomplete-thumbnail {
    float: left;
    width: 50px;
    height: auto;
    margin-right: 8px
}

@media only screen and (min-width:768px) {
    #search_widget {
        float: right;
        margin-bottom: 0
    }
    .ui-autocomplete.searchbar-autocomplete {
        width: 200px;
        min-height: auto;
        left: auto
    }
}


/* to change the width of the search bar 

@media only screen and (min-width:992px) {
    #search_widget {
        min-width: 200px
    }
}
*/

/* from Theme.css */

.search-widget {
    display: inline-block
}

.search-widget form {
    position: relative
}

.search-widget form input[type=text] {
    border: none;
    padding: 5px;
    min-width: 200px;
    color: #2e2e2e;
    border: 1px solid rgba(0, 0, 0, .25)
}

.search-widget form input[type=text]:focus {
    outline: 3px solid #609e00;
    color: #444;
    background: #fff
}

.search-widget form input[type=text]:focus+button .search {
    color: #609e00
}

.header-top .search-widget form input[type=text] {
    min-width: inherit;
    width: 100%
}


/*
#checkout #search_widget {
    display: none
}
*/

#pagenotfound .page-content #search_widget {
    width: 100%
}

.page-not-found .search-widget form {
    display: inline-block
}

@media (max-width:767px) {
    .header-top .search-widget {
        float: none
    }
    .header-top .search-widget form {
        margin: 0 auto
    }
    .header-top .search-widget form input[type=text] {
        min-width: inherit;
        background: #fff
    }
}

@media (min-width:768px) {
    .search-widget {
        min-width: 15.63rem
    }
}