@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);


/*---------------  OPTIONS - CHANGE THE DEFAULT SETTING HERE -------------------*/






/*  FIND BAR TWEAK USERS DELETE THIS CODE - ALSO FOR OTHERS, IF YOU DON'T WANT BUTTONS ON QUICK FIND  */

#FindToolbar > .findbar-container>* {
   display: -moz-box !important;
}






/*  REMOVE MATCH CASE

Remove * and / at the top and bottom of the following code  */

/*
#FindToolbar .findbar-container>checkbox{
   display: none !important;
}	
*/		

 


/*  REMOVE HIGHLIGHTER

Remove * and / at the top and bottom of the following code  */

/*
#FindToolbar .findbar-container>toolbarbutton.findbar-highlight{
   display: none !important;
}
*/




/*  CHANGE COLOR WHEN PHRASE NOT FOUND BACK TO RED  

change background: rgba(255,0,0,0.99) and color: white  */

#FindToolbar .findbar-textbox[status="notfound"]{
   -moz-appearance: none !important;
   background: rgba(207,219,236,0.99) !important;
   color: black !important;
   -moz-box-shadow: none !important; 
}





/*  ADJUST POSITION OF FIND BAR

If you are using small icons on the navigation bar move the find bar up by changing top: 59px;  */ 

#FindToolbar{
   position: fixed;
   top: 67px;
   right: 17px;
}




/*  ADJUST POSITION OF FIND BAR IN NORMAL (UN-MAXIMIZED) WINDOW MODE

If you are using small icons on the navigation bar move the find bar up by changing top: 74px;  */

#main-window[sizemode="normal"] #FindToolbar{
   top: 82px;
   right: 18px;
}




/*  CHANGE COLOR AND SHAPE OF FIND BAR

For black themes change background to rgba(0,0,0,0.99)
Change border-radius from 8px to 12px for rounder shape.
If you don't want the drop shadow delete the line -moz-box-shadow...    */

#FindToolbar{
   background: rgba(207,219,236,0.99) !important;
   border-radius: 0  0 8px 8px !important;
   -moz-box-shadow: 0px 10px 5px -10px rgba(0,0,0,.3) !important;
}




/*  ADJUST TEXT BOX WIDTH, HEIGHT AND COLOR


Change value of width from 16em to 12.5em to get original size  */

#FindToolbar .findbar-textbox{
   width: 16em !important; 
   height:21px!important;  
   background: rgba(251,252,253,0.99) !important;
}




/* IF YOU PREFER THE OLD ICONS DELETE CODE WHERE INSTRUCTED AT THE END  */



/*-----------------------------------------------------------------------------*/




/*  Gives find bar border and adjusts padding */

#FindToolbar{
   border: 1px solid rgba(0,0,0,0.25) !important;
   border-top: none !important;   
   padding-right:3px!important 
}
.findbar-container>checkbox{
   margin-right: -7px !important;
   margin-left: 1px !important;
}


/*  Positions find bar in full-screen mode  */

#main-window[sizemode="fullscreen"] #FindToolbar{
    top: 0px;
    right: 17px;
}



/*  Removes labels, alert message and alert image, centers icons on buttons and removes excess padding  */ 

#FindToolbar label, #FindToolbar description,
#FindToolbar label[value="Quick Find:"],
#FindToolbar label[value="Find:"],
#FindToolbar label[value="(Case sensitive)"],
#FindToolbar .findbar-find-fast.findbar-find-status{
   display: none !important;
   margin-left: -5px !important
}
#FindToolbar .findbar-container>image{
   display: none !important;
}
#FindToolbar toolbarbutton{
   padding-left: 4px !important;
   padding-right: 0px !important;
   margin-left: -1px !important;
}



/*  Adds a border to the text box  */

#FindToolbar .findbar-textbox{
   border: 1px solid rgba(0,0,0,.3) !important;
   border-radius: 4px !important;
   -moz-appearance: none !important;   
   -moz-box-shadow: inset 0px 1px 0px 0px rgba(0,0,0,0.15) !important;
   margin-right: 0px!important;   
}



/*  DELETE FROM HERE TO REMOVE NEW ICONS, HIGHLIGHTS AND BORDERS  */



/*  Gives a highlight color when hovering over the buttons  */


#FindToolbar toolbarbutton.findbar-find-next:hover,
#FindToolbar toolbarbutton.findbar-find-previous:hover,
#FindToolbar toolbarbutton.findbar-highlight:hover,
#FindToolbar toolbarbutton.findbar-highlight.tabbable[checked="true"],
#FindToolbar toolbarbutton.findbar-clear-tweak.tabbable:hover{
    background: rgb(232,236,248) !important;
}


/*  Adds a border to the buttons  */

#FindToolbar toolbarbutton.findbar-find-next.tabbable,
#FindToolbar toolbarbutton.findbar-find-previous.tabbable,
#FindToolbar toolbarbutton.findbar-highlight.tabbable,
#FindToolbar toolbarbutton.findbar-clear-tweak.tabbable{
   -moz-appearance: none !important;
   border: 1px solid rgba(0,0,0,0.3) !important;
   -moz-border-radius: 4px !important;      
   height:21px !important;
}
#FindToolbar toolbarbutton.findbar-clear-tweak.tabbable{
   padding: 0px !important;
}


