.tapsp-search-box{
max-width:550px;
}
.tapsp-search-box {
    position: relative;
    line-height: 100%;
    display: block;
    min-width: auto;
    width: 100%;
    text-align: left;
    margin: 0 auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    align-items: center;
    display: flex;
}

.tapsp-search-form{
    margin: 0;
    padding: 0;
    width: 100%;
}

.tapsp-from-wrap{
display:flex;
background:#fff;
border-radius:4px;
position: relative;
border: 1px solid;
border-color:#e7f5ff;

}
.tapsp-search-autocomplete:focus{
        outline: 0;
}
#tapsp-search-button {
background: #111;
    width: 70px;
    height:36px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius:4px;
    padding: 0;
    border: 0;
   margin:0.3rem;
   color: #fff;
   word-break: initial;
}

#tapsp-search-button:hover{
background:#888;
}
.tapsp-search-form .tapsp-search-autocomplete {
min-height:35px;
line-height:35px;
border:none!important;
font-size: 14px;
width: 100%;
padding: 0.3rem 0.8rem;
margin: 0;
border-radius: 4px;
}

.tapsp-autocomplete-suggestions {border: 1px solid #eee; background: #FFF; overflow: auto; }
.tapsp-autocomplete-suggestion { padding: 0.5rem; overflow: hidden;margin:0;}
/*.tapsp-autocomplete-selected { background: #f0f0f166; }*/
.tapsp-autocomplete-suggestions strong { font-weight: normal; color: #3399FF; }
.tapsp-autocomplete-group { padding: 0.5rem; }
.tapsp-autocomplete-group strong { display: block; border-bottom: 1px solid #000; 
}
.tapsp-autocomplete-suggestion { 
    cursor: pointer;
}

.tapsp-autocomplete-suggestion{
display:flex;
}

.tapsp-autocomplete-suggestion .tapsp-img{
width:65px;
 margin-right: 1rem;
}

.tapsp-autocomplete-suggestion .tapsp-img img{
border-radius:3px;
width:65px;
}

.tapsp-autocomplete-suggestion .tapsp-price{
font-size:0.89rem;
font-weight:500;
}

.tapsp-suggestion-heading .tapsp-title{
color:#555;
font-size: .875rem;
    text-transform: uppercase;
font-weight:normal;
}
.tapsp-suggestion-heading{
border-bottom:1px solid #e7f5ff;
margin-bottom: 0.5rem;
pointer-events: none;
}

.tapsp-suggestion-taxonomy-post-cat .tapsp-title,.tapsp-suggestion-taxonomy-product-cat .tapsp-title{
font-size:0.89rem;
}
.tapsp-suggestion-taxonomy-product-cat,.tapsp-suggestion-taxonomy-post-cat{
padding: 0.5rem;
}
 .tapsp-title{
color:#333;
font-size:0.89rem;
font-weight:bold;
}
.tapsp-suggestion-heading .tapsp-title strong{
color: #555;
    font-size: .875rem;
    text-transform: uppercase;
    font-weight: normal;
}

.tapsp-suggestion-more strong{
color: #333;
    font-size: 1rem;
    font-weight: bold;
}
.tapsp-content-wrapp{
line-height:normal;
}
.tapsp-price del{
color:#949494;
margin-right:0.3rem;
opacity: 0.5;
}
.tapsp-price ins{
text-decoration:none;
}
.nonce_result_show{
opacity:0.5;
pointer-events: none;
}

.tapsp-preloader{
height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    width: 45px;
    z-index: 1;
    background:none;
    display: none;

}
.tapsp-preloader.tapsp-loading{
    display:block;
}
.tapsp-loading .tapsp_loader-css {
    height: 0;
    width: 0;
    padding: 10px;
    border: 3px solid #cccccc6e;
    border-right-color: #8888887a;
    border-radius: 50%;
    -webkit-animation: rotate 1s infinite linear;
    position: absolute;
    top: 9px;
    margin-right: 10px;
}
.tapsp-preloader img{

    padding: 0.3rem;
    max-width: 100%;
}

.submit-no-active .tapsp-from-wrap .th-icon, 
.bar_style .th-icon,
.icon_style .tapsp-from-wrap .th-icon{
position:absolute;
left:0.5rem;
}
.submit-no-active .tapsp-from-wrap .th-icon{
      color: #111;  
}
.submit-no-active .tapsp-search-autocomplete,.bar_style .tapsp-search-autocomplete,.icon_style .tapsp-search-autocomplete{
padding: 0.3rem 0.3rem 0.3rem 2.8rem;
}
.submit-no-active .tapsp-from-wrap, .bar_style .tapsp-from-wrap,.icon_style .tapsp-from-wrap{
    align-items: center;
}
.tapsp-suggestion-more{
background:#eee;
text-align:center;
margin:0;
}
.tapsp-suggestion-more .tapsp-content-wrapp {
    line-height: normal;
    text-align: center;
    width: 100%;
}
.tapsp-suggestion-more .tapsp-title{
font-size:.89rem;
}
.tapsp-autocomplete-suggestion .tapsp-title{
display:inline-block;
margin-right: 0.6rem;
}
.tapsp-autocomplete-suggestion .tapsp-price{
display:block;
}
.tapsp-sku{
font-size: 0.8rem;
    font-weight: 500;
    color: #555;
}
.tapsp-desc{
font-size:0.8rem;
display:flex;
}

.tapsp-content-wrapp {
    line-height: normal;
    display: flex;
    justify-content: space-between;
    flex-grow: 2;
    align-items: center;
    width: 100%;
}

.tapsp-suggestion-more .tapsp-content-wrapp {

    justify-content: center;
}

.icon_style .tapsp-search-form {
    opacity:0;
    display:none;
    position: absolute;
    left: 0;
    top: calc(100% + 8px);
    min-width: 500px;
    z-index: 1;
}
.icon_style.tapsp-box-open .tapsp-search-form{
    opacity:1;
    display:block;
}

.icon_style .click-icon{
    height: auto;
    cursor: pointer;
}
.tapsp-box-open .tapsp-icon-arrow {
    display: block;
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    z-index: 5;
    width: 15px;
    height: 15px;
    background: #fff;
        border-left: 1px solid #ddd;
    border-top: 1px solid #ddd;
    -webkit-transform: rotate(
45deg
);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(
45deg
);
}

div.tapsp-autocomplete-suggestions::-webkit-scrollbar-track
{
    
    background-color: #f1f1f1;
}

div.tapsp-autocomplete-suggestions::-webkit-scrollbar
{
    width: 10px;
    background-color: #E5E6E8;
}

div.tapsp-autocomplete-suggestions::-webkit-scrollbar-thumb
{
    background-color: #E5E6E8;

                     
}
.tapsp-sale{
    background: #111;
    color: #fff;
    padding: 0.2rem 0.4rem;
    font-size: 0.7rem;
    border-radius: 0.2rem;
    margin-right: 0.5rem;
    margin-top: 0.2rem;
    margin-bottom: 0.2rem;
    display: inline-block;
}

.tapsp-featured::before {
    content: "\f155";
    font-family: Dashicons;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    text-indent: 0px;
    font-size:0.867rem;
    color:#dab257;
    margin-right:0.3rem;
}

.tapsp-stock{
font-size: .768rem;
}

.tapsp-suggestion-wrap.tapsp-suggestion-product.cart-btn-show{
display:flex;
align-items: center;
}
.tapsp-suggestion-wrap.tapsp-suggestion-product.cart-btn-show a.tapsp-autocomplete-suggestion{
width:86%;
}
.tapsp-cart-button span{
font-size:0;
}
.tapsp-cart-button:before{
content:'|';
margin:0 0.5rem;
color:#e7f5ff;
font-size:1.5rem;
}

.tapsp-cart-button.ajax_add_to_cart span:before{
content: "\f174";
display: inline-block;
-webkit-font-smoothing: antialiased;
font: normal 20px/1 'dashicons';
font-size:1rem;
}

.tapsp-suggestion-product:hover,
.tapsp-suggestion-more:hover,.nonce_result_show:hover,.tapsp-suggestion-wrap:hover{
background: #f0f0f166
}
.tapsp-cart-button.add_to_cart_button.loading span {
    height: 12px;
    width: 12px;
    border: 3px solid #cccccc6e;
    border-right-color: #8888887a;
    border-radius: 50%;
    -webkit-animation: rotate 1s infinite linear;
    position: absolute;
        top: 50%;
}


@keyframes rotate{
  0%{transform: rotate(0deg);}
  100%{transform: rotate(360deg);}
}

.tapsp-cart-button.add_to_cart_button.added{
opacity: 0.5;

}
.tapsp-cart-button.add_to_cart_button{
    position: relative;
}
.cart-btn-show .added_to_cart{
display: none!important;
}

.tapsp-cart-button span:before {
content: "\f174";
    content: "\f543";
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    font: normal 20px/1 'dashicons';
    font-size: 1rem;
}
.cart-btn-show .added_to_cart:before{
content:'|';
margin:0 0.5rem;
color:#e7f5ff;
font-size:1.5rem;
}
.tapsp-cart-button.add_to_cart_button.loading span:before{
display:none;
}

.tapsp-suggestion-taxonomy-product-cat .tapsp-autocomplete-suggestion,
.tapsp-suggestion-taxonomy-post-cat .tapsp-autocomplete-suggestion{
padding:0;
}

.submit-active #tapsp-search-button .th-icon {
    color: #fff;
}

.bar_style .th-icon, .icon_style .th-icon{
    color:#111;
}

.tapsp-search-box .th-icon{
font-size:1.62rem;
-webkit-font-smoothing: subpixel-antialiased;
}


[type="search"].tapsp-search-autocomplete::-ms-clear {
    display: none;
}

[type="search"].tapsp-search-autocomplete::-webkit-search-decoration {
    -webkit-appearance: none;
}

[type="search"].tapsp-search-autocomplete::-webkit-search-cancel-button {
    display: none;
}

.tapsp-search-form.voice-search-wrapper .voice-search-mic svg {
    width: 80%;
    height: 80%;
}


/* category filter  style*/
select.th-advance-product-search-cate {
    width: max-content;
    max-width: 250px;
    border: none;
    min-height: 35px;
    line-height: 35px;
    border: none !important;
    font-size: 14px;
    margin: 0;
    border-radius: 4px;
    padding-left: 0.8rem;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    appearance: none;
    background: transparent;
}

select.th-advance-product-search-cate:focus{
outline:none;
box-shadow:none;
}

.tapsp-search-form .filter-divide {
    height: 32px;
    background: #ddd;
    padding: 0.5px;
}

.tapsp-from-wrap{
align-items: center;
}
select.th-advance-product-search-cate{
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23999%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  background-size: 0.45rem auto;
  padding-right: 2rem; /* add space so arrow doesn't overlap text */
}