.searchbar-textbox {
  min-height: 22px;
  width: 6em;
  min-width: 6em;
  background-color: -moz-field;
}

.textbox-input-box {
  margin: 0;
}

.searchbar-engine-menuitem[selected="true"] > .menu-iconic-text {
  font-weight: bold;
}

/* Engine button */
.searchbar-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: 2px;
}

.searchbar-engine-button {
  -moz-appearance: none;
  min-width: 0;
  margin: 0;
  -moz-margin-end: 2px;
  border: 0;
  -moz-box-align: center;
  background-color: -moz-dialog;
  -moz-border-end: 1px solid;
  -moz-border-right-colors: ThreeDShadow;
  -moz-border-left-colors: ThreeDShadow;
}

.searchbar-engine-button > .button-box {
  -moz-appearance: none;
  padding: 2px 0;
  -moz-padding-end: 2px;
  border: 0;
}

.searchbar-engine-button:hover > .button-box {
  background-color: rgba(255, 255, 255, .2);
}

.searchbar-engine-button:hover:active > .button-box,
.searchbar-engine-button[open="true"] > .button-box {
  background-color: rgba(0, 0, 0, .1);
}

.searchbar-engine-button[addengines="true"] {
  -moz-box-shadow: 0 0 5px Highlight inset, 0 0 20px Highlight inset;
}

.searchbar-dropmarker-image {
  -moz-appearance: toolbarbutton-dropdown !important;
  width: 12px;
  height: 12px;
  -moz-margin-start: 1px;
}

/* Search go button */
.search-go-container {
  -moz-box-align: center;
}

.search-go-button {
  padding: 1px;
  list-style-image: url("chrome://global/skin/icons/Search-glass.png");
  cursor: pointer;
}

.search-go-button:-moz-locale-dir(rtl) {
  -moz-transform: scaleX(-1);
}

menuitem[cmd="cmd_clearhistory"] {
  list-style-image: url("moz-icon://stock/gtk-clear?size=menu");
}

menuitem[cmd="cmd_clearhistory"][disabled] {
  list-style-image: url("moz-icon://stock/gtk-clear?size=menu&state=disabled");
}

