#search_block_top,#search_block_top_mobile {
    padding-top: 10px;
}

#search_block_top #searchbox,#search_block_top_mobile #searchbox {
    float: left;
    width: 100%;
}

#search_block_top .btn.button-search,#search_block_top_mobile .btn.button-search {
    background: #D50000;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    border: none;
    color: white;
    width: 40px;
    text-align: center;
    padding: 3px 0 3px 0;
}

#search_block_top .btn.button-search span,#search_block_top_mobile .btn.button-search span {
    display: none;
}

#search_block_top .btn.button-search:before,#search_block_top_mobile .btn.button-search:before {
    content: "\f002";
    display: block;
    font-family: "FontAwesome";
    font-size: 17px;
    width: 100%;
    text-align: center;
}

#search_block_top .btn.button-search:hover,#search_block_top_mobile .btn.button-search:hover {
    color: #6f6f6f;
}

#search_block_top #search_query_top,#search_block_top_mobile #search_query_top {
    display: inline;
    padding: 2px 60px 2px 13px;
    height: 30px;
    background: #fbfbfb;
    margin-right: 1px;
}

.ac_results {
    background: white;
    border: 1px solid #d6d4d4;
    width: 271px;
    margin-top: -1px;
}

.ac_results li {
    padding: 0 10px;
    font-weight: normal;
    color: #686666;
    font-size: 13px;
    line-height: 22px;
}

.ac_results li.ac_odd {
    background: white;
}

.ac_results li:hover, .ac_results li.ac_over {
    background: #fbfbfb;
}

form#searchbox {
    position: relative;
}

form#searchbox label {
    color: #333333;
}

form#searchbox input#search_query_block {
    margin-right: 10px;
    max-width: 222px;
    margin-bottom: 10px;
    display: inline-block;
    float: left;
}

form#searchbox .button.button-small {
    float: left;
}

form#searchbox .button.button-small i {
    margin-right: 0;
}

.ui-autocomplete {
    max-height: 450px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
    /* add padding to account for vertical scrollbar */
    padding-right: 10px;
}