/* AGENT_SHEET */
/*
 * Google Web Search - Dark Gray Theme
 *
 * Author      : Valacar
 * Updated     : November 5th, 2009 / {Ixo - 25/07/10}
 * Website     : http://www.valacar.com/userstyles/
 * Description : Modifies the colors and images on Google Web Search (http://www.google.com/)
 * Usage       : Use with the Stylish Firefox extension (http://userstyles.org/) or copy to your Firefox userContent.css file
 */

/* CRITICAL UPDATE - by Ixo :: 09/09/10
 * Fix for new logo image. Theme now ONLY works in Instant Off Mode
*/
/* CRITICAL UPDATE - by Ixo :: 25/07/10
 * Fix for google images top bar changes, was showing white, now fixed.
*/
/* CRITICAL UPDATE - by Ixo :: 07/05/10
 * Fix for Google Interface changes
 * Edited sprite base64 code
 * Include new URLs for images
 * Sidebar transparancy added
 * Underline sidebar icons on selected
 * Fade fix
*/
/* CRITICAL UPDATE - by Ixo :: 16/06/10
 * Fix for new google changes
 * Remove change background image div
 * remove advert div
 * fix width error
 * TODO - STILL CANNOT CAPTURE ALL GOOGLE LOGO IMGS ( NEED TO FIX )
*/

