2.2.0.25truefalse06012 - Disclosure - Summary of significant accounting policies (Details 2)truefalseIn Millionsfalse1falsefalseUSDfalsefalse12/31/2010 USD ($) $BalanceAsOf_31Dec2010http://www.sec.gov/CIK0000885721instant2010-12-31T00:00:000001-01-01T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170PureStandardhttp://www.xbrl.org/2003/instancepurexbrli0SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDUSD$2falsefalseUSDfalsefalse12/31/2009 USD ($) $BalanceAsOf_31Dec2009http://www.sec.gov/CIK0000885721instant2009-12-31T00:00:000001-01-01T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0PureStandardhttp://www.xbrl.org/2003/instancepurexbrli0USDUSD$3falsefalseUSDtruefalse{us-gaap_GoodwillBySegmentAxis} : PMG [Member] {us-gaap_StatementOperatingActivitiesSegmentAxis} : Segment, Discontinued Operations [Member] 1/1/2010 - 12/31/2010 USD ($) $TwelveMonthsEnded_31Dec2010_Segment_Discontinued_Operations_Member_P_M_G_Memberhttp://www.sec.gov/CIK0000885721duration2010-01-01T00:00:002010-12-31T00:00:00falsefalsePMG [Member]us-gaap_GoodwillBySegmentAxisxbrldihttp://xbrl.org/2006/xbrldiesrx_PMGMemberus-gaap_GoodwillBySegmentAxisexplicitMemberfalsefalseSegment, Discontinued Operations [Member]us-gaap_StatementOperatingActivitiesSegmentAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_SegmentDiscontinuedOperationsMemberus-gaap_StatementOperatingActivitiesSegmentAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2true0us-gaap_GoodwillLineItemsus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1falsefalsefalse00falsefalsefalsefalsefalse2falsefalsefalse00falsefalsefalsefalsefalse3falsefalsefalse00falsefalsefalsetruefalseOtherxbrli:stringItemTypestringLine items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.falsefalse3false0esrx_ImpairmentOfGoodwillesrxfalsedebitinstantImpairment of goodwill.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1truefalsefalse00falsetruefalsefalsefalse2truefalsefalse00falsetruefalsefalsefalse3falsefalsefalse00falsefalsefalsetruefalseMonetaryxbrli:monetaryItemTypemonetaryImpairment of goodwill.No authoritative reference available.falsefalse4false0us-gaap_GoodwillImpairmentLossus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1falsefalsefalse00falsefalsefalsefalsefalse2falsefalsefalse00falsefalsefalsefalsefalse3truefalsefalse2210000022.1falsetruefalsetruefalseMonetaryxbrli:monetaryItemTypemonetaryLoss recognized during the period that results from the write-down of goodwill after comparing the implied fair value of reporting unit goodwill with the carrying amount of that goodwill. Goodwill is assessed at least annually for impairment.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 142 -Paragraph 45 -Subparagraph e(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 142 -Paragraph 43 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 142 -Paragraph 47 -Subparagraph b Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 142 -Paragraph 20 falsefalse33Summary of significant accounting policies (Details 2) (USD $)MillionsUnKnownUnKnownUnKnownfalsetrue