@namespace url(http://www.w3.org/1999/xhtml);

div[id^="FooterAd"], div#sponseredlinks, #ad, #textad, #advertisement, *[id^="Ad_"], *[id^="ad_"] *[id*="_ad_"], *[class*="_ad_"], #BottomAds , *[class^="ad1"], .ads, #ads, #ad_div, *[class$="Sponsored"], *[id*="Ads_"], *[id^="promoIsland"], *[id$="navAd"], *[href*="adplacer"], *[src*="AdID"], *[href*="AdID"] , *[src*="ad.doubleclick"], *[href*="ad.doubleclick"], *[src="/ad/"], *[href*="/ad/"], *[src*="-adsonar"], *[href*="-adsonar"], *[src*="tmpad"], *[href*="tmpad"], *[src*="trafficmp"], *[href*="trafficmp"], *[src*="eyewonder.com"], *[href*="eyewonder.com"], .adPos, *[id^="adH"], *[class*="googleAd"], *[id*="googleAd"], *[src*="/ad_"], *[href*="/ad_"], *[src*="integration.mediaplazza.com"][src*="/iframes/"], *[src*="/ads."], *[href*="/ads."] {
  display: none !important;
}

@-moz-document domain(anonymouse.org) {
  #mouselayer {
    display: none !important;
  }
}

@-moz-document domain(www.xanga.com), domain(edit.xanga.com), domain(www.createblog.com) {
  div[id^="ya"], table#banner, table.banner, div.spritead, div[style$="z-index: 1215752191;"], div[style="height: 130px;"] {
    display: none !important;
  }
  body#dukeofavalon div[style="height: 130px;"], body[title="Studio17 :: Build 3.0 [alpha]"] div[style="height: 130px;"] {
    display: block !important;
  }
}

/* code for mapquest.com by Micah Bucy (aka eternalsword) */
@-moz-document url-prefix("http://www.mapquest.com/settings") {
  #titlebar {
    width: 731px !important;
    min-width: 0px !important;
  }
  #settings {
    width: 734px !important;
  }
}

@-moz-document domain("mapquest.com") {
  div[class^="offers"], 
  div[id^="dualpromos"], 
  td#rightcolumn,
  .f11,
  .offerwrap,
  #mqaolhat {
    display: none !important;
  }

  #mqcontent > div,
  .mapgrinder,
  #mqcontent > div > div,
  #mqcontent > div > div > div div, 
  #mqheader > div:first-child,
  #mapsummary div,
  #dirsummary div,
  #formpage, 
  #formpage div,
  .l,
  .l div { 
    margin-left: auto !important;
    margin-right: auto !important;
  }
  #mqheader > div:first-child {
    width: 598px !important;
  }
  #dirsummary {
    width: 480px !important;
  }
  #rightpadding {
    display: none !important;
  }
  #mqfooter,
  .disclaimer,
  #mqpage > div:first-child { 
    text-align: center !important; 
  }
  .disclaimer { 
    width: 500px !important; 
  }
  #home #mqpage .l,
  .dirwrapper,
  #maps #tofrom .dirwrapper {
    float: none !important;
  }
}

/* original code for answers.com by Kupfel, then tweaked */
@-moz-document domain(answers.com) {
  div[id^="h_ads"], div#horizontalads, div[id$="ads"], #new_right, #copyrightTable, a[name="copyright"] + br + div {
    display: none !important;
  }

  #middle, .content, .backTopicTitle,
  #copyrightTable, .gray_uedge, .gray_bedge, #headerSection, #new_left, #outline {
    min-width: 772px !important;
    width: 772px !important;
    margin: auto !important;
    padding-left: 1.8% !important;
  }

  body {
    background: rgb(240,240,240) url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA1IAAAABCAIAAABbtgiUAAAAB3RJTUUH1gIVFxMelz1oWwAAAAlwSFlzAAAewQAAHsEBw2lUUwAAAARnQU1BAACxjwv8YQUAAABVSURBVHja7cvBDcAgDAPApMkSsP9qEV8WKNTCUtUF%2BvM9LIcQn3OutcyMeR97b4woSHSWFz9Q7721ZiIiIiLypzFGVV2HuzMjgi8o35HbzMQhOhKrB8L2PtVaprVEAAAAAElFTkSuQmCC) repeat-y center top !important;
  }

}

@-moz-document url-prefix(https://mail.google.com) {
  div.rhs {
    display: none !important;
  }
}

@-moz-document domain(yahoo.com) {
  div.ovt, div#yschsec {
    display: none !important;
  }
}

@-moz-document domain(www.informationweek.com) {
  .sectionFocus, *[class^="marketplace"], *[src*="/promo/"], .elfixo {
    display: none !important;
  }
  *[class="6by6"] br {
    font-size: 1px !important;
  }
}

@-moz-document domain(forums.mozillazine.org) { 
  a[href="http://www.big-boards.com/"], .gas, .gas_head {
    display: none !important;
  }
}

@-moz-document domain(slashdot.org) {
  #advertisement-content, #advertisement-title, .ad1 {
     display: none !important;
  }
}

@-moz-document url-prefix(http://wired.com/news/) {
  .ad728 {
    display: none !important;
  }
}

@-moz-document domain(eweek.com) {
  .AD_BG, #hp_custom_html_module_middle {
    display: none !important;
  }
}

@-moz-document domain(www.pcworld.com) {
  .blueborder td[height="90"] {
    display: none !important;
  }
}

@-moz-document domain(www.neopets.com), domain(neopets.com) {
  #ban, #bottomban {
    display: none !important;
  }
}

@-moz-document domain(www.newsfactor.com) {
  table[width='370'][cellspacing='0'][cellpadding='10'][border='1'] {
    display: none !important;
  }
}

@-moz-document domain(www.createblog.com) {
  div[style='height: 130px;'] {
    display: none !important;
  }
}

@-moz-document domain(myspace.com) {
  td[valign='top'][height='96'][bgcolor='#003399'][align='center'], #advert, #squareAd, #splash_coolNewPeople, *[src*="defp.myspace.com"] {
    display: none !important;
  }
  #header {
    height: auto !important;
  }
}
@-moz-document domain(home.myspace.com) {
body[title="MySpace.com"] td[class="text"][wrap=""][align="center"][bgcolor="#ffffff"][valign="top"][width="435"] > table[border="0"][cellpadding="0"][cellspacing="0"][width="100%"] > tbody > tr > td:first-child, body[title="MySpace.com"] td[class="text"][wrap=""][align="center"][bgcolor="#ffffff"][valign="top"][width="435"] > table[border="0"][cellpadding="0"][cellspacing="0"][width="100%"] > tbody > tr > td:first-child + td, table[border="0"][width="435"] td[valign="top"] {
  display: none !important;
}
}

/* original code for cnn.com by Kupfel, then tweaked */
@-moz-document domain("cnn.com") {
  div[class^="cnnContextualLinks"],
  table#cnnStoryToolsBox,
  table[width="160"][cellspacing="0"][border="0"],
  table#cnnContextualLinks,
  table#cnnCeilShowBar,
  table#cnnCeilSearchShow,
  td.mwSmall,
  div.cnnCeilAd > div,
  div.cnnNavSearch,
  div.cnnCLbox,
  div.copyrightlink,
  div.footerlink1,
  div#cnnPartners,
  div#cnnAdvLnks,
  table#cnnCeilSearch,
  table#cnnFootSearch,
  table#cnnFoot,
  img[width="185"],
  img[width="464"],
  img[width="77"] {
    display: none !important;
  }
}