/*
 * Google Search - Shiny
 *
 * Original author      : Josep Crespo i Santacreu, battleprogrammertidus at gmail dot com
 *
 * Modified by Sebastian Huth
 *
 * Usage       : Use with the Stylish Firefox extension (http://userstyles.org/)
 * Licence     : http://creativecommons.org/licenses/by-nc-sa/3.0/
 */

/* That include Google Web Search for all countries domains, the list has been taken from http://www.google.com/supported_domains, I suppose that will be an updated list */
@-moz-document url-prefix(http://www.google.com/search), url-prefix(http://www.google.ad/search), url-prefix(http://www.google.ae/search), url-prefix(http://www.google.com.af/search), url-prefix(http://www.google.com.ag/search), url-prefix(http://www.google.com.ai/search), url-prefix(http://www.google.am/search), url-prefix(http://www.google.it.ao/search), url-prefix(http://www.google.com.ar/search), url-prefix(http://www.google.as/search), url-prefix(http://www.google.at/search), url-prefix(http://www.google.com.au/search), url-prefix(http://www.google.az/search), url-prefix(http://www.google.ba/search), url-prefix(http://www.google.com.bd/search), url-prefix(http://www.google.be/search), url-prefix(http://www.google.bg/search), url-prefix(http://www.google.com.bh/search), url-prefix(http://www.google.bi/search), url-prefix(http://www.google.com.bn/search), url-prefix(http://www.google.com.bo/search), url-prefix(http://www.google.com.br/search), url-prefix(http://www.google.bs/search), url-prefix(http://www.google.co.bw/search), url-prefix(http://www.google.com.by/search), url-prefix(http://www.google.com.bz/search), url-prefix(http://www.google.ca/search), url-prefix(http://www.google.cd/search), url-prefix(http://www.google.cg/search), url-prefix(http://www.google.ch/search), url-prefix(http://www.google.ci/search), url-prefix(http://www.google.co.ck/search), url-prefix(http://www.google.cl/search), url-prefix(http://www.google.cn/search), url-prefix(http://www.google.com.co/search), url-prefix(http://www.google.co.cr/search), url-prefix(http://www.google.com.cu/search), url-prefix(http://www.google.cz/search), url-prefix(http://www.google.de/search), url-prefix(http://www.google.dj/search), url-prefix(http://www.google.dk/search), url-prefix(http://www.google.dm/search), url-prefix(http://www.google.com.do/search), url-prefix(http://www.google.dz/search), url-prefix(http://www.google.com.ec/search), url-prefix(http://www.google.ee/search), url-prefix(http://www.google.com.eg/search), url-prefix(http://www.google.es/search), url-prefix(http://www.google.com.et/search), url-prefix(http://www.google.fi/search), url-prefix(http://www.google.com.fj/search), url-prefix(http://www.google.fm/search), url-prefix(http://www.google.fr/search), url-prefix(http://www.google.ge/search), url-prefix(http://www.google.gg/search), url-prefix(http://www.google.com.gh/search), url-prefix(http://www.google.com.gi/search), url-prefix(http://www.google.gl/search), url-prefix(http://www.google.gm/search), url-prefix(http://www.google.gp/search), url-prefix(http://www.google.gr/search), url-prefix(http://www.google.com.gt/search), url-prefix(http://www.google.gy/search), url-prefix(http://www.google.com.hk/search), url-prefix(http://www.google.hn/search), url-prefix(http://www.google.hr/search), url-prefix(http://www.google.ht/search), url-prefix(http://www.google.hu/search), url-prefix(http://www.google.co.id/search), url-prefix(http://www.google.ie/search), url-prefix(http://www.google.co.il/search), url-prefix(http://www.google.im/search), url-prefix(http://www.google.co.in/search), url-prefix(http://www.google.is/search), url-prefix(http://www.google.it/search), url-prefix(http://www.google.je/search), url-prefix(http://www.google.com.jm/search), url-prefix(http://www.google.jo/search), url-prefix(http://www.google.co.jp/search), url-prefix(http://www.google.co.ke/search), url-prefix(http://www.google.com.kh/search), url-prefix(http://www.google.ki/search), url-prefix(http://www.google.kg/search), url-prefix(http://www.google.co.kr/search), url-prefix(http://www.google.kz/search), url-prefix(http://www.google.la/search), url-prefix(http://www.google.li/search), url-prefix(http://www.google.lk/search), url-prefix(http://www.google.co.ls/search), url-prefix(http://www.google.lt/search), url-prefix(http://www.google.lu/search), url-prefix(http://www.google.lv/search), url-prefix(http://www.google.com.ly/search), url-prefix(http://www.google.co.ma/search), url-prefix(http://www.google.md/search), url-prefix(http://www.google.mn/search), url-prefix(http://www.google.ms/search), url-prefix(http://www.google.com.mt/search), url-prefix(http://www.google.mu/search), url-prefix(http://www.google.mv/search), url-prefix(http://www.google.mw/search), url-prefix(http://www.google.com.mx/search), url-prefix(http://www.google.com.my/search), url-prefix(http://www.google.com.na/search), url-prefix(http://www.google.com.nf/search), url-prefix(http://www.google.com.ng/search), url-prefix(http://www.google.com.ni/search), url-prefix(http://www.google.nl/search), url-prefix(http://www.google.no/search), url-prefix(http://www.google.com.np/search), url-prefix(http://www.google.nr/search), url-prefix(http://www.google.nu/search), url-prefix(http://www.google.co.nz/search), url-prefix(http://www.google.com.om/search), url-prefix(http://www.google.com.pa/search), url-prefix(http://www.google.com.pe/search), url-prefix(http://www.google.com.ph/search), url-prefix(http://www.google.com.pk/search), url-prefix(http://www.google.pl/search), url-prefix(http://www.google.pn/search), url-prefix(http://www.google.com.pr/search), url-prefix(http://www.google.pt/search), url-prefix(http://www.google.com.py/search), url-prefix(http://www.google.com.qa/search), url-prefix(http://www.google.ro/search), url-prefix(http://www.google.ru/search), url-prefix(http://www.google.rw/search), url-prefix(http://www.google.com.sa/search), url-prefix(http://www.google.com.sb/search), url-prefix(http://www.google.sc/search), url-prefix(http://www.google.se/search), url-prefix(http://www.google.com.sg/search), url-prefix(http://www.google.sh/search), url-prefix(http://www.google.si/search), url-prefix(http://www.google.sk/search), url-prefix(http://www.google.sn/search), url-prefix(http://www.google.sm/search), url-prefix(http://www.google.st/search), url-prefix(http://www.google.com.sv/search), url-prefix(http://www.google.co.th/search), url-prefix(http://www.google.com.tj/search), url-prefix(http://www.google.tk/search), url-prefix(http://www.google.tl/search), url-prefix(http://www.google.tm/search), url-prefix(http://www.google.to/search), url-prefix(http://www.google.com.tr/search), url-prefix(http://www.google.tt/search), url-prefix(http://www.google.com.tw/search), url-prefix(http://www.google.co.tz/search), url-prefix(http://www.google.com.ua/search), url-prefix(http://www.google.co.ug/search), url-prefix(http://www.google.co.uk/search), url-prefix(http://www.google.com.uy/search), url-prefix(http://www.google.co.uz/search), url-prefix(http://www.google.com.vc/search), url-prefix(http://www.google.co.ve/search), url-prefix(http://www.google.vg/search), url-prefix(http://www.google.co.vi/search), url-prefix(http://www.google.com.vn/search), url-prefix(http://www.google.vu/search), url-prefix(http://www.google.ws/search), url-prefix(http://www.google.rs/search), url-prefix(http://www.google.co.za/search), url-prefix(http://www.google.co.zm/search), url-prefix(http://www.google.co.zw/search), url-prefix(http://www.google.cat/search),
url(http://www.google.com/), url(http://www.google.ad/), url(http://www.google.ae/), url(http://www.google.com.af/), url(http://www.google.com.ag/), url(http://www.google.com.ai/), url(http://www.google.am/), url(http://www.google.it.ao/), url(http://www.google.com.ar/), url(http://www.google.as/), url(http://www.google.at/), url(http://www.google.com.au/), url(http://www.google.az/), url(http://www.google.ba/), url(http://www.google.com.bd/), url(http://www.google.be/), url(http://www.google.bg/), url(http://www.google.com.bh/), url(http://www.google.bi/), url(http://www.google.com.bn/), url(http://www.google.com.bo/), url(http://www.google.com.br/), url(http://www.google.bs/), url(http://www.google.co.bw/), url(http://www.google.com.by/), url(http://www.google.com.bz/), url(http://www.google.ca/), url(http://www.google.cd/), url(http://www.google.cg/), url(http://www.google.ch/), url(http://www.google.ci/), url(http://www.google.co.ck/), url(http://www.google.cl/), url(http://www.google.cn/), url(http://www.google.com.co/), url(http://www.google.co.cr/), url(http://www.google.com.cu/), url(http://www.google.cz/), url(http://www.google.de/), url(http://www.google.dj/), url(http://www.google.dk/), url(http://www.google.dm/), url(http://www.google.com.do/), url(http://www.google.dz/), url(http://www.google.com.ec/), url(http://www.google.ee/), url(http://www.google.com.eg/), url(http://www.google.es/), url(http://www.google.com.et/), url(http://www.google.fi/), url(http://www.google.com.fj/), url(http://www.google.fm/), url(http://www.google.fr/), url(http://www.google.ge/), url(http://www.google.gg/), url(http://www.google.com.gh/), url(http://www.google.com.gi/), url(http://www.google.gl/), url(http://www.google.gm/), url(http://www.google.gp/), url(http://www.google.gr/), url(http://www.google.com.gt/), url(http://www.google.gy/), url(http://www.google.com.hk/), url(http://www.google.hn/), url(http://www.google.hr/), url(http://www.google.ht/), url(http://www.google.hu/), url(http://www.google.co.id/), url(http://www.google.ie/), url(http://www.google.co.il/), url(http://www.google.im/), url(http://www.google.co.in/), url(http://www.google.is/), url(http://www.google.it/), url(http://www.google.je/), url(http://www.google.com.jm/), url(http://www.google.jo/), url(http://www.google.co.jp/), url(http://www.google.co.ke/), url(http://www.google.com.kh/), url(http://www.google.ki/), url(http://www.google.kg/), url(http://www.google.co.kr/), url(http://www.google.kz/), url(http://www.google.la/), url(http://www.google.li/), url(http://www.google.lk/), url(http://www.google.co.ls/), url(http://www.google.lt/), url(http://www.google.lu/), url(http://www.google.lv/), url(http://www.google.com.ly/), url(http://www.google.co.ma/), url(http://www.google.md/), url(http://www.google.mn/), url(http://www.google.ms/), url(http://www.google.com.mt/), url(http://www.google.mu/), url(http://www.google.mv/), url(http://www.google.mw/), url(http://www.google.com.mx/), url(http://www.google.com.my/), url(http://www.google.com.na/), url(http://www.google.com.nf/), url(http://www.google.com.ng/), url(http://www.google.com.ni/), url(http://www.google.nl/), url(http://www.google.no/), url(http://www.google.com.np/), url(http://www.google.nr/), url(http://www.google.nu/), url(http://www.google.co.nz/), url(http://www.google.com.om/), url(http://www.google.com.pa/), url(http://www.google.com.pe/), url(http://www.google.com.ph/), url(http://www.google.com.pk/), url(http://www.google.pl/), url(http://www.google.pn/), url(http://www.google.com.pr/), url(http://www.google.pt/), url(http://www.google.com.py/), url(http://www.google.com.qa/), url(http://www.google.ro/), url(http://www.google.ru/), url(http://www.google.rw/), url(http://www.google.com.sa/), url(http://www.google.com.sb/), url(http://www.google.sc/), url(http://www.google.se/), url(http://www.google.com.sg/), url(http://www.google.sh/), url(http://www.google.si/), url(http://www.google.sk/), url(http://www.google.sn/), url(http://www.google.sm/), url(http://www.google.st/), url(http://www.google.com.sv/), url(http://www.google.co.th/), url(http://www.google.com.tj/), url(http://www.google.tk/), url(http://www.google.tl/), url(http://www.google.tm/), url(http://www.google.to/), url(http://www.google.com.tr/), url(http://www.google.tt/), url(http://www.google.com.tw/), url(http://www.google.co.tz/), url(http://www.google.com.ua/), url(http://www.google.co.ug/), url(http://www.google.co.uk/), url(http://www.google.com.uy/), url(http://www.google.co.uz/), url(http://www.google.com.vc/), url(http://www.google.co.ve/), url(http://www.google.vg/), url(http://www.google.co.vi/), url(http://www.google.com.vn/), url(http://www.google.vu/), url(http://www.google.ws/), url(http://www.google.rs/), url(http://www.google.co.za/), url(http://www.google.co.zm/), url(http://www.google.co.zw/), url(http://www.google.cat/)
{



/* -----------------------------------------------
 * you might have to change this value, 90% works fine for me, but depending on your screen resolution you may have to add or substract 1 or 2 percent
 * ----------------------------------------------- */


#prs {	
	width: 90% !important;
 }


#res.med > div { 
	padding-left: 1em !important; 
	padding-right: 1em !important; 
	-moz-column-count: 1 !important; }   



/* -----------------------------------------------
 * Width of the main search box
 * ----------------------------------------------- */

input[type=text], td.nobr.xsm { width: 500px !important; }

/* YOU CAN CHANGE THE VALUE OF THE PREVIOUS LINE TO DO SHORTER OR LONGER THE SEARCH BOX */
/* Initial value is 280px (maximum value for screens with a width of 1024px), I use 450px on my screen (1280px wide) */

#header {
	padding-left: 1em !important;
	padding-right: 1em !important;
	padding-bottom: 0.5em !important;
	color: #fff !important; 
	font-size: 12px !important;
	padding-top: 3px !important;
	height: 58px !important;
	background-image: url('http://img389.imageshack.us/img389/6799/googlebackgroundib9.png') !important;}

