/*MAIN STYLE CSS*/

body .ui-autocomplete {

    display: none !important;

}



.bonsearch_button.active {

    color: #525252;

}



.bonsearch {

    font-weight: 400;

    transition: all .3s linear;

    font-size: 25px;

    color: #3a3a3a;


    top: 17px;

    position: relative;
    right: auto;

    margin-right: 10px;
}



.bonsearch:hover,

.bonsearch:focus {

    cursor: pointer;

    color: #525252;

}



.bonsearch #input_search {
    flex: 1;
    width: 210px;

    height: 35px;

    border: none;
    background: none;

    padding: 5px 12px;

    float: left;

    font-size: 13px;

    color: #8a8888;

}





.bonsearch #input_search:focus {

    outline: none;

}



.bonsearch .bonsearch_box {

    width: 330px;

    padding: 0px;


}



.bonsearch .bonsearch_btn {

    background: #0000;

    cursor: pointer;

    height: 30px;

    width: 30px;

    margin-right: 10px;


    transition: all .3s cubic-bezier(.4,0,1,1) 0s;

    border: 1px solid transparent;

}



.bonsearch .bonsearch_btn:hover,

.bonsearch .bonsearch_btn:focus {

    background: #525252;

    color: #ffffff;

    box-shadow: none;

    outline: none;

}



.bonsearch .bonsearch_btn:before {

    content: "\e032";

    font-family: "fl-outicons";

    font-size: 13px;

    color: #f1eaea;

}



/* .bonsearch-microphone */

#bonsearch-popup-wrapper.modal {

    background-color: rgba(0, 0, 0, 0.5);

}



#bonsearch-popup-wrapper .modal-dialog {

    min-width: 100%;

    margin: 0 auto;

}



#bonsearch-popup-wrapper .modal-content {

    width: 260px;

    align-items: center;

}



#bonsearch-popup-wrapper .modal-body {

    display: flex;

    flex-direction: column;

    align-items: center;

}



#bonsearch-popup-wrapper .modal-body p {

    margin-bottom: 20px;

    text-align: center;

    color: #3a3a3a;

    font-size: 15px;

}



.bonsearch_box .search-form-inner {

    display: flex;
background: #FFF2;
}



.bonsearch .bonsearch-microphone {

    padding: 0 11px;

    position: relative;

    border: none;

    cursor: pointer;

    display: flex;

    align-items: center;

}



.bonsearch .bonsearch-microphone:focus {

    outline: none;

}



.bonsearch .bonsearch-microphone i {

    color: #dedede;

    font-size: 13px;

}



.bonsearch .bonsearch-microphone::before {

    position: absolute;

    content: '';

    background-color: #dedede;

    width: 1px;

    height: 70%;

    left: 0;

    top: 15%;

}





@keyframes animate {

    0% {

        transform: scale(1);

    }



    50% {

        transform: scale(1.3);

    }



    100% {

        transform: scale(1);

    }

}



@keyframes animate {

    0% {

        transform: scale(1);

    }



    50% {

        transform: scale(1.3);

    }



    100% {

        transform: scale(1);

    }

}



.bonsearch-icon-speech.show::after {

    animation: animate 2s ease;

    animation-iteration-count: infinite;

    width: 64px;

    height: 64px;

    border-radius: 50%;

    border: 16px solid  rgba(58, 58, 58, 0.5);

    position: absolute;

    content: '';

    z-index: -1;

}



.bonsearch-icon-speech.show {

    background-color:  #3a3a3a;

}



.bonsearch-icon-speech {

    width: 64px;

    height: 64px;

    border-radius: 50%;

    background-color: #E84B3D;

    display: flex;

    justify-content: center;

    align-items: center;

    margin: 24px 0 37px 0;

    position: relative;

    z-index: 3;

}



.bonsearch-icon-speech i {

    color: #fff;

    font-size: 24px;

}



.bonsearch-speek-text,

.bonsearch-error-text,

.bonsearch-unsupport-text {

    display: none;

}



.bonsearch-speek-text.show,

.bonsearch-error-text.show {

    display: block;

}





#search_popup {

    width: 300px;

    background: #fff;

    z-index: 999;

}



.bonsearch .reference {

    margin-bottom: 7px;

    display: block;

    color: #3a3a3a;

}



#search_popup .wrap_item {

    padding: 15px 0 0 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: 10px;

}



#search_popup .wrap_item .product_image img:hover {

    opacity: 0.7;

}



#search_popup .wrap_item .product_image h5:hover {

    color: #525252;

}



#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: #f6f6f6;

}



#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: 767px) {

    .bonsearch .bonsearch_box {

        display: none;

        top: 30px;

    }



    .bonsearch {

        position: absolute;

        top: -26px;

        margin-top: 0;

    }



    #bonsearch-popup-wrapper .modal-dialog.modal-dialog-centered {

        display: flex;

        align-items: center;

        justify-content: center;

        height: 100vh;

        margin: 0 auto !important;

    }

}



@media (max-width: 575px) {

    .bonsearch {

        position: absolute;

    }



    #_mobile_search_widget .bonsearch_box {

        right: auto;

        top: 30px;

    }



    .bonsearch #input_search:focus {

        outline: none;

    }

    .bonsearch .bonsearch_box {

        left: -73px;

        width: 300px;

        padding: 8px;

    }

}