.form-search{
    position: relative;
}

.algoliasearch-autocomplete {
    background: #e9f0eb;
    position: absolute;
    
    right: 82px;
    top: 45px;

    width: 506px;
    border: solid 1px #bdbdbd;
    border-radius: 4px;

    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.43);
    z-index: 5;
}

.navBarRight .algoliasearch-autocomplete a {
    float: inherit;
    margin: auto; 
    font-size: 100%;
    text-align: left;
    width: auto;
    line-height: normal;
}

/* arrow */
.algoliasearch-autocomplete:after, .algoliasearch-autocomplete:before {
    bottom: 100%;
    left: 88%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.algoliasearch-autocomplete:after {
    border-color: rgba(255, 255, 255, 0);
    border-bottom-color: #e9f0eb;
    border-width: 10px;
    margin-left: -10px;
}

.algoliasearch-autocomplete:before {
    border-color: rgba(129, 124, 110, 0);
    border-bottom-color: #bdbdbd;
    border-width: 11px;
    margin-left: -11px;
}

/* dropdown style */
.algoliasearch-autocomplete-title {
    padding: 4px 12px;
    text-transform: uppercase;
    text-align: left;
    color: #949089;
    line-height: 150%;
    font-size: 12px;
}

.algoliasearch-autocomplete-hit {
    display: block;
    text-decoration: none;
    text-align: left;
    padding: 2px 4px;
    clear: both;
    background: #fff;


    border-bottom: solid 1px #dde1dd;
}

.algoliasearch-autocomplete-all, .algoliasearch-autocomplete-hit{
    background: #fff;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.algoliasearch-autocomplete-hit .info {
    margin-left: 0;
    padding: 8px 9px;
    font-size: 15px;
    font-weight: normal;
    color: #000;
}

.algoliasearch-autocomplete-hit .info small.hint {
    color: #9d9d9d;
}

.algoliasearch-autocomplete-hit .info em{
    color: #0e7f3f;
}

.algoliasearch-autocomplete-category {
    margin-left: 10px;
    color: #2f2f2f;
}

.algoliasearch-autocomplete-hit:hover,
.algoliasearch-autocomplete-hit.marked {
    background: #f4f9f5;
}

/* products */
.algoliasearch-autocomplete-hit .thumb {
    float: left;
    width: 65px;
    text-align: center;
    padding-top: 5px;
}

.algoliasearch-autocomplete-hit{
    background: #fff url(https://cdn-secure.luckygunner.com/skin/frontend/luckygunner/default/images/arrow-right.png) 96% center no-repeat;
}

.algoliasearch-autocomplete-hit:hover,
.algoliasearch-autocomplete-hit.marked {
    background: #f4f9f5 url(https://cdn-secure.luckygunner.com/skin/frontend/luckygunner/default/images/arrow-right-active.png) 96% center no-repeat;
    text-decoration: none;
}

#search_autocomplete_products .algoliasearch-autocomplete-hit .info{
    margin-right: 40px;
}

#search_autocomplete_products .algoliasearch-autocomplete-category{
    display: none;
}

/* other */
.algoliasearch-autocomplete-hit em {
    font-weight: bold;
    font-style: normal;
}

.algoliasearch-autocomplete-hit .thumb img {
    width: 50px;
}

.algoliasearch-autocomplete-hit .clearfix:after {
    content: " ";
    visibility: hidden;
    display: block;
    height: 0;
    clear: both;
}

/* more button */
.algoliasearch-autocomplete-all{
    padding: 3px 8px 8px;
    margin-top: -2px;
    background: #fff;
}

.algoliasearch-autocomplete-all > a{
    cursor: pointer;
    width: 100%;
    display: block;
    border: solid 1px #4F762B;
    border-radius: 4px;
    background-image: url(https://cdn-secure.luckygunner.com/skin/frontend/luckygunner/default/images/button3.png);
}

.algoliasearch-autocomplete-all > a > span{
    display: block;
    min-height: 31px;
    color: #fff;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    padding-top: 9px;
    background: url(https://cdn-secure.luckygunner.com/skin/frontend/luckygunner/default/images/button3-arrow.png) center right no-repeat;
    margin-right: 10px;
}

.algoliasearch-autocomplete-all > a.marked {
    background: #198042;
}

