/*
 *  BEGIN FLOCK GPL
 *
 *  Copyright Flock Inc. 2005-2009
 *  http://flock.com
 *
 *  This file may be used under the terms of the
 *  GNU General Public License Version 2 or later (the "GPL"),
 *  http://www.gnu.org/licenses/gpl.html
 *
 *  Software distributed under the License is distributed on an "AS IS" basis,
 *  WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 *  for the specific language governing rights and limitations under the
 *  License.
 *
 *  END FLOCK GPL
 */

.searchbar-textbox {
  width: 15em;
}

.searchbar-engine-image {
  margin: 0px 0px 0px 2px;
  list-style-image: url("chrome://global/skin/icons/folder-item.png");
  -moz-image-region: rect(0px, 16px, 16px, 0px);
}

.searchbar-engine-button {
  -moz-appearance: none;
  min-width: 0;
  margin: 0;
  -moz-margin-end: 3px;
  padding: 2px 0;
  border: 0;
  -moz-box-align: center;
  background-color: -moz-dialog;
  -moz-appearance: toolbox;
  outline: 1px solid ThreeDShadow;
  -moz-margin-start: -1px;
  -moz-outline-radius-topleft: 2px;
  -moz-outline-radius-bottomleft: 2px;
}

.searchbar-engine-button[chromedir="rtl"] {
  -moz-outline-radius-topleft: 0;
  -moz-outline-radius-bottomleft: 0;
  -moz-outline-radius-topright: 2px;
  -moz-outline-radius-bottomright: 2px;
}

.searchbar-engine-button:hover {
  outline-color: ThreeDDarkShadow;
}

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

.search-go-button-container {
  border-left: 1px solid ThreeDShadow;
}

.search-go-button {
  list-style-image: url("chrome://browser/skin/Search.png");
  -moz-image-region: rect(0px 16px 16px 0px);
  padding: 0px;
  -moz-appearance: none;
  border: 1px solid ThreeDFace;
}

.search-go-button:hover {
  border-top: 1px solid ThreeDHighlight;
  border-left: 1px solid ThreeDHighlight;
  border-right: 1px solid ThreeDShadow;
  border-bottom: 1px solid ThreeDShadow;
}

.search-go-button:hover > .toolbarbutton-menubutton-button {
  -moz-border-right-colors: ThreeDHighlight ThreeDShadow;
}

.search-go-button:hover:active,
.search-go-button[open="true"] {
  border-top: 1px solid ThreeDShadow;
  border-left: 1px solid ThreeDShadow;
  border-right: 1px solid ThreeDShadow;
  border-bottom: 1px solid ThreeDShadow;
}

.search-go-button > .toolbarbutton-menubutton-button {
  padding: 1px !important;
  border: none;
  border-right: 2px solid ThreeDFace;
  -moz-appearance: none;
  min-width: 0px !important;
}

.search-go-button > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
  margin-right: 0px !important;
}

.search-go-button > .toolbarbutton-menubutton-button > .toolbarbutton-text {
  display: none;
}

.search-go-button-container {
  background-color: ThreeDFace;
}

.search-go-button > .toolbarbutton-menubutton-dropmarker {
  padding-top: 0px;
  padding-bottom: 0px;
}

.search-go-button[addengines="true"] {
  list-style-image: url("chrome://browser/skin/Search-add-engines.png");
}

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

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

.search-go-button[disabled="true"]{
  -moz-image-region: rect(0px, 48px, 16px, 32px);
}

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

.searchbar-left {
  background: url("chrome://browser/skin/search-bar-background-begin.png") no-repeat;
  margin: 4px 10px 4px 3px;
  font: icon;
  height: 22px !important;
  width: 182px !important;
  border: none !important;
}

.searchbar-textbox {
  -moz-appearance: none;
  border: none !important;
  height: 22px !important;
  width: 182px !important;
}

#search-container #searchbar {  background: url("chrome://browser/skin/search-bar-background-end.png") transparent no-repeat center right;  margin-right: 3px;}

.searchbar-dropmarker {
  min-width: 22px;
  margin: 0px 3px 0px 5px;  
}

.searchbar-engine-image {
  width: 16px;
  height: 16px;
  list-style-image: url("chrome://browser/skin/Search-bar.png");
}

.searchbar-dropmarker-image {
  list-style-image: url("chrome://global/skin/arrow/arrow-dn.png");
  padding: 6px 0px 5px 17px;
}

.autocomplete-textbox-container {
  border: none;
  padding-right: 10px;
  height: 21px !important;
  margin: 0px;
}

.search-go-button-container {
  display: none;
}