#header a:visited {
	color: #fff !important;
	background: none !important;
	padding-right: 0px !important;  }


#header a:link {
	color: #fff !important;
}

#header a:active {
	color: #fff !important;
}


.gbd{ border-color: #fff !important;}
#gbi{ border-color: #fff !important;}


#gbar {	
	font-size: 12px !important; 
	border-bottom: 0px !important;
}


/* -----------------------------------------------
 * Navigation bar across the page numbers
 * ----------------------------------------------- */



.cur {
	padding-top: 4px !important;
	display: block !important;
	color: #07389b !important;
	font-size: x-small !important;
	font-weight: normal !important;
	max-height: 13px !important;
	overflow: hidden !important;
}


#nav
{
	z-index: 2 !important;
	position: absolute !important;
	top: 28px !important;
	right: 1.5em !important;
	font-size: 10px !important;
	color: #999 !important;
	width: 300px !important;
	overflow: hidden !important;
	border: solid 0px #999 !important;
	background: none !important;
	font-weight: bold !important;
}

#nav > tbody > tr > td > a
{
	font-size: 10px !important;
	color: #999 !important;
	padding-left: 3px !important;
	padding-right: 3px !important;
	border: solid 0px #3366CC !important;
	background: none !important;
}
#nav > tbody > tr > td > a:hover
{
color: #fff !important;
	padding-top: 0px !important;
	border: solid 0px #fff !important;
	background: #07389b !important;
}
#nav td, #nav a
{
	font-size: 16px !important;
}
#nav > tbody > tr > td.b > a > b
{
	text-decoration: none !important;     /* "Previows" and "Next" buttons without underline */
}


