@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document
 url-prefix("http://www.google.co.jp/search?"),
 url-prefix("http://www.google.com/search?") {
 *
 { font-weight: normal !important; }
 #gbar,
 .gbh,
 #gb,
 #logo img,
 #ssb,
 #tads,
 div.s > br,
 #nav span.csb,
 #nav a *,
 #nav a+b,
 #nav td,
 #bsf+p,
 div.e,
 .clr
 { display: none !important; }
 body
 { margin: 0 !important; }
 #tsf
 { display: block !important; padding: 0.5em 1% !important; background-color: #F6F6FF !important; border-bottom: 1px solid #EEF !important; margin-bottom: 1em !important; }
 #sft
 { width: 100% !important; }
 h1:before
 { content: "powered by " !important; }
 #sft table
 { width: auto !important; margin: 0 0.25em 0 1em !important; float: right !important; }
 #sft td
 { padding-bottom: 0 !important; }
 h1
 { white-space: nowrap !important; }
 #logo
 { display: inline !important; font-size: 180% !important; letter-spacing: -1px !important; font-weight: bold !important; vertical-align: middle !important; }
 label,
 div.s
 { font-size: 90% !important; }
 
 #res
 { margin: 0 !important; }
 #trev table
 { margin-left: auto !important; }
 #res > p:first-child,
 #res > #ofr
 { text-align: right !important; }
 #res ol
 { margin-left: 2em !important; }
 li.g
 { margin: 0.5em 1% !important; list-style-type: decimal !important; }
 li.g, li.g *
 { max-width: 100% !important; }
 li.g[style="margin-left: 3em;"]
 { background-color: #F0F0FF; }
 h3 > a > em
 { background-color: #DEF !important; }
 h3 > a:visited > em
 { background-color: inherit !important; }
 #nav .b a:hover,
 h3 > a:hover,
 h3 > a:focus,
 h3 > a:focus > em,
 h3 > a:hover > em
 { background-color: #FEE !important; color: #F00 !important; }
 div.s
 { margin: 0.5em 0 0.5em 0 !important; }
 div.s cite
 { margin-left: 0.5em !important; }

 #nav
 { display: table !important; width: 98% !important; }
 #nav .b
 { display: table-cell !important; padding: 0 0.5em !important; }
 #nav .b a
 { background-color: #EEF !important; border: 1px solid !important; text-decoration: none !important; }
 #nav .b a:before
 { content: "Next" !important; }
 #nav .b:first-child a:before
 { content: "Prev" !important; }
}
