/* ***** BEGIN LICENSE BLOCK *****
 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
 *
 * The contents of this file are subject to the Mozilla Public License Version
 * 1.1 (the "License"); you may not use this file except in compliance with
 * the License. You may obtain a copy of the License at
 * http://www.mozilla.org/MPL/
 *
 * 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.
 *
 * The Original Code is mozilla.org code.
 *
 * The Initial Developer of the Original Code is
 * Netscape Communications Corporation.
 * Portions created by the Initial Developer are Copyright (C) 1998-1999
 * the Initial Developer. All Rights Reserved.
 *
 * Contributor(s):
 *   Joe Hewitt <hewitt@netscape.com>
 *
 * Alternatively, the contents of this file may be used under the terms of
 * either of the GNU General Public License Version 2 or later (the "GPL"),
 * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
 * in which case the provisions of the GPL or the LGPL are applicable instead
 * of those above. If you wish to allow use of your version of this file only
 * under the terms of either the GPL or the LGPL, and not to allow others to
 * use your version of this file under the terms of the MPL, indicate your
 * decision by deleting the provisions above and replace them with the notice
 * and other provisions required by the GPL or the LGPL. If you do not delete
 * the provisions above, a recipient may use your version of this file under
 * the terms of any one of the MPL, the GPL or the LGPL.
 *
 * ***** END LICENSE BLOCK ***** */

@import url("chrome://navigator/content/navigator.css");
@import url("chrome://communicator/skin/");
@import url("chrome://communicator/skin/bookmarks/bookmarksToolbar.css");

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

/* ::::: primary toolbar buttons ::::: */

.toolbarbutton-1 {
  min-width: 0px;
}

toolbox {
  border-bottom: none;
}

#appcontent {
  border-top: 1px solid #494F5D;
}

#back-button {
  list-style-image: url("chrome://communicator/skin/icons/common.png");
  -moz-image-region: rect(78px 42px 117px 0);
}

#back-button:hover {
  -moz-image-region: rect(78px 84px 117px 42px);
}

#back-button:hover:active {
  -moz-image-region: rect(78px 126px 117px 84px);
}

#back-button[disabled="true"] {
  -moz-image-region: rect(78px 168px 117px 126px) !important;
}

#forward-button {
  list-style-image: url("chrome://communicator/skin/icons/common.png");
  -moz-image-region: rect(117px 42px 156px 0);
}

#forward-button:hover {
  -moz-image-region: rect(117px 84px 156px 42px);
}

#forward-button:hover:active {
  -moz-image-region: rect(117px 126px 156px 84px);
}

#forward-button[disabled="true"] {
  -moz-image-region: rect(117px 168px 156px 126px) !important;
}

#reload-button {
  list-style-image: url("chrome://navigator/skin/icons/browser.png");
  -moz-image-region: rect(0px 42px 39px 0);
}

#reload-button:hover {
  -moz-image-region: rect(0px 84px 39px 42px);
}

#reload-button:hover:active {
  -moz-image-region: rect(0px 126px 39px 84px);
}

#reload-button[disabled="true"] {
  -moz-image-region: rect(0px 168px 39px 126px) !important;
}

#stop-button {
  list-style-image: url("chrome://communicator/skin/icons/common.png");
  -moz-image-region: rect(39px 42px 78px 0);
}

#stop-button:hover {
  -moz-image-region: rect(39px 84px 78px 42px);
}

#stop-button:hover:active {
  -moz-image-region: rect(39px 126px 78px 84px);
}

#stop-button[disabled="true"] {
  -moz-image-region: rect(39px 168px 78px 126px) !important;
}

#home-button {
  list-style-image: url("chrome://communicator/skin/icons/common.png");
  -moz-image-region: rect(156px 42px 195px 0);
}

#home-button:hover {
  -moz-image-region: rect(156px 84px 195px 42px);
}

#home-button:hover:active {
  -moz-image-region: rect(156px 126px 195px 84px);
}

#home-button[disabled="true"] {
  -moz-image-region: rect(156px 168px 195px 126px) !important;
}

#sync-button {
  list-style-image: url("chrome://communicator/skin/sync/sync-32.png");
}

#sync-button > .toolbarbutton-icon {
  margin-top: 5px;
  margin-bottom: 4px;
  -moz-margin-start: 5px;
  -moz-margin-end: 7px;
}

#sync-button[status=active] {
  list-style-image: url("chrome://communicator/skin/sync/sync-32-throbber.png");
}

