.searchbar-textbox {
  min-height: 22px;
  width: 6em;
  min-width: 6em;
}

.searchbar-textbox:-moz-system-metric(windows-default-theme) {
  -moz-appearance: none;
  border-width: 1px;
  -moz-border-top-colors: ThreeDShadow;
  -moz-border-bottom-colors: ThreeDShadow;
  -moz-border-right-colors: ThreeDShadow;
  -moz-border-left-colors: ThreeDShadow;
}

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

/* ::::: searchbar-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: 3px;
}

.searchbar-engine-button {
  -moz-appearance: none;
  min-width: 0;
  margin: 0;
  -moz-margin-end: 3px;
  padding: 0;
  height: 1.23em;
  min-height: 20px;
  -moz-box-align: center;
  background: -moz-dialog url(navbar-textbox-buttons.png) repeat-x;
  border: 0 solid;
  -moz-border-end-width: 1px;
  -moz-border-right-colors: ThreeDShadow;
  -moz-border-left-colors: ThreeDShadow;
  -moz-box-shadow: 1px 1px 0 rgba(255,255,255,.4) inset,
                   0 -1px 0 rgba(255,255,255,.4) inset;
}

.searchbar-engine-button:-moz-system-metric(windows-default-theme)[chromedir="ltr"] {
  -moz-border-right-colors: rgba(0,0,0,.05);
}

.searchbar-engine-button:hover {
  background-position: 0 -60px;
}

.searchbar-engine-button[open="true"] {
  background-position: 0 -120px;
  -moz-box-shadow: 0 -1px 0 rgba(255,255,255,.2) inset;
}

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

.searchbar-engine-button[addengines="true"] > .button-box {
  background: transparent url(chrome://browser/skin/Search-addengines.png) no-repeat right center;
}

.searchbar-engine-button[addengines="true"][chromedir="rtl"] > .button-box {
  background-position: left center;
}

.searchbar-dropmarker-image {
  list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
  -moz-margin-start: 3px;
}

/* ::::: search-go-button ::::: */

.search-go-container {
  -moz-box-align: center;
}

.search-go-button {
  padding: 2px;
  list-style-image: url("chrome://browser/skin/Search-glass.png");
  -moz-image-region: rect(0px 16px 16px 0px);
}

.search-go-button[chromedir="rtl"] {
  list-style-image: url("chrome://browser/skin/Search-glass-rtl.png");
}

.search-go-button:hover {
  -moz-image-region: rect(0px 32px 16px 16px);
}

.search-go-button:hover:active {
  -moz-image-region: rect(0px, 48px, 16px, 32px);
}

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