@namespace url(http://www.w3.org/1999/xhtml);


@-moz-document
  url(http://www.google.com/),
  url-prefix(http://www.google.com/webhp),
  url-prefix(http://www.google.com/search?),
  url-prefix(http://www.google.com/#hl=),
  url-prefix(http://www.google.com/#q=),
  url-prefix(http://images.google.com/webhp),
  url-prefix(http://images.google.com/images),
  url-prefix(http://www.google.com/imghp?),
  url-prefix(http://www.google.com/images),
  url(http://www.google.com/intl/en/),
  url-prefix(http://www.google.com/movies),

  url(https://www.google.com/),
  url-prefix(https://www.google.com/webhp),
  url-prefix(https://www.google.com/search?),
  url-prefix(https://www.google.com/#hl=),
  url-prefix(https://www.google.com/#q=),
  url-prefix(https://images.google.com/webhp),
  url-prefix(https://images.google.com/images),
  url-prefix(https://www.google.com/imghp?),
  url-prefix(https://www.google.com/images),
  url(https://www.google.com/intl/en/),
  url-prefix(https://www.google.com/movies),

  url(http://www.google.co.uk/),
  url-prefix(http://www.google.co.uk/webhp),
  url-prefix(http://www.google.co.uk/search?),
  url-prefix(http://www.google.co.uk/#hl=),
  url-prefix(http://www.google.co.uk/#q=),
  url-prefix(http://images.google.co.uk/webhp),
  url-prefix(http://images.google.co.uk/images),
  url-prefix(http://www.google.co.uk/imghp),
  url-prefix(http://www.google.co.uk/images),
  url-prefix(http://images.google.co.uk/webhp),
  url-prefix(http://www.google.co.uk/movies),

  url(http://www.google.ca/),
  url-prefix(http://www.google.ca/webhp),
  url-prefix(http://www.google.ca/search?),
  url-prefix(http://www.google.ca/#hl=),
  url-prefix(http://www.google.ca/#q=),
  url-prefix(http://images.google.ca/webhp),
  url-prefix(http://www.google.ca/movies)
{

body {
  background: #262626 url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAE/CAYAAACHEqngAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAABUSURBVHjaYmJgYPjPBCQYmAiyiFBCBIsSxWSqw8YlUwlOMWpLUFsJmYppbMrAE2B//CPswX94ff5v2AUJfU2hcTagjgR1ShBqF25ULG1JK/kBAgwAT3T9gBTuL/MAAAAASUVORK5CYII=") repeat-x !important;
  color: #fff !important;
}

/* default link color */
a:link, a:visited, a:hover, a:active, .link, a font[color="#008000"] {
  color: #ccc !important;
}

/* default text color */
div, td { color: #fff !important; }

/* disable dashed focus outline */
:focus { outline: none !important; }

/* reset web form colors */
input *, textarea *, .aAutoComplete {
  background-color: -moz-Field !important;
  color: -moz-fieldtext !important;
}

/* UPDATED by Ixo 06/05/10 - fix for fade-in effect on front page */ #gog, #leftnav, .nojsb, .med, #gbar, #fctr, #fmsg, #ghead, #sbl, .promo, .fade { background: transparent !important; }

/* UPDATED by Ixo  25/07/10 - fix for google images top bar changes, wsa showing white, now fixed. */ 

.tphdr, .rshdr, .tpblk, #rgsh_s { background: #262626 !important; }

.tphdr, .rshdr, .tpblk { background: #0e0e0e !important; }

/* Google bar "menu" and Google Suggest
---------------------------------------*/
#gbi, #gbg, .gac_m, .fade {
  background: #000 !important;
  border-color: #444 !important;
  -moz-box-shadow: 4px 4px 10px rgba(0,0,0, 0.5) !important;
}

/* 16/06 Changes, fix for new google implementations
-----------------------------------------------------*/

#prm { opacity: 0 !important; width: 0px !important; height: 0px !important; }
#cpf { opacity: 0 !important; width: 0px !important; height: 0px !important; }

a.gb2:hover,
.gac_b .gac_c,
.gac_b .gac_d {
  background: #444 !important;
}

.gbd { border-color: #444 !important; }
.gbh { border: none !important; }

.gac_a > .gac_c { color: #fff !important; }

.gac_d, .gac_e { color: rgba(255,255,255,0.5) !important; }

/* ad URL */
.gac_h { color: #ccc !important; }

.mitem { color: #fff !important; }

li.mitem msel { color: #fff !important; }

/* Search results
-----------------*/
/* big link */
#res .g .r a {
  color: #f0f0f0 !important;
}

/* big link visited */
#res .g a:visited {
  opacity: 0.5 !important;
}

/* link description */
#res .g .s {
  color: #c9c9c9 !important;
}

/* URL text */
.a, cite, .cite, .cite:link {
  color: #6e6e6e !important;
}

/* cached and similar links */
#res .g .s .gl a {
  color: #999 !important;
}

/* dashes between Cached and Similar links */
.gl { color: #999 !important; }

/* visited cached and similar links */
#res .g .s .gl a:visited {
  opacity: 0.6 !important;
}

/* sub page links (on first link result) */
#res .s .slk a {
  color: #ddd !important;
  opacity: 0.8 !important;
}

/* visited sub page links  */
#res .s .slk a:visited {
  opacity: 0.5 !important;
}

/* larger link title */
#res .l { font-size: 1.1em !important; }

/* more line spacing on descriptions */
#res .s { line-height: 1.4 !important; }

/* image thumbnails */
#res .g img {
  border: none !important;
  -moz-box-shadow: 4px 4px 10px rgba(0,0,0,0.4) !important;
}

/* File type (ex: [PDF]) next to link */
.g .w { color: #ff6 !important; }

/* "File Format" */
.f { color: #ffc !important; }


/* "video results" time info */
#res .g .ts font[color="#666666"] {
  color: #ffc !important;
}

/* "more options" */
.tbo #tbd {
  background: transparent !important;
  border-color: #666 !important;
}

/* Related searches bar */
#tbt5 {
  background: #3e3e3e url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAACJCAMAAADaKKIOAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAwUExURT4+Pi8vLzY2NjExMT09PTU1NTIyMjQ0NDAwMDo6Ojs7Ozg4ODk5OTc3Nzw8PDMzM9RYRnEAAAA0SURBVHjajMHHDQAgDASw0Dvsvy28IhQuEjYZyqDjUVzK9Ayi5UPdwA4WsILzo78eW4ABAJG4BRc8hKcNAAAAAElFTkSuQmCC) repeat-x !important;
  border-color: rgba(128,128,128,0.1) !important;
}

/* source code listing */
#res tt { color: #fff !important; }


/* Ads
------*/
#mbEnd, #tads { background: rgba(128,128,128,0.2) !important; }

#mbEnd {
  border-left: 1px solid transparent !important;
}

/* hide search result ads (delete next line if you want them) */
#mbEnd, #tads { display: none !important; }

/* Google Suggest ads */
.gac_n { display: none !important; }



/* Bars
-------*/

/* results bar */
#ssb,
form[action="/movies"] tr[bgcolor="#e5ecf9"],
#canvas > .heading  {
  background: #353535 url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAaCAMAAABMxLakAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAwUExURTY2NkNDQ1BQUEBAQE1NTT09PT4+Pjg4OEJCQk9PTz8/Pzc3Nzs7Ozk5OTo6OlFRUXTF3O4AAAA4SURBVHjajMU5EoAgEADBAUUEr///lmCoTUzopPnE6lk0sYskTrGJLg5RxK341e9HcRWX4mkIMAAJqQcW7sRa6gAAAABJRU5ErkJggg==) repeat-x !important;
  border-top-color: #666 !important;
}

/* big bar after bottom pager */
#bsf,
#navbar + br + table td[bgcolor="#e5ecf9"] {
  background: #3d3d3d url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAABkCAMAAACM54GYAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAhUExURUFBQUNDQ0dHR0JCQkZGRkREREVFRUhISEBAQD8/Pz4+PiuYN8EAAAA4SURBVHja7Ma3DQAgEATBx5v+CybZ+PRAhMREYw22lQiVDJUKVwpcCVBJUBE6DjNwm4mfR7MEGADMDhfpQgIrygAAAABJRU5ErkJggg==) repeat-x !important;
  border-top-color: #555 !important;
  border-bottom-color: #444 !important;
}

/* hide borders */
.k { background: none !important; }

/* hide old pager images */
#navbar td img { visibility: hidden !important; }



/* Replacement images
---------------------*/
/* big logo */



img[src="logos/"], img[src$="ps_logo2.png"], img[src$="logo.gif"], img[src$="images_logo_lg.gif"], img[src$="logo1w.png"], img[src$="classicplus.png"], div[style*="logo1w.png"], div[style*="logo_plain.png"], img[src$="logo_google_suggest.gif"], img[src$="ssl_logo_lg.gif"], img[src^="logos/holiday"], div[style*="logo_plain2.png"], img[src^="/intl/"][alt="Google"][title="Google"] {
  margin-top: 6% !important;
  width: 0 !important;
  height: 90px !important;
  padding-left: 281px !important;
  background-repeat: no-repeat !important; 
  background-image: url("http://img532.imageshack.us/img532/7100/index2f.png") !important;


}


/* "nav" sprite sheet */
.w10, .w11, .w20, .w21, .w24, .wci, .wpb, .w4, .w5, .w40, .w41, .w44, .w50, .w51, .w54, li.w0 .w5, li.w1 .w5,
.csb, .ss, .micon,
#header a#logo,
.tbi div, #tbp,
a#logo > img {
background-image: url("http://img402.imageshack.us/img402/6995/index1i.png") !important;


}

/* small logo */
a#logo > img {
  width: 0 !important;
  height: 106px !important;
  padding-left: 164px !important;
}


/* Hide small logo text link, and intl text name */
a#logo, #lgpd + div > div[style^="color: rgb(102, 102, 102); font-size: 16px"] { font-size: 0 !important; }
a#logo, #lgpd + div > div[style^="color: rgb(119, 119, 119); font-size: 16px"] { font-size: 0 !important; }
#logo > div { font-size: 0 !important; }


}