/*MAIN STYLE CSS*/
body .ui-autocomplete {
    display: none !important;
}

.bonsearch_button.active {
    color: #008133;
}

.bonsearch {
    font-weight: 400;
    transition: all .3s linear;
    font-size: 25px;
    color: #3a3a3a;
}

.bonsearch:hover,
.bonsearch:focus {
    cursor: pointer;
    color: #008133;
}

.bonsearch #searchbox {
    display: flex;
    position: relative;
}

.bonsearch #input_search {
    width: 320px;
    border: none;
    padding: 5px 12px;
    font-size: 13px;
    color: #8a8888;
}

.bonsearch #input_search:focus {
    outline: none;
}

.bonsearch .bonsearch_btn {
    background-color: #1077bc;
    cursor: pointer;
    height: 46px;
    width: 46px;
    transition: all .3s linear;
    border: none;
}

.bonsearch .bonsearch_btn:hover,
.bonsearch .bonsearch_btn:focus {
    background-color: #1495eb;
    color: #ffffff;
    box-shadow: none;
    outline: none;
}

.bonsearch .bonsearch_btn:before {
    content: "\e032";
    font-family: "fl-outicons";
    font-size: 20px;
    color: #ffffff;
}

.bonsearch .search-form-inner {
    border: 1px solid #dedede;
}

.bonsearch .bonsearch-microphone {
    background: url("../img/microphone.png") 50% 50% no-repeat;
    border: none;
    vertical-align: middle;
    padding: 0 22px;
    height: 100%;
    position: relative;
}

.bonsearch .bonsearch-microphone::before {
    position: absolute;
    content: '';
    background-color: #dedede;
    width: 1px;
    height: 70%;
    left: 0;
    top: 15%;
}


#search_popup {
    width: 418px;
    background: #fff;
    z-index: 999;
    position: absolute;
    top: 46px;
    padding-left: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .16);
}

#search_popup .wrap_item {
    padding: 15px 0;
}

#search_popup .wrap_item h6 {
    color: #777;
    font-size: 14px;
    line-height: 1.5em;
    margin: 0;
}

#search_popup .wrap_item .product_image {
    overflow: hidden;
    display: block;
    margin-bottom: 15px;
}

#search_popup .wrap_item .product_image img:hover {
    opacity: 0.7;
}

#search_popup .wrap_item .product_image h5:hover {
    color: #008133;
}

#search_popup .wrap_item .product_image:last-child {
    margin: 0;
}

#search_popup .search_img {
    float: left;
    width: 70px;
    margin-right: 10px;
}

#search_popup .search_info {
    float: left;
    width: 217px;
}

#search_popup .search_img img {
    max-width: 100%;
    height: auto;
    transition: all .3s linear;
    background-color: #f4f4f4;
}

#search_popup .search_info h5 {
    font-size: 14px;
    font-weight: 400;
    color: #7a7a7a;
    margin-bottom: 8px;
    transition: all .3s linear;
}

#search_popup .search_info .price {
    display: block;
    font-size: 16px;
    color: #3a3a3a;
    font-weight: 400;
}

/*Responsive part*/
@media (max-width: 991px) {

    #_desktop_search_widget {
        position: absolute;
        transform: translate(-61%, 0);
        transition: all 0.3s linear;
        left: 50%;
        z-index: 1000;
        background-color: #fff;
        top: 0
    }

    #header .header-top .position-static #_desktop_search_widget {
        margin-top: 10px;
    }

    #search_popup {
        width: 407px;
        padding-left: 10px;
    }

    .search-form-inner {
        display: flex;
    }

    .wrap_item {
        padding: 10px 0;
    }

    #search_popup .wrap_item .product_image {
        margin-bottom: 10px;
    }

}

@media (max-width: 767px) {
    #header .header-top .position-static #_desktop_search_widget {
        margin-top: 18px;
    }

    .bon-search-icon i {
        font-size: 25px;
    }

    .bon-search-icon:hover i {
        color: #008133
    }

    .bon-search-icon {
        cursor: pointer;
    }

    #_desktop_search_widget {
        visibility: hidden;
        transform: translate(-50%, 100px);
        top: 43px;
    }

    #_desktop_search_widget.active {
        visibility: visible;
        transform: translate(-50%, 0);
    }

    .bonsearch #input_search {
        width: 220px;
    }

    #search_popup {
        width: 308px;
    }

    .bonsearch .bonsearch_btn::before {
        content: '\e049';
    }
}