/* i really want this to be global */

/* 01.11, by makondo. Thanks to Ohne for the repositioning! */
/*@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);*/

/* for Fx24 */
/* .browserContainer > findbar
{ -moz-box-ordinal-group: 10 !important; }
.findbar-closebutton 
{ -moz-box-ordinal-group: 0 !important;
margin-left:-8px !important; } */


/* comment the first line if you want to SHOW 'Phrase not found' */
.findbar-find-fast.findbar-find-status,
.findbar-find-fast.find-status-icon[status="notfound"], 
image[label="Highlight all"], 
/* 'wrap' icon */ .findbar-find-fast.find-status-icon
{ display: none !important; }

/* comment this block if you need close button. You can close the bar by clicking its buutton again */
#browser-bottombox .findbar-closebutton
{ display: none !important; }

#main-window #FindToolbar:not(:-moz-lwtheme) 
{ /* drops findbar to the addons bar, thanks Ohne! > */
position: relative !important;
/* ===========  adjust to your liking */  
margin-right: 120px !important;
margin-bottom: -6px !important; }

#browser-bottombox .findbar-find-next.tabbable
{-moz-box-ordinal-group: 1 !important;}
#browser-bottombox .findbar-find-previous.tabbable
{-moz-box-ordinal-group: 2 !important;}
#browser-bottombox .findbar-highlight.tabbable
{-moz-box-ordinal-group: 3 !important;}
#browser-bottombox #FindToolbar > hbox > checkbox
{-moz-box-ordinal-group: 4 !important;}

.findbar-find-next.tabbable,
.findbar-find-previous.tabbable
{ margin-right: 6px !important; }

findbar, #FindToolbar
{ border: none !important;
background: none! important; }

#main-window #FindToolbar .findbar-container
{ -moz-appearance: none !important; 
direction: ltr !important; 
-moz-box-direction: reverse !important; 
margin-bottom: -22px !important; }

#main-window .findbar-textbox, #main-window .findbar-textbox.findbar-find-fast
{ min-width: 18em !important;
height: 20px !important;
margin-left: 20px !important; 
padding: 0px 3px !important;
margin-top: 1px !important; }

.findbar-textbox, .findbar-textbox.findbar-find-fast
{ -moz-appearance: none !important;
font-family: "Segoe UI", Verdana, Helvetica, sans-serif !important; 
color: #ccc !important;
font-size: 14px !important;
font-weight: normal !important; 
text-shadow: #000 0px 1px 4px !important;
background: radial-gradient(at top, rgba(255,255,255, .6), transparent) no-repeat !important;
border-radius: 3px !important;
border: 1px solid !important;
border-top-color: #222 !important;
border-right-color: #666 !important;
border-bottom-color: #777 !important;
border-left-color: #444 !important;
margin-top: -2px !important; }

