/* JQuery Autocomplete Styling */
/* ---------------------------------------------------- */
.invisible {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.combobox-container {
  position: relative;
}

.combobox-suggestions {
  position: absolute;
  left: 0;
  width: 100%;
  background: $color-seccondary-background;
  z-index: 1100;
}
.combobox-suggestion {
  color: $color-seccondary-text;
  border-bottom: 1px solid $color-border-default;
  border-left: 1px solid $color-border-default;
  border-right: 1px solid $color-border-default;
  padding: 5px 10px 5px 10px;
  cursor: pointer;
  text-align: left;
}
.combobox-suggestion:first-child {
  border-top: 1px solid $color-border-default;
}
.combobox-suggestion:hover,
.combobox-suggestion:focus {
  color: $color-primary-text;
  background-color: $color-primary-background;
}

.combobox-clear-button, .combobox-clear-button:hover, .combobox-clear-button:focus {
  cursor: pointer;
  display: inline;
  position: absolute;
  top: 6px;
  right: 5px;
  border: none;
  background: transparent;
  color: $color-seccondary-text;
}

/* http://geektnt.com/how-to-remove-x-from-search-input-field-on-chrome-and-ie.html */
.js-combobox[type=text]::-ms-clear { display: none; width: 0; height: 0; }
.js-combobox[type=text]::-ms-reveal { display: none; width: 0; height: 0; }
