/************************************************** desktop search ***************************/
#header .header-top .search-widget {
    float: left;
    min-width: auto;
}
.tvcmsheader-search.search-widget form input[type=text] {
    border: none;
}
.tvcmsheader-search .tvcms-select-category {
    display: none;
}

.lang-rtl #header .tvsearch-header-display-wrappper {
    right: auto;
    left: 0;
}
#pagenotfound .page-not-found .search-widget .tvsearch-header-display-wrappper {
    position: inherit;
    opacity: 1;
    visibility: visible;
    transform: none;
}
.tvsearch-top-wrapper.open .tvsearch-header-display-wrappper {
    display: block;
}
.tvsearch-top-wrapper .tvsearch-close i {
    /*display: none;*/
}
.tvsearch-top-wrapper .tvsearch-close {
    display: none;
}
.tvsearch-top-wrapper.open .tvheader-search-display-icon {
    display: none;
}
.tvsearch-header-display-wrappper form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    z-index: 10;
    border: 1px solid #eee;
    background-color: #ffffff;
}
.tvheader-top-search-wrapper {
    background-color: #ffffff;
}
.search-widget form button[type=submit] {
    cursor: pointer;
}
.tvcmsheader-search.search-widget form button[type=submit] {
    padding: 0;
    background-color: transparent;
    border: none;
    top: 0;
    position: inherit;
}
.tvcmssearch-wrapper {
    /*float: left;*/
    position: relative;
    cursor: pointer;
}

#_desktop_search .tvcmsheader-search .tvserach-name {
    display: none;
}
.tvcmsheader-search form input::placeholder {
    opacity: 1;
}
/* search result */
.tvsearch-dropdown-total-wrapper {
    text-align: left;
    margin: 0 0 15px 0;
    /*line-height: 40px;*/
    /*border: 1px solid #eeeeee;*/
    /*padding: 0 15px;*/
}
.tvsearch-result {
    position: absolute;
    width: 100%;
    z-index: 20;
    top: 100%;
    margin-top: 10px;
}
.tvsearch-header-display-wrappper {
    position: relative;
}
.tvsearch-result .product-price-and-shipping {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    margin: 0;
}
.tvcmssearch-dropdown {
    padding: 15px;
    /*border: 1px solid #eeeeee;*/
    border-bottom: 4px solid #d21717;
}
.tvsearch-all-dropdown-wrapper {
    overflow: hidden;
}
.tvsearch-dropdown-wrapper {
    width: 50%;
    margin-bottom: 15px;
    padding: 0 7.5px;
}
.tvsearch-dropdown-wrapper a {
    display: flex;
    flex-wrap: wrap;
    padding: 8px;
    border: 1px solid #eeeeee;
}
.tvsearch-dropdown-img-block {
    /*float: left;*/
    height: auto;
    width: 30%;
    /*border: 1px solid #eeeeee;*/
    overflow: hidden;
}
.tvsearch-dropdown-content-box {
    /*margin-left: 85px;*/
    text-align: left;
    width: 70%;
    padding-left: 10px;
}
.tvsearch-dropdown-title {
    display: block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    margin-bottom: 10px;
}
.tvsearch-dropdown-price .tvsearch-dropdown-new-price,
.tvsearch-dropdown-price .tvsearch-dropdown-old-price {
    float: left;
    margin-right: 10px;
}
.tvsearch-dropodwn-close-wrapper {
    margin-bottom: 35px;
}
.tvheader-top-search {
    width: 100%;
}
.tvsearch-dropdown-close {
    border: 1px solid #eeeeee;
    text-align: center;
    padding: 10px 15px;
    margin-bottom: 15px;
}
.tvsearch-more-search {
    border: 1px solid #eeeeee;
    text-align: center;
    padding: 10px 15px;
    cursor: pointer;
    /*display: inline-block;*/
}
.tvsearch-all-dropdown-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -7.5px;
}
.tvsearch-more-search.tvall-inner-btn {
    margin-bottom: 0;
    width: 100%;
}

#hits{
    display: inline-block;
    width: 100%;
}

/************* mobile search css ************/

