body > .rd-mobilepanel .search_block{
    width: calc(100% - 230px);
}
.autosearch-wrapper.input-group{
    margin-top: 17px;
}
#search .input-group-btn{
    position: absolute;
    right: 10px;
    top: 0;
}
#search .input-group-btn button{
    height: 35px;
    background: transparent;
    right: 15px;
    position: relative;
    outline: none;
}
#search .input-group-btn button span{
    color: #3D5F8C;
}
#search .input-group-btn button span i{
    display: block;
}
.sphinxsearch {
    width: 400px;
    left: 0;
    position: absolute;
    top: 100%;
    margin-top: 1px;
    background: #fff;
    border: 1px solid #ebebeb;
    z-index: 99999;
}

.sphinxsearch .categories span,
.sphinxsearch .products span {
    display: block;
    padding: 10px 0;
    font-size: 14px;
    text-align: center;
    background: #eee;
}

.sphinxsearch a {
    cursor: pointer;
    display: block;
    padding: 5px;
    color: initial;
    line-height: 17px;
    min-height: 75px;
    border-top: 1px solid #e9e9e9;
    position: relative;
}
.sphinxsearch > a:first-child {
    border-top: none;
}
.sphinxsearch .categories a {
    text-transform: uppercase;
    text-indent: 10px;
}
.sphinxsearch a:hover {
    background: #f8f8f8;
}
.sphinxsearch a img {
    float: left;
    margin: 0 10px 0 0;
}
.product_sp {
    height: 60%;
    color: #666;
    text-align: left;
    font-size: 13px;
    margin-left: 75px;
}
.price_sp {
    font-size: 18px;
    text-align: center;
    position: absolute;
    right: 20px;
    bottom: 5px;
    color: #363441;
}
.price_sp .price {
    font-size: 25px;
}
.price_sp .old {
    text-decoration: line-through;
    margin-right: 5px;
    font-size: 13px;
    color: #0264AF;
}
.sphinx-viewall {
    font-weight: bold;
    text-align: center;
    height: 35px;
}
.sphinx-viewall #view-all{
    min-height: 35px;
}
.sphinx-viewall-no-res{
    font-weight: bold;
    text-align: center;
    height: 30px;
    color: #000;
    width: 100%;
    line-height: 30px;
}
#input-search + .sphinxsearch {
    right: auto;
    margin-top: -1px;
    left: auto;
    width: calc(100% - 30px);
    max-width: 500px;
}
.fa{
    margin-right: 3px;
}
@media (max-width: 767px){
    .sphinxsearch{
        width: 350px;
    }
    #input-search + .sphinxsearch {
        max-width: none;
    }
}
@media (max-width: 480px){
    .sphinxsearch{
        width: calc(100vw - 30px);
        margin-left: -40px;
    }
    #input-search + .sphinxsearch {
        margin-left: 0;
    }
}
