/* AGENT_SHEET */
/* throbber*/
.tab-throbber[progress] {
	list-style-image: url("chrome://browser/skin/places/searching_16.png") !important;
}

toolbar {
	background: transparent !important;
        color: #ffffff !important;
        -moz-appearance: none !important;
	border: none !important;
}

/*Reduce titlebar margin - choose margin according your windows theme (minimize, maximize close buttons)*/
#main-window {
	margin-top: 8px !important;
}

#main-window[sizemode="normal"] #navigator-toolbox[tabsontop="true"] 
#TabsToolbar,#main-window[sizemode="normal"] #appmenu-button-container {
    padding-left: 0px !important;
}

#TabsToolbar[tabsontop="true"] {
	background: none !important;
	margin-bottom: 0 !important;
	height: 25px !important;
}

/* show close + hide throbber & favicon on hover */
.tabbrowser-tab:hover .tab-close-button {
  display: block !important;
}


#urlbar {
	background: -moz-linear-gradient(left, rgba(255,255,255,.1), rgba(255,255,255,.1), rgba(255,255,255,.1)) !important;
        color: #ffffff !important;
        text-shadow: #222222 0px 0px 2px !important;
}

#searchbar > *, #search-box {background: -moz-linear-gradient(left, rgba(255,255,255,.0), rgba(255,255,255,.0), rgba(255,255,255,.0)) !important;
        color: #ffffff !important;
        text-shadow: #000000 0px 0px 1px !important;
}

#navigator-toolbox::after {
	height: 0 !important;
}
#main-window[sizemode="maximized"] {
	margin-top: -1px !important;
}

#main-window[sizemode="fullscreen"] {
	margin-top: 0 !important;
}

/*remove background of the combined go/reload/stop button in location bar*/
#urlbar > toolbarbutton {
	border-left: none !important;
	border-radius: 0 !important;
	padding-left: 0px !important;
}
#urlbar-go-button, #urlbar-go-button:hover, #urlbar-reload-button, #urlbar-reload-button:hover, #urlbar-stop-button, #urlbar-stop-button:hover {
	background-image: none !important;
	box-shadow: none !important;
}

#urlbar:hover {
	background: -moz-linear-gradient(left, rgba(255,255,255,.9), rgba(255,255,255,.9), rgba(255,255,255,.9)) !important;
 color: #ffffff !important;
        text-shadow: #222222 0px 0px 7px !important;
}

#searchbar:hover > *, .findbar-textbox:hover {
	background: -moz-linear-gradient(left, rgba(255,255,255,.4), rgba(255,255,255,.0)) !important;
}
.urlbar-over-link-box {
	color: #222222 !important;
}

#alltabs-button,#tabview-button{
  margin-right: -10px !important;
}
.tabs-newtab-button:hover, #new-tab-button:hover, .scrollbutton-down:hover, .scrollbutton-up:hover, #alltabs-button, #tabview-button:hover, #TabsToolbar #feed-button {
	-moz-appearance: none !important;
	background: none !important;
	box-shadow: none !important;
	border: none !important;
}
.toolbarbutton-1 > .toolbarbutton-menubutton-button, .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker, .toolbarbutton-1 {
	background: none !important;
	box-shadow: none !important;
	border-color: transparent !important;
}
.toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled="true"]):not(:active):hover, .toolbarbutton-1:not([open="true"]):not(:active):hover > .toolbarbutton-menubutton-dropmarker:not([disabled="true"]),  .toolbarbutton-1:not([type="menu-button"]):not([disabled="true"]):not([checked="true"]):not([open="true"]):not(:active):hover{
	background-color: hsla(190,60%,70%,.5) !important;
	border-color: hsla(190,50%,65%,.8) hsla(190,50%,50%,.8) hsla(190,50%,40%,.8) !important;
	box-shadow: 0 0 0 1px rgba(255,255,255,.3) inset, 0 0 0 1.5px rgba(255,255,255,.1) inset, 0 1px 0 rgba(0,0,0,.1), 0 0 3.5px hsl(190,90%,80%) !important;
	-moz-transition: background-color .4s ease-in,  border-color .2s ease-in,  box-shadow .2s ease-in !important;
}

#main-window[sizemode="maximized"][tabsontop="true"] #appmenu-button-container 
{    position: fixed !important; 
     margin: 6px 0px 4px 2px !important;
 }

#appmenu-button-container
{    position: fixed !important;
    top: 0 !important;   }

/* sidebar,verticalbar,xFiretoolbar aero */
	
#bookmarksPanel,#history-panel,
.sidebar-placesTree,#browser-border-start,#browser-border-end
 {
	background-color: transparent !important;
	-moz-appearance: -moz-win-glass !important;
	border: none !important;
	margin-left: -1px !important;
}

#sidebar-splitter {
	background-color: transparent !important;
	border: none !important;
}	

#appmenu-button {
-moz-appearance: none !important;
background-color: transparent !important;
background: none !important; 
}

.toolbarbutton-1 > .toolbarbutton-menubutton-button, .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker, .toolbarbutton-1 {
opacity: 1 !important;	
border: none !important;
}

#content,
#appcontent,
#content > tabbox > tabpanels {
  background-color: transparent !important;
}