/* ::::: small primary toolbar buttons ::::: */

toolbar[iconsize="small"] > toolbarpaletteitem > #back-button,
toolbar[iconsize="small"] > #back-button {
  list-style-image: url("chrome://communicator/skin/icons/common-small.png");
  -moz-image-region: rect(38px 19px 57px 0);
}

toolbar[iconsize="small"] > #back-button:hover {
  -moz-image-region: rect(38px 38px 57px 19px);
}

toolbar[iconsize="small"] > #back-button:hover:active {
  -moz-image-region: rect(38px 57px 57px 38px);
}

toolbar[iconsize="small"] > #back-button[disabled="true"] {
  -moz-image-region: rect(38px 76px 57px 57px) !important;
}

toolbar[iconsize="small"] > toolbarpaletteitem > #forward-button,
toolbar[iconsize="small"] > #forward-button {
  list-style-image: url("chrome://communicator/skin/icons/common-small.png");
  -moz-image-region: rect(57px 19px 76px 0);
}

toolbar[iconsize="small"] > #forward-button:hover {
  -moz-image-region: rect(57px 38px 76px 19px);
}

toolbar[iconsize="small"] > #forward-button:hover:active {
  -moz-image-region: rect(57px 57px 76px 38px);
}

toolbar[iconsize="small"] > #forward-button[disabled="true"] {
  -moz-image-region: rect(57px 76px 76px 57px) !important;
}

toolbar[iconsize="small"] > toolbarpaletteitem > #reload-button,
toolbar[iconsize="small"] > #reload-button {
  list-style-image: url("chrome://navigator/skin/icons/browser-small.png");
  -moz-image-region: rect(0 19px 19px 0);
}

toolbar[iconsize="small"] > #reload-button:hover {
  -moz-image-region: rect(0 38px 19px 19px);
}

toolbar[iconsize="small"] > #reload-button:hover:active {
  -moz-image-region: rect(0 57px 19px 38px);
}

toolbar[iconsize="small"] > #reload-button[disabled="true"] {
  -moz-image-region: rect(0 76px 19px 57px) !important;
}

toolbar[iconsize="small"] > toolbarpaletteitem > #stop-button,
toolbar[iconsize="small"] > #stop-button {
  list-style-image: url("chrome://communicator/skin/icons/common-small.png");
  -moz-image-region: rect(19px 19px 38px 0);
}

toolbar[iconsize="small"] > #stop-button:hover {
  -moz-image-region: rect(19px 38px 38px 19px);
}

toolbar[iconsize="small"] > #stop-button:hover:active {
  -moz-image-region: rect(19px 57px 38px 38px);
}

toolbar[iconsize="small"] > #stop-button[disabled="true"] {
  -moz-image-region: rect(19px 76px 38px 57px) !important;
}

toolbar[iconsize="small"] > toolbarpaletteitem > #home-button,
toolbar[iconsize="small"] > #home-button {
  list-style-image: url("chrome://communicator/skin/icons/common-small.png");
  -moz-image-region: rect(76px 19px 95px 0);
}

toolbar[iconsize="small"] > #home-button:hover {
  -moz-image-region: rect(76px 38px 95px 19px);
}

toolbar[iconsize="small"] > #home-button:hover:active {
  -moz-image-region: rect(76px 57px 95px 38px);
}

toolbar[iconsize="small"] > #home-button[disabled="true"] {
  -moz-image-region: rect(76px 76px 95px 57px) !important;
}

toolbar[iconsize="small"] > toolbarpaletteitem > #sync-button,
toolbar[iconsize="small"] > #sync-button {
  list-style-image: url("chrome://communicator/skin/sync/sync-16.png");
}

toolbar[iconsize="small"] > toolbarpaletteitem > #sync-button > .toolbarbutton-icon,
toolbar[iconsize="small"] > #sync-button > .toolbarbutton-icon {
  margin-top: 2px;
  margin-bottom: 3px;
  -moz-margin-start: 3px;
  -moz-margin-end: 5px;
}

toolbar[iconsize="small"] > toolbarpaletteitem > #sync-button[status=active],
toolbar[iconsize="small"] > #sync-button[status=active] {
  list-style-image: url("chrome://communicator/skin/sync/sync-16-throbber.png");
}

#nav-bar[iconsize="small"] {
  min-height: 0;
}

