@keyframes sd-rotate-360-animation {
  0% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.wt-main-loading-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  text-align: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
}

.wt_loading {
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -15px;
  margin-top: -15px;
  width: auto;
  display: inline-block;
  padding: 0.3rem;
  background-color: var(--white);
  border-radius: 50%;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 20%);
}

.wt_loading .loader {
  display: block;
  text-indent: -9999rem;
  width: 30px;
  height: 30px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--darkRed);
  background: linear-gradient(90deg, var(--darkRed) 10%, rgba(229, 16, 29, 0) 42%);
  position: relative;
  transform: translateZ(0);
  animation: sd-rotate-360-animation 1s linear infinite;
}

.wt_loading .loader:before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 50%;
  height: 50%;
  background: var(--darkRed);
  border-radius: 100% 0 0 0;
}

.wt_loading .loader:after {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  background: var(--white);
  width: 85%;
  height: 85%;
  border-radius: 50%;
  margin: auto;
  bottom: 0;
  right: 0;
}

#header .header-top-right {
  display: block;
}

#close_search_query_nav {
  /* position: absolute;
  right: 12px;
  top: 6px;
  text-decoration: none;
  z-index: 9999; */
}

body.fixed {
  position: fixed !important
}

#search_block_nav {
  padding: 10px 0 10px 10px;
  width: 145px;
  float: right;
  position: relative;
}

#search_query_nav {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--black);
  font-size: 10px;
  color: var(--black);
  font-style: normal;
  line-height: 15px;
  cursor: pointer;
  margin: 0;
}

#search_query_nav:hover:after,
#search_query_nav:focus:after,
#search_query_nav:active:after {
  -webkit-animation-name: wt-nav-social;
  animation-name: wt-nav-social;
  -webkit-animation-duration: 0.3s;
  animation-duration: 0.3s;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-direction: alternate;
  animation-direction: alternate;
  color: var(--black);
}

#search_block_top.show {

  height: 155px !important;
  border-bottom: 5px solid var(--black);
  padding: 40px 15%;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}

.header-sticky #search_block_top .btn.button-search {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

#search_block_top .btn.button-search>span {
  display: none;
}

#search_block_top #search_query_top:focus {
  outline: none;
}

form#searchbox input#search_query_block {
  margin-right: 10px;
  max-width: 222px;
  margin-bottom: 10px;
  display: inline-block;
  float: left;
}

form#searchbox .button.button-small {
  float: left;
}

form#searchbox .button.button-small i {
  margin-right: 0;
}

#search_block_top .selector {
  width: 28% !important;
  float: left;
  height: 48px;
  background: none;
  border: none;
  padding: 0;
  background: var(--white);
  margin-left: 2px;
}


#search_block_top .selector span {
  width: 100% !important;
  border-right: 2px solid #0166c3;
  line-height: 26px;
  padding-left: 15px;
  background: url(../img/select_search_bg.png) right 22px center no-repeat;

  margin-top: 10px;
  color: var(--grey4);
  font-size: 15px !important;
}

#wtsearch_content_result .col_grid_5_2 {
  width: 25%;
  float: left;
}

/* #wtsearch_content_result{top: 113px; left: 0; position: absolute; width: 100%; background: var(--white); overflow: hidden; z-index: 99999; padding: 10px;height: 90%;  min-height: 500px; display: none; box-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);} */
.header-sticky #wtsearch_content_result {
  top: 48px !important;
  position: fixed !important;
  left: 0;
  padding-top: 0;
}

/* #wtsearch_content_result .over_light {
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--white);
} */



#wtsearch_content_result p.loanding {
  background: url('../img/loading.gif');
  height: 64px;
  width: 64px;
  margin: 10% auto;
}

#button_result_close {
  background: url("../img/close.png") no-repeat scroll 0 0 transparent;
  color: hsl(217, 97%, 71%);
  display: block;
  font-size: 14px;
  font-weight: 700;
  height: 29px;
  line-height: 14px;
  position: absolute;
  right: 0;
  top: 0;
  width: 29px;
  cursor: pointer;
}

#wtsearch_eccept_data .limit {
  text-align: center;
  margin-top: 20px;
  letter-spacing: 1px;
}

#wtsearch_eccept_data .noresult {
  /* text-align: center;
  margin-top: 20px;
  letter-spacing: 1px;
  color: #666;
  font-size: 16px;
  margin-top: 50px;
  text-align: center; */
}

#wtsearch_eccept_data .search-title {
  color: var(--black);
  text-align: center;
  margin: 20px 0;
  font-size: 14px;
}

#wtsearch_eccept_data .search-title span {
  font-size: 11px;
}

#wtsearch_eccept_data .title_showall_text {
display: none;
}

