/* AGENT_SHEET */
/* by makondo, 08.09 */
@namespace html url(http://www.w3.org/1999/xhtml);
@namespace xul url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

/* hides til hovered */
/* scrollbar:not(:hover) 
{ opacity: 0 !important; } */

/* =========== */
scrollcorner
{ -moz-appearance: none !important;
background: transparent !important; 
height: 0 !important;
width: 0 !important; }

gripper
{ -moz-appearance: none ! important;
background: none !important;
border: none !important;
width: 0 !important; }

/* =========== */

/* makes bg transparent - uncomment if you know what you're doing */
/* #content, #appcontent:not(:-moz-lwtheme) 
{ background-color: transparent !important;
-moz-appearance: none !important; } */

scrollbar *, scrollbar, * scrollbar
{ -moz-appearance: -moz-win-borderless-glass !important;
background: transparent !important; }

scrollbar[orient="vertical"],
scrollbar[orient="horizontal"] 
{ -moz-appearance: none !important;
background: none !important; }

scrollbar[orient="vertical"] 
{ margin-right: -4px !important; }

scrollbar[orient="horizontal"] 
{ margin-right: -6px!important; }

/* === IMAGES */

scrollbar thumb[orient="vertical"]
{ -moz-appearance: none !important;
height: 50px !important;
min-height: 20px !important;
border: none !important;
padding: 0 !important;
background: transparent url(data:image/gif;base64,R0lGODlhBgCQAbMPAAAAABAQECAgIDAwMEBAQFBQUGBgYHBwcICAgJCQkKCgoLCwsMDAwNDQ0ODg4PDw8CwAAAAABgCQAUAEsBDIiVJTBNSbN9bW53UhyYHniIrlarJpq85yHd9w/u5uT+O8n85nGwqDRSSQGHMYk8zn8hhVSq/WbHVL7UK90684TMYyE5kEomAocMdmcByuldfp7/Jdn5/z7X17foOChYGHgIl4in+Ljo2QLAkJBgAGA5gDIAtoiI+EnpGGjKCko5+noqGlqKuprKqmrrOyta22sbe6ubywvq/AtLu/wr3BuMTIx8PLxm+cHQjSCAARADs=) center 0px no-repeat !important; }

scrollbar thumb[orient="horizontal"]
{ -moz-appearance: none !important; 
border: none !important; 
background: transparent  url(data:image/gif;base64,R0lGODlh0QEFALMPAAAAABAQECAgIDAwMEBAQFBQUGBgYHBwcICAgJCQkKCgoLCwsMDAwNDQ0ODg4PDw8CwAAAAA0QEFAEAEmhClhKq9OOvNu/9gKI5kaZ5oqq5s676wOhVAbd94ru987//AoHBILBqPyKRyyWw6n9AoAKFYMBrYrHbL7Xq/4LB4TC6bz+i0es1uu9/wuHzORhgE00R1we/7/4CBgoOEhYaHiImKi4yNjo+QkZKTlJWWl5AKBwMAFAcGoKGio6SlpqeoqaqrrK2ur7CxsrO0tba3uLm6u7YFnBEAOw==) 0px center no-repeat !important; }

scrollbarbutton
{ -moz-appearance: none !important;
border: none !important;
background: transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAACXBIWXMAAC4jAAAuIwF4pT92AAAA4klEQVR42jXPPaqDQBAH8CWdJ3hd6kD6QO4gYuEBBMEP0EIFP0BEz+CKjZ0nSKGlvPeQgIWVHsQixGiKzYyQ4rf8dxh2Zkkcx4ckSQhyXfcHfe9oP8IwPJVleZum6TGO46MoilsQBKe9QdO0KzT8DsPA5nl+o77vGdTugCM8z1Pf95emaV5d163gVdf10/M8pqrqkYiiSBVFWSilK9jyPN+yLFtkWWa6rh+J4zhXaPqDeaxt2w280zRlgiDcoyji9iUtyzobhvFfVdWKMJumed6XhG9yGGzbvkiSRBFmrMELhw9B4Yc3YgC0lAAAAABJRU5ErkJggg==) center no-repeat !important; }

/* === Arrows (works for me, you might need to adjust or delete the following) */

/* top */ scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"] 
{ margin-bottom: -2px !important; }

/* bottom */ scrollbar[orient="vertical"] > scrollbarbutton[type="increment"] 
{ margin-left: 0px !important;
margin-top: -4px !important;
margin-bottom: -2px !important; }

/* left */ scrollbar[orient="horizontal"] > scrollbarbutton[type="decrement"]
{ margin-left: 0px !important;
margin-right: -4px !important; }

/* right */ scrollbar[orient="horizontal"] > scrollbarbutton[type="increment"] 
{ margin-top: 0px !important;
margin-left: -2px !important; }