/* not found bg */
.findbar-find-fast.findbar-find-status, 
.findbar-textbox[status="notfound"],
#SearchBox[style="background-color: red;"] .textbox-input 
{ -moz-appearance: none !important; 
background: radial-gradient(at top, rgba(255,0,0, .5), transparent), linear-gradient(rgba(205,0,0, .2), transparent, transparent) !important;
color: red !important;
font-weight: normal !important;
text-shadow: 1px 0px 0px #000, 1px -2px 4px black !important; }

/* 'Old' searchbar for SC editor */

#stylishCustomToolbox #findbar
{ margin-top: 4px !important; }

#SearchBox[style="background-color: red;"] .textbox-input 
{ padding: 4px !important;
margin: -4px !important; }

/* hides the word 'Find: ' */
.findbar-find-fast 
{ font-size: 0px !important; }

#FindToolbar .toolbarbutton-text, 
#FindToolbar checkbox label
{ font-weight: normal !important;
color: #ccc !important;
text-shadow: 1px 2px 1px black, 1px 2px 1px black, 1px 2px 1px black !important; }

#FindToolbar .checkbox-check
{ -moz-appearance: none !important;
margin-top: 3px !important; }

/* margin left of the 'previous */
.findbar-highlight.tabbable
{ margin-right: 12px !important; }

/* ========== close button */
#main-window .findbar-closebutton
{ width: 18px !important;
height: 18px !important;
border: none !important;
margin-left: -12px !important;
margin-bottom: 0px !important; } 

.findbar-closebutton:hover
{ opacity: 1 !important; }

/* ======== IMAGES ======== */
.findbar-closebutton
{ opacity: .75 !important;
list-style-image: none !important;
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAADAklEQVR42pVUOUskQRT+uro9x2u88MKZEY9AA3VFBAMzDUYTkUFBg1ETA8XEVQQTwcTMQDAw81dsttFGRkaCqIgHHuONt9O973vYMqzswhYU1VTVe+87XpfV0dHx3bbtKICkTNt1XfxtWJb151ZS9uynp6efTnZ2dqyysvLb29sbjDH/DPQ873PlGdf09HTs7u6GnZycnLuioqLk6+trUpDZWiaZ/EzqB/mDiHnGPbnnZmZmmrOzszsnNzfXrqiosF9eXnhgE1l+fj6en5/BvD6Kj0BFIFQ0YUZGhsVEx8fHxgQCAVRVVUHoIS8vD+vr67i/v0dDQwNKSkogRXSWlpaipqYGwgBra2t4f39HdXW1nklhywgiTVRcXIzm5mZMT09jdXUViUQCjY2NmoxJamtrIdWxtLSEgYEBdHd3o6CgQGO5khrKy8shoiuFWCymwQsLC1hZWUFLSwtEP1xfX2NmZgajo6MYHx/H5eUlGEsZyIRio6ysTLlTE0IeGhpCMBjE5OQkNjY2EAqFMDIygomJCd0TcTWGmolRmpD2K2+K6jiOomKy/v5+vbC4uAgaMD8/r0ioH6n696gxp5PaM77NXOkKadGhi4sLSON+6a/UtnAeHx/x8PCgGhARqxDhzs4Oent7MTU1hfr6evT09CjN9vZ2nJ+fIy0tTe+ypxhvd3Z2xsXW0NXVlScbhhQPDg5U9MHBQQwPD6OwsBCRSET1qaurU2pEKWg9SWZtbm4m7La2trj0UEjs5qY5PDzE2NgYotGoir6/v68IwuGwCjw3N6fftPwjxtra2krYTU1NcVE+dHt760mAmZ2dRVdXF/r6+jQJNSL909PTz8ZcXl7WZhR6npxZ29vbCVugxsWd0M3NjSe9YXixtbUVR0dH+pvQJU4mo+1sXPYde0sM0UR7e3sJRy65JycnrvxrrohtsS/kb/7yEviDyNgy1FKKuVlZWRA2Ll0LiGNGKhj/aUi1NfXbP5NA/xkxH9QDjrj1Q9wKyiYfNoP/GBJDFo5o++s3yYCV/Oco1SEAAAAASUVORK5CYII=") center no-repeat !important; }

.findbar-find-next.tabbable, .findbar-find-previous.tabbable,
.findbar-highlight.tabbable, #FindToolbar checkbox
{ opacity: .7 !important; }

.findbar-find-next.tabbable:hover, .findbar-find-previous.tabbable:hover,
.findbar-highlight.tabbable:hover, #FindToolbar checkbox:hover
{ opacity: 1 !important; }

#main-window .findbar-find-previous.tabbable image
{ margin-top: -3px !important;
width: 0px !important;
height: 18px !important;
padding-left: 18px !important;
list-style-image: none !important; 
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAC4jAAAuIwF4pT92AAADl0lEQVR42nVUWSitURT+kzyQzBEhGfJAUuYpD14oIjMPXoTMQ90HT2YyPsk8e5C6cn7Txe9weTi6QlHIizGhnHtM5/9vnL3uWvtepVv34WsN+1trr733WluIiYkpCw0NFVHOREVFzaI+FxQUNBcSEqJCzAUGBnKQHh4eLiLmIiIiSFch/ytxIyMjvwjR0dFr8fHxkJKSAomJiZCamsqRnp7OfZmZmRykf0ZycjLnkAwLC9MIaMwUFRUplZWVupKSEoVQWlqqFBcXy2VlZQqBbJK4JpOOkEkvLy/XkZ2QkPBNyMnJma2pqYHGxka5trbWUFdXBwT0sa6uLsjIyICkpCRobm6GhoYGhhxaJ8kwRo8+qnhFyM/PF0dHR2FkZEQZHBxkCOjr64OJiQno7+8HT09PsLOz44mmp6e5b2BgwICgGJliCwsLJaGqqkpUq9WwvLysLCwssMXFRZifn4ft7W0igKWlJRgZGfG72NjYAFpfWloyIJdiZEmSoLq6WhKwRNXx8TEcHBzIu7u7bG9vD05PT4GS+vr68kQWFhbg7OxMlbKzszPY399nOzs7DGP0R0dH0NLSsip0dHSIWq0Wbm9vlYuLC3Z3dwcvLy9QUFDAkzg6OoKbmxuYmZlBbGws8eD+/p5dXV3Bzc2NTLHd3d2S0NPTIxoMBnh9fVUwAXt7e4OtrS1wd3fniTw8PMDLywtsbGz4XeG9APKZoii0oUyx6PuT6P39HfR6vQIA7OnpCbKzs3mgi4sLT0LJqCpbW1vARoTr62uGXMBkMm2MFy4JnZ2dIpYKOp1OeXx8ZGNjY2Bubs6DXF1dwcnJiR+PdHt7ezAxMeGt8fDwAM/PzzLF8qPV19eLh4eHcHl5SS/A/Pz8wNjYGKysrBgdxdramoMSU5Wmpqbg4ODApqam4Pz8XD45OQHMscqfn551c3NTaWpq4i+FLQ84T/wYhA+dJM4X+Pj4MIwD3FjWaDSAHS4JeXl54vj4OG9IfF5qNDY8PMyGhoaAGhQl+5AfQNvQ29tLPP3k5CTk5uZKNGsqrISPCFWE7QBtbW3Q3t7OSLa2tsJniX5ADqNO/xsDaWlpqwIO3AyWplRUVPykQcRh1dPAos7lf6AnLsZocdh/xcXFLQl49u/0HdBXgZk5yP6Q/+qffVlZWXyo8Q/7IeCHVe3v77+Gxip+UmtoryPUaKtJftaDg4PVyCGs42dH/pWAgIANb2/vpt+2wusnpnpksAAAAABJRU5ErkJggg==) center no-repeat !important; }

#main-window .findbar-find-next.tabbable image
{ margin-top: -3px !important;
width: 0px !important;
height: 18px !important;
padding-left: 18px !important;
list-style-image: none !important;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAC10lEQVR42mVUy05iQRCtbhou+IgPEBNXmrhxqTFhYQJG2LAZ4icYY4xu5oP8DFeTuBudpVuja/GBgYggD73Qc07NvYRkKiF09606VXXqdJtKpfLz8/OzPDs7G359fdnv7+/EaDQSa+3Ye28lMmOMJBIJ/29pBN/G2IeDwSAVBMFvF4bhj1wud4CNYC3JZFKDIucJCNfj8VjXNK6dcxrz/Pycc6urq+2VlZVhKpUaoKI0HSLT7DJlAAGe55knIJIO4Z9GF22XTqctKgpw6HGYRGU2yvwfEAEIhLY9gnUDC97e3qwCra+vs1QDbgxbZDbu4zamUAiiAMPh0IIj9UFrCiQbGxtCgm9ubuTq6krm5+cnPMRg5IggtPf3dymVSrK/vy+gRO7u7sQtLS35bDYrc3Nzng4XFxfSaDQEUyQPJuYsIpyVmJmZGXN2duY3Nzc9Ji6Li4veIrsB2QJAUywW5fz8XCdBkEwmo1NkVgRzSobcnJycCGRjUIDGLiwsGEuH5eVldWZlR0dHWjJbIQicWK2uabu7u5osn89rDGOJoU2DNOUD4hJMUE5PTzWQrcZaarfb+n98fCxra2uCFpVXxrJt2+/31anT6Uiz2ZRWqyXlcln29vYEuhJ+Z6tc7+zsSLVaVT/+Pj4+NJY8uW63Ky8vL0QnkZqB7RweHvrb21tDYJ6BQ6nValoJh8FqWDXlAh/vWMnT05PqhkRyxNxDEqZQKMjl5aW2zHFvbW3Jw8PD5LrwipAnVGUcS3t8fNSPrIo8MBsSEMhfX19rFQSFgpU3Kjvi1rNaYhDI1+t11Ry4MLGcX19fPbRktre3J6Te399Pi9TEyga4dyBzhJ6HOBiQ1CgbheipG14fGtuN9KX3kFQAqA9/2+v1Qgf2sxBegH3AzNPG7OSAwZxafEXiK4NE+lqA7KxD8C8QGOLOjbFmAhs9IQoQg/N46onR9wRAIQaUwuT//AVqP9kmI/MUTwAAAABJRU5ErkJggg==) center no-repeat !important; }
