#header, #header .header-top {
    background-color: white;
}

#search_widget {
    margin-bottom: .625rem;
    overflow: auto;
}
#search_widget form {
    position: relative;
}
#search_widget form i {
    position: absolute;
    padding: .5rem;
}
#search_widget form i.clear {
    right: 15px;
    display: none;
}
#search_widget form input {
    width: 100%;
    padding: 10px 40px;
    outline: none;
    background-color: transparent;
    border: none;
    border-radius: 0px;
    max-width: 500px;
    border-bottom: 2px solid black;
}
.closesearch{
        border-radius: 50%;
        background: rgba(255, 255, 255, .7);
        border: 9px solid transparent;
        color: #777;
        width: 36px;
        height: 36px;
        padding: 0;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        background: #e7e9e9;
        position: relative;
        cursor: pointer;
        right: 75px;
        position: absolute;
        top: 15px;
}

.closesearch:before, .closesearch:after{
    content: '';
    position: absolute;
    height: 2px;
    width: 100%;
    top: 50%;
    left: 0;
    margin-top: -1px;
    background-color: #282828;
    transform-origin: 50% 50%;
    opacity: 1;
    -moz-transition: -moz-transform ease .25s;
    -webkit-transition: -webkit-transform ease .25s;
    -o-transition: -o-transform ease .25s;
    -ms-transition: -ms-transform ease .25s;
    transition: transform ease .25s;
}
.closesearch:before {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}
.closesearch:after {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.closesearch:hover:before {
    -webkit-transform: rotate(0);
    -moz-transform: rotate(0);
    -ms-transform: rotate(0);
    -o-transform: rotate(0);
    transform: rotate(0);
}
.closesearch:hover:after {
    -webkit-transform: rotate(0);
    -moz-transform: rotate(0);
    -ms-transform: rotate(0);
    -o-transform: rotate(0);
    transform: rotate(0);
}
.ui-autocomplete.searchbar-autocomplete {
    width: 100%;
    min-height: 100%;
    border: none;
}

.ui-autocomplete.searchbar-autocomplete li a, .ui-autocomplete.searchbar-autocomplete li a.ui-state-focus {
    padding: 8px 15px;
    overflow: auto;
    border: none;
    background: none;
    margin: auto;
    border-radius: 0;
}

.ui-autocomplete.searchbar-autocomplete li a:hover {
    background-color: #f1f1f1;
    cursor: pointer;
}

.ui-autocomplete.searchbar-autocomplete li a .autocomplete-thumbnail {
    float: left;
    width: 50px;
    height: auto;
    margin-right: 8px;
}

.search-widget {
    display: inline-block;
}
.search-widget form {
    position: relative;
}
.search-widget form input[type="text"] {
    min-width: 255px;
    padding: 10px;
    color: #7a7a7a;
    border: none;
    border: 1px solid rgba(0, 0, 0, 0.25);
}
.search-widget form input[type="text"]:focus {
    color: #232323;
    background: #fff;
    outline: 3px #24b9d7 solid;
}
.search-widget form input[type="text"]:focus + button .search {
    color: #24b9d7;
}
.search-widget form button[type="submit"] {
    position: absolute;
    right: 0.125rem;
    bottom: 0.3125rem;
    color: #7a7a7a;
    background: none;
    border: none;
}
.search-widget form button[type="submit"] .search:hover {
    color: #24b9d7;
}

#content_search {
    position: absolute;
    z-index: 9;
    width: 100%;
    left: 0;
    background-color: #FFF;
    padding: 1.5rem;
    margin-top: 1rem;
    box-shadow: 0px 4px 8px rgb(0 0 0 / 15%);
    visibility: hidden;
    opacity: 0;
    z-index: 99;
}
#content_search.open {
    visibility: visible;
    opacity: 1;
}
#content_search .header_searchbar {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: center;
}
#content_search .header_searchbar .searchbar_items {
    margin-bottom: 0;
}

#content_search .header_searchbar .close {
    opacity: 1;
}
#content_search .result_searchbar #js-product-list {
    width: 100%;
}
#content_search .result_searchbar #js-product-list .products {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: center;
    margin-left: -7px;
    margin-right: -7px;
}
#content_search .result_searchbar #js-product-list .products > div {
    width: calc(20% - 15px);
    margin: 0 7px;
}
#content_search .result_searchbar #js-product-list .pagination {
    display: none;
}

#content_search .allresult_searchbar .btn {
    margin: 0 auto;
    display: table;
    
}

#content_search .paginationextrainfo{
    display: none;
}

/*media queryes*/
@media (max-width: 991px) {
    #content_search {
        margin: 0;
        left: 0;
        top: 85px;
        padding: 1rem;
        position: fixed;
        overflow-y: auto;
        height: 100%;
        width: 100%;
    }
    #content_search .header_searchbar {
        margin-bottom: 15px;
        margin-top: 50px;
    }
    #content_search .result_searchbar #js-product-list .products {
        margin-left: -5px;
        margin-right: -5px;
    }
    #content_search .result_searchbar #js-product-list .products > div {
        width: calc(33% - 10px);
        margin: 0 5px;
    }
    #search_widget.search-widget form.open_mobile {
        z-index: 99;
        position: fixed;
        top: 0;
        width: calc(100% - 2rem);
        left: 0;
        margin: 0.5rem 1rem;
    }
      #search_widget {
    visibility: hidden; 
    opacity:0;
    position: fixed;
    left: 0px;
    top: 70px;
    height: 38px;
    width: 100vw;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition:    all .3s ease-in-out;
    -o-transition:      all .3s ease-in-out;
    -ms-transition:     all .3s ease-in-out;
    transition:         all .3s ease-in-out;
  }

#search_widget.open {
    top: 80px;
    visibility: visible;
    opacity: 1;
    z-index: 99999;
    overflow: visible;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition:    all .3s ease-in-out;
    -o-transition:      all .3s ease-in-out;
    -ms-transition:     all .3s ease-in-out;
    transition:         all .3s ease-in-out;
}
}
@media (max-width: 767px) {
    #content_search .result_searchbar #js-product-list .products > div {
        width: calc(50% - 10px);
    }
}
@media only screen and (min-width: 768px) {
    #search_widget {
        /* float: right; */
        margin-bottom: 0;
    }

    .ui-autocomplete.searchbar-autocomplete {
        width: 400px;
        min-height: auto;
        left: auto;
    }
}

@media only screen and (min-width: 992px) {
    #search_widget {
        /* min-width: 15.63rem; */
    }
}
@media only screen and (min-width: 768px) {
  #search_widget {
    margin-bottom: 0;
  }

  .ui-autocomplete.searchbar-autocomplete {
    width: 400px;
    min-height: auto;
    left: auto;
  }
}

@media only screen and (min-width: 992px) {
  #search_widget {
    min-width: 15.63rem;
  }
}

/*end media query*/