#nav-bar[iconsize="small"] > .toolbar-primary-holder {
  background: #D0D7DF;
}

/* ::::: fullscreen window controls ::::: */

#window-controls {
  -moz-box-align: center;
  padding-top: 0px;
  padding-bottom: 0px;
  -moz-padding-start: 4px;
  -moz-padding-end: 2px;
  background-color: #A9B2BD;
  border-left: 2px solid;
  -moz-border-left-colors: #B6BEC5 #DDE3E8;
}

#window-controls > toolbarbutton {
  list-style-image: url("chrome://navigator/skin/icons/windowcontrols.png");
  min-width: 0;
}

toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon {
  display: -moz-box;
}

#minimize-button {
  -moz-image-region: rect(16px 15px 32px 0);
}

#minimize-button:hover {
  -moz-image-region: rect(16px 30px 32px 15px);
}

#minimize-button:hover:active {
  -moz-image-region: rect(16px 45px 32px 30px);
}

#minimize-button[disabled="true"] {
  -moz-image-region: rect(16px 60px 32px 45px) !important;
}

#restore-button {
  -moz-image-region: rect(0 15px 16px 0);
}

#restore-button:hover {
  -moz-image-region: rect(0 30px 16px 15px);
}

#restore-button:hover:active {
  -moz-image-region: rect(0 45px 16px 30px);
}

#restore-button[disabled="true"] {
  -moz-image-region: rect(0 60px 16px 45px) !important;
}

#close-button {
  -moz-image-region: rect(32px 15px 48px 0);
}

#close-button:hover {
  -moz-image-region: rect(32px 30px 48px 15px);
}

#close-button:hover:active {
  -moz-image-region: rect(32px 45px 48px 30px);
}

#close-button[disabled="true"] {
  -moz-image-region: rect(32px 60px 48px 45px) !important;
}

/* ::::: special menubutton dropmarkers ::::: */

/* ..... dropmarker box ..... */

#back-button > .toolbarbutton-menubutton-stack
    > .toolbarbutton-menubutton-dropmarker,
#forward-button > .toolbarbutton-menubutton-stack
    > .toolbarbutton-menubutton-dropmarker
{
  margin-top: 20px;
  margin-bottom: 0px;
  -moz-margin-start: 34px;
  -moz-margin-end: 0px;
}

#print-button > .toolbarbutton-menubutton-stack
    > .toolbarbutton-menubutton-dropmarker
{
  margin-top: 20px;
  margin-bottom: 0px;
  -moz-margin-start: 40px;
  -moz-margin-end: 0px;
}

toolbar[mode="icons"] #back-button > .toolbarbutton-menubutton-stack
    > .toolbarbutton-menubutton-dropmarker,
toolbar[mode="icons"] #forward-button > .toolbarbutton-menubutton-stack
    > .toolbarbutton-menubutton-dropmarker
{
  margin-top: 30px;
  margin-bottom: 0px;
  -moz-margin-start: 34px;
  -moz-margin-end: 0px;
}

toolbar[iconsize=small] #back-button > .toolbarbutton-menubutton-stack
    > .toolbarbutton-menubutton-dropmarker,
toolbar[iconsize=small] #forward-button > .toolbarbutton-menubutton-stack
    > .toolbarbutton-menubutton-dropmarker,
toolbar[iconsize=small] #print-button > .toolbarbutton-menubutton-stack
    > .toolbarbutton-menubutton-dropmarker
{
  margin-top: 8px;
  margin-bottom: 8px;
  -moz-margin-start: 14px;
  -moz-margin-end: 0px;
}

toolbar[iconsize=small][mode="icons"] #back-button > .toolbarbutton-menubutton-stack
    > .toolbarbutton-menubutton-dropmarker,
toolbar[iconsize=small][mode="icons"] #forward-button > .toolbarbutton-menubutton-stack
    > .toolbarbutton-menubutton-dropmarker,
toolbar[iconsize=small][mode="icons"] #print-button > .toolbarbutton-menubutton-stack
    > .toolbarbutton-menubutton-dropmarker
{
  margin-top: 8px;
  margin-bottom: 0px;
  -moz-margin-start: 14px;
  -moz-margin-end: 0px;
}

/* ::::: nav-bar - the navigator primary toolbar ::::: */

.toolbar-primary-icon {
  display: none;
}

.toolbar-primary-holder {
  -moz-box-align: start;
  background-image: url("chrome://communicator/skin/toolbar/prtb-bg-noline.gif");
}

