#ba_ajax_search {
    position: relative;
    z-index: 10;
}
@media only screen and (min-width: 768px){
    #ba_ajax_search {
        width: 440px;
    }
}

@media only screen and (min-width: 768px){
    #ba_ajax_search {
        width: 440px;
    }
}

#ba_ajax_search .result_search {
    position: absolute;
    background: white;
    z-index: 100;
    text-align: left;
    border-radius: 2px;
    display: none;
    width: 92%;
    float: left;
    padding: 0;
    top: 33px;
    background: none;
}

#ba_ajax_search .result_search .item_product img {
    width: 60px;
}


#ba_search_mobile_trigger{
    position: absolute;
    left: 55px;
    top: 0;
    width: 48px;
    display: block;
    padding: 0;
    font-size: 0;
    text-align: center;
    text-transform: uppercase;
    color: #333;
    cursor: pointer;
}
#ba_search_mobile_trigger .ba_ajax_search_icon {
    font-size: 24px;
    line-height: 30px;
}
#ba_search_mobile_trigger:hover {
    color: #fff;
    background: #dd1229;
}
#ba_search_mobile_trigger .ba_ajax_search_icon:before {
    content: "\f002";
    display: block;
    font-family: "FontAwesome";
    font-size: 14px;
    text-align: center;
}
@media only screen and (min-width: 992px){
    #ba_search_mobile_trigger{
        display: none;
    }
}

.title_product {
    border-bottom: 1px solid #eeeeee;
    border-top: 1px solid #eeeeee;
    background-color: #f7f7f7;
    padding: 0px 10px 0px;
    text-transform: uppercase;
    font-size: 10px;
    color: #a0a0a0;
}

#ba_ajax_result {
    margin-bottom: 0;
    float: left;
    box-shadow: 0 0 5px rgba(0, 0, 0, .25);
    width: 100%;
    height: 400px;
    overflow-y: scroll;
}

#ba_ajax_result li.item_product > a.ajax_add_to_cart_button,
#ba_ajax_result li.item_product > div.ticker-wrapper{
    display: none;
}
#ba_ajax_result li .button-container  {
    float: left;
    width: 25%;
}
#ba_ajax_result li .ticker-wrapper  {
    width: 50%;
}
#ba_ajax_result li .ticker-wrapper .ticker-button {
    width: 20px;
    height: 20px;
    font-size: 15px;
    line-height: 20px;
}
#ba_ajax_result li .ticker-wrapper .ticker-button.ticker-down,
#ba_ajax_result li .ticker-wrapper .ticker-button.ticker-up{
    border-radius: 6px !important;
}
#ba_ajax_result li .ticker-wrapper .ticker-input-wrapper {
    line-height: 20px;
}
#ba_ajax_result li .ticker-wrapper .ticker-input-wrapper input {
    font-size: 14px;
    width: 20px;
}

#ba_ajax_result li a.ajax_add_to_cart_button {
    width: 50%;
    color: #ffffff;
}
#ba_ajax_result li a.ajax_add_to_cart_button:before {
    font-size: 14px;
    line-height: 20px;
    width: 25px;
}

#ba_ajax_result li { display: flex; flex-wrap: wrap; }
#ba_ajax_result li .image_product { flex: 0 0 10% }
#ba_ajax_result li .name_des_price_product {flex: 1 0 60%; margin-right: 10px; }
.product_description_top {    line-height: normal; }
.product_description_top a { font-weight: bold; display: block; }
#ba_ajax_result li .image_product img{ width: 100%; }
#ba_ajax_result li .price_product {    display: block;     margin-bottom: .4rem; }

.result_search:before {
    font-family: FontAwesome;
    content: "\f0d8";
    height: 13px;
    float: right;
    display: block;
    font-size: 23px;
    margin-right: 15px;
}

#ba_ajax_result li.title_product:first-child {
    border-top: 0;
}

#ba_ajax_result li .name_product {}
#ba_ajax_result li .description_product { font-weight: bold; margin-bottom: .5rem; display: block; }
#ba_ajax_result li .price_product {}

#ba_search {
    display: inline;
    height: 40px;
    line-height: 40px;
}
#ba_search:focus {
    border-color: #9C9B9B;
}
.result_search_top .ba_ajax-loader {
    display: none;
}
.result_search_top {
    display: none;
    z-index: 9999;
    position: absolute;
    background: white;
    width: 100%;
    top: 45px;
    left: 2px;
}

#ba_ajax_result li a.ba_next {
    width: 47%;
    float: left;
    text-align: left;
    margin-left: 7px;
}

#ba_ajax_result li a.ba_prev {
    width: 50%;
    float: left;
    text-align: right;
}

#ba_ajax_result ul {
    width: 100%;
    margin: 0;
    padding: 0;
}

#ba_ajax_result::-webkit-scrollbar {
    width: 7px;
}

#ba_ajax_result::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

#ba_ajax_result::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}

#ba_ajax_result li a.ba_prev:hover, #ba_ajax_result li a.ba_next:hover {
    color: #747474;
    font-weight: 400;
}

#ba_ajax_search .key_search .close_ba_ajax_search:after {
    font-family: 'Material Icons';
    content: "\e5cd";
    right: 17px;
    top: 6px;
    display: block;
    position: absolute;
    background-color: white;
    cursor: pointer;
    font-size: 1.2rem;
}

#ba_ajax_search .key_search .close_ba_ajax_search {
    display: none;
}

#ba_search_form {
    width: 100%;
    position: relative;
}
#ba_search_form .button-search {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    border: none;
    color: #212529;
    width: 50px;
    text-align: center;
    padding: 8px 0;
    border-radius: 6px 0 0 6px;
    -moz-border-radius: 6px 0 0 6px;
    -webkit-border-radius: 6px 0 0 6px;
}

/*
#ba_search_form .button-search:before {
    content: "\f002";
    display: block;
    font-family: "FontAwesome";
    font-size: 14px;
    text-align: center;
    color: #9C9B9B;
}
*/

#ba_search_form .button-search span {
    display: none;
}

/** ++ Permutation of elements in header menu ++ */
@media only screen and (max-width: 992px) {
    .mainheaderpart .container .row {
        display: flex;
        flex-flow: wrap;
    }
    #-header_logo {
        order: 1;
    }
    .extra_content {
        order: 2;
    }
    #ba_ajax_search {
        order: 0;
        margin-top: -10px;
    }
    .mainheaderpart {
        padding-top: 0;
    }
}
/** -- Permutation of elements in header menu -- */
#ba_ajax_result li.title_product { padding:5px 10px;  }
#ba_ajax_result li.title_product,
#ba_ajax_result li { padding: 3px 7px;  }
#ba_ajax_result li .description_product p { font-size: .75rem;     display: block;    font-weight: bold;}
#ba_ajax_result li a { font-size: .85rem; display: block; }

#ba_all_searched_product{
    justify-content: center;
}
#ba_all_searched_product a {
    display: block;
    width: 100%;
    text-align: center;
}

#ba_ajax_result li {
    display: flex;
    align-items: center;
}