@namespace url(http://www.w3.org/1999/xhtml);

/***********************************************
 *
 * WARNING WARNING WARNING
 *
 * This style uses a lot of "A + B + C" selectors
 * because Amazon doesn't use id's, and they use
 * the same class for nearly everything.
 *
 * Because of this, it is VERY likely that even a 
 * simple change to Amazon will break some of 
 * these rules. 
 * 
 * Please let me know via UserStyles.org if you
 * find a broken rule.
 * 
 ***********************************************/
/* History:
   1: Posted original version
   2: Added ManualBuyXGetY suppression, added a9AdsServicesWidgetTop suppression.
*/
@-moz-document domain("amazon.com") {
    /* Hide the "buy this together with that" offer */
    div#AutoBuyXGetY,
    div#AutoBuyXGetY + hr { display: none !important; }

    div#ManualBuyXGetY,
    div#ManualBuyXGetY + hr { display: none !important; }

    div#A9AdsServicesWidgetTop,
    div#A9AdsServicesWidgetTop + div + script + hr { display: none !important; }

    /* Hide the "Customers also Bought" list */
    div#purchase-sims-feature,
    div#purchase-sims-feature + div + hr { display: none !important; }

    /* Hide the "Tell the publisher to put it on kindle" ad */
    div.fionaPublish { display: none !important; }

    /* Don't care about citations */
    div#bookCitations { display: none !important; }

    /* Don't care about bottom links */
    table.bottomNavLinks { display: none !important; }

    /* Don't care about "Inside This Book" */
    div#bookpopover + hr + div.bucket,
    div#bookpopover + hr + div.bucket + hr { display: none !important; }

    /* Don't care about "Books on Related Topics" */
    div#booksOnRelatedTopics { display: none !important; }

    /* Don't care about tags. */
    div#cpsims-feature ~ style + hr,
    div#cpsims-feature ~ style + hr + div {display: none !important; }

    /* Don't want to sell a kindle edition */
    div#cpsims-feature ~ style + hr + div + hr,
    div#cpsims-feature ~ style + hr + div + hr + div {display: none !important; }

    /* Don't care about "customer forums" */
    div.cmPage,
    div.cmPage + hr { display: none !important; }

    /* Don't care about Amapedia Community Beta */
    div.cmPage + hr + div.bucket { display: none !important; }

    /* Don't care about ads for extraneous unrelated crap */
    div.amabot_widget + hr + div.bucket + hr,
    div.amabot_widget + hr + div.bucket + hr + div.bucket { display: none !important; }

    /* Don't want the blue feedback bar */
    iframe + a + center { display: none !important; }
    div#hmdFormDiv { display: none !important; }
}