@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain("wunderground.com") {

/* *** header *** */

/* mostly useless header (comment out if you want to keep the search box) */
body > a + table#topNav,

/* even more useless links */
table#topNav + table.full > tbody > tr:first-child,
table#topNav + table.full > tbody > tr:first-child + tr > td#gutter,

/* *** sidebar *** */

/* sign in form and page preferences: comment out to bring it back */
table#topNav + table.full > tbody > tr:first-child + tr > td:first-child > table.smalltable
,

/* useless links */
table#topNav + table.full > tbody > tr:first-child + tr > td:first-child > table.full
,

/* *** main area *** */

/* ad leftovers */
table#topNav + table.full > tbody > tr:first-child + tr > td#content > div.taC,
table#topNav + table.full > tbody > tr:first-child + tr > td#content iframe,
table#topNav + table.full > tbody > tr:first-child + tr > td#content > div#bottomAds
,

/* I have page up and home keys, thanks. No need for a "top" link. */
table#topNav + table.full > tbody > tr:first-child + tr > td#content #top
,

/* more ads and annoyances */
/* NOTE: These are not very well targetted, so I have no idea if this will catch the right thing on every page. You might want to comment some of these out. */

/* footer links */
table#topNav + table.full > tbody > tr:first-child + tr > td#content > div#bottomAds + center, 

/* LOCAL SINGLES WANT TO TOUCH YOUR WEATHER STATION */
table#topNav + table.full > tbody > tr:first-child + tr > td#content > center:last-child, 

/* was a state farm ad for me */
table#topNav + table.full > tbody > tr:first-child + tr > td#content > div > table.full > tbody > tr:first-child + tr > td:first-child > div:first-child + center,

/* Tilde selector, you're my hero. */
table#topNav + table.full > tbody > tr:first-child + tr > td#content > div > table.full > tbody > tr:first-child + tr > td:first-child .boxB ~ .boxB ~ .boxB ~ h3,
table#topNav + table.full > tbody > tr:first-child + tr > td#content > div > table.full > tbody > tr:first-child + tr > td:first-child .boxB ~ .boxB ~ .boxB ~ .boxB
,

table#topNav + table.full > tbody > tr:first-child + tr > td#content > div > table.full > tbody > tr:first-child + tr > td:first-child + td > table>tbody>tr:first-child > td:first-child > table#full:last-child

{ display: none !important; }


/* space below header ads */
table#topNav + table.full > tbody > tr:first-child + tr > td#content > a + div + div
{ margin-top: 0 !important; }


}