/*--------------------------   Search Box     ------------------------ */

.streamit-shop-btn-holder ul {
  margin: 0;
}

.wp-block-search .wp-block-search__input {
  border: none;
  border-bottom: 0.0625em solid var(--border-color-light);
}

.wp-block-search button.wp-block-search__button {
  font-size: 0;
  position: absolute;
  right: 1vw;
  bottom: 1.4vw;
  background: transparent;
  display: inline-block;
  width: 2em;
  height: 3.75em;
  line-height: 3.75em;
  padding: 0;
  text-align: center;
  transition: all .3s ease-in-out;
}

.wp-block-search .wp-block-search__label {
  margin-bottom: 0;
}

.wp-block-search .wp-block-search__inside-wrapper {
  position: relative;
}

.wp-block-search .wp-block-search__button:before {
  content: "\f002";
  position: absolute;
  left: 0;
  right: 0;
  font-family: "Font Awesome\ 5 Free";
  font-size: 0.8vw;
  font-weight: 900;
  color: var(--iq-white-color);
}

.search-box input[type="search"] {
  height: 2.5em;
  font-size: 1.125em;
  display: inline-block;
  border: none;
  border-radius: 0.312em;
  outline: none;
  padding: 1em 2.5em 1em 1em;
  width: 0;
  position: absolute;
  top: -0.56em;
  right: 0;
  background: none;
  transition: width 0.4s cubic-bezier(0, 0.795, 0, 1);
  cursor: pointer;
  z-index: 11;
  margin: -0.625em 0 0 0;
}

.search-box input[type="search"]:focus {
  width: 15.62em;
  z-index: 1;
  cursor: text;
  background: var(--iq-white-color);
  z-index: 9;
  color: var(--iq-body-text);
}

.search-box {
  position: relative;
}

.search-box .search-submit:hover {
  background: none;
}

.search-form .search-submit svg {
  font-size: 1.125em;
  color: var(--iq-white-color);
}

.search-form input:focus,
.search-form input[type=text]:focus,
.search-form input[type=email]:focus,
.search-form input[type=search]:focus,
.search-form input[type=password]:focus {
  border-bottom: 0.0625em solid var(--iq-primary);
}

button.btn-search-close svg {
  color: var(--iq-white-color);
}


.search-form .search-submit svg {
  font-size: 1.125em;
  color: var(--iq-white-color);
}

.navbar ul.streamit-shop-btn-holder ul li a:hover {
  background: transparent;
}

header .streamit-search,
.search_count .streamit-search {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: var(--iq-bg1);
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 31.25em;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-100%);
  transition: all 0.5s ease-in-out;
}

.streamit-search.search--open,
.search_count .streamit-search.search--open {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.btn--search-close {
  font-size: 1.5em;
  position: absolute;
  top: 1em;
  right: 1.25em;
  display: none;
  color: var(--iq-white-color);
  background: transparent;
  display: block;
}

.btn--search-close:hover {
  color: var(--iq-white-color);
}

body.admin-bar .btn--search-close {
  top: 1.5em;
}

.btn--search-close:focus {
  outline: 0;
  box-shadow: none;
}

.search-form.search__form {
  width: auto;
}

.search--open .search__form {
  position: relative;
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
  -webkit-animation-duration: 0.7s;
  animation-duration: 0.7s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  visibility: visible;
  margin: 0 2em;
}

.search--open .search__form::after {
  -webkit-animation-name: fadeInMove;
  animation-name: fadeInMove;
  -webkit-animation-duration: 0.7s;
  animation-duration: 0.7s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  visibility: visible;
}

.form-search input::-webkit-input-placeholder {
  font-size: var(--global-font-size);
}

.search__input:focus {
  border: none;
  border-bottom: 0.125em solid;
}

.search__input::-webkit-input-placeholder, 
.search__input::-moz-placeholder, 
.search__input:-ms-input-placeholder, 
footer .search-form .search-field.search__input::-webkit-input-placeholder, 
footer .search-form .search-field.search__input::-moz-placeholder, 
footer .search-form .search-field.search__input:-ms-input-placeholder {
  color: var(--iq-body-text);
  font-size: var(--global-font-size);
  font-weight: normal;
}

.search__input::-webkit-search-cancel-button,
.search__input::-webkit-search-decoration {
  -webkit-appearance: none;
}

.search__input::-ms-clear {
  display: none;
}

form.search-form .form-row .has-content~label,
form.search-form .form-row input:focus~label,
form.search-form .form-row label {
  top: -5.62em;
}

.streamit-shop-btn-holder ul li svg {
  font-size: 1.25em;
  height: 1em;
  width: 1.25em;
}

form.search-form .form-row label {
  color: var(--iq-white-color);
  text-align: left;
  font-size: 2.81em;
  top: -0.81em;
  margin-bottom: 0;
  left: 0;
  display: block;
  float: left;
  width: 100%;
  margin-bottom: 0;
  position: absolute;
  pointer-events: none;
  left: 0;
  transition: all 0.3s ease-in-out;
}

.search-form {
  position: relative;
}

.wp-block-search .wp-block-search__label {
  display: none;
}

.search-form .form-search .search-submit:hover {
  background-position: right center;
}

.search_count .btn-search, 
.search_count .btn-search svg {
  font-weight: 400;
  font-size: 0.875em;
  text-transform: uppercase;
  color:var(--iq-white-color);
}

.search_count .btn-search:hover,
.search_count .btn-search:hover svg {
  color: var(--iq-primary);
}

.streamit-header-right {
  display: flex;
  align-items: center;
}


/* search-colormode */

.search_style_light .search {
  background: var(--iq-white-color);
}

.search_style_light .search__form:after {
  background: var(--iq-body-text);
}

.search_style_light .search-form .search-submit svg {
  color: var(--iq-body-text);
}

.search_style_light input::placeholder {
  color: rgba(var(--iq-rgb-0), 0.5);
}

.search_style_light button.btn-search-close svg {
  color: var(--iq-title-text);
}

/* search animation */

.search-animate-left .search {
  transform: translateX(-100%);
}

.search-animate-left .search.search--open {
  transform: translateX(0);
}

.search-animate-right .search {
  transform: translateX(-100%);
}

.search-animate-right .search.search--open {
  transform: translateX(0);
}
.search_wrap .search-form input::placeholder {
  color: var(--iq-body-text);
}

.search_wrap.search-form-default .search-form .search-submit svg {
  font-size: 1.125em;
  color: var(--iq-body-text);
}

.search-form-default .search-form input:focus,
.search-form-default .search-form input[type=email]:focus,
.search-form-default .search-form input[type=password]:focus,
.search-form-default .search-form input[type=search]:focus,
.search-form-default .search-form input[type=text]:focus {
  border-color: var(--iq-primary) !important;
}

@media (min-width: 768px) {
  .streamit-search .search-form.search__form {
    width: 31.25em;
  }
}


@media(max-width:767px) {
  .form-search input::-webkit-input-placeholder, 
  .search__input {
    font-size: 1.333em;
  }
  .streamit-search .form-search input::-webkit-input-placeholder,
  .streamit-search .search__input,
  .streamit-search.search--open .form-search .search-submit{
    font-size: 0.875em;
  }

  .streamit-search .search-form.search__form {
    width: 80%;
  }

  .search_count .streamit-search, header .streamit-search {
    height: 20em;
  }
}

/*********RTL*********/
.rtl .search_wrap{margin-left: 20px;}
.rtl .streamit-search .btn--search-close{
  left: 0;
  right:auto;
}

.streamit-search.search--open .form-search .search-submit {
  font-size: 0.875em;
}
.streamit-search.search--open{padding:0;}