@import "form-elements/inputs";
@import "form-elements/buttons";


.nv-seach-form-wrap {
  width: 100%;
  border-top: $muted-border;
  padding-top: $spacing-sm;
  display: flex;
  align-items: center;
  justify-content: center;
  .search-form {
    display: inline-block;
    input[type="submit"] {
      margin-left: 10px;
    }
  }
}

.search-form label {
  margin-bottom: 0;
}

.search-form, .woocommerce-product-search {
  position: relative;

  label {
    display: inline;
  }

  .nv-search-icon-wrap {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 45px;
    min-width: 45px;
    z-index: 3;
    cursor: pointer;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
	.nv-icon svg {
	  fill: $muted-white-med;
	}
  }

  input[type="search"] {
    width: 100%;
	display: block;
	border-style: solid;
	z-index: 1;
  }

  button[type="submit"], input[type="submit"] {
    top: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    color: transparent !important;
    background: 0 0;
	min-width: 45px;
    width: 45px;
    border: 0;
    padding: 8px 12px 7px;
    border-radius: 0;
	z-index: 2;

    &:hover {
      background-color: var(--nv-light-bg);
    }
  }
}

.nv-nav-search .search-form input[type="search"] {
  width: 200px;
}