/*  DELETE FROM HERE TO ONLY REMOVE NEW ICONS  */


/*  Images for the buttons  */

/*  Next button  */

#FindToolbar toolbarbutton image[label="Next"]{ 
list-style-image: none !important; 
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAD2EAAA9hAHVrK90AAAABGdBTUEAALGOfPtRkwAAACBjSFJNAAB6JQAAgIMAAPn/AACA6QAAdTAAAOpgAAA6mAAAF2+SX8VGAAABQElEQVR42mL8//8/AzUBQAAxMVAZAAQQ1Q0ECCCqGwgQQFQ3ECCAqG4gQACxIHPy67sSgdQCICY26lmBuGRiY1k7TAAggNBdOAGKmYkwjAuIFwFxNbIgQAChGwhyWR4Qz4NqwAWEgXg1EEcA8R9kCYAAQjfwF5SOA+J1QCyGxTBlIN4GxF5Q/mdkSYAAQjcwH4i/QtnuUI0KSPL6QLwTiM2g/NdAnIRsAEAAoRu4HIh9gPgZlG8MxLuA2Bbqoi1QF4LALSB2BeLdyAYABBALFi8dgGpeBcRqQKwKxHuRYhUETgFxOBA/QNcMEEC40uFFIHYD4qNIBsEM2wK18AE2jQABhC9hP4R6fxuSGCiZhADxW1yaAAKIhUBa+wA1YArUkAog/odPA0AAMVK7PAQIIKrnZYAAorqBAAFEdQMBAgwAT/YyO1WcfGYAAAAASUVORK5CYII=) center no-repeat !important; 
}

/*  Previous button  */

#FindToolbar toolbarbutton image[label="Previous"]{ 
list-style-image: none !important; 
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAD2EAAA9hAHVrK90AAAABGdBTUEAALGOfPtRkwAAACBjSFJNAAB6JQAAgIMAAPn/AACA6QAAdTAAAOpgAAA6mAAAF2+SX8VGAAABRklEQVR42mL8//8/AzUBQAAxMVAZAAQQ1Q0ECCCqGwgQQFQ3ECCAWJA5+fVd2NRwAvEUIH4LxBVA/A9dwcTGMjgbIIBYCFgoAMRLgdgLyhcH4jQg/olLA0AA4fOyPBBvQTIMBOKAeA0QC+PSBBBAuAzUB+JdQGwN5f+GYhDwAeJtQKyATSNAAGEz0AGqQQ3Kvw3EzkAcAMRPoGJmQLwTajEKAAggdAMjod6UgvLPArEbEB+GWgJy3V2oHMjC3UDsimwAQAChGzgRiLmh7J3Q8HuAJH8RiN2B+BSULwrE85ANAAggdAPZoPQiIA4C4ldYguQu1KJtUD4vsiRAAKEbyAjEk4A4CYi/4UkBoDQZCsQr0JMeQAChp8MCIF4AxMQUQd+gyagEWRAggBipXXwBBBDV8zJAAFHdQIAAorqBAAFEdQMBAgwAj+MwMtTfhqEAAAAASUVORK5CYII=) center !important; 
}

/*  Highlight button  */

#FindToolbar toolbarbutton image[label="Highlight all"]{ 
list-style-image: none !important; 
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAAB6JQAAgIMAAPn/AACA6QAAdTAAAOpgAAA6mAAAF2+SX8VGAAABlElEQVR42mL8//8/Ay0BQAAxMdAYAAQQzS0ACCCaWwAQQDS3ACCAWEjVsGzLvv/HLlxjsDLQYojycWIkpB4ggJhINZyfl5thcnU2Aw83J8OijbsJJkGAAGIi1XAvOzOG33/+MDia6TMwMzExzF69Da8lAAHERI7hP3/9Zvj24yeDlaE2mD9l6UaclgAEEBMphv/5+xdu+LfvQPzjB4OpjjrD4aNHceoHCCAWclwOMxxE7z1xnsHc3BynGQABxIivqNC3dPh/4dh+rIZ///GLYc/xcwxsbKwMRfHBOFMTQADhDaJLJw4yxBU1gA1DdzkxhoMAQADhDKL44kaw15ZMaALzm4oz4YbvO3mBKMNBACCAcFrw8d0bOBtmSV5SFDjMiTUcBAACiAEUB+h4w96j/0HYyt0f5As41rOw/9+7YM1/bHpwYYAAwumD4xeuM9i6+YLZKtqGDAt76xnJKYsAAogFl+GHd20Gs4/u2MBISWEHEECMtK7RAAKI5sU1QADR3AKAAKK5BQABRHMLAAKI5hYABBgAGVz2EZX7WKAAAAAASUVORK5CYII=) center no-repeat !important; 
}


#FindToolbar toolbarbutton image[label="Clear"]{ 
margin-left: 2px !important;
margin-right:3px !important; 
}

