@-moz-document url("chrome://browser/content/browser.xul") {

#toolbar-menubar {
-moz-appearance: none !important;
border-bottom: 1px solid transparent !important;
}

#toolbar-menubar > toolbarbutton {
margin: -3px 0 !important;
}

window[active="true"] #toolbar-menubar {
background: -moz-linear-gradient(transparent, rgba(0, 0, 0, .25) 18px), highlight !important;
border-bottom: 1px solid black !important;
}

#main-menubar > menu:not([open]) {
color: graytext !important;
}

#main-menubar > menu {
font-size: 8pt !important;
}

#main-menubar {
border-left: 2px threedface groove !important;
border-right: 2px threedface groove !important;
margin: 0 8px !important;
}

window[active="true"] #main-menubar {
border-left: 2px highlight groove !important;
border-right: 2px highlight groove !important;
}

window[active="true"] #main-menubar > menu:not([open]) {
color: highlighttext !important;
text-shadow: 1px 1px 2px threeddarkshadow !important;
}

#ff-title {
font-weight: bold !important;
color: graytext !important;
}

window[active="true"] #ff-title {
color: highlighttext !important;
text-shadow: 1px 1px 2px threeddarkshadow !important;
}

window resizer.frame-resizer[dir="left"],
window resizer.frame-resizer[dir="topleft"] {
width: 5px !important;
background-color: -moz-dialog !important;
border-left: 2px -moz-dialog groove !important;
}

window resizer.frame-resizer[dir="right"],
window resizer.frame-resizer[dir="topright"] {
width: 5px !important;
background-color: -moz-dialog !important;
border-right: 1px -moz-dialog outset !important;
}

window resizer.frame-resizer[dir="top"],
window resizer.frame-resizer[dir="topleft"],
window resizer.frame-resizer[dir="topright"] {
background-color: -moz-dialog !important;
border-top: 2px threedface groove !important;
}

window resizer.frame-resizer[dir="bottom"],
window resizer.frame-resizer[dir="bottomleft"],
window resizer.frame-resizer[dir="bottomright"] {
height: 5px !important;
background-color: -moz-dialog !important;
border-bottom: 1px -moz-dialog outset !important;
}

window[active="true"]  resizer.frame-resizer[dir="left"],
window[active="true"]  resizer.frame-resizer[dir="topleft"] {
width: 5px !important;
background: -moz-linear-gradient(transparent, rgba(0, 0, 0, .25) 18px, rgba(255, 255, 255, .25) 48px), highlight !important;
border-left: 2px highlight groove !important;
}

window[active="true"] resizer.frame-resizer[dir="right"],
window[active="true"] resizer.frame-resizer[dir="topright"] {
width: 5px !important;
background: -moz-linear-gradient(transparent, rgba(0, 0, 0, .25) 18px, rgba(255, 255, 255, .25) 48px), highlight !important;
border-right: 1px highlight outset !important;
}

window[active="true"] resizer.frame-resizer[dir="top"],
window[active="true"]  resizer.frame-resizer[dir="topleft"],
window[active="true"] resizer.frame-resizer[dir="topright"] {
background-color: highlight !important;
border-top: 2px highlight groove !important;
}

window[active="true"] resizer.frame-resizer[dir="bottom"],
window[active="true"] resizer.frame-resizer[dir="bottomleft"],
window[active="true"] resizer.frame-resizer[dir="bottomright"] {
height: 5px !important;
background: -moz-linear-gradient(rgba(255, 255, 255, .25), rgba(255, 255, 255, .25) 18px), highlight !important;
border-bottom: 1px highlight outset !important;
}

#ff-minimize-button,
#ff-close-button,
#ff-maximize-button,
#ff-restore-button {
-moz-appearance: none !important;
border: 1px outset threedface !important;
border-right: 2px ridge threeddarkshadow !important;
border-bottom: 2px ridge threeddarkshadow !important;
background-color: threedface !important;
margin: 0 1px !important;
}

#ff-minimize-button:active,
#ff-close-button:active,
#ff-maximize-button:active,
#ff-restore-button:active {
border: 1px inset threedface !important;
border-left: 2px ridge threeddarkshadow !important;
border-top: 2px ridge threeddarkshadow !important;
}

#ff-fullscreen-button {
display:none!important;
}

}