/* by makondo 04/09 */
/*@namespace url(http://www.w3.org/1999/xhtml);*/
@-moz-document domain(www.google.*), url(http://www.google.com), url-prefix(http://www.google.uk), url-prefix(http://www.google.fr), url-prefix(http://www.google.ca), url-prefix(http://www.google.nl), url-prefix(http://www.google.de), url-prefix(http://www.google.ru), url-prefix(http://www.google.com/intl/ru/),  url-prefix(http://www.google.com/webhp), url-prefix(http://www.google.com/search?), url-prefix(http://www.google.com/advanced_search), url-prefix(http://www.google.com/preferences), url-prefix(http://images.google.com/webhp), url(http://www.google.com/intl/), url(http://www.google.com/intl/en/options/), url-prefix(http://www.google.com/movies), url-prefix(http://blogsearch.google.com), url-prefix(http://www.google.com/custom?),
url-prefix(http://news.google.), url-prefix(http://images.google.), url-prefix(http://video.google.), url-prefix(http://www.google.com/cse?cx), url-prefix(http://www.google.com.au/language_tools), url-prefix(http://www.google.com/language_tools), url-prefix(https://www.google.com/accounts/Login), url-prefix(http://www.google.com/firefox), url-prefix(http://www.google.com/ig), url-prefix(http://www.google.com/prdhp?hl) {

/* removes logos and stuff */
a#logo, img#logo, img[src$="logo.gif"], img[src^="logos/holiday"], img [src="/img/logo_videos.png?hl=en"], 
#logo img[src="/intl/en_ALL/images/logos/images_logo_lg.gif"], #logo, [src="/images/logo_sm.gif"], #res > DIV:first-child > OL > TABLE > TBODY, #body > CENTER > A > IMG, #footer, #wml, #prs > B, /* remove checkout bottom image */ #footer > TABLE > TBODY > TR, TD[width="1"][nowrap=""] /* removes sponsored links bar */ #tads, /* interclue links */ #scTopOfPageRefinementLinks, IMG[src="/intl/en/images/Logo_60wht.gif"], IMG[src="/img/logo_videos.png?hl=en"][alt="Go to Google Videos home"], IMG[src="/products/intl/en_us/images/ps_logo_lg.gif?v=XVDhMcJKFGw"], IMG[src="http://www.mozillazine.org/image/google.gif"], #tbp, #flp, .c, #prs > SPAN > B 
{ display: none !important; }

#guser 
{ margin-top: 16px !important; }

.fade, #ghead
{ background: transparent !important; }

/* search results+show options */ 
#sft, #sff { margin-top: 10px !important; }
#prs { margin-top: -3em !important; }
#ssb 
{ width: 40% !important; }
#ssb p
{ margin-top: -16px !important;
float: left !important; }

#header,#header a
{ color: #3F4F67 !important;
font-weight: bold !important;
background: transparent !important; }

td, .mrgl1, #tbd { background: transparent !important; padding: 0px !important; }
#tbd { border: none !important; }

/* removes bottom nav links */
.clr, #ImgCont > TABLE { /* display: none */ margin-top: 50px !important; } 

/* hide gbar borders */
#ssb, #bsf { border-top-color: #9A9EA0 !important; border-bottom-color: transparent !important; }
#gb, .gbh, IMG, TR[bgcolor="#e5ecf9"]
{ border: none !important; background: transparent !important; }

/* search boxes */
/* the bar */ #tsf { float: right !important; margin-right: 30px !important; }
.lst:active { -moz-appearance: none !important; background: red !important; }

/* advanced search link */.xsm a { margin-left: 15px !important; }
INPUT, SELECT
{ -moz-appearance: none !important;
color: #4D5862 !important; 
background: transparent !important; 
border: 1px inset black !important;
-moz-border-radius: 6px !important; }

INPUT:focus, INPUT:hover, SELECT:focus, INPUT[title="Google Search"]:hover, INPUT[title="Google Search"]:focus, INPUT[title="Search"]:hover, INPUT[title="Search"]:focus, INPUT[type="submit"]:hover, INPUT[type="submit"]:focus
{ -moz-appearance: none !important;
color: black !important;
background-color: #C5D0C9 !important; }

/* bottom search */
#bsf { background-color: transparent !important;
border: none !important;
margin-top: -56px !important; }
#bsf FORM DIV { margin-bottom: 46px !important; }

/* dropdown */ 
.gac_m, #gbi, #gbs 
{ background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIRJREFUeNrtmMsNgDAMxboslE+h62YcxAJwQkqNDx7Aei9qkxIRG4FCElkI3CKVAEpkJoASmQiYiImYyHsiijgjzshPElEkmwjmG++GaCIfJbISUCSjCOZAtxNAiTQCKJGDAErkJIASsVpWS5FnkU7Aalktq+XLPt7L7mKVTQSzsyPOQRcAycIxfhreMAAAAABJRU5ErkJggg==") !important; color: black !important; -moz-border-radius: 10px !important; border: 1px inset #6B7C8F !important; }
td.gac_c:hover, /*td.gac_c:hover > b, */.gac_b td.gac_c > b, .gac_b td.gac_c
{ background: #ABAFA9 url(chrome://browser/skin/tabbrowser/tab-hover-bkgnd.png) !important;  }
#gbi a:hover, #gbs a:hover { -moz-appearance: toolbarbutton !important; }
.gac_d { background: transparent !important; color: black !important; }

/* FONT */
div { color: black !important; }
#resultStats FONT,#resultStats b
{ color: #3B4956 !important; }
* font, div, td { font-family: Segoe UI, Comic Sans, Verdana, sans-serif !important; }
a:link {color: #4C6877 !important}
a:active { color: #BDC5DC !important; }
a:hover{ color: #44463B !important; }
.l {font-weight:bolder !important;}
/* sign in */ #gb > NOBR a, #prs { color: #3C5262 !important; }
#gb > NOBR a:hover { color: black !important; }
.gb1,#sd, FONT {color: #2A343E !important; }
a.gb1,a.gb2,a.gb3,.w,FONT[color="#008000"], h1, h2
{color: black !important; }
#prs a:visited,#prs a:active,.q:active,.q:visited,.mblink:visited,a:visited
{color: black !important; opacity: .7 !important; }
.a,cite,.cite,.cite:link,.f
{color: black !important; }
.cur,.i {color: #838D75 !important; }
A[class="fl"] {color:#838D75 !important; }
#nav .cur {color:#838D75 !important; }
HR, I {color: #838D75 !important; }
/* "New!" text */
sup font[color="red"] { color: #0F0 !important; }
#ssb,.t.bt, .t.bb,.ft.t, .blk
{ background-image:none !important;
background-color: transparent !important;
color: #6B6D61 !important;
border-top: none !important; }
/*results statistics */
#ssb > P { color: black !important; }
/* show options */ .tbos, .hot_videos_title_bar { color: black !important; }

/* search terms highlighted text */ 
em, .med.nobr 
{ color: #206B7F !important; 
font-style: italic !important; 
text-decoration: none !important; }

/* search results page */
div[id=res]
{ -moz-column-count: 2 !important; 
width: 110% !important; }

#res { background-color: transparent !important;
color: #515546 !important;
font-weight: bold !important;
margin-top: 4px !important; }

/* Paragraph boxes for each search result - from BattleProgrammerTidus */
.g 
{ background: rgba(255,255,255, 0.1) !important;
-moz-box-shadow: inset rgba(133,146,153, 0.4) -1px 10px 22px -2px  !important;
position: relative !important; 
width: 95% !important;
border: 1px inset #6B7C8F !important;
-moz-border-radius: 8px !important;
padding: 8px !important;
margin: auto !important;
margin-bottom: 3px !important; }
.g:hover { border: 1px outset black !important; }

.j { width: 50em !important; }
/* Content of the result box */
.s 
{ text-align: justify !important;
font-weight: normal !important; } 

/* search results title links */
.g a.l { color: #3D4148 !important; 
font-weight: bold !important; 
font-size: 16px !important; }
.g a.l:hover { color: #515F68 !important; }

/* search results descriptions */
.std { color: #687382 !important; }
.g .j font { color: #687382 !important; }
#search > DIV > OL { color: #62778F !important; }

/* text URLs in results */
.g font[color="green"], .g font[color="#008000"], .e font[color="green"], .a, cite, .cite, .cite:link { color: #62778F !important; }

/* pagination */ 
.t.bb { border: none !important; }
/* bottom pagination the goooo thing  */
#nav > tbody > tr > td span { background: none !important; }
#nav td { vertical-align: bottom !important; padding: 0.15em !important; }

#navbar > TABLE > TBODY > TR > TD:first-child > A, #navbar > TABLE > TBODY > TR > TD:last-child > A, #nav > TBODY > TR > TD:first-child > A, #nav > TBODY > TR > TD:last-child > A
{ text-decoration: none !important; }
#nav td { color: #5E6E97 !important; }
/* the Goooo thing */
.n div  { background: none !important; }
SPAN[style="color: rgb(169, 10, 8);"] {color: black !important; }

#navbar a:hover { color: #fff !important; }
#navbar a:visited { color: #ccc !important; }
#navbar br { display: none !important; }

/* "Did you mean" text */
p > font.p { color: black !important; font-size: 80% !important;}

/* =========== google images & videos ========= */
#ImgCont > TABLE, #navbar { background: none !important; }
.t.bt { margin-top: 10px !important; }
/* "Advertisement" after pager */
body > center td[bgcolor="#d5ddf3"] { display: none !important; }

/*videos */
.video, .hot_videos_title_bar { background: transparent !important; border: none !important; }
#resultsheadertable { background: transparent !important; }
/* half star */
img[src="/images/showtimes-star-half.gif"] { background-position: -10px 0 !important; }
/* no star */
img[src="/images/showtimes-star-off.gif"] { background-position: -20px 0 !important; }

/* ======= IMAGES ======== */
body { color: #dac9a5 !important;
background: #A1D6F2 /*#9AD2FF */ url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAASwCAYAAAAzJ4AwAAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAC4jAAAuIwF4pT92AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABadJREFUeNrt2tlPVVcYBfD11/WpSZM+NH1p0iZNapPGpkwXEFopVCU4DwgKzo01FQRBxQEHHBgu84yg1uKEQ9UOz6vreeU7yb0h7dN++J2crPPtb+8zXK43R3xY106HjxqO0eGTptN0+PxANx02tF+mw8aTN+hQcvo2HcrO3KVDxa+DdKg+l6dDTfcYHb7vmaDD5gtTdKjvm6XDlqsLdNjWv0SHppsrdNgx8JAOu+8+psPewVU67B9+Sofm/HM6tIyt0eHQxCs6tE29ocORmbd0ODr7jg7H5/+kw4mFv+hwcvFvOpxa+ocurgx7Hpt7TxevMzyj8NzDqxRez/DKh/covJvhfQ+fkPBZarx+ny5+PsMnOXzmw09H+DkKP3HhZzP8FIef929P3aTDN8f76fD1kSt0+Kqtjw5ftl6kQ/3lOTp83HiCDh/UHqBT5Sk6fLrrFzp81txJhy/aeumw4Zj+PBps/Pk6Hb47M0CHkrN36FDWeY8OFd1DdKjsztOhuku31aDq/AgdqlTusKl7hE7DddQg1zNCp8phuowlaeOQ6x6mKyKs1Gk55NTYxZeuiIl0VVw8e6UugFNPLcOgsmuUTovXhTWoODdCF59mHEazV3QN0yHXqRkNcprNaXieLl5nhc7AxT3LtXEZPeOJgiWFE4VXqYiJorC8c5huvcML71n48MLDso4huv9knUVcpfAJ0UPqVKnmRrNriNGfX52aic+9rGOYTsO1Y7KGh+EIXVYYDY8WX6qNQ4k2Lu5ZqtNy6jlCF4cluicuXlL5Wd0XE89eoo1TpWY0Ok0dNQq1DBNPFF75+Nyj2TMq1zVRfO4F3454ooIXX6aNy3hCdPdcxvD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lgc7pjhudng8AAAAASUVORK5CYII=") repeat-x !important; } }

/* ======= Google Advanced Search page ==========  */
@-moz-document url-prefix(http://www.google.co.uk/advanced_search), url-prefix(http://www.google.com/advanced_search) {
/* table colors/borders */
tr[bgcolor="#cbdced"] { background: #666 !important; }
tr[bgcolor="#ffffff"] { background: #444 !important; } }

/* ========== Google news  ============= */
@-moz-document url-prefix(http://news.google.com) {
#search-header > A > IMG, .basic-title.bt-border, IMG[src="http://www.gstatic.com/news/img/bluelogo/en_us/news.gif"], /* remove sponsored links */ .rhs-ads-panel, IMG[src="http://www.gstatic.com/news/img/logo/debr.gif"]
{ display: none !important; }
.search-form
{ margin-top: -9px !important;
margin-left: -4px !important; }
#t_FRONTPAGE, .bottom-search, .basic-title
{ background: transparent !important; 
background-image: none !important;
border: none !important; }
body { color: black !important; }
a:link { color: #3C4E60 !important; }
a:link:hover { color: black !important; } }

/* ============= Language Tools page =============== */
@-moz-document url-prefix(http://www.google.co.uk/language_tools), url-prefix(http://www.google.com.au/language_tools), url-prefix(http://www.google.com/language_tools) {
table[bgcolor="#ffffff"], tr[bgcolor="#ffffff"], tr[bgcolor="#cbdced"], H4 { background: transparent !important; color: black !important; }
HTML > BODY > DIV:first-child + DIV + DIV + DIV + TABLE { margin-top: 30px !important; }
td { border: none !important; } }

/* ============= videos ================= */
@-moz-document url-prefix(http://video.google.) {
.td-logo { display: none !important; }
.search-box { margin-top: 25px !important; }
TABLE { border: black !important; }
#main-container { margin-top: 20px !important; color: black !important; }
.rl-domain-below { color: #687376 !important; }
.rl-res.rl-highlight 
{ border: 1px inset white !important; 
color: black !important; 
font-weight: bold !important;
background: rgba(255,255,255, 0.1) !important;
-moz-box-shadow: inset rgba(133,146,153, 0.4) -1px 10px 22px -2px  !important; } }

@-moz-document url-prefix(http://video.google.com/videosearch?hl) {
.div-footer { display: none !important; }
#videoheader, #guser, #results-bar, .rl-res.rl-highlight, #searchagain { background: transparent !important; }
#results-bar, #searchagain { border: none !important; }
.rl-res.rl-highlight { border: 2px black inset !important; -moz-border-radius: 4px !important; }
/* bottom pagination - the goooooooo thing */
.nav_current, .nav_first, .nav_page, .nav_next  { background: none !important; } }

/* ===== 'more options' and accounts ====== */
@-moz-document url-prefix(http://www.google.com/intl/en/options), url-prefix(https://www.google.com/accounts/Login) {
#headerText > FONT > B, .footer, 
IMG[border="0"][align="left"][alt="Google"][src="https://www.google.com/accounts/googleaccountslogo.gif"] { display: none !important; }
.form-noindent, TR { background: transparent !important; border: 0 !important; }
HTML > BODY { margin-top: 3px !important; }
#headerText { border: none !important; }
#container > TABLE:first-child + TABLE { margin-top: -40px !important; }
td { color: black !important; background: transparent !important;}
IMG{ display: none !important; } }

/* ================ support ================ */
@-moz-document url-prefix(http://mail.google.com/support) {
.logo { display: none !important; }
body, a { color: black !important; }
a:hover { font-weight: bold !important; }
H2, .header_bar { background: transparent !important; } }

/* ================ igoogle ================ */
@-moz-document url-prefix(http://www.google.com/ig) { 

/* hides chat box */#bottom_nav, #footerwrap, #remote_94 > FONT { display: none !important; }
#gsea { margin-top: 20px !important; }
.header_promo { background: transparent !important;  border: none !important; }
#box { margin-top: -10px !important; }
.gradient { width: 0 !important; }
/*left panel */#gadget_set0 { margin-left: 6px !important; }
#box { border: 2px inset black !important; }
DIV, LABEL, #box_heading, .modtitle_text { color: black !important; border: none !important; }
.personalize_link { background: transparent !important; background-image: none !important; }
.rnd1, .rnd2, .rnd3 { background: transparent !important; }
TD[class="topbotborder"], TD[class="leftborder"] { border: none !important; }
INPUT:not([type="image"]), pre, textarea, select
 { -moz-appearance: none !important; 
background-color: transparent !important; 
color: #31363B !important;
font-family: Segoe UI, Comic Sans MS !important;
border: 1px inset #2F3741 !important;
-moz-border-radius: 6px !important; }
input:focus, input:hover
{ background-color: #CBCFC9 !important; 
color: #31363B !important; } }

/* bg for dict. and weather boxes */
@-moz-document domain("gmodules.com") {
body {  background: transparent !important; } }

/* ========= goo images ========= */
@-moz-document url-prefix(http://images.google.com) {
#tads { display: none !important; }

img 
{ -moz-box-shadow: rgba(0, 0, 0, 0.4)0px 2px 15px 3px !important; }

#sft > TBODY > TR > TD:first-child > A > IMG, /* show options */ #rptglbl { display: none !important; }
.tb { margin-top: 12px !important; float: right !important; }
.t.bt { margin-top: 1px !important; }
#ss-bar { margin-top: 60px !important; }
TABLE[width="100%"][cellspacing="0"][cellpadding="2"]
{ background: #C8CCC6 !important; }
/* show options */
#rptgl span { color: black !important; }
#imgtbbc { margin-left: -6px !important; }
#imgtb, IMG 
{ margin: 3px !important; }
 /* the goooo thing */ .n div  { background: none !important; } }

/* ======= firefox start page ======= */
@-moz-document url-prefix(http://www.google.com/firefox) {
#frame > TBODY > TR:first-child + TR > TD > TABLE > TBODY, DIV[title="Google"], #frame > TBODY > TR:first-child + TR + TR + TR > TD > TABLE > TBODY > TR, #frame > TBODY > TR:last-child > TD > TABLE
{ display: none !important; } }