/* ::::: the grooved area around the urlbar and associated buttons ::::: */

.nav-bar-class {
  -moz-box-align: center;
  margin-top: 7px;
  margin-bottom: 3px;
  border-top: 2px solid;
  border-bottom: 2px solid;
  -moz-border-top-colors: #A2AFBD #EBF4FF;
  -moz-border-right-colors: #D1D9E0 #A2AFBD;
  -moz-border-bottom-colors: #CFD7DE #939EAA;
  -moz-border-left-colors: #9FABB9 #D2DAE1;
  padding: 0px;
  min-width: 0px;
}

.nav-bar-first,
toolbarpaletteitem > .nav-bar-class {
  -moz-margin-start: 5px;
  -moz-border-start: 2px solid;
  -moz-padding-start: 3px;
}

.nav-bar-last,
toolbarpaletteitem > .nav-bar-class {
  -moz-margin-end: 0px;
  -moz-border-end: 2px solid;
  -moz-padding-end: 3px;
}

.nav-bar-last:-moz-locale-dir(rtl),
.nav-bar-first:-moz-locale-dir(ltr),
toolbarpaletteitem > .nav-bar-class:-moz-locale-dir(rtl),
toolbarpaletteitem > .nav-bar-class:-moz-locale-dir(ltr) {
  border-bottom-left-radius: 3px;
  border-top-left-radius: 3px;
}

.nav-bar-last:-moz-locale-dir(ltr),
.nav-bar-first:-moz-locale-dir(rtl),
toolbarpaletteitem > .nav-bar-class:-moz-locale-dir(ltr),
toolbarpaletteitem > .nav-bar-class:-moz-locale-dir(rtl) {
  border-bottom-right-radius: 3px;
  border-top-right-radius: 3px;
}

toolbar[mode="text"] > .nav-bar-class,
toolbar[iconsize="small"] > .nav-bar-class,
toolbar[mode="text"] > toolbarpaletteitem > .nav-bar-class,
toolbar[iconsize="small"] > toolbarpaletteitem > .nav-bar-class {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

toolbar[mode="text"] #search-button {
  -moz-margin-end: 0px;
}

#search-button > .button-box > .button-icon {
  display: -moz-box;
}

toolbar[mode="text"] #search-button > .button-box > .button-icon,
toolbar[mode="icons"] #search-button > .button-box > .button-text {
  display: none;
}

#wrapper-nav-bar-inner[place="palette"] > #nav-bar-inner
  > .button-toolbar,
#wrapper-nav-bar-inner[place="palette"] > #nav-bar-inner
  > #urlbar > .urlbar-icons {
  display: none;
}

/* ::::: urlbar - the url textbox ::::: */

.searchbar-textbox,
#urlbar {
  margin-top: 2px;
  margin-bottom: 2px;
  -moz-margin-start: 3px;
  -moz-margin-end: 6px;
  border: 3px solid;
  -moz-border-top-colors: #A2AFBD #000000 #A7BACA;
  -moz-border-right-colors: #D2DAE1 #000000 #768C9F;
  -moz-border-bottom-colors: #D2DAE1 #000000 #768C9F;
  -moz-border-left-colors: #A5ACB5 #000000 #A7BACA;
  background-color: #EDF5F7;
  box-shadow: inset 0px -2px #E9F3F6;
}

#urlbar[level="high"],
#urlbar[level="low"] {
  background-color: #E8DB99;
  box-shadow: none;
}

/* ::::: notification popups ::::: */

.popup-notification-icon {
  width: 64px;
  height: 64px;
  -moz-margin-end: 10px;
}

.popup-notification-icon[popupid="geolocation"] {
  list-style-image: url("chrome://communicator/skin/icons/geolocation-64.png");
}

.popup-notification-icon[popupid="addon-install-disabled"],
.popup-notification-icon[popupid="addon-install-blocked"],
.popup-notification-icon[popupid="addon-install-started"],
.popup-notification-icon[popupid="addon-install-cancelled"],
.popup-notification-icon[popupid="addon-install-failed"],
.popup-notification-icon[popupid="addon-install-complete"],
.popup-notification-icon[popupid="lwtheme-install-request"],
.popup-notification-icon[popupid="lwtheme-install-notification"] {
  list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
  width: 32px;
  height: 32px;
}

