@namespace url(http://www.w3.org/1999/xhtml);


/* choose a room page ========================================================================*/
@-moz-document url-prefix("http://games.yahoo.com/play/") {
IMG[alt="Play the All-New Yahoo! Chess"] { display:none !important } /* No. No Flash crap for me. */

/* Don't need BRs --------------------------------------------------------------------------*/
BR  { display:none !important }


/* top --------------------------------------------------------------------------------------*/
#ygmalogo { display:none !important }
#topnav { display:none !important }

/* search --------------------------------------------------------------------------------*/
DIV[class="srchinner ygmabg"] { width:600px !important }
.srch { float:left !important }


/* under search -------------------------------------------------------------------------*/
/* x-path doesn't work here */
TD[width="426"][valign="top"] > TABLE[cellpadding="0"],
TD[width="426"][valign="top"] > TABLE[cellpadding="1"],
TD[width="426"][valign="top"] > TABLE[cellpadding="2"],
TD[width="426"][valign="top"] > TABLE[cellpadding="3"],
TD[width="426"][valign="top"] > TABLE[cellpadding="4"], 
TD[width="426"][valign="top"] * P, 
no_annoyance{ display:none !important }
/* the table I want has cellpadding equal to five */



/* left column ------------------------------------------------------------------------------*/
#entergame > TABLE:last-child > TBODY > TR > TD:first-child { display:none !important }

/* right column -------------------------------------------------------------------------------------------*/
#entergame > TABLE:last-child > TBODY > TR > TD:last-child  { display:none !important }

}


/* captcha page & pages and popups for the games themselves============================================*/
@-moz-document url-prefix("http://games.yahoo.com/games/ante") {

/* ads in game rooms -------------------------------------------------------------------*/
/* I'm blocking this header ad stuff with Adblock Plus - this code is "just in case" */

/*
This doesn't work....
IFRAME[name="ad_space"] { display:none !important; }
IFRAME[href$="/us_mast.gif"] { display:none !important; }
*/


/*
The dom inspector does not work on the login page  I had to use adblock plus and firebug and then edit stuff by hand.
This page is a gigantic pain - using ugly stuff was necessary get things to look as I want.
Example: I used relatie positioning since I just couldn't get absolute positioning to work
*/

/* get rid of floats - everything is going to be repositioned */
* { float:none !important; clear:none !important; }

/* clean things up */
DIV[class="l edge side"], DIV[class="r edge side"] { background:none !important;  background-image:none !important; } 
DIV[class="tl edge"], DIV[class="tr edge"], DIV[class="bl edge"], DIV[class="br edge"] { display:none !important; }
INPUT[class="text"] { border-color:#808080 !important;  }
.ft { display:none !important; }

/* alert box on the left side */
html > body  > div > div + div + div > div > div > div + div > div + div > div + div + div > div > div { position:relative; top:-200px; left:-400px !important;  }
html > body  > div > div + div + div > div > div > div + div > div + div > div + div + div > div > div { border: 1px solid #FF0000 !important; }

/* put message on the right side */
html > body > div > div + div + div > div > div > div + div > div { position:absolute; top:0px; left:450px !important; width:300px !important; } 
LABEL[for="p"] { width:360px !important; }

/* put input box with annoying test number on the left side */
/* push stuff down a bit to make way for alert box */
html > body > div > div + div + div > div > div > div + div > form > div + div + div > div > div { position:relative; top:-200px; left:0px !important; background:none !important; }
/* make test number 200% in size so it's easier to read */
.testword { width:360px !important; height:100px !important; }


}