#wtsearch_eccept_data .title_showall {
  position: absolute;
right: 0;
}

#wtsearch_eccept_data .title_showall a {
  text-transform: uppercase;
  padding: .5rem 1rem;
  margin-right: 4rem;
}

#wtsearch_eccept_data .content-ajax-search {
  overflow: auto;
  height: 100%;
}

#wtsearch_eccept_data .column-title {
  /* font-size: 13px;
  font-weight: bold;
  color: var(--black);
  text-transform: uppercase; */
}

/* .other-items-list{text-align:left; float: left;} */
#wtsearch_eccept_data .noresult {
  /* font-size: 12px;
  padding-top: 0;
  margin: 0;
  text-align: left; */
}

.regular-price {
  text-decoration: line-through;
}

.price {
  color: var(--black);
}

.show-more {
  color: var(--black);
}

/* #search_block_top #search_query_top {
  width: 58%;
} */

#header.header-sticky #search_category {
  width: 180px !important;
  margin-left: 20px;
}

/* #header.header-sticky #search_block_top {
  position: fixed;
  top: 0px;
  margin: 0;
  z-index: 988;
  left: 23.5%;
} */

.box-mode #header.header-sticky #search_block_top {
  left: 25.5% !important;
}

#header.header-sticky #search_block_top #searchbox {
  border: none;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}

#header.header-sticky #search_block_top .selector {
  height: 44px;
}

#header.header-sticky #search_category {
  height: 30px;
}

#header.header-sticky #search_block_top #search_query_top {
  height: 30px;
}

#header.header-sticky #search_block_top .btn.button-search {
  padding: 11px 0;
}

#header.header-sticky #search_block_top .selector span {
  margin-top: 8px;
}

#header.header-sticky .header-container.header-sticky #search_block_top #search_query_top {
  height: 41px;
}


/****************************/
/* custom css */
/****************************/
#searchContainer {
  position: fixed;
  background: var(--white);
  z-index: 10;
  box-sizing: border-box;
}
#searchContainer .column-title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5rem;
}
.column-title-container {
  margin-bottom: 1rem;
}
#wtsearch_eccept_data .media-list {
  list-style: none;
  padding: 0;
  margin: 0;
  height: 50%;
  overflow: scroll;
  white-space: nowrap;
  padding-right: 2rem;
}
#wtsearch_eccept_data  .media-list li {
  margin-bottom: 1rem;
}
#wtsearch_eccept_data  .media-list a {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.5rem;
  text-decoration: none;
}
#wtsearch_eccept_data .media-list a span {
  margin-left: .5rem;
}
#wtsearch_eccept_data .content_price,
#wtsearch_eccept_data .product-name {
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5rem;
  display: flex;
  gap: 1rem;
}
#wtsearch_eccept_data .product-name {
  text-decoration: none;
  color: var(--black1);
}
#wtsearch_eccept_data .column-title {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1rem;
}

#wtsearch_eccept_data .noresult {
  font-weight: 400;
}

#search_query_top {
  font-family: "SF Pro Display";
  font-weight: 400;
  color: var(--black1);
  border: none;
  padding: none;
  width: 100%;
  /* border-bottom: 1px solid var(--black); */
}
#searchbox ::placeholder {
  color: var(--black1);
}
.button-search {
  padding: 0;
  border: 0;
  height: 2rem;
}
#searchbox {
  display: flex;
  gap: 1rem;
  width: 100%;
  border-bottom: 1px solid var(--black);
}
#searchbox svg {
  @media (max-width: 768px) {
    gap: 0;
  }
}
#close_search_query_nav {
  display: none;
}
#search_block_top {
  display: flex;
  justify-content: space-between;
}
#search_block_top .close {
  cursor: pointer;
}
.product_img_link {
  display: inline-block;
  width: 100%;
}
.product_img_link img {
  width: 100%;
}
#wtsearch_eccept_data .product-list {
  display: grid;
  gap: 1rem;
  padding-top: 1.63rem;
  overflow: hidden scroll;
  /* height: calc(100% - 10rem); */
}
#wtsearch_eccept_data .old-price {
  color: var(--grey1);
}
#wtsearch_eccept_data .price {
  color: var(--black1);
}

#wtsearch_eccept_data .product-list .product {
  box-shadow: 0px 4px 64px -16px rgba(0, 0, 0, 0.05);
  padding: 1rem;
  box-sizing: border-box;
}
.content-ajax-search {
  display: flex;
}
#wtsearch_content_result {
  margin-top: 2.16rem;
}

#wtsearch_eccept_data .limit {
  font-weight: 400;
}
#wtsearch_eccept_data .product-list .product {
  border-radius: 0.5rem;
  border: 2px solid var(--black);
}