.popup-notification-icon[popupid="indexedDB-permissions-prompt"],
.popup-notification-icon[popupid="indexedDB-quota-prompt"] {
  list-style-image: url("chrome://global/skin/icons/alert-question.gif");
  width: 46px;
  height: 36px;
}

.popup-notification-icon[popupid="password-change"],
.popup-notification-icon[popupid="password-save"] {
  list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png");
}

.addon-progress-description {
  width: 350px;
  max-width: 350px;
}

/* Notification icon box */
#notification-popup-box {
  -moz-margin-end: 3px;
}

.notification-anchor-icon:-moz-focusring {
  outline: 1px dotted;
}

#default-notification-icon {
  list-style-image: url("chrome://global/skin/icons/information-16.png");
  width: 16px;
  height: 16px;
}

#geo-notification-icon {
  list-style-image: url("chrome://communicator/skin/icons/geolocation-16.png");
  width: 16px;
  height: 16px;
}

#addons-notification-icon {
  list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
  width: 16px;
  height: 16px;
}

#indexedDB-notification-icon {
  list-style-image: url("chrome://global/skin/icons/question-16.png");
  width: 16px;
  height: 16px;
}

#password-notification-icon {
  list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png");
  width: 16px;
  height: 16px;
}

/* ::::: page proxy icon ::::: */

#page-proxy-deck,
#page-proxy-button,
#page-proxy-favicon {
  width: 16px;
  height: 16px;
}

#page-proxy-deck {
  cursor: -moz-grab;
  -moz-margin-end: 4px;
}

#page-proxy-button {
  list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif"); 
} 

#page-proxy-favicon {
  list-style-image: none;
} 

#page-proxy-button[pageproxystate="invalid"] {
  cursor: default;
  list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item-dis.gif"); 
}

/* ::::: autocomplete ::::: */

.autocomplete-treebody::-moz-tree-cell-text(value) {
  -moz-padding-start: 15px;
}

.autocomplete-treebody::-moz-tree-cell-text(comment) {
  color: #555566;
}

.autocomplete-search-box {
  border-top: 2px groove #DDE3EB;
  background-color: #DDE3EB;
}

panel[nomatch="true"] > .autocomplete-search-box {
  border-top: 1px solid #E4EAEF;
}

.autocomplete-search-engine {
  padding: 2px;
}

.autocomplete-search-engine[menuactive="true"] {
  background-color: #9499AC;
  color: #FFFFFF;
}

.autocomplete-search-engine-img {
  -moz-margin-end: 4px;
}

.autocomplete-history-dropmarker {
  margin-top: 0px;
  margin-bottom: 0px;
  -moz-margin-start: 0px;
  -moz-margin-end: 3px;
  list-style-image: url("chrome://navigator/skin/toolbar/ubhist-arrow.gif");
}

.autocomplete-history-dropmarker[open="true"] {
  list-style-image: url("chrome://navigator/skin/toolbar/ubhist-arrow-act.gif");
}

.autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
  color: #999999;
}

/* ::::: go and searchbuttons ::::: */

#go-button,
#search-button {
  margin-top: 0px;
  margin-bottom: 0px;
  -moz-margin-start: 0px;
  -moz-margin-end: 4px;
  min-width: 0px;
  font: message-box;
  font-weight: bold;
}

#search-button {
  list-style-image: url("chrome://global/skin/icons/search.gif");
}

/* ::::: search bar ::::: */

.autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
.autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment) {
  color: #999999;
  font-size: smaller;
}

.autocomplete-treebody::-moz-tree-cell(suggesthint) {
  border-top: 1px solid #999999;
}

/* ::::: navigator throbber ::::: */

#throbber-box {
  background: none; /* override bg used to cover toolbar line */
  margin: 0px 0px 2px;
}

/* ::::: personal toolbar ::::: */

#PersonalToolbar {
  background: url("chrome://global/skin/toolbar/tb-mid.gif") #C7D0D9 repeat-x top;
}

#PersonalToolbar > .toolbar-box > toolbargrippy,
#PersonalToolbar > .toolbar-box > .toolbar-holder {
  border-top: 1px solid #CED6DD;
  border-right: 1px solid #95A0AD;
  border-bottom: 1px solid #95A0AD;
  border-left: 1px solid #DAE3ED;
}

#PersonalToolbar > .toolbar-box > toolbargrippy:hover:active {
  border-color: #67737E;
}

toolbarbutton.chevron {
  list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
}

toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
  display: none;
}