#main-window[inFullscreen="true"]{
  -moz-appearance: -moz-win-borderless-glass !important;
  background: none !important;
}

#main-window[stylish-url="about:blank"]:not([onclose^="PrintUtils"]):not([title^="View Source Chart"]) #content browser:not([src]){ 
opacity: 0 !important;
}

#PersonalToolbar {
	background-color: rgba(255,255,255,.1) !important;
	border: none !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding: 0 !important;
}
.tabbrowser-tab:not([selected="true"]) {
	background-image: -moz-linear-gradient(rgba(0,0,0,.1), rgba(0,0,0,.4)) !important;
	color: #dddddd !important;
	text-shadow: none !important;
}


.tabbrowser-tab:not([selected="true"]):hover {
	background-image: -moz-linear-gradient(rgba(0,0,0,.2), rgba(0,0,0,.5)) !important;
}
.tabbrowser-tab{
	margin-top: -1px !important;}

.tabbrowser-tab[selected="true"] {
	background-image: -moz-linear-gradient(rgba(255,255,255,.2), rgba(255,255,255,.5)) !important;
	text-shadow: none !important;
}
.tabbrowser-tab[pinned] {
	height: 23px !important;
}
.tabs-newtab-button {
	background: none !important;
	border: none !important;
}

/*Sidebar search*/

#bookmarksPanel,
#history-panel
{ 
-moz-box-direction: reverse;
}

label[value='Search:']
{
margin-left: 0px !important;
}

#bookmarksPanel
{
margin: 0px 0px 3px 0px !important;
}

#search-box
{
margin: 2px 0px 0px 4px !important;
}

#bookmarksPanel label[control="search-box"],
#history-panel label[control="search-box"],#viewButton > hbox > hbox > label {
display: none !important;
}

/* sidebar,verticalbar,xFiretoolbar aero */

#bookmarksPanel,#history-panel,
.sidebar-placesTreechildren { color: blue !important;} /* <-Siderbar text color */

#bookmarksPanel,#history-panel,
.sidebar-placesTree,#browser-border-start,#browser-border-end
 {
	background-color: transparent !important;
	-moz-appearance: -moz-win-glass !important;
	border: none !important;
	margin-left: -1px !important;
}

#xfirexo,#vertical-toolbox,#sidebar
 {
	background-image: -moz-linear-gradient(rgba(255,255,255,.1), rgba(255,255,255,.1)) !important;
	background-color: transparent !important;
	-moz-appearance: -moz-win-glass !important;
	border: none !important;
}

#sidebar-splitter {
	background-color: transparent !important;
	border: none !important;
}

/*Scrollbar aero*/

scrollbar {-moz-appearance: -moz-win-glass !important; background: rgba(255,255,255,.9) !important; }

scrollbar > * {-moz-appearance: none !important;  border: none !important; background-color: rgba(255,255,255,0) !important; }

scrollbar > * *  { -moz-appearance: none !important;  -moz-box-shadow: 0px 0px 0px 0px rgba(20,20,20,.1), inset 0px 0px 3px 1px rgba(20,20,20,.8) !important; border-width: 0px !important; background: -moz-radial-gradient(center, rgba(50,50,50,.1), rgba(200,200,200,.8)) !important; -moz-border-radius: 0px !important; }

scrollbar:hover > * *{background: -moz-radial-gradient(center, rgba(50,100,150,.1), rgba(150,200,255,1)) !important;}

/* Combined go/reload/stop on left side */

#urlbar > .autocomplete-textbox-container
{
	-moz-box-ordinal-group: 2;
}

#urlbar > .autocomplete-history-dropmarker
{
	-moz-box-ordinal-group: 3;
}

#urlbar > toolbarbutton
{
	margin: -2px !important;
	border: none !important;
	padding-left: 5px !important;
	border-right: 1px solid rgba(0,0,0,.35) !important;
	border-top-left-radius: 0px !important;
	border-bottom-left-radius: 0px !important;
	border-top-right-radius: 0px !important;
	border-bottom-right-radius: 0px !important;
	margin-right: 0px !important;
	box-shadow: 1px 1px 0 rgba(0,0,0,.1) inset,
		    -1px -1px 0 rgba(255,255,255,.2) inset !important;
}

#urlbar > toolbarbutton:active:hover {
	border-top-left-radius: 0px !important;
	border-bottom-left-radius: 0px !important;
	border-top-right-radius: 0px !important;
	border-bottom-right-radius: 0px !important;
	padding-left: 0px !important;
	padding-right: 3px !important;
	box-shadow: 1px 1px 0 rgba(0,0,0,.1) inset,
		    -1px -1px 0 rgba(255,255,255,.2) inset,
		    0 0 6.5px rgba(0,0,0,.4) inset,
		    0 0 2px rgba(0,0,0,.4) inset !important;
}

/* Remove left and right scroll buttons which appear at 70 tabs, and disappear 
   again at 68 tabs -- tabs get smaller and will never scroll with this setup */
.scrollbutton-up, .scrollbutton-down {display: none !important;}

/* reduce wastes space in all tabs, reduces app-tabs width by 1/3 */
.tab-icon-image {
margin-left: 1px !important;
margin-right: 1px !important; }

/* CreativeCommon Av3LaR */
/* Credit must go to every people who made this possible including foxxyn8 and many others*/