@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

toolbox {
  background: none !important;
  -moz-appearance: toolbox !important;
  background-color: -moz-Dialog !important;
  border-top: 2px solid !important;
  -moz-border-top-colors: ThreeDShadow ThreeDHighlight !important;
}
#navigator-toolbox {
  padding-bottom: 0 !important; 
}
toolbar[type="menubar"] { 
  border-top: 0 !important; 
}  
toolbar, menubar:not([id="main-menubar"]), #PersonalToolbar, #nav-bar { 
  -moz-appearance: toolbox !important; 
  background: none !important; 
} 
menubar#main-menubar { 
  -moz-appearance: none !important; 
} 
#nav-bar[glassToMe="true"] {
  -moz-appearance: none !important;
}
toolbar, #PersonalToolbar, #nav-bar { 
  border-top: 1px solid ThreeDHighlight !important; 
  border-bottom: 1px solid ThreeDShadow !important; 
  -moz-border-top-colors: ThreeDHighlight ThreeDHighlight !important; 
} 
#nav-bar[glassToMe="true"] {
  border-top: 0 !important; 
}
.tabbrowser-tabs { 
-moz-appearance: toolbox !important; 
border-top: 0 !important; 
  background: url("chrome://browser/skin/tabbrowser/tabbrowser-tabs-bkgnd.png") !important; 
} 
.tabbrowser-tab:not([selected="true"]) { 
  background: url("chrome://browser/skin/tabbrowser/tab-bkgnd2.png") repeat-x !important; 
} 
.tabbrowser-tab:not([selected="true"]):hover { 
  background-image: url("chrome://browser/skin/tabbrowser/tab-hover-bkgnd2.png") !important; 
} 
.tabbrowser-tab[selected="true"] { 
  background-image: url("chrome://browser/skin/tabbrowser/tab-active-bkgnd2.png") !important;
} 
.tabbrowser-tab {
  -moz-border-top-colors: ThreeDShadow ThreeDFace !important;
  -moz-border-right-colors: ThreeDShadow !important;
  -moz-border-left-colors: ThreeDShadow ThreeDFace !important;
}
.tabbrowser-tab[selected="true"], .tabs-bottom { 
  background-color: -moz-dialog !important; 
} 
.tabs-bottom {
  border-top: 1px solid threedshadow !important;
  border-bottom: 1px solid threedshadow !important;
}
#main-window #sidebar-box sidebarheader, #main-window #sidebar-box toolbox, 
#main-window #sidebar-box toolbar {
  -moz-appearance: toolbox !important;
  background: none !important;
}
#main-window #aios-toggle-toolbox, #main-window #aios-toggle-toolbox toolbar, 
#main-window #aiostbx-left-toolbox, #identity-box, .searchbar-engine-button, 
#aiostbx-left-toolbox toolbar, #webpanels-window #commandBar, #bmHi-toolbar, 
page#bookmarksPanel popup#placesContext + hbox[align="center"],
page#history-panel popup#placesContext  + hbox[align="center"], #sidebar-splitter {
  background: -moz-dialog !important;
}
statusbar, #status-bar {
  -moz-appearance: statusbar !important;
  border-top: 1px solid ThreeDLightShadow !important;
  border-left: 1px solid ThreeDShadow !important;
  border-right: 1px solid ThreeDHighlight !important;
  border-bottom: 1px solid ThreeDHighlight !important;
  background-color: -moz-Dialog !important;
}
statusbarpanel {
  -moz-appearance: statusbarpanel !important;
  border-left: 1px solid ThreeDHighlight !important;
  border-top: 1px solid ThreeDHighlight !important;
  border-right: 1px solid ThreeDShadow !important;
  border-bottom: 1px solid ThreeDShadow !important;
}
window, page, dialog, wizard, prefwindow {
  background-color: -moz-Dialog !important;
  color: -moz-DialogText !important;
  font: message-box !important;
}