@media(max-width: 575px) {
    .tvcmssearch-wrapper {
        position: inherit;
    }
    .search-widget form input[type=text] {
        min-width: auto;
    }
}
/************************ rtl **************/
.lang-rtl .tvsearch-dropdown-total {
    direction: ltr;
}
.lang-rtl .tvsearch-dropdown-img-block {
    /*float: right;*/
}
.lang-rtl .tvsearch-dropdown-content-box {
    padding-right: 10px;
    padding-left: 0;
    text-align: right;
}
.lang-rtl .tvsearch-dropdown-price .tvsearch-dropdown-new-price,
.lang-rtl .tvsearch-dropdown-price .tvsearch-dropdown-old-price {
    float: right;
    margin-left: 5px;
}

/*ITC START*/
mark{
    background-color: #ffed00;
}

#itc-search-page{
    position: absolute;
    /*height: fit-content;
    max-height: 90vh;*/
    width: 90%;
    background-color: #fff;
    z-index: 99999;
    left: 50%;
    transform: translateX(-50%);
}

#itc-search-page .search-panel{
    height: fit-content;
    max-height: 60vh;
    overflow-y: scroll;
    overflow-x: hidden;
    margin-top: 70px;
    padding: 0 30px;
}

#itc-search-page #itc-search-header{
    width: 100%;
    position: fixed;
    /*border-bottom: 1px solid #cecece;*/
}

.ais-SearchBox-submit{
    /*display: none!important;*/
}

.ais-SearchBox-submitIcon path, .ais-SearchBox-resetIcon path{
    fill: #484848!important;
}

.ais-SearchBox-input::placeholder{
    color: #484848!important;
}

.ais-SearchBox-input{
    height: inherit;
    border: 0!important;
    border-radius: 0!important;
    min-height: 48px;
    background-color: #f2f2f2!important;
    color: #484848;
}

.ais-Hits-item{
    border: 0!important;
}

.hit-price{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    margin-top: 10px;
}

.hit-price-old{
    font-weight: bold;
    text-decoration: line-through;
    color: black!important;
}

.hit-price-onsale{
    font-weight: bold;
    color: #086bd0;
}

.ais-Hits-list{
    justify-content: center;
    padding-top: 1rem!important;
}

.ais-Hits-item{
    margin-top: 0!important;
    margin-left: 0!important;
}

.ais-Pagination-link{
    color: black!important;
    border: 0!important;
}

.ais-Pagination-list{
    margin: 20px 0!important;
}

.ais-Pagination-item--selected .ais-Pagination-link{
    background-color: #ffcf00!important;
    border-color: #ffcf00!important;
}

.itc-close-panel{
    float: right;
    margin: 0;
    padding-right: 30px;
    padding-top: 20px;
    padding-bottom: 15px;
}

.itc-close-panel svg{
    cursor: pointer;
}

.item-custom-css-class{
    width: calc(14.28% - 1rem)!important;

}

.item-custom-css-class .hit-name,
.item-custom-css-class .hit-attribute-sku,
.item-custom-css-class .hit-combination,
.item-custom-css-class .hit-sku,
.item-custom-css-class .hit-price,
.item-custom-css-class .hit-price-onsale{
    font-size: 13px;
    text-align: center;
}

.item-custom-css-class:hover{
    opacity: 0.9;
    box-shadow: 0 2px 5px 0 rgb(255, 255, 0)
}

.ais-InfiniteHits-loadMore{
    background: #086bd0!important;
    text-transform: uppercase!important;
    font-weight: bold!important;
    padding: 1rem!important;
    border-radius: 0!important;
    margin-bottom: 20px;
    float: right;

}

#itc-search-stats{
    float: left;
}

#itc-search-stats span{
    padding-top: 10px;
    display: inline-block;
    font-weight: bold;
    text-transform: uppercase;
    color: #000
}

.ais-SearchBox-submit{
    pointer-events: none!important;
}

.hit-image{
    text-align: center
}

.hit-sku,
.hit-attribute-sku{
    background: rgb(255, 255, 0)
}

.ais-InfiniteHits-loadMore--disabled{
    visibility: hidden
}

@media (max-width: 1400px){
    .item-custom-css-class{
        width: calc(20% - 1rem)!important;
    }
}

@media (max-width: 1199px){
    .item-custom-css-class{
        width: calc(25% - 1rem)!important;
    }
}

@media (max-width: 991px){
    #itc-search-page .search-panel{
        padding: 0;
    }

    #itc-search-page{
        width: 100%;
        box-shadow: 0 4px 10px -2px #181818;
    }


}

@media (max-width: 767px){
    .item-custom-css-class{
        width: calc(50% - 1rem)!important;
    }

    .item-custom-css-class .hit-price{
        display: block;
    }
}

/*ITC END*/