/* -----------------------------------------------
 * Main search box
 * ----------------------------------------------- */

#sft tr tbody td
{
	position: absolute !important;
	top: 29px !important;
	padding-left: 105px !important;
}
input[type=text]
{
	position: absolute !important;
	z-index: 10 !important;
	-moz-appearance: none !important;     /* This allows you to edit the input box */
	border: solid 0px #999 !important;
	border-top: solid 1px #999 !important;
	background: white !important;
	padding-top: 3px !important;
	padding-bottom: 2px !important;
	padding-left: 0px !important;
	padding-right: 12px !important;
	color: #999 !important;
	font-weight: bold !important;
}

input[type=text]:hover
{
	color: #333 !important;
}


/* -----------------------------------------------
 * "Advanced Search" and "Preferences" links/buttons
 * ----------------------------------------------- */

td.nobr.xsm
{
display: none !important;
}

#sft label {
	position: relative !important;
	top: -5px !important;
	left: 90px !important;
	font-size: 10px !important;
}

#all, #lgr, #cty {
	position: relative !important;
	top: -3px !important;
	left: 90px !important;
	font-size: 10px !important;
}

#sft {	font-size: 0px !important;}

/* -----------------------------------------------
 * Bar with the total number of results
 * ----------------------------------------------- */

#prs {	
	z-index: 0 !important;
	position: absolute !important;
	top: 29px !important;
	text-align: center !important;
	margin-right: 1em !important;
	margin-left: 102px !important;
	font-size: 0px !important;
	color: #fff !important;
	overflow: hidden !important;
	border: solid 1px #999 !important;
	background: #fff !important;
	font-weight: bold !important;
	height: 20px !important;
	-moz-border-radius: 10px !important;
 }


.std, .xsm {display: none !important;}

#ssb p
{
	z-index: 1 !important;
	position: absolute !important;
	top: 48px !important;
	right: 1.5em !important;
	text-align: right !important;
	font-size: 10px !important;
	color: #fff !important;
	border: solid 0px #666 !important;
	background: none !important;
}

#ssb p a:link
{
	color: #fff !important;

}



#ssb b { padding-left: 5px !important;}


/* -----------------------------------------------
 * Default colors for all links
 * ----------------------------------------------- */

a, a > u { text-decoration: none !important; }
a:link { color: #07389b !important; }
a:visited { color: #07389b !important; background-image: url('http://img156.imageshack.us/img156/9738/linkvisitedoo9.png') !important; background-repeat: no-repeat !important; background-position: 100% 50% !important; padding-right: 18px !important;  }
a:active { color: #07389b !important; }
a:hover { color: #07389b !important; }

cite {color: #000 !important; }


/* -----------------------------------------------
 * File type (ex: [PDF] at left to page link
 * ----------------------------------------------- */

.g .w { color: #B88A00 !important; }



/* -----------------------------------------------
 * Main Menu Google underline, above all
 * ----------------------------------------------- */

.gbh 
{
	position: absolute !important;
	top: 22px !important;


}



/* -----------------------------------------------
 * Paragraphs each containing a result of the search
 * ----------------------------------------------- */


.g {
	border: solid 1px #d2d6dc !important;
	border-left: solid 1px #d2d6dc !important;
	border-right: solid 1px #d2d6dc !important;
	-moz-border-radius: 10px !important;
	padding: 10px !important;
	background-image: url('http://img142.imageshack.us/img142/3624/searchresultbggk9.png') !important;
background-repeat: repeat-x !important;
	margin: 1em 0 !important;
}





/* -----------------------------------------------
 * Results of images of...
 * ----------------------------------------------- */

div.e > a > img
{
	max-height: 35px !important;
	width: 8% !important;
	height: 8% !important;
}



/* -----------------------------------------------
 * Images that appear in the text accompanying the results.
 * For example the image of a YouTube video, or an image of Google news.
 * ----------------------------------------------- */

td > a > img,
td > img,     /* Google News icon */
#res.med > div.e > table > tbody > tr > td > img     /* See the results of web pages translated into English for: */
{
	margin-top: 5px !important;
	margin-right: 10px !important;
}



/* -----------------------------------------------
 * Direct links in searches
 * ----------------------------------------------- */

.slk td
{
	padding-top: 5px !important;
	padding-left: 10px !important;
	padding-right: 30px !important;
}



/* -----------------------------------------------
 * Special search boxes
 * ----------------------------------------------- */

#saddr { width: 125px !important; }     /* Google Maps search box */
#nqsbq { width: 200px !important; }     /* Very rare seach box, I found searching Last.fm at Google, change value if you have an overflow */



/* -----------------------------------------------
 * Related searches
 * ----------------------------------------------- */

#brs td { padding-right: 50px !important; }



/* -----------------------------------------------
 * Position of div results
 * ----------------------------------------------- */

#res
{
	position: relative !important;
	top: 5px !important;
}



/* -----------------------------------------------
 * Small arrangements for margins and paddings
 * ----------------------------------------------- */

td, img, div
{
	margin: 0 !important;
	padding: 0 !important;
}



/* -----------------------------------------------
 * Elements not want to see on page
 * ----------------------------------------------- */


/* Footer */ .clr,
/* Google page numbers images */ #np, #nf, #nc, .nr, #nn, #nl, #wml, /* revision 2 */ .csb,
/* Google icons like calc, movies, etc. */ .std img, #res table body tr td img, 
/* Patrocined links */ #tads, #mbEnd, 
/* Search button */ input[type=submit]
{
	display: none !important;
}


/* -----------------------------------------------
 * I don't know why but that is necesary
 * ----------------------------------------------- */

.gb2 { background-color: white !important; }



/* -----------------------------------------------
 * Properties that affect the entire body of the document
 * ----------------------------------------------- */

body
{
	font-family: Tahoma, Arial, Helvetica, sans-serif !important;
	color: #333 !important;
	margin: 0 !important;
	padding: 0px !important;

}


/* -----------------------------------------------
 * It provides compatibility with the Mozilla Add-on GooglePreview
 * ----------------------------------------------- */

.g { overflow: auto ! important; }
.g > a > img { margin-right: 10px !important; }

.gb2 {background: #2f4362 !important;}


/* Google logo at search page */
#logo { 
display: none !important;

 }

#logo img {display: none !important;}
#logo a {display: none !important;}

/* END OF MOZ DOCUMENT */
}






