@-moz-document url("chrome://browser/content/browser.xul") {

#nav-bar {
-moz-appearance: menubar !important;
}

#ff-title {
font-weight: bold !important;
color: threeddarkshadow !important;
}

window[active="true"] #ff-title,
window[active="true"] #toolbar-menubar > * {
color: white !important;
text-shadow: 1px 1px 1px black !important;
}

#toolbar-menubar {
-moz-appearance: none !important;
background: -moz-linear-gradient(rgba(255, 255, 255, .6), -moz-dialog 12px), -moz-dialog !important;
border-bottom: 1px solid -moz-dialog !important;
}

#toolbar-menubar statusbarpanel#reminderFox-statusLabel {
-moz-appearance: toolbarbutton !important;
margin: -3px 0 !important;
}

#toolbar-menubar > toolbarbutton {
margin: -3px 0 !important;
}

window[active="true"] #toolbar-menubar {
background: -moz-linear-gradient(rgba(255, 255, 191, .4) 2px, rgba(255, 255, 191, .25) 9px, rgba(63, 63, 63, .025) 18px, transparent), highlight !important;
border-bottom: 1px outset highlight !important;
}

#main-menubar > menu {
font-size: 8pt !important;
text-shadow: none !important;
}

#main-menubar > menu:not([open]) {
color: threeddarkshadow !important;
}

#main-menubar {
border-left: 2px threedface groove !important;
border-right: 2px threedface groove !important;
margin: 0 !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: white !important;
text-shadow: 1px 1px 1px black !important;
}

#toolbar-menubar > * {
color: graytext !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 threedhighlight groove !important;
-moz-border-radius: 16px !important;
}

window resizer.frame-resizer[dir="bottom"] {
height: 5px !important;
background-color: -moz-dialog !important;
border-bottom: 2px threedshadow ridge !important;
}

window resizer.frame-resizer[dir="bottomleft"],
window resizer.frame-resizer[dir="bottomright"] {
height: 5px !important;
background-color: -moz-dialog !important;
border-bottom: 2px threedshadow ridge !important;
}

window resizer.frame-resizer[dir="bottomleft"] {
border-left: 2px threedface groove !important;
}

window resizer.frame-resizer[dir="bottomright"] {
border-right: 2px threedshadow ridge !important;
}

window[active="true"]  resizer.frame-resizer[dir="left"],
window[active="true"]  resizer.frame-resizer[dir="topleft"] {
background: -moz-linear-gradient(rgba(255, 255, 191, .4) 2px, rgba(255, 255, 191, .25) 9px, rgba(63, 63, 63, .025) 18px, transparent 24px, threeddarkshadow 25px, -moz-dialog 25px), highlight !important;
border-left: 2px threedface 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(rgba(255, 255, 191, .4) 2px, rgba(255, 255, 191, .25) 9px, rgba(63, 63, 63, .025) 18px, transparent 24px, threeddarkshadow 25px, -moz-dialog 25px), highlight !important;
border-right: 2px threedshadow ridge !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;
}

#ff-minimize-button,
#ff-close-button,
#ff-maximize-button,
#ff-restore-button {
-moz-appearance: none !important;
width: 24px !important;
border: 2px groove -moz-dialog !important;
border-right: 2px ridge -moz-dialog !important;
border-bottom: 2px ridge -moz-dialog !important;
background-color: transparent !important;
margin: 0 1px !important;
-moz-border-radius: 3px !important;
}

window[active="true"] #ff-minimize-button,
window[active="true"] #ff-close-button,
window[active="true"] #ff-maximize-button,
window[active="true"] #ff-restore-button {
-moz-appearance: none !important;
border: 2px groove highlight !important;
border-right: 2px ridge highlight !important;
border-bottom: 2px ridge highlight !important;
background-color: transparent !important;
margin: 0 1px !important;
}

#ff-minimize-button:hover,
#ff-close-button:hover,
#ff-maximize-button:hover,
#ff-restore-button:hover {
background: rgba(255, 255, 255, .75) !important;
}

window[active="true"] #ff-minimize-button:hover:not(:active),
window[active="true"] #ff-close-button:hover:not(:active),
window[active="true"] #ff-maximize-button:hover:not(:active),
window[active="true"] #ff-restore-button:hover:not(:active) {
background: rgba(255, 255, 255, .25) !important;
}

#ff-minimize-button:active,
#ff-close-button:active,
#ff-maximize-button:active,
#ff-restore-button:active {
background: -moz-linear-gradient(transparent, rgba(0, 0, 0, .5)) !important;
}

#ff-fullscreen-button {
display:none!important;
}

}