@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

#yasearch-popup-autocomplete-panel {
  -moz-binding: url("chrome://yasearch/content/searchbox/searchbox.xml#searchbox-popup-autocomplete") !important;
}

.yasearchbar-textbox {
  -moz-binding: url("chrome://yasearch/content/searchbox/searchbox.xml#searchbox-textbox");
  -moz-appearance: none;
  min-width: 80px;
  border-width: 1px;
  -moz-border-top-colors: ThreeDShadow;
  -moz-border-bottom-colors: ThreeDShadow;
  -moz-border-right-colors: ThreeDShadow;
  -moz-border-left-colors: ThreeDShadow;
  margin: 1px 2px;
}

.textbox-input-box {
  margin: 0 3px 0 0;
}

.yasearchbar-textbox > .autocomplete-history-dropmarker {
  display: none;
}

.yasearchbar-engine-image {
  height: 16px;
  width: 16px;
  list-style-image: url("chrome://global/skin/icons/folder-item.png");
  -moz-image-region: rect(0px, 16px, 16px, 0px);
  -moz-margin-start: 3px;
}

.yasearchbar-engine-button {
  -moz-appearance: none;
  min-width: 0;
  height: auto;
  min-height: 20px;
  -moz-margin-end: 3px;
  margin: 0;
  padding: 0;
  -moz-box-align: center;
  background: transparent;
  border: none;
}

toolbar[id="yasearch-bar"] .yasearchbar-engine-button {
  min-height: 22px;
}

.yasearchbar-engine-button > hbox,
.yasearchbar-engine-button > hbox hbox {
  -moz-appearance: none;
  padding: 0;
  border: 0;
  background: transparent !important;
}

.yasearchbar-dropmarker-image {
  list-style-image: url("chrome://yasearch/skin/browser-icons/search-arrow.gif");
  margin: 0 0 -10px -2px;
}

.yasearchbar-search-button {
  -moz-binding: url("chrome://yasearch/content/searchbox/searchbox.xml#searchbox-search-button");
}

.yasearchbar-search-button[hidden="true"] {
  display: none;
}

.yasearchbar-search-button .toolbarbutton-text {
  display: -moz-box !important;
  margin: 3px 0px 2px 0px !important;
  padding: 0 1px !important;
}

.yasearchbar-search-button .toolbarbutton-icon {
  display: none;
}

yasearchboxresizer {
  -moz-binding: url("chrome://yasearch/content/searchbox/searchbox.xml#searchbox-resizer");
  background: transparent url("chrome://yasearch/skin/browser-icons/splitter-w-arrows.png") 0 center no-repeat;
  width: 11px;
  height: 20px;
  margin: 1px 0px 2px -2px;
  cursor: e-resize;
}

yasearchboxresizer:hover,
yasearchboxresizer:active {
  background-position: -16px center;
}

yasearchboxhighlighter {
  -moz-binding: url("chrome://yasearch/content/searchbox/searchbox.xml#searchbox-highlighter");
  list-style-image: url("images/highlighter.png");
  -moz-image-region: rect(0, 17px, 16px, 0);
}

yasearchboxhighlighter[teleportEnabled="true"] {
  -moz-image-region: rect(0px, 34px, 16px, 17px);
}

yasearchboxhighlighter > toolbarbutton .toolbarbutton-menubutton-button {
  min-width: 17px !important;
}

yasearchboxhighlighter > toolbarbutton image {
  margin: 0;
}

yasearchboxhighlighter > toolbarbutton .toolbarbutton-text {
  display: none;
}