/* ===================== */
/* = General and Reset = */
/* ===================== */

.VS-search {
  font-family: Arial, sans-serif;
  color: #373737;
  font-size: 12px;
}
.VS-search input {
  display: block;
  border: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  outline: none;
  margin: 0; padding: 4px;
  background: transparent;
  font-size: 16px;
  line-height: 20px;
  width: 100%;
}
.VS-interface, .VS-search .dialog, .VS-search input {
  font-family: "Lucida Grande", "Lucida Sans Unicode", Helvetica, Arial, sans-serif !important;
  line-height: 1.1em;
}

/* ========== */
/* = Layout = */
/* ========== */

.VS-search .VS-search-box {
  cursor: text;
  position: relative;
  background: transparent;
  border: 2px solid #ccc;
  border-radius: 16px; -webkit-border-radius: 16px; -moz-border-radius: 16px;
  background-color: #fafafa;
  -webkit-box-shadow: inset 0px 0px 3px #ccc;
  -moz-box-shadow: inset 0px 0px 3px #ccc;
  box-shadow: inset 0px 0px 3px #ccc;
  min-height: 28px;
  height: auto;
}
  .VS-search .VS-search-box.VS-focus {
    border-color: #acf;
    -webkit-box-shadow: inset 0px 0px 3px #acf;
    -moz-box-shadow: inset 0px 0px 3px #acf;
    box-shadow: inset 0px 0px 3px #acf;
  }
  .VS-search .VS-search-inner {
    position: relative;
    margin: 0 20px 0 22px;
    overflow: hidden;
  }
  .VS-search input {
    width: 100px;
  }
  .VS-search input,
  .VS-search .VS-input-width-tester {
    padding: 6px 0;
    float: left;
    color: #808080;
    font: 13px/17px Helvetica, Arial;
  }
  .VS-search.VS-focus input {
    color: #606060;
  }
  .VS-search .VS-icon-search {
    position: absolute;
    left: 9px; top: 8px;
  }
  .VS-search .VS-icon-cancel {
    position: absolute;
    right: 9px; top: 8px;
  }

/* ================ */
/* = Search Facet = */
/* ================ */

.VS-search .search_facet {
  float: left;
  margin: 0;
  padding: 0 0 0 14px;
  position: relative;
  border: 1px solid transparent;
  height: 20px;
  margin: 3px -3px 3px 0;
}
  .VS-search .search_facet.is_selected {
    margin-left: -3px;
    -webkit-border-radius: 16px;
    -moz-border-radius: 16px;
    border-radius: 16px;
    background-color: #d2e6fd;
    background-image: -moz-linear-gradient(top, #d2e6fd, #b0d1f9); /* FF3.6 */
    background-image: -webkit-gradient(linear, left top, left bottom, from(#d2e6fd), to(#b0d1f9)); /* Saf4+, Chrome */
    background-image: linear-gradient(top, #d2e6fd, #b0d1f9);
    border: 1px solid #6eadf5;
  }
  .VS-search .search_facet .category {
    float: left;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 10px;
    color: #808080;
    padding: 8px 0 5px;
    line-height: 13px;
    cursor: pointer;
    padding: 4px 0 0;
  }
  .VS-search .search_facet.is_selected .category {
    margin-left: 3px;
  }
  .VS-search .search_facet .search_facet_input_container {
    float: left;
  }
  .VS-search .search_facet input {
    margin: 0;
    padding: 0;
    color: #000;
    font-size: 13px;
    line-height: 16px;
    padding: 5px 0 5px 4px;
    height: 16px;
    width: auto;
    z-index: 100;
    position: relative;
    padding-top: 1px;
    padding-bottom: 2px;
    padding-right: 3px;

  }
  .VS-search .search_facet.is_editing input,
  .VS-search .search_facet.is_selected input {
    color: #000;
  }
  .VS-search .search_facet .search_facet_remove {
    position: absolute;
    left: 0;
    top: 4px;
  }
    .VS-search .search_facet.is_selected .search_facet_remove {
      opacity: 0.4;
      left: 3px;
      filter: alpha(opacity=40);
      background-position: center -11px;
    }
    .VS-search .search_facet .search_facet_remove:hover {
      opacity: 1;
    }
  .VS-search .search_facet.is_editing .category,
  .VS-search .search_facet.is_selected .category {
    color: #000;
  }
  .VS-search .search_facet.search_facet_maybe_delete .category,
  .VS-search .search_facet.search_facet_maybe_delete input {
    color: darkred;
  }

/* ================ */
/* = Search Input = */
/* ================ */

.VS-search .search_input {
  height: 28px;
  float: left;
  margin-left: -1px;
}
  .VS-search .search_input input {
    padding: 6px 3px 6px 2px;
    line-height: 10px;
    height: 22px;
    margin-top: -4px;
    width: 10px;
    z-index: 100;
    min-width: 4px;
    position: relative;
  }
  .VS-search .search_input.is_editing input {
    color: #202020;
  }

/* ================ */
/* = Autocomplete = */
/* ================ */

.VS-interface.ui-autocomplete {
  position: absolute;
  border: 1px solid #C0C0C0;
  border-top: 1px solid #D9D9D9;
  background-color: #F6F6F6;
  cursor: pointer;
  z-index: 10000;
  width: auto;
  min-width: 80px;
  max-width: 220px;
  max-height: 240px;
  overflow-y: auto;
  overflow-x: hidden;
  font-size: 13px;
  top: 5px;
  opacity: 0.97;
  box-shadow: 3px 4px 5px -2px rgba(0, 0, 0, 0.5); -webkit-box-shadow: 3px 4px 5px -2px rgba(0, 0, 0, 0.5); -moz-box-shadow: 3px 4px 5px -2px rgba(0, 0, 0, 0.5);
}
  .VS-interface.ui-autocomplete .ui-autocomplete-category {
    text-transform: capitalize;
    font-size: 11px;
    padding: 4px 4px 4px;
    border-top: 1px solid #A2A2A2;
    border-bottom: 1px solid #A2A2A2;
    background-color: #B7B7B7;
    text-shadow: 0 -1px 0 #999;
    font-weight: bold;
    color: white;
    cursor: default;
  }
  .VS-interface.ui-autocomplete .ui-menu-item a {
    color: #000;
    outline: none;
    display: block;
    padding: 3px 4px 5px;
    background-color: #F8F8F8;
    background-image: -moz-linear-gradient(top, #F8F8F8, #F3F3F3); /* FF3.6 */
    background-image: -webkit-gradient(linear, left top, left bottom, from(#F8F8F8), to(#F3F3F3)); /* Saf4+, Chrome */
    background-image: linear-gradient(top, #F8F8F8, #F3F3F3);
    border-top: 1px solid #FAFAFA;
    border-bottom: 1px solid #f0f0f0;
  }
  .VS-interface.ui-autocomplete .ui-menu-item a:active {
    outline: none;
  }
  .VS-interface.ui-autocomplete .ui-menu-item .ui-state-hover {
    background-color: #6483F7;
    background-image: -moz-linear-gradient(top, #648bF5, #2465f3); /* FF3.6 */
    background-image: -webkit-gradient(linear, left top, left bottom, from(#648bF5), to(#2465f3)); /* Saf4+, Chrome */
    background-image: linear-gradient(top, #648bF5, #2465f3);
    border-top: 1px solid #5b83ec;
    border-bottom: 1px solid #1459e9;
    color: white;
  }
  .VS-interface.ui-autocomplete li {
    list-style: none;
    width: auto;
  }