toolbarbutton.chevron > .toolbarbutton-text {
  display: none; /* hide chevron label which has a width even if blank */
}

toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon {
  display: -moz-box; /* display chevron icon in text mode */
}

/* Prevent [mode="icons"|"text"] from hiding the label and icon */
#PlacesToolbarItems .bookmark-item > .toolbarbutton-text,
#PlacesToolbarItems .bookmark-item > .toolbarbutton-icon {
  display: -moz-box !important;
}

#PersonalToolbar[iconsize="small"] > toolbarpaletteitem > #home-button > .toolbarbutton-icon,
#PersonalToolbar[iconsize="small"] > #home-button > .toolbarbutton-icon {
  width: 16px;
  height: 16px;
}

#PersonalToolbar > #home-button {
  cursor: pointer;
}

#PersonalToolbar > #home-button:hover {
  text-decoration: underline;
}

#PersonalToolbar > #home-button[disabled="true"] {
  cursor: default !important;
  text-decoration: none !important;
}

/*
  In customize mode we hide the normal bookmark items and show a placeholder
  for the drag/drop UI.
*/
.bookmarks-toolbar-customize {
  list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png");
  display: none;
  max-width: 15em !important;
}

#wrapper-personal-bookmarks[place="palette"] > .toolbarpaletteitem-box {
  width: 16px;
  height: 16px;
  background: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") no-repeat;
}

/* ::::: content area ::::: */

#content {
  border-bottom: 1px solid #494F5D;
}

#status-bar {
  border-top: none;
  min-width: 1px;
}

#security-button {
  list-style-image: url("chrome://communicator/skin/icons/lock-insecure.png");
}

/* |high| and |low| styles could be different, to better reflect the secure level... */
#security-button[level="high"] > .statusbarpanel-contentbox,
#security-button[level="low"] > .statusbarpanel-contentbox {
  list-style-image: url("chrome://communicator/skin/icons/lock-secure.png");
  background-color: #E8DB99;
}

#security-button[level="broken"] > .statusbarpanel-contentbox {
  list-style-image: url("chrome://communicator/skin/icons/lock-broken.png");
  background-color: #E83404;
}

#security-button[label] > .statusbarpanel-contentbox {
  background-color: #62C441;
}

#security-button > .statusbarpanel-contentbox > .statusbarpanel-text {
  margin: 0px;
  color: #FFFFFF;
}

#ev-button {
  list-style-image: url("chrome://communicator/skin/icons/identity.png");
}

#popupIcon {
  list-style-image: url("chrome://navigator/skin/icons/popup-blocked.png");
}

#invalid-form-popup {
  border: 1px solid #000000;
  padding: 2px 3px 0px 3px;
  max-width: 40em;
  background-color: #FFFFE7;
  color: #000000;
  font: message-box;
  font-weight: bold;
}

/* ::::: star button ::::: */

#star-button {
  list-style-image: url("chrome://communicator/skin/bookmarks/bookmark.png");
  -moz-image-region: rect(16px 16px 32px 0px);
}

#star-button:hover {
  -moz-image-region: rect(16px 32px 32px 16px);
}

#star-button:hover:active {
  -moz-image-region: rect(16px 48px 32px 32px);
}

#star-button[starred="true"] {
  -moz-image-region: rect(0px 16px 16px 0px);
}

#star-button[starred="true"]:hover {
  -moz-image-region: rect(0px 32px 16px 16px);
}

#star-button[starred="true"]:hover:active {
  -moz-image-region: rect(0px 48px 16px 32px);
}

#editBookmarkPanelStarIcon {
  list-style-image: url("chrome://communicator/skin/bookmarks/bookmark.png");
  -moz-image-region: rect(0px 16px 16px 0px);
}

/* ::::: feeds ::::: */

.feedsMenu {
  list-style-image: url("chrome://navigator/skin/btn1/feeds.png");
  -moz-image-region: rect(0px 16px 16px 0px);
}

.feedsMenu[_moz-menuactive="true"] {
  -moz-image-region: rect(16px 16px 32px 0px);
}

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

.feedsMenu[open="true"] {
  -moz-image-region: rect(48px 16px 64px 0px);
}

#feedsButton {
  list-style-image: url("chrome://navigator/skin/btn1/feeds.png");
  -moz-image-region: rect(0px 32px 16px 16px);
}

#feedsButton:hover {
  -moz-image-region: rect(16px 32px 32px 16px);
}
