/*MAIN STYLE CSS*/
body .ui-autocomplete {
    display: none !important;
}

.bonsearch_button.active {
    color: #049e8f;
}

.bonsearch {
    font-weight: 400;
    transition: all .3s linear;
    font-size: 25px;
    color: #3a3a3a;
}

.bonsearch_button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.bonsearch_button i {
    display: flex;
    align-items: center;
}

#header .header-top .bon-nav-bar .bonsearch_button .icon-text {
    padding-top: 6px;
}

.bonsearch:hover,
.bonsearch:focus {
    cursor: pointer;
    color: #049e8f;
}

.bonsearch #input_search {
    width: 210px;
    height: 44px;
    border: 1px solid #dedede;
    border-right: none;
    padding: 5px 12px;
    float: left;
    font-size: 13px;
    color: #8a8888;
}


.bonsearch #input_search:focus {
    outline: none;
}

.bonsearch .bonsearch_box {
    display: none;
    position: absolute;
    top: 40px;
    right: 0;
    z-index: 1004;
    width: 330px;
    padding: 15px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .16);
}

.bonsearch .bonsearch_btn {
    background-color: #0ab3a3;
    cursor: pointer;
    height: 44px;
    width: 44px;
    float: left;
    margin-left: 3px;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, .14);
    transition: all .3s linear;
    border: 1px solid transparent;
}

.bonsearch .bonsearch_btn:hover,
.bonsearch .bonsearch_btn:focus {
    background-color: #049e8f;
    color: #ffffff;
    box-shadow: none;
    outline: none;
}

.bonsearch .bonsearch_btn:before {
    content: "\E049";
    font-family: "fl-outicons";
    font-size: 20px;
    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;
}

.bonsearch .bonsearch-microphone {
    padding: 0 11px;
    position: relative;
    border: 1px solid #dedede;
    border-left: none;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.bonsearch .bonsearch-microphone:focus {
    outline: none;
}

.bonsearch .bonsearch-microphone i {
    color: #dedede;
    font-size: 20px !important;
}

.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(10, 179, 162, 0.4);
    position: absolute;
    content: '';
    z-index: -1;
}

.bonsearch-icon-speech.show {
    background-color: #0ab3a2;
}

.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;
}

.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: #049e8f;
}

.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;
}

.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;

    }

    #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 .bonsearch_box {
        width: 300px
    }

    .bonsearch #input_search:focus {
        outline: none;
    }
}


/* hook displayNav */

.position-static>#_desktop_search_widget {
    display: none;
}

@media (min-width: 768px) {

    .position-static>#_desktop_search_widget,
    .position-static>.bonsearch-left #_desktop_search_widget {
        display: block;
    }

    .position-static>#_desktop_search_widget,
    .position-static>.bonsearch-left #_desktop_search_widget {
        position: relative;
    }

    .position-static>#_desktop_search_widget .bonsearch_box,
    .position-static>.bonsearch-left #_desktop_search_widget .bonsearch_box {
        position: unset;
        display: block !important;
        opacity: 1 !important;
        padding: 0;
        box-shadow: none;
        border: none;
        border-bottom: 1px solid rgba(58, 58, 58, 0.6);
        width: 280px;
        padding-left: 25px;
    }

    .position-static>#_desktop_search_widget .bonsearch_box .bonsearch-microphone,
    .position-static>#_desktop_search_widget .bonsearch_box .bonsearch_btn,
    .position-static>.bonsearch-left #_desktop_search_widget .bonsearch_box .bonsearch-microphone,
    .position-static>.bonsearch-left #_desktop_search_widget .bonsearch_box .bonsearch_btn {
        display: none !important;
    }

    .position-static>.bonsearch-left #_desktop_search_widget #input_search,
    .position-static>#_desktop_search_widget #input_search {
        border: none;
        width: 100%;
    }

    .position-static>#_desktop_search_widget #input_search::placeholder,
    .position-static>.bonsearch-left #_desktop_search_widget #input_search::placeholder {
        font-size: 15px;
        opacity: 1;
    }

    .position-static>#_desktop_search_widget .bonsearch_button,
    .position-static>.bonsearch-left #_desktop_search_widget .bonsearch_button {
        justify-content: flex-start;
        flex-direction: row;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

    .position-static>#_desktop_search_widget .icon-text,
    .position-static>.bonsearch-left #_desktop_search_widget .icon-text {
        display: none !important;
    }

    .position-static>#_desktop_search_widget .search_popup:empty,
    .position-static>.bonsearch-left #_desktop_search_widget .search_popup:empty {
        display: none;
    }

    .position-static>#_desktop_search_widget .search_popup,
    .position-static>.bonsearch-left #_desktop_search_widget .search_popup {
        width: 100%;
        background: #fff;
        z-index: 999;
        position: absolute;
        top: 100%;
        padding-left: 15px;
        box-shadow: 0 2px 8px rgb(0 0 0 / 16%);
        left: 0;
        padding-bottom: 15px;
    }

    /* hook displayBonSearch */
    .position-static>.bonsearch-left #_desktop_search_widget:first-child .bonsearch_box {
        width: 200px;
    }

    .position-static>.bonsearch-left #_desktop_search_widget:first-child .search_popup {
        width: 160%;
    }

    .position-static>.bonsearch-left #_desktop_search_widget:first-child .search_popup .search_info {
        width: 190px;
    }
}

@media (min-width: 1200px) {

    .position-static>#_desktop_search_widget .bonsearch_box,
    .position-static>.bonsearch-left #_desktop_search_widget .bonsearch_box {
        width: 400px;
    }
    .search_popup .search_info {
        width: 190px;
    }
}

@media (max-width: 1199px) {

    .position-static>#_desktop_search_widget {
        padding-left: 10px;
    }
}