@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;
}




/*  ADJUST TEXT BOX WIDTH

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;
   padding-right: 20px !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"]{
   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;
}




/*-----------------------------------------------------------------------------*/





/* Find bar style */

#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;
   border: 1px solid rgba(0,0,0,0.25) !important;
   border-top: none !important;   
   padding-right:3px!important 
}

/*  Positions check box in text field  */

.findbar-container>checkbox{
   margin-left:-24px !important;
   margin-right: -3px !important
}


/*  Positions find bar in full-screen mode  */

#main-window[sizemode="fullscreen"] #FindToolbar{
    top: 0px;
    right: 17px;
}


/*  Removes all text, centers icons on buttons and removes excess padding  */ 

#FindToolbar label[class="checkbox-label"],
#FindToolbar label[value="Quick Find:"],
#FindToolbar label[value="Find:"],
#FindToolbar label[value="Clear"],
#FindToolbar .findbar-find-fast.findbar-find-status,
#FindToolbar .findbar-container>image{
   display: none !important; 
} 
#FindToolbar toolbarbutton{
   padding-left: 5px !important;
   padding-right: 0px !important;
   margin-left: -1px !important;
}
#FindToolbar label[value="Highlight all"]{
   opacity: 0;
   margin:-34px!important
}
#FindToolbar label[value="Next"]{
   opacity: 0;
   margin:-13px!important
}
#FindToolbar label[value="Previous"]{
   opacity: 0;
   margin:-23px!important
}

#FindToolbar label[value="(Case sensitive)"]{
   opacity: 0;
   margin-right:-76px!important
}





/*  Adds a border to the text box and adjusts position  */

#FindToolbar .findbar-textbox{
   -moz-appearance: none !important; 
   border: 1px solid rgba(0,0,0,.3) !important;
   border-radius:  5px 0 0 5px !important;
   -moz-box-shadow: inset 0px 1px 0px 0px rgba(0,0,0,0.15) !important;
   margin-right: 2px!important;
   margin-left:-5px!important
}


/*  Gives a highlight color when hovering over the buttons  */

#FindToolbar toolbarbutton.findbar-find-next:hover, 
#FindToolbar toolbarbutton.findbar-find-previous:hover{
    background: rgb(251,252,253) !important;
}
#FindToolbar toolbarbutton.findbar-highlight:hover{
    background: rgb(228,234,242) !important;
}
#FindToolbar toolbarbutton.findbar-find-next,
#FindToolbar toolbarbutton.findbar-find-previous{
   background-image: -moz-linear-gradient(rgb(242,246,250), rgb(214,223,234)) !important;
}

#FindToolbar toolbarbutton.findbar-highlight.tabbable[checked="true"]{
   background: rgb(251,252,253) !important;
   -moz-box-shadow: inset 0px 1px 0px 0px rgba(0,0,0,0.15) !important;
}


/*  Adds a border to the buttons  */

#FindToolbar toolbarbutton.findbar-find-next.tabbable{
   -moz-appearance: none !important;
   border: 1px solid rgba(0,0,0,0.3) !important;
   height:21px !important;
}


#FindToolbar toolbarbutton.findbar-find-previous.tabbable{
   -moz-appearance: none !important;
   border: 1px solid rgba(0,0,0,0.3) !important;
   -moz-border-radius: 0 5px 5px 0 !important;      
   height:21px !important;
margin-right: 2px!important
}


#FindToolbar toolbarbutton.findbar-highlight.tabbable{
   -moz-appearance: none !important;
   border: 1px solid rgba(0,0,0,0.3) !important;
   height:21px !important;
}


/*  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; 
}

.findbar-closebutton{
   list-style-image: none !important;
   background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAD2EAAA9hAHVrK90AAAABGdBTUEAALGOfPtRkwAAACBjSFJNAAB6JQAAgIMAAPn/AACA6QAAdTAAAOpgAAA6mAAAF2+SX8VGAAABVElEQVR42mL8//8/AzUBQAAxMVAZAAQQ1Q0ECCCqGwgQQCzoAvkN3Q5ACoQ/TGwonYBNE1BNAZASAOINQDUXkOUAAgibC0EKAoC4H6hxARbDQJb0Q9U8QJcHCCBGbLEM1GQApA4AMT8QJwJdsQAqngCk5gPxQyA2AIp/QNcLEECMuJIN1Ov7oVxHqBfXA/FHUJCgexUGAAKIEV86RHLRR6gQyMWOQMMO4NIDEEB4Yxnq1YVQg0C4EJ9hIAAQQHgNBLoQ5E0DJKEAQskGIIAIpUOQa/ShrrwIxPbYYh4ZAAQQEx7XLYAadhHoTVBYJkDDMh6aDrECgABiwmEYKK3FQ13lAA3PC0heBqVRrN4HCCAmHDGbD3VNAnJag0ZIIpS7AJpeUQBAADFhiQQFIG7EldagMV8IxBPQIgwMAAKIkdrlIUAAUb20AQggqhsIEEBUNxAgwAD1Mmk1Ns1bkQAAAABJRU5ErkJggg==") center no-repeat !important; }


/*  Order of the buttons  */

#FindToolbar toolbarbutton.findbar-clear-tweak.tabbable{
   -moz-box-ordinal-group: 1 !important;
   margin-right: -6px !important;
   margin-left: 3px!important;
   -moz-appearance: none !important;
   padding: 0px !important;
   border: none !important
}
#FindToolbar textbox.findbar-textbox{
   -moz-box-ordinal-group: 2 !important
}
#FindToolbar checkbox{ 
  -moz-box-ordinal-group: 3 !important;
}
#FindToolbar toolbarbutton.findbar-highlight{
   -moz-box-ordinal-group: 4 !important;
margin-left:-3px !important
}
#FindToolbar toolbarbutton.findbar-find-next{
   -moz-box-ordinal-group: 5 !important
}
#FindToolbar toolbarbutton.findbar-find-previous{
   -moz-box-ordinal-group: 6 !important
}

/*  For close button on the left delete this code  */

#FindToolbar .findbar-closebutton{
   -moz-box-ordinal-group: 7 !important;
}
