2.4.0.8159 - Disclosure - Fair Value of Financial Assets and Liabilities (Detail)truefalseIn Thousands, unless otherwise specifiedfalse1false
USDfalsefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2false
USDfalsefalse$eol_PE7265----1310-Q0007_STD_0_20121231_0http://www.sec.gov/CIK0001048477instant2012-12-31T00:00:000001-01-01T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
2false
4us-gaap_CashAndCashEquivalentsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse175445000175445USD$falsetruefalse | 2truefalsefalse180527000180527USD$falsetruefalse | xbrli:monetaryItemTypemonetaryFair value portion of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Cash
-URI http://asc.fasb.org/extlink&oid=6506951
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Cash Equivalents
-URI http://asc.fasb.org/extlink&oid=6507016
false2
3false
4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse349021000349021USD$falsefalsefalse | 2truefalsefalse386204000386204USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
4false
4bmrn_OtherAssetsCurrentFairValueDisclosurebmrn_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse35630003563USD$falsefalsefalse | 2truefalsefalse58420005842USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryOther Assets Current, Fair Value DisclosureNo definition available.false2
5false
4bmrn_OtherAssetsNoncurrentFairValueDisclosurebmrn_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse52710005271USD$falsefalsefalse | 2truefalsefalse58670005867USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryOther Assets Noncurrent, Fair Value DisclosureNo definition available.false2
6false
4us-gaap_AssetsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel| 1truefalsefalse533300000533300USD$falsefalsefalse | 2truefalsefalse578440000578440USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryFair value portion of probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 820
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=25499696&loc=d3e19207-110258
true2
7false
4us-gaap_DeferredCompensationCashBasedArrangementsLiabilityCurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1truefalsefalse17600001760USD$falsefalsefalse | 2truefalsefalse64400006440USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAggregate carrying value as of the balance sheet date of the liabilities for deferred compensation arrangements payable within one year (or the normal operating cycle, if longer). Represents currently earned compensation under cash arrangements (such as a profit-sharing plan, rabbi trust, and employee contract--excluding equity-based arrangements) that is not actually paid until a later date.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 710
-SubTopic 10
-Section 30
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6409875&loc=d3e20028-108363
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 710
-SubTopic 10
-Section 25
-Paragraph 15
-URI http://asc.fasb.org/extlink&oid=6409836&loc=d3e19793-108362
false2
8false
4us-gaap_AssetRetirementObligationCurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse16850001685USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryCurrent portion of the carrying amount of a liability for an asset retirement obligation. An asset retirement obligation is a legal obligation associated with the disposal or retirement of a tangible long-lived asset that results from the acquisition, construction or development, or the normal operations of a long-lived asset, except for certain obligations of lessees.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 410
-SubTopic 20
-Section 50
-Paragraph 1
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=6392692&loc=d3e7535-110849
false2
9false
4bmrn_OtherLiabilitiesCurrentFairValueDisclosurebmrn_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse2325700023257USD$falsefalsefalse | 2truefalsefalse1996700019967USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryOther Liabilities Current Fair Value DisclosureNo definition available.false2
10false
4bmrn_BusinessCombinationContingentConsiderationAtFairValueCurrentbmrn_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse2096200020962USD$falsefalsefalse | 2truefalsefalse1076400010764USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryBusiness Combination, Contingent Consideration, at Fair Value, CurrentNo definition available.false2
11false
4bmrn_OtherLiabilitiesNoncurrentFairValueDisclosurebmrn_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse3947900039479USD$falsefalsefalse | 2truefalsefalse4264600042646USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryOther Liabilities Noncurrent Fair Value DisclosureNo definition available.false2
12false
4us-gaap_LiabilitiesFairValueDisclosureus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel| 1truefalsefalse6273600062736USD$falsefalsefalse | 2truefalsefalse6261300062613USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryFair value of financial and nonfinancial obligations.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 820
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=25499696&loc=d3e19207-110258
true2
13false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_712705x711817http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseCorporate Equity Securitiesus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_EquitySecuritiesMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
14true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
15false
4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse59730005973USD$falsefalsefalse | 2truefalsefalse29330002933USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
16false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 5false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_712705x711515http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseU.S. Government Agency Securitiesus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_USGovernmentAgenciesDebtSecuritiesMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
17true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
18false
4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse64820006482USD$falsefalsefalse | 2truefalsefalse1751700017517USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
19false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 7false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_712705x712703http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseCommercial Paperus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CommercialPaperMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
20true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
21false
4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse6284400062844USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
22false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 8false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x710446http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseOvernight Depositsus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_DepositsMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
23true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
24false
4us-gaap_CashAndCashEquivalentsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse120608000120608USD$falsefalsefalse | 2truefalsefalse5401800054018USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryFair value portion of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Cash
-URI http://asc.fasb.org/extlink&oid=6506951
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Cash Equivalents
-URI http://asc.fasb.org/extlink&oid=6507016
false2
25false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 10false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x710575http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseMoney Market Instrumentsus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MoneyMarketFundsMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
26true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
27false
4us-gaap_CashAndCashEquivalentsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse5483700054837USD$falsefalsefalse | 2truefalsefalse126509000126509USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryFair value portion of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Cash
-URI http://asc.fasb.org/extlink&oid=6506951
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Cash Equivalents
-URI http://asc.fasb.org/extlink&oid=6507016
false2
28false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 12false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_712705x783343_715990x795201http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseAvailable-For-Sale Securities Short-Termus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_AvailableForSaleOfSecuritiesShortTermMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseCorporate Securitiesus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_CorporateSecuritiesMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
29true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
30false
4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse126731000126731USD$falsefalsefalse | 2truefalsefalse222147000222147USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
31false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 14false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_712705x711817_715990x795201http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseAvailable-For-Sale Securities Short-Termus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_AvailableForSaleOfSecuritiesShortTermMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseCorporate Equity Securitiesus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_EquitySecuritiesMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
32true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
33false
4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse59730005973USD$falsefalsefalse | 2truefalsefalse29330002933USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
34false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 16false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20121231_0_712705x711515_715990x795201http://www.sec.gov/CIK0001048477instant2012-12-31T00:00:000001-01-01T00:00:00falsefalseAvailable-For-Sale Securities Short-Termus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_AvailableForSaleOfSecuritiesShortTermMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseU.S. Government Agency Securitiesus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_USGovernmentAgenciesDebtSecuritiesMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
35true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
36false
4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse85160008516USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
37false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 17false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_712705x712703_715990x795201http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseAvailable-For-Sale Securities Short-Termus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_AvailableForSaleOfSecuritiesShortTermMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseCommercial Paperus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CommercialPaperMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
38true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
39false
4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse6284400062844USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
40false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 18false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x709312_715990x795201http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseAvailable-For-Sale Securities Short-Termus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_AvailableForSaleOfSecuritiesShortTermMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseCertificates of Depositus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CertificatesOfDepositMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
41true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
42false
4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse2956800029568USD$falsefalsefalse | 2truefalsefalse3661500036615USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
43false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 20false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_712705x783343_715990x827489http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseAvailable-For-Sale Securities Long-Termus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_AvailableForSaleOfSecuritiesLongTermMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseCorporate Securitiesus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_CorporateSecuritiesMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
44true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
45false
4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse108584000108584USD$falsefalsefalse | 2truefalsefalse9475300094753USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
46false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 22false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_712705x711515_715990x827489http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseAvailable-For-Sale Securities Long-Termus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_AvailableForSaleOfSecuritiesLongTermMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseU.S. Government Agency Securitiesus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_USGovernmentAgenciesDebtSecuritiesMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
47true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
48false
4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse64820006482USD$falsefalsefalse | 2truefalsefalse90010009001USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
49false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 24false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_712705x828735_715990x827489http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseAvailable-For-Sale Securities Long-Termus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_AvailableForSaleOfSecuritiesLongTermMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseGreek Government-Issued Bondsus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_GreekGovernmentBondsMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
50true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
51false
4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse109000109USD$falsefalsefalse | 2truefalsefalse100000100USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
52false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 26false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x709312_715990x827489http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseAvailable-For-Sale Securities Long-Termus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_AvailableForSaleOfSecuritiesLongTermMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseCertificates of Depositus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CertificatesOfDepositMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
53true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
54false
4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse87300008730USD$falsefalsefalse | 2truefalsefalse1213900012139USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
55false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 28false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_715990x715868http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseOther Current Assetsus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_OtherCurrentAssetsMemberus-gaap_BalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
56true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
57false
4us-gaap_RestrictedInvestmentsAtFairValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse18070001807[1]USD$falsefalsefalse | 2truefalsefalse22430002243[1]USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryThe aggregate value of all restricted investments.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 946
-SubTopic 320
-Section S99
-Paragraph 4
-Subparagraph (SX 210.12-12C.9(c))
-URI http://asc.fasb.org/extlink&oid=6955306&loc=d3e611225-123010
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 946
-SubTopic 320
-Section S99
-Paragraph 1
-Subparagraph (SX 210.12-12.6(c))
-URI http://asc.fasb.org/extlink&oid=6955306&loc=d3e611133-123010
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 12C
-Paragraph 9
-Subparagraph c
-Article 12
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 12
-Paragraph 6
-Subparagraph c
-Article 12
false2
58false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 30false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x708628_715990x715868http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseOther Current Assetsus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_OtherCurrentAssetsMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseDeferred Compensation Arrangement with Individual, by Type of Compensation, Pension and Other Postretirement Benefitsus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_DeferredCompensationArrangementWithIndividualByTypeOfCompensationPensionAndOtherPostretirementBenefitsMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
59true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
60false
4us-gaap_DeferredCompensationPlanAssetsus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse3100031USD$falsefalsefalse | 2truefalsefalse20520002052USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryCarrying amount as of the balance sheet date of assets held under deferred compensation agreements.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.17)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 17
-Article 5
false2
61false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 32false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x716981_715990x715868http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseOther Current Assetsus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_OtherCurrentAssetsMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseForeign Exchange Forwardus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ForeignExchangeForwardMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
62true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
63false
4us-gaap_DerivativeAssetsCurrentus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse17250001725[2]USD$falsefalsefalse | 2truefalsefalse15470001547[2]USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryFair value, after the effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, expected to be settled within one year or normal operating cycle, if longer. Includes assets not subject to a master netting arrangement and not elected to be offset.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 825
-SubTopic 10
-Section 50
-Paragraph 10
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=28364263&loc=d3e13433-108611
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 10
-Section 45
-Paragraph 5
-URI http://asc.fasb.org/extlink&oid=6945355&loc=d3e41228-113958
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 825
-SubTopic 10
-Section 50
-Paragraph 15
-URI http://asc.fasb.org/extlink&oid=28364263&loc=d3e13495-108611
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 20
-Section 50
-Paragraph 3
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=20225523&loc=SL20225862-175312
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 10
-Section 45
-Paragraph 6
-URI http://asc.fasb.org/extlink&oid=6945355&loc=d3e41271-113958
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Current Assets
-URI http://asc.fasb.org/extlink&oid=6509628
false2
64false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 34false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_715990x709525http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseOther Assetsus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_OtherAssetsMemberus-gaap_BalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
65true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
66false
4us-gaap_RestrictedInvestmentsAtFairValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse18340001834[1]USD$falsefalsefalse | 2truefalsefalse34920003492[1]USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryThe aggregate value of all restricted investments.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 946
-SubTopic 320
-Section S99
-Paragraph 4
-Subparagraph (SX 210.12-12C.9(c))
-URI http://asc.fasb.org/extlink&oid=6955306&loc=d3e611225-123010
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 946
-SubTopic 320
-Section S99
-Paragraph 1
-Subparagraph (SX 210.12-12.6(c))
-URI http://asc.fasb.org/extlink&oid=6955306&loc=d3e611133-123010
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 12C
-Paragraph 9
-Subparagraph c
-Article 12
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 12
-Paragraph 6
-Subparagraph c
-Article 12
false2
67false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 36false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x708628_715990x709525http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseOther Assetsus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_OtherAssetsMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseDeferred Compensation Arrangement with Individual, by Type of Compensation, Pension and Other Postretirement Benefitsus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_DeferredCompensationArrangementWithIndividualByTypeOfCompensationPensionAndOtherPostretirementBenefitsMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
68true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
69false
4us-gaap_DeferredCompensationPlanAssetsus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse30090003009USD$falsefalsefalse | 2truefalsefalse23750002375USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryCarrying amount as of the balance sheet date of assets held under deferred compensation agreements.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.17)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 17
-Article 5
false2
70false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 38false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x716981_715990x709525http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseOther Assetsus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_OtherAssetsMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseForeign Exchange Forwardus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ForeignExchangeForwardMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
71true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
72false
4us-gaap_DerivativeAssetsNoncurrentus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse428000428[2]USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryFair value, after the effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, expected to be settled after one year or the normal operating cycle, if longer. Includes assets not subject to a master netting arrangement and not elected to be offset.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 825
-SubTopic 10
-Section 50
-Paragraph 10
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=28364263&loc=d3e13433-108611
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 10
-Section 45
-Paragraph 5
-URI http://asc.fasb.org/extlink&oid=6945355&loc=d3e41228-113958
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 825
-SubTopic 10
-Section 50
-Paragraph 15
-URI http://asc.fasb.org/extlink&oid=28364263&loc=d3e13495-108611
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 20
-Section 50
-Paragraph 3
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=20225523&loc=SL20225862-175312
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 10
-Section 45
-Paragraph 6
-URI http://asc.fasb.org/extlink&oid=6945355&loc=d3e41271-113958
false2
73false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 39false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_715990x808312http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseCurrent Liabilitiesus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_CurrentLiabilitiesMemberus-gaap_BalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
74true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
75false
4bmrn_BusinessCombinationContingentConsiderationAtFairValueCurrentbmrn_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse2096200020962USD$falsefalsefalse | 2truefalsefalse1076400010764USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryBusiness Combination, Contingent Consideration, at Fair Value, CurrentNo definition available.false2
76false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 41false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x708628_715990x808312http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseCurrent Liabilitiesus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_CurrentLiabilitiesMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseDeferred Compensation Arrangement with Individual, by Type of Compensation, Pension and Other Postretirement Benefitsus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_DeferredCompensationArrangementWithIndividualByTypeOfCompensationPensionAndOtherPostretirementBenefitsMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
77true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
78false
4us-gaap_DeferredCompensationCashBasedArrangementsLiabilityCurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1truefalsefalse17600001760USD$falsefalsefalse | 2truefalsefalse64400006440USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAggregate carrying value as of the balance sheet date of the liabilities for deferred compensation arrangements payable within one year (or the normal operating cycle, if longer). Represents currently earned compensation under cash arrangements (such as a profit-sharing plan, rabbi trust, and employee contract--excluding equity-based arrangements) that is not actually paid until a later date.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 710
-SubTopic 10
-Section 30
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6409875&loc=d3e20028-108363
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 710
-SubTopic 10
-Section 25
-Paragraph 15
-URI http://asc.fasb.org/extlink&oid=6409836&loc=d3e19793-108362
false2
79false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 43false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x716981_715990x808312http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseCurrent Liabilitiesus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_CurrentLiabilitiesMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseForeign Exchange Forwardus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ForeignExchangeForwardMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
80true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
81false
4us-gaap_DerivativeLiabilitiesCurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse535000535[2]USD$falsefalsefalse | 2truefalsefalse10780001078[2]USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryFair value, after the effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, expected to be settled within one year or normal operating cycle, if longer. Includes assets not subject to a master netting arrangement and not elected to be offset.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Current Liabilities
-URI http://asc.fasb.org/extlink&oid=6509677
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 825
-SubTopic 10
-Section 50
-Paragraph 10
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=28364263&loc=d3e13433-108611
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 10
-Section 45
-Paragraph 5
-URI http://asc.fasb.org/extlink&oid=6945355&loc=d3e41228-113958
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 825
-SubTopic 10
-Section 50
-Paragraph 15
-URI http://asc.fasb.org/extlink&oid=28364263&loc=d3e13495-108611
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 20
-Section 50
-Paragraph 3
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=20225523&loc=SL20225862-175312
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 10
-Section 45
-Paragraph 6
-URI http://asc.fasb.org/extlink&oid=6945355&loc=d3e41271-113958
false2
82false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 45false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_715990x716298http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseOther Long-Term Liabilitiesus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_OtherNoncurrentLiabilitiesMemberus-gaap_BalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
83true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
84false
4bmrn_BusinessCombinationContingentConsiderationAtFairValueNoncurrentbmrn_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse3061800030618USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryBusiness Combination, Contingent Consideration, at Fair Value, Non currentNo definition available.false2
85false
4us-gaap_AssetRetirementObligationsNoncurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse39930003993USD$falsefalsefalse | 2truefalsefalse21920002192USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryNoncurrent portion of the carrying amount of a liability for an asset retirement obligation. An asset retirement obligation is a legal obligation associated with the disposal or retirement of a tangible long-lived asset that results from the acquisition, construction or development, or the normal operations of a long-lived asset, except for certain obligations of lessees.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 410
-SubTopic 20
-Section 50
-Paragraph 1
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=6392692&loc=d3e7535-110849
false2
86false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 47false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x708628_715990x716298http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseOther Long-Term Liabilitiesus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_OtherNoncurrentLiabilitiesMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseDeferred Compensation Arrangement with Individual, by Type of Compensation, Pension and Other Postretirement Benefitsus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_DeferredCompensationArrangementWithIndividualByTypeOfCompensationPensionAndOtherPostretirementBenefitsMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
87true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
88false
4us-gaap_DeferredCompensationCashbasedArrangementsLiabilityClassifiedNoncurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse1222500012225USD$falsefalsefalse | 2truefalsefalse94680009468USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAggregate carrying value as of the balance sheet date of the liabilities for deferred compensation arrangements payable after one year (or the normal operating cycle, if longer). Represents currently earned compensation under cash arrangements (such as a profit-sharing plan, rabbi trust, and employee contract--excluding equity-based arrangements) that is not actually paid until a later date.No definition available.false2
89false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 49false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x716981_715990x716298http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseOther Long-Term Liabilitiesus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_OtherNoncurrentLiabilitiesMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseForeign Exchange Forwardus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ForeignExchangeForwardMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
90true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
91false
4us-gaap_DerivativeLiabilitiesNoncurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse368000368[2]USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryFair value, after the effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, expected to be settled after one year or the normal operating cycle, if longer. Includes assets not subject to a master netting arrangement and not elected to be offset.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 825
-SubTopic 10
-Section 50
-Paragraph 10
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=28364263&loc=d3e13433-108611
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 10
-Section 45
-Paragraph 5
-URI http://asc.fasb.org/extlink&oid=6945355&loc=d3e41228-113958
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 825
-SubTopic 10
-Section 50
-Paragraph 15
-URI http://asc.fasb.org/extlink&oid=28364263&loc=d3e13495-108611
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 20
-Section 50
-Paragraph 3
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=20225523&loc=SL20225862-175312
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 10
-Section 45
-Paragraph 6
-URI http://asc.fasb.org/extlink&oid=6945355&loc=d3e41271-113958
false2
92false
4bmrn_BusinessCombinationContingentConsiderationAtFairValueNoncurrentbmrn_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse2326100023261USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryBusiness Combination, Contingent Consideration, at Fair Value, Non currentNo definition available.false2
93false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 51false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_715757x707740http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseQuoted Price In Active Markets For Identical Assets (Level 1)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel1Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
94true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
95false
4us-gaap_CashAndCashEquivalentsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse120608000120608USD$falsefalsefalse | 2truefalsefalse5401800054018USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryFair value portion of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Cash
-URI http://asc.fasb.org/extlink&oid=6506951
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Cash Equivalents
-URI http://asc.fasb.org/extlink&oid=6507016
false2
96false
4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00USD$falsefalsefalse | 2truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
97false
4bmrn_OtherAssetsCurrentFairValueDisclosurebmrn_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00USD$falsefalsefalse | 2truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryOther Assets Current, Fair Value DisclosureNo definition available.false2
98false
4bmrn_OtherAssetsNoncurrentFairValueDisclosurebmrn_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00USD$falsefalsefalse | 2truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryOther Assets Noncurrent, Fair Value DisclosureNo definition available.false2
99false
4us-gaap_AssetsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel| 1truefalsefalse120608000120608USD$falsefalsefalse | 2truefalsefalse5401800054018USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryFair value portion of probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 820
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=25499696&loc=d3e19207-110258
true2
100false
4us-gaap_AssetRetirementObligationCurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryCurrent portion of the carrying amount of a liability for an asset retirement obligation. An asset retirement obligation is a legal obligation associated with the disposal or retirement of a tangible long-lived asset that results from the acquisition, construction or development, or the normal operations of a long-lived asset, except for certain obligations of lessees.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 410
-SubTopic 20
-Section 50
-Paragraph 1
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=6392692&loc=d3e7535-110849
false2
101false
4bmrn_OtherLiabilitiesCurrentFairValueDisclosurebmrn_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse17290001729USD$falsefalsefalse | 2truefalsefalse64400006440USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryOther Liabilities Current Fair Value DisclosureNo definition available.false2
102false
4bmrn_OtherLiabilitiesNoncurrentFairValueDisclosurebmrn_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse92160009216USD$falsefalsefalse | 2truefalsefalse50410005041USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryOther Liabilities Noncurrent Fair Value DisclosureNo definition available.false2
103false
4us-gaap_LiabilitiesFairValueDisclosureus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel| 1truefalsefalse1094500010945USD$falsefalsefalse | 2truefalsefalse1148100011481USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryFair value of financial and nonfinancial obligations.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 820
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=25499696&loc=d3e19207-110258
true2
104false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 53false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x710446_715757x707740http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseQuoted Price In Active Markets For Identical Assets (Level 1)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel1Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseOvernight Depositsus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_DepositsMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
105true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
106false
4us-gaap_CashAndCashEquivalentsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse120608000120608USD$falsefalsefalse | 2truefalsefalse5401800054018USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryFair value portion of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Cash
-URI http://asc.fasb.org/extlink&oid=6506951
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Cash Equivalents
-URI http://asc.fasb.org/extlink&oid=6507016
false2
107false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 55false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x710575_715757x707740http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseQuoted Price In Active Markets For Identical Assets (Level 1)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel1Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseMoney Market Instrumentsus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MoneyMarketFundsMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
108true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
109false
4us-gaap_CashAndCashEquivalentsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00USD$falsefalsefalse | 2truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryFair value portion of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Cash
-URI http://asc.fasb.org/extlink&oid=6506951
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Cash Equivalents
-URI http://asc.fasb.org/extlink&oid=6507016
false2
110false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 57false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_712705x783343_715757x707740_715990x795201http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseQuoted Price In Active Markets For Identical Assets (Level 1)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel1Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseAvailable-For-Sale Securities Short-Termus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_AvailableForSaleOfSecuritiesShortTermMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseCorporate Securitiesus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_CorporateSecuritiesMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
111true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
112false
4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00USD$falsefalsefalse | 2truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
113false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 59false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_712705x711817_715757x707740_715990x795201http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseQuoted Price In Active Markets For Identical Assets (Level 1)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel1Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseAvailable-For-Sale Securities Short-Termus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_AvailableForSaleOfSecuritiesShortTermMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseCorporate Equity Securitiesus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_EquitySecuritiesMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
114true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
115false
4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00USD$falsefalsefalse | 2truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
116false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 61false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20121231_0_712705x711515_715757x707740_715990x795201http://www.sec.gov/CIK0001048477instant2012-12-31T00:00:000001-01-01T00:00:00falsefalseQuoted Price In Active Markets For Identical Assets (Level 1)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel1Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseAvailable-For-Sale Securities Short-Termus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_AvailableForSaleOfSecuritiesShortTermMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseU.S. Government Agency Securitiesus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_USGovernmentAgenciesDebtSecuritiesMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
117true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
118false
4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
119false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 62false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_712705x712703_715757x707740_715990x795201http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseQuoted Price In Active Markets For Identical Assets (Level 1)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel1Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseAvailable-For-Sale Securities Short-Termus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_AvailableForSaleOfSecuritiesShortTermMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseCommercial Paperus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CommercialPaperMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
120true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
121false
4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
122false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 63false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x709312_715757x707740_715990x795201http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseQuoted Price In Active Markets For Identical Assets (Level 1)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel1Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseAvailable-For-Sale Securities Short-Termus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_AvailableForSaleOfSecuritiesShortTermMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseCertificates of Depositus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CertificatesOfDepositMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
123true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
124false
4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00USD$falsefalsefalse | 2truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
125false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 65false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_712705x783343_715757x707740_715990x827489http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseQuoted Price In Active Markets For Identical Assets (Level 1)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel1Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseAvailable-For-Sale Securities Long-Termus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_AvailableForSaleOfSecuritiesLongTermMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseCorporate Securitiesus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_CorporateSecuritiesMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
126true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
127false
4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00USD$falsefalsefalse | 2truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
128false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 67false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_712705x711515_715757x707740_715990x827489http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseQuoted Price In Active Markets For Identical Assets (Level 1)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel1Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseAvailable-For-Sale Securities Long-Termus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_AvailableForSaleOfSecuritiesLongTermMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseU.S. Government Agency Securitiesus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_USGovernmentAgenciesDebtSecuritiesMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
129true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
130false
4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00USD$falsefalsefalse | 2truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
131false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 69false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_712705x828735_715757x707740_715990x827489http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseQuoted Price In Active Markets For Identical Assets (Level 1)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel1Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseAvailable-For-Sale Securities Long-Termus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_AvailableForSaleOfSecuritiesLongTermMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseGreek Government-Issued Bondsus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_GreekGovernmentBondsMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
132true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
133false
4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00USD$falsefalsefalse | 2truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
134false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 71false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x709312_715757x707740_715990x827489http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseQuoted Price In Active Markets For Identical Assets (Level 1)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel1Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseAvailable-For-Sale Securities Long-Termus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_AvailableForSaleOfSecuritiesLongTermMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseCertificates of Depositus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CertificatesOfDepositMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
135true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
136false
4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00USD$falsefalsefalse | 2truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
137false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 73false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_715757x707740_715990x715868http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseQuoted Price In Active Markets For Identical Assets (Level 1)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel1Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseOther Current Assetsus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_OtherCurrentAssetsMemberus-gaap_BalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
138true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
139false
4us-gaap_RestrictedInvestmentsAtFairValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00[1]USD$falsefalsefalse | 2truefalsefalse00[1]USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryThe aggregate value of all restricted investments.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 946
-SubTopic 320
-Section S99
-Paragraph 4
-Subparagraph (SX 210.12-12C.9(c))
-URI http://asc.fasb.org/extlink&oid=6955306&loc=d3e611225-123010
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 946
-SubTopic 320
-Section S99
-Paragraph 1
-Subparagraph (SX 210.12-12.6(c))
-URI http://asc.fasb.org/extlink&oid=6955306&loc=d3e611133-123010
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 12C
-Paragraph 9
-Subparagraph c
-Article 12
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 12
-Paragraph 6
-Subparagraph c
-Article 12
false2
140false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 75false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x708628_715757x707740_715990x715868http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseQuoted Price In Active Markets For Identical Assets (Level 1)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel1Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseOther Current Assetsus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_OtherCurrentAssetsMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseDeferred Compensation Arrangement with Individual, by Type of Compensation, Pension and Other Postretirement Benefitsus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_DeferredCompensationArrangementWithIndividualByTypeOfCompensationPensionAndOtherPostretirementBenefitsMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
141true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
142false
4us-gaap_DeferredCompensationPlanAssetsus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00USD$falsefalsefalse | 2truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryCarrying amount as of the balance sheet date of assets held under deferred compensation agreements.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.17)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 17
-Article 5
false2
143false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 77false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x716981_715757x707740_715990x715868http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseQuoted Price In Active Markets For Identical Assets (Level 1)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel1Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseOther Current Assetsus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_OtherCurrentAssetsMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseForeign Exchange Forwardus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ForeignExchangeForwardMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
144true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
145false
4us-gaap_DerivativeAssetsCurrentus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00[2]USD$falsefalsefalse | 2truefalsefalse00[2]USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryFair value, after the effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, expected to be settled within one year or normal operating cycle, if longer. Includes assets not subject to a master netting arrangement and not elected to be offset.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 825
-SubTopic 10
-Section 50
-Paragraph 10
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=28364263&loc=d3e13433-108611
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 10
-Section 45
-Paragraph 5
-URI http://asc.fasb.org/extlink&oid=6945355&loc=d3e41228-113958
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 825
-SubTopic 10
-Section 50
-Paragraph 15
-URI http://asc.fasb.org/extlink&oid=28364263&loc=d3e13495-108611
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 20
-Section 50
-Paragraph 3
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=20225523&loc=SL20225862-175312
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 10
-Section 45
-Paragraph 6
-URI http://asc.fasb.org/extlink&oid=6945355&loc=d3e41271-113958
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Current Assets
-URI http://asc.fasb.org/extlink&oid=6509628
false2
146false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 79false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_715757x707740_715990x709525http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseQuoted Price In Active Markets For Identical Assets (Level 1)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel1Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseOther Assetsus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_OtherAssetsMemberus-gaap_BalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
147true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
148false
4us-gaap_RestrictedInvestmentsAtFairValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00[1]USD$falsefalsefalse | 2truefalsefalse00[1]USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryThe aggregate value of all restricted investments.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 946
-SubTopic 320
-Section S99
-Paragraph 4
-Subparagraph (SX 210.12-12C.9(c))
-URI http://asc.fasb.org/extlink&oid=6955306&loc=d3e611225-123010
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 946
-SubTopic 320
-Section S99
-Paragraph 1
-Subparagraph (SX 210.12-12.6(c))
-URI http://asc.fasb.org/extlink&oid=6955306&loc=d3e611133-123010
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 12C
-Paragraph 9
-Subparagraph c
-Article 12
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 12
-Paragraph 6
-Subparagraph c
-Article 12
false2
149false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 81false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x708628_715757x707740_715990x709525http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseQuoted Price In Active Markets For Identical Assets (Level 1)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel1Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseOther Assetsus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_OtherAssetsMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseDeferred Compensation Arrangement with Individual, by Type of Compensation, Pension and Other Postretirement Benefitsus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_DeferredCompensationArrangementWithIndividualByTypeOfCompensationPensionAndOtherPostretirementBenefitsMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
150true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
151false
4us-gaap_DeferredCompensationPlanAssetsus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00USD$falsefalsefalse | 2truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryCarrying amount as of the balance sheet date of assets held under deferred compensation agreements.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.17)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 17
-Article 5
false2
152false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 83false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x716981_715757x707740_715990x709525http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseQuoted Price In Active Markets For Identical Assets (Level 1)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel1Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseOther Assetsus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_OtherAssetsMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseForeign Exchange Forwardus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ForeignExchangeForwardMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
153true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
154false
4us-gaap_DerivativeAssetsNoncurrentus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00[2]USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryFair value, after the effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, expected to be settled after one year or the normal operating cycle, if longer. Includes assets not subject to a master netting arrangement and not elected to be offset.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 825
-SubTopic 10
-Section 50
-Paragraph 10
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=28364263&loc=d3e13433-108611
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 10
-Section 45
-Paragraph 5
-URI http://asc.fasb.org/extlink&oid=6945355&loc=d3e41228-113958
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 825
-SubTopic 10
-Section 50
-Paragraph 15
-URI http://asc.fasb.org/extlink&oid=28364263&loc=d3e13495-108611
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 20
-Section 50
-Paragraph 3
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=20225523&loc=SL20225862-175312
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 10
-Section 45
-Paragraph 6
-URI http://asc.fasb.org/extlink&oid=6945355&loc=d3e41271-113958
false2
155false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 84false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_715757x707740_715990x808312http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseQuoted Price In Active Markets For Identical Assets (Level 1)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel1Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseCurrent Liabilitiesus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_CurrentLiabilitiesMemberus-gaap_BalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
156true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
157false
4bmrn_BusinessCombinationContingentConsiderationAtFairValueCurrentbmrn_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00USD$falsefalsefalse | 2truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryBusiness Combination, Contingent Consideration, at Fair Value, CurrentNo definition available.false2
158false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 86false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x708628_715757x707740_715990x808312http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseQuoted Price In Active Markets For Identical Assets (Level 1)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel1Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseCurrent Liabilitiesus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_CurrentLiabilitiesMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseDeferred Compensation Arrangement with Individual, by Type of Compensation, Pension and Other Postretirement Benefitsus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_DeferredCompensationArrangementWithIndividualByTypeOfCompensationPensionAndOtherPostretirementBenefitsMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
159true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
160false
4us-gaap_DeferredCompensationCashBasedArrangementsLiabilityCurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1truefalsefalse17290001729USD$falsefalsefalse | 2truefalsefalse64400006440USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAggregate carrying value as of the balance sheet date of the liabilities for deferred compensation arrangements payable within one year (or the normal operating cycle, if longer). Represents currently earned compensation under cash arrangements (such as a profit-sharing plan, rabbi trust, and employee contract--excluding equity-based arrangements) that is not actually paid until a later date.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 710
-SubTopic 10
-Section 30
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6409875&loc=d3e20028-108363
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 710
-SubTopic 10
-Section 25
-Paragraph 15
-URI http://asc.fasb.org/extlink&oid=6409836&loc=d3e19793-108362
false2
161false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 88false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x716981_715757x707740_715990x808312http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseQuoted Price In Active Markets For Identical Assets (Level 1)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel1Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseCurrent Liabilitiesus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_CurrentLiabilitiesMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseForeign Exchange Forwardus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ForeignExchangeForwardMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
162true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
163false
4us-gaap_DerivativeLiabilitiesCurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00[2]USD$falsefalsefalse | 2truefalsefalse00[2]USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryFair value, after the effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, expected to be settled within one year or normal operating cycle, if longer. Includes assets not subject to a master netting arrangement and not elected to be offset.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Current Liabilities
-URI http://asc.fasb.org/extlink&oid=6509677
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 825
-SubTopic 10
-Section 50
-Paragraph 10
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=28364263&loc=d3e13433-108611
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 10
-Section 45
-Paragraph 5
-URI http://asc.fasb.org/extlink&oid=6945355&loc=d3e41228-113958
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 825
-SubTopic 10
-Section 50
-Paragraph 15
-URI http://asc.fasb.org/extlink&oid=28364263&loc=d3e13495-108611
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 20
-Section 50
-Paragraph 3
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=20225523&loc=SL20225862-175312
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 10
-Section 45
-Paragraph 6
-URI http://asc.fasb.org/extlink&oid=6945355&loc=d3e41271-113958
false2
164false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 90false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_715757x707740_715990x716298http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseQuoted Price In Active Markets For Identical Assets (Level 1)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel1Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseOther Long-Term Liabilitiesus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_OtherNoncurrentLiabilitiesMemberus-gaap_BalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
165true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
166false
4bmrn_BusinessCombinationContingentConsiderationAtFairValueNoncurrentbmrn_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryBusiness Combination, Contingent Consideration, at Fair Value, Non currentNo definition available.false2
167false
4us-gaap_AssetRetirementObligationsNoncurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00USD$falsefalsefalse | 2truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryNoncurrent portion of the carrying amount of a liability for an asset retirement obligation. An asset retirement obligation is a legal obligation associated with the disposal or retirement of a tangible long-lived asset that results from the acquisition, construction or development, or the normal operations of a long-lived asset, except for certain obligations of lessees.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 410
-SubTopic 20
-Section 50
-Paragraph 1
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=6392692&loc=d3e7535-110849
false2
168false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 92false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x708628_715757x707740_715990x716298http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseQuoted Price In Active Markets For Identical Assets (Level 1)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel1Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseOther Long-Term Liabilitiesus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_OtherNoncurrentLiabilitiesMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseDeferred Compensation Arrangement with Individual, by Type of Compensation, Pension and Other Postretirement Benefitsus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_DeferredCompensationArrangementWithIndividualByTypeOfCompensationPensionAndOtherPostretirementBenefitsMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
169true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
170false
4us-gaap_DeferredCompensationCashbasedArrangementsLiabilityClassifiedNoncurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse92160009216USD$falsefalsefalse | 2truefalsefalse50410005041USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAggregate carrying value as of the balance sheet date of the liabilities for deferred compensation arrangements payable after one year (or the normal operating cycle, if longer). Represents currently earned compensation under cash arrangements (such as a profit-sharing plan, rabbi trust, and employee contract--excluding equity-based arrangements) that is not actually paid until a later date.No definition available.false2
171false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 94false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x716981_715757x707740_715990x716298http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseQuoted Price In Active Markets For Identical Assets (Level 1)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel1Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseOther Long-Term Liabilitiesus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_OtherNoncurrentLiabilitiesMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseForeign Exchange Forwardus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ForeignExchangeForwardMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
172true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
173false
4us-gaap_DerivativeLiabilitiesNoncurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse00[2]USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryFair value, after the effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, expected to be settled after one year or the normal operating cycle, if longer. Includes assets not subject to a master netting arrangement and not elected to be offset.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 825
-SubTopic 10
-Section 50
-Paragraph 10
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=28364263&loc=d3e13433-108611
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 10
-Section 45
-Paragraph 5
-URI http://asc.fasb.org/extlink&oid=6945355&loc=d3e41228-113958
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 825
-SubTopic 10
-Section 50
-Paragraph 15
-URI http://asc.fasb.org/extlink&oid=28364263&loc=d3e13495-108611
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 20
-Section 50
-Paragraph 3
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=20225523&loc=SL20225862-175312
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 10
-Section 45
-Paragraph 6
-URI http://asc.fasb.org/extlink&oid=6945355&loc=d3e41271-113958
false2
174false
4bmrn_BusinessCombinationContingentConsiderationAtFairValueNoncurrentbmrn_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryBusiness Combination, Contingent Consideration, at Fair Value, Non currentNo definition available.false2
175false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 96false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_715757x707855http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSignificant Other Observable Inputs (Level 2)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel2Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
176true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
177false
4us-gaap_CashAndCashEquivalentsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse5483700054837USD$falsefalsefalse | 2truefalsefalse126509000126509USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryFair value portion of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Cash
-URI http://asc.fasb.org/extlink&oid=6506951
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Cash Equivalents
-URI http://asc.fasb.org/extlink&oid=6507016
false2
178false
4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse349021000349021USD$falsefalsefalse | 2truefalsefalse386204000386204USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
179false
4bmrn_OtherAssetsCurrentFairValueDisclosurebmrn_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse35630003563USD$falsefalsefalse | 2truefalsefalse58420005842USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryOther Assets Current, Fair Value DisclosureNo definition available.false2
180false
4bmrn_OtherAssetsNoncurrentFairValueDisclosurebmrn_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse52710005271USD$falsefalsefalse | 2truefalsefalse58670005867USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryOther Assets Noncurrent, Fair Value DisclosureNo definition available.false2
181false
4us-gaap_AssetsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel| 1truefalsefalse412692000412692USD$falsefalsefalse | 2truefalsefalse524422000524422USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryFair value portion of probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 820
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=25499696&loc=d3e19207-110258
true2
182false
4us-gaap_AssetRetirementObligationCurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryCurrent portion of the carrying amount of a liability for an asset retirement obligation. An asset retirement obligation is a legal obligation associated with the disposal or retirement of a tangible long-lived asset that results from the acquisition, construction or development, or the normal operations of a long-lived asset, except for certain obligations of lessees.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 410
-SubTopic 20
-Section 50
-Paragraph 1
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=6392692&loc=d3e7535-110849
false2
183false
4bmrn_OtherLiabilitiesCurrentFairValueDisclosurebmrn_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse566000566USD$falsefalsefalse | 2truefalsefalse10780001078USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryOther Liabilities Current Fair Value DisclosureNo definition available.false2
184false
4bmrn_OtherLiabilitiesNoncurrentFairValueDisclosurebmrn_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse30090003009USD$falsefalsefalse | 2truefalsefalse47950004795USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryOther Liabilities Noncurrent Fair Value DisclosureNo definition available.false2
185false
4us-gaap_LiabilitiesFairValueDisclosureus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel| 1truefalsefalse35750003575USD$falsefalsefalse | 2truefalsefalse58730005873USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryFair value of financial and nonfinancial obligations.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 820
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=25499696&loc=d3e19207-110258
true2
186false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 98false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x710446_715757x707855http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSignificant Other Observable Inputs (Level 2)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel2Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseOvernight Depositsus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_DepositsMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
187true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
188false
4us-gaap_CashAndCashEquivalentsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00USD$falsefalsefalse | 2truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryFair value portion of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Cash
-URI http://asc.fasb.org/extlink&oid=6506951
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Cash Equivalents
-URI http://asc.fasb.org/extlink&oid=6507016
false2
189false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 100false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x710575_715757x707855http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSignificant Other Observable Inputs (Level 2)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel2Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseMoney Market Instrumentsus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MoneyMarketFundsMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
190true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
191false
4us-gaap_CashAndCashEquivalentsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse5483700054837USD$falsefalsefalse | 2truefalsefalse126509000126509USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryFair value portion of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Cash
-URI http://asc.fasb.org/extlink&oid=6506951
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Cash Equivalents
-URI http://asc.fasb.org/extlink&oid=6507016
false2
192false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 102false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_712705x783343_715757x707855_715990x795201http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSignificant Other Observable Inputs (Level 2)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel2Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseAvailable-For-Sale Securities Short-Termus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_AvailableForSaleOfSecuritiesShortTermMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseCorporate Securitiesus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_CorporateSecuritiesMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
193true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
194false
4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse126731000126731USD$falsefalsefalse | 2truefalsefalse222147000222147USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
195false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 104false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_712705x711817_715757x707855_715990x795201http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSignificant Other Observable Inputs (Level 2)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel2Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseAvailable-For-Sale Securities Short-Termus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_AvailableForSaleOfSecuritiesShortTermMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseCorporate Equity Securitiesus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_EquitySecuritiesMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
196true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
197false
4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse59730005973USD$falsefalsefalse | 2truefalsefalse29330002933USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
198false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 106false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20121231_0_712705x711515_715757x707855_715990x795201http://www.sec.gov/CIK0001048477instant2012-12-31T00:00:000001-01-01T00:00:00falsefalseSignificant Other Observable Inputs (Level 2)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel2Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseAvailable-For-Sale Securities Short-Termus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_AvailableForSaleOfSecuritiesShortTermMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseU.S. Government Agency Securitiesus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_USGovernmentAgenciesDebtSecuritiesMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
199true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
200false
4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse85160008516USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
201false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 107false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_712705x712703_715757x707855_715990x795201http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSignificant Other Observable Inputs (Level 2)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel2Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseAvailable-For-Sale Securities Short-Termus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_AvailableForSaleOfSecuritiesShortTermMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseCommercial Paperus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CommercialPaperMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
202true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
203false
4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse6284400062844USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
204false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 108false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x709312_715757x707855_715990x795201http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSignificant Other Observable Inputs (Level 2)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel2Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseAvailable-For-Sale Securities Short-Termus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_AvailableForSaleOfSecuritiesShortTermMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseCertificates of Depositus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CertificatesOfDepositMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
205true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
206false
4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse2956800029568USD$falsefalsefalse | 2truefalsefalse3661500036615USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
207false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 110false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_712705x783343_715757x707855_715990x827489http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSignificant Other Observable Inputs (Level 2)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel2Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseAvailable-For-Sale Securities Long-Termus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_AvailableForSaleOfSecuritiesLongTermMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseCorporate Securitiesus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_CorporateSecuritiesMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
208true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
209false
4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse108584000108584USD$falsefalsefalse | 2truefalsefalse9475300094753USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
210false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 112false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_712705x711515_715757x707855_715990x827489http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSignificant Other Observable Inputs (Level 2)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel2Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseAvailable-For-Sale Securities Long-Termus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_AvailableForSaleOfSecuritiesLongTermMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseU.S. Government Agency Securitiesus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_USGovernmentAgenciesDebtSecuritiesMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
211true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
212false
4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse64820006482USD$falsefalsefalse | 2truefalsefalse90010009001USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
213false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 114false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_712705x828735_715757x707855_715990x827489http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSignificant Other Observable Inputs (Level 2)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel2Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseAvailable-For-Sale Securities Long-Termus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_AvailableForSaleOfSecuritiesLongTermMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseGreek Government-Issued Bondsus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_GreekGovernmentBondsMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
214true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
215false
4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse109000109USD$falsefalsefalse | 2truefalsefalse100000100USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
216false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 116false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x709312_715757x707855_715990x827489http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSignificant Other Observable Inputs (Level 2)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel2Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseAvailable-For-Sale Securities Long-Termus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_AvailableForSaleOfSecuritiesLongTermMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseCertificates of Depositus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CertificatesOfDepositMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
217true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
218false
4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse87300008730USD$falsefalsefalse | 2truefalsefalse1213900012139USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
219false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 118false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_715757x707855_715990x715868http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSignificant Other Observable Inputs (Level 2)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel2Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseOther Current Assetsus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_OtherCurrentAssetsMemberus-gaap_BalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
220true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
221false
4us-gaap_RestrictedInvestmentsAtFairValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse18070001807[1]USD$falsefalsefalse | 2truefalsefalse22430002243[1]USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryThe aggregate value of all restricted investments.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 946
-SubTopic 320
-Section S99
-Paragraph 4
-Subparagraph (SX 210.12-12C.9(c))
-URI http://asc.fasb.org/extlink&oid=6955306&loc=d3e611225-123010
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 946
-SubTopic 320
-Section S99
-Paragraph 1
-Subparagraph (SX 210.12-12.6(c))
-URI http://asc.fasb.org/extlink&oid=6955306&loc=d3e611133-123010
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 12C
-Paragraph 9
-Subparagraph c
-Article 12
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 12
-Paragraph 6
-Subparagraph c
-Article 12
false2
222false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 120false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x708628_715757x707855_715990x715868http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSignificant Other Observable Inputs (Level 2)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel2Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseOther Current Assetsus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_OtherCurrentAssetsMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseDeferred Compensation Arrangement with Individual, by Type of Compensation, Pension and Other Postretirement Benefitsus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_DeferredCompensationArrangementWithIndividualByTypeOfCompensationPensionAndOtherPostretirementBenefitsMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
223true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
224false
4us-gaap_DeferredCompensationPlanAssetsus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse3100031USD$falsefalsefalse | 2truefalsefalse20520002052USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryCarrying amount as of the balance sheet date of assets held under deferred compensation agreements.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.17)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 17
-Article 5
false2
225false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 122false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x716981_715757x707855_715990x715868http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSignificant Other Observable Inputs (Level 2)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel2Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseOther Current Assetsus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_OtherCurrentAssetsMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseForeign Exchange Forwardus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ForeignExchangeForwardMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
226true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
227false
4us-gaap_DerivativeAssetsCurrentus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse17250001725[2]USD$falsefalsefalse | 2truefalsefalse15470001547[2]USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryFair value, after the effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, expected to be settled within one year or normal operating cycle, if longer. Includes assets not subject to a master netting arrangement and not elected to be offset.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 825
-SubTopic 10
-Section 50
-Paragraph 10
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=28364263&loc=d3e13433-108611
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 10
-Section 45
-Paragraph 5
-URI http://asc.fasb.org/extlink&oid=6945355&loc=d3e41228-113958
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 825
-SubTopic 10
-Section 50
-Paragraph 15
-URI http://asc.fasb.org/extlink&oid=28364263&loc=d3e13495-108611
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 20
-Section 50
-Paragraph 3
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=20225523&loc=SL20225862-175312
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 10
-Section 45
-Paragraph 6
-URI http://asc.fasb.org/extlink&oid=6945355&loc=d3e41271-113958
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Current Assets
-URI http://asc.fasb.org/extlink&oid=6509628
false2
228false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 124false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_715757x707855_715990x709525http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSignificant Other Observable Inputs (Level 2)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel2Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseOther Assetsus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_OtherAssetsMemberus-gaap_BalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
229true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
230false
4us-gaap_RestrictedInvestmentsAtFairValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse18340001834[1]USD$falsefalsefalse | 2truefalsefalse34920003492[1]USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryThe aggregate value of all restricted investments.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 946
-SubTopic 320
-Section S99
-Paragraph 4
-Subparagraph (SX 210.12-12C.9(c))
-URI http://asc.fasb.org/extlink&oid=6955306&loc=d3e611225-123010
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 946
-SubTopic 320
-Section S99
-Paragraph 1
-Subparagraph (SX 210.12-12.6(c))
-URI http://asc.fasb.org/extlink&oid=6955306&loc=d3e611133-123010
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 12C
-Paragraph 9
-Subparagraph c
-Article 12
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 12
-Paragraph 6
-Subparagraph c
-Article 12
false2
231false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 126false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x708628_715757x707855_715990x709525http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSignificant Other Observable Inputs (Level 2)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel2Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseOther Assetsus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_OtherAssetsMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseDeferred Compensation Arrangement with Individual, by Type of Compensation, Pension and Other Postretirement Benefitsus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_DeferredCompensationArrangementWithIndividualByTypeOfCompensationPensionAndOtherPostretirementBenefitsMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
232true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
233false
4us-gaap_DeferredCompensationPlanAssetsus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse30090003009USD$falsefalsefalse | 2truefalsefalse23750002375USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryCarrying amount as of the balance sheet date of assets held under deferred compensation agreements.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.17)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 17
-Article 5
false2
234false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 128false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x716981_715757x707855_715990x709525http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSignificant Other Observable Inputs (Level 2)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel2Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseOther Assetsus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_OtherAssetsMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseForeign Exchange Forwardus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ForeignExchangeForwardMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
235true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
236false
4us-gaap_DerivativeAssetsNoncurrentus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse428000428[2]USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryFair value, after the effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, expected to be settled after one year or the normal operating cycle, if longer. Includes assets not subject to a master netting arrangement and not elected to be offset.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 825
-SubTopic 10
-Section 50
-Paragraph 10
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=28364263&loc=d3e13433-108611
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 10
-Section 45
-Paragraph 5
-URI http://asc.fasb.org/extlink&oid=6945355&loc=d3e41228-113958
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 825
-SubTopic 10
-Section 50
-Paragraph 15
-URI http://asc.fasb.org/extlink&oid=28364263&loc=d3e13495-108611
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 20
-Section 50
-Paragraph 3
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=20225523&loc=SL20225862-175312
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 10
-Section 45
-Paragraph 6
-URI http://asc.fasb.org/extlink&oid=6945355&loc=d3e41271-113958
false2
237false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 129false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_715757x707855_715990x808312http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSignificant Other Observable Inputs (Level 2)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel2Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseCurrent Liabilitiesus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_CurrentLiabilitiesMemberus-gaap_BalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
238true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
239false
4bmrn_BusinessCombinationContingentConsiderationAtFairValueCurrentbmrn_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00USD$falsefalsefalse | 2truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryBusiness Combination, Contingent Consideration, at Fair Value, CurrentNo definition available.false2
240false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 131false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x708628_715757x707855_715990x808312http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSignificant Other Observable Inputs (Level 2)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel2Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseCurrent Liabilitiesus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_CurrentLiabilitiesMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseDeferred Compensation Arrangement with Individual, by Type of Compensation, Pension and Other Postretirement Benefitsus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_DeferredCompensationArrangementWithIndividualByTypeOfCompensationPensionAndOtherPostretirementBenefitsMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
241true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
242false
4us-gaap_DeferredCompensationCashBasedArrangementsLiabilityCurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1truefalsefalse3100031USD$falsefalsefalse | 2truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAggregate carrying value as of the balance sheet date of the liabilities for deferred compensation arrangements payable within one year (or the normal operating cycle, if longer). Represents currently earned compensation under cash arrangements (such as a profit-sharing plan, rabbi trust, and employee contract--excluding equity-based arrangements) that is not actually paid until a later date.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 710
-SubTopic 10
-Section 30
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6409875&loc=d3e20028-108363
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 710
-SubTopic 10
-Section 25
-Paragraph 15
-URI http://asc.fasb.org/extlink&oid=6409836&loc=d3e19793-108362
false2
243false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 133false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x716981_715757x707855_715990x808312http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSignificant Other Observable Inputs (Level 2)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel2Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseCurrent Liabilitiesus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_CurrentLiabilitiesMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseForeign Exchange Forwardus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ForeignExchangeForwardMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
244true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
245false
4us-gaap_DerivativeLiabilitiesCurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse535000535[2]USD$falsefalsefalse | 2truefalsefalse10780001078[2]USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryFair value, after the effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, expected to be settled within one year or normal operating cycle, if longer. Includes assets not subject to a master netting arrangement and not elected to be offset.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Current Liabilities
-URI http://asc.fasb.org/extlink&oid=6509677
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 825
-SubTopic 10
-Section 50
-Paragraph 10
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=28364263&loc=d3e13433-108611
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 10
-Section 45
-Paragraph 5
-URI http://asc.fasb.org/extlink&oid=6945355&loc=d3e41228-113958
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 825
-SubTopic 10
-Section 50
-Paragraph 15
-URI http://asc.fasb.org/extlink&oid=28364263&loc=d3e13495-108611
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 20
-Section 50
-Paragraph 3
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=20225523&loc=SL20225862-175312
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 10
-Section 45
-Paragraph 6
-URI http://asc.fasb.org/extlink&oid=6945355&loc=d3e41271-113958
false2
246false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 135false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_715757x707855_715990x716298http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSignificant Other Observable Inputs (Level 2)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel2Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseOther Long-Term Liabilitiesus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_OtherNoncurrentLiabilitiesMemberus-gaap_BalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
247true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
248false
4bmrn_BusinessCombinationContingentConsiderationAtFairValueNoncurrentbmrn_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryBusiness Combination, Contingent Consideration, at Fair Value, Non currentNo definition available.false2
249false
4us-gaap_AssetRetirementObligationsNoncurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00USD$falsefalsefalse | 2truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryNoncurrent portion of the carrying amount of a liability for an asset retirement obligation. An asset retirement obligation is a legal obligation associated with the disposal or retirement of a tangible long-lived asset that results from the acquisition, construction or development, or the normal operations of a long-lived asset, except for certain obligations of lessees.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 410
-SubTopic 20
-Section 50
-Paragraph 1
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=6392692&loc=d3e7535-110849
false2
250false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 137false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x708628_715757x707855_715990x716298http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSignificant Other Observable Inputs (Level 2)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel2Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseOther Long-Term Liabilitiesus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_OtherNoncurrentLiabilitiesMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseDeferred Compensation Arrangement with Individual, by Type of Compensation, Pension and Other Postretirement Benefitsus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_DeferredCompensationArrangementWithIndividualByTypeOfCompensationPensionAndOtherPostretirementBenefitsMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
251true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
252false
4us-gaap_DeferredCompensationCashbasedArrangementsLiabilityClassifiedNoncurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse30090003009USD$falsefalsefalse | 2truefalsefalse44270004427USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAggregate carrying value as of the balance sheet date of the liabilities for deferred compensation arrangements payable after one year (or the normal operating cycle, if longer). Represents currently earned compensation under cash arrangements (such as a profit-sharing plan, rabbi trust, and employee contract--excluding equity-based arrangements) that is not actually paid until a later date.No definition available.false2
253false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 139false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x716981_715757x707855_715990x716298http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSignificant Other Observable Inputs (Level 2)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel2Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseOther Long-Term Liabilitiesus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_OtherNoncurrentLiabilitiesMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseForeign Exchange Forwardus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ForeignExchangeForwardMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
254true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
255false
4us-gaap_DerivativeLiabilitiesNoncurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse368000368[2]USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryFair value, after the effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, expected to be settled after one year or the normal operating cycle, if longer. Includes assets not subject to a master netting arrangement and not elected to be offset.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 825
-SubTopic 10
-Section 50
-Paragraph 10
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=28364263&loc=d3e13433-108611
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 10
-Section 45
-Paragraph 5
-URI http://asc.fasb.org/extlink&oid=6945355&loc=d3e41228-113958
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 825
-SubTopic 10
-Section 50
-Paragraph 15
-URI http://asc.fasb.org/extlink&oid=28364263&loc=d3e13495-108611
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 20
-Section 50
-Paragraph 3
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=20225523&loc=SL20225862-175312
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 10
-Section 45
-Paragraph 6
-URI http://asc.fasb.org/extlink&oid=6945355&loc=d3e41271-113958
false2
256false
4bmrn_BusinessCombinationContingentConsiderationAtFairValueNoncurrentbmrn_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryBusiness Combination, Contingent Consideration, at Fair Value, Non currentNo definition available.false2
257false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 141false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_715757x715798http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSignificant Unobservable Inputs (Level 3)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel3Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
258true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
259false
4us-gaap_CashAndCashEquivalentsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00USD$falsefalsefalse | 2truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryFair value portion of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Cash
-URI http://asc.fasb.org/extlink&oid=6506951
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Cash Equivalents
-URI http://asc.fasb.org/extlink&oid=6507016
false2
260false
4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00USD$falsefalsefalse | 2truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
261false
4bmrn_OtherAssetsCurrentFairValueDisclosurebmrn_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00USD$falsefalsefalse | 2truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryOther Assets Current, Fair Value DisclosureNo definition available.false2
262false
4bmrn_OtherAssetsNoncurrentFairValueDisclosurebmrn_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00USD$falsefalsefalse | 2truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryOther Assets Noncurrent, Fair Value DisclosureNo definition available.false2
263false
4us-gaap_AssetsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel| 1truefalsefalse00USD$falsefalsefalse | 2truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryFair value portion of probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 820
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=25499696&loc=d3e19207-110258
true2
264false
4us-gaap_AssetRetirementObligationCurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse16850001685USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryCurrent portion of the carrying amount of a liability for an asset retirement obligation. An asset retirement obligation is a legal obligation associated with the disposal or retirement of a tangible long-lived asset that results from the acquisition, construction or development, or the normal operations of a long-lived asset, except for certain obligations of lessees.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 410
-SubTopic 20
-Section 50
-Paragraph 1
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=6392692&loc=d3e7535-110849
false2
265false
4bmrn_OtherLiabilitiesCurrentFairValueDisclosurebmrn_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse2096200020962USD$falsefalsefalse | 2truefalsefalse1244900012449USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryOther Liabilities Current Fair Value DisclosureNo definition available.false2
266false
4bmrn_OtherLiabilitiesNoncurrentFairValueDisclosurebmrn_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse2725400027254USD$falsefalsefalse | 2truefalsefalse3281000032810USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryOther Liabilities Noncurrent Fair Value DisclosureNo definition available.false2
267false
4us-gaap_LiabilitiesFairValueDisclosureus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel| 1truefalsefalse4821600048216USD$falsefalsefalse | 2truefalsefalse4525900045259USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryFair value of financial and nonfinancial obligations.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 820
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=25499696&loc=d3e19207-110258
true2
268false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 143false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x710446_715757x715798http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSignificant Unobservable Inputs (Level 3)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel3Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseOvernight Depositsus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_DepositsMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
269true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
270false
4us-gaap_CashAndCashEquivalentsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00USD$falsefalsefalse | 2truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryFair value portion of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Cash
-URI http://asc.fasb.org/extlink&oid=6506951
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Cash Equivalents
-URI http://asc.fasb.org/extlink&oid=6507016
false2
271false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 145false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x710575_715757x715798http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSignificant Unobservable Inputs (Level 3)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel3Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseMoney Market Instrumentsus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MoneyMarketFundsMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
272true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
273false
4us-gaap_CashAndCashEquivalentsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00USD$falsefalsefalse | 2truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryFair value portion of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Cash
-URI http://asc.fasb.org/extlink&oid=6506951
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Cash Equivalents
-URI http://asc.fasb.org/extlink&oid=6507016
false2
274false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 147false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_712705x783343_715757x715798_715990x795201http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSignificant Unobservable Inputs (Level 3)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel3Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseAvailable-For-Sale Securities Short-Termus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_AvailableForSaleOfSecuritiesShortTermMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseCorporate Securitiesus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_CorporateSecuritiesMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
275true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
276false
4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00USD$falsefalsefalse | 2truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
277false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 149false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_712705x711817_715757x715798_715990x795201http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSignificant Unobservable Inputs (Level 3)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel3Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseAvailable-For-Sale Securities Short-Termus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_AvailableForSaleOfSecuritiesShortTermMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseCorporate Equity Securitiesus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_EquitySecuritiesMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
278true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
279false
4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00USD$falsefalsefalse | 2truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
280false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 151false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20121231_0_712705x711515_715757x715798_715990x795201http://www.sec.gov/CIK0001048477instant2012-12-31T00:00:000001-01-01T00:00:00falsefalseSignificant Unobservable Inputs (Level 3)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel3Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseAvailable-For-Sale Securities Short-Termus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_AvailableForSaleOfSecuritiesShortTermMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseU.S. Government Agency Securitiesus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_USGovernmentAgenciesDebtSecuritiesMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
281true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
282false
4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
283false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 152false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_712705x712703_715757x715798_715990x795201http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSignificant Unobservable Inputs (Level 3)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel3Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseAvailable-For-Sale Securities Short-Termus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_AvailableForSaleOfSecuritiesShortTermMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseCommercial Paperus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CommercialPaperMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
284true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
285false
4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
286false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 153false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x709312_715757x715798_715990x795201http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSignificant Unobservable Inputs (Level 3)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel3Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseAvailable-For-Sale Securities Short-Termus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_AvailableForSaleOfSecuritiesShortTermMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseCertificates of Depositus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CertificatesOfDepositMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
287true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
288false
4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00USD$falsefalsefalse | 2truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
289false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 155false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_712705x783343_715757x715798_715990x827489http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSignificant Unobservable Inputs (Level 3)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel3Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseAvailable-For-Sale Securities Long-Termus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_AvailableForSaleOfSecuritiesLongTermMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseCorporate Securitiesus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_CorporateSecuritiesMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
290true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
291false
4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00USD$falsefalsefalse | 2truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
292false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 157false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_712705x711515_715757x715798_715990x827489http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSignificant Unobservable Inputs (Level 3)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel3Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseAvailable-For-Sale Securities Long-Termus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_AvailableForSaleOfSecuritiesLongTermMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseU.S. Government Agency Securitiesus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_USGovernmentAgenciesDebtSecuritiesMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
293true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
294false
4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00USD$falsefalsefalse | 2truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
295false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 159false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_712705x828735_715757x715798_715990x827489http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSignificant Unobservable Inputs (Level 3)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel3Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseAvailable-For-Sale Securities Long-Termus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_AvailableForSaleOfSecuritiesLongTermMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseGreek Government-Issued Bondsus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_GreekGovernmentBondsMemberus-gaap_MajorTypesOfDebtAndEquitySecuritiesAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
296true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
297false
4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00USD$falsefalsefalse | 2truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
298false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 161false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x709312_715757x715798_715990x827489http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSignificant Unobservable Inputs (Level 3)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel3Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseAvailable-For-Sale Securities Long-Termus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_AvailableForSaleOfSecuritiesLongTermMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseCertificates of Depositus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CertificatesOfDepositMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
299true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
300false
4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00USD$falsefalsefalse | 2truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
301false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 163false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_715757x715798_715990x715868http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSignificant Unobservable Inputs (Level 3)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel3Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseOther Current Assetsus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_OtherCurrentAssetsMemberus-gaap_BalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
302true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
303false
4us-gaap_RestrictedInvestmentsAtFairValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00[1]USD$falsefalsefalse | 2truefalsefalse00[1]USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryThe aggregate value of all restricted investments.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 946
-SubTopic 320
-Section S99
-Paragraph 4
-Subparagraph (SX 210.12-12C.9(c))
-URI http://asc.fasb.org/extlink&oid=6955306&loc=d3e611225-123010
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 946
-SubTopic 320
-Section S99
-Paragraph 1
-Subparagraph (SX 210.12-12.6(c))
-URI http://asc.fasb.org/extlink&oid=6955306&loc=d3e611133-123010
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 12C
-Paragraph 9
-Subparagraph c
-Article 12
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 12
-Paragraph 6
-Subparagraph c
-Article 12
false2
304false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 165false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x708628_715757x715798_715990x715868http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSignificant Unobservable Inputs (Level 3)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel3Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseOther Current Assetsus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_OtherCurrentAssetsMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseDeferred Compensation Arrangement with Individual, by Type of Compensation, Pension and Other Postretirement Benefitsus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_DeferredCompensationArrangementWithIndividualByTypeOfCompensationPensionAndOtherPostretirementBenefitsMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
305true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
306false
4us-gaap_DeferredCompensationPlanAssetsus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00USD$falsefalsefalse | 2truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryCarrying amount as of the balance sheet date of assets held under deferred compensation agreements.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.17)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 17
-Article 5
false2
307false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 167false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x716981_715757x715798_715990x715868http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSignificant Unobservable Inputs (Level 3)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel3Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseOther Current Assetsus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_OtherCurrentAssetsMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseForeign Exchange Forwardus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ForeignExchangeForwardMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
308true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
309false
4us-gaap_DerivativeAssetsCurrentus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00[2]USD$falsefalsefalse | 2truefalsefalse00[2]USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryFair value, after the effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, expected to be settled within one year or normal operating cycle, if longer. Includes assets not subject to a master netting arrangement and not elected to be offset.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 825
-SubTopic 10
-Section 50
-Paragraph 10
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=28364263&loc=d3e13433-108611
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 10
-Section 45
-Paragraph 5
-URI http://asc.fasb.org/extlink&oid=6945355&loc=d3e41228-113958
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 825
-SubTopic 10
-Section 50
-Paragraph 15
-URI http://asc.fasb.org/extlink&oid=28364263&loc=d3e13495-108611
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 20
-Section 50
-Paragraph 3
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=20225523&loc=SL20225862-175312
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 10
-Section 45
-Paragraph 6
-URI http://asc.fasb.org/extlink&oid=6945355&loc=d3e41271-113958
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Current Assets
-URI http://asc.fasb.org/extlink&oid=6509628
false2
310false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 169false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_715757x715798_715990x709525http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSignificant Unobservable Inputs (Level 3)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel3Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseOther Assetsus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_OtherAssetsMemberus-gaap_BalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
311true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
312false
4us-gaap_RestrictedInvestmentsAtFairValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00[1]USD$falsefalsefalse | 2truefalsefalse00[1]USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryThe aggregate value of all restricted investments.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 946
-SubTopic 320
-Section S99
-Paragraph 4
-Subparagraph (SX 210.12-12C.9(c))
-URI http://asc.fasb.org/extlink&oid=6955306&loc=d3e611225-123010
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 946
-SubTopic 320
-Section S99
-Paragraph 1
-Subparagraph (SX 210.12-12.6(c))
-URI http://asc.fasb.org/extlink&oid=6955306&loc=d3e611133-123010
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 12C
-Paragraph 9
-Subparagraph c
-Article 12
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 12
-Paragraph 6
-Subparagraph c
-Article 12
false2
313false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 171false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x708628_715757x715798_715990x709525http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSignificant Unobservable Inputs (Level 3)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel3Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseOther Assetsus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_OtherAssetsMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseDeferred Compensation Arrangement with Individual, by Type of Compensation, Pension and Other Postretirement Benefitsus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_DeferredCompensationArrangementWithIndividualByTypeOfCompensationPensionAndOtherPostretirementBenefitsMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
314true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
315false
4us-gaap_DeferredCompensationPlanAssetsus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00USD$falsefalsefalse | 2truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryCarrying amount as of the balance sheet date of assets held under deferred compensation agreements.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.17)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 17
-Article 5
false2
316false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 173false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x716981_715757x715798_715990x709525http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSignificant Unobservable Inputs (Level 3)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel3Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseOther Assetsus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_OtherAssetsMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseForeign Exchange Forwardus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ForeignExchangeForwardMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
317true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
318false
4us-gaap_DerivativeAssetsNoncurrentus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00[2]USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryFair value, after the effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, expected to be settled after one year or the normal operating cycle, if longer. Includes assets not subject to a master netting arrangement and not elected to be offset.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 825
-SubTopic 10
-Section 50
-Paragraph 10
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=28364263&loc=d3e13433-108611
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 10
-Section 45
-Paragraph 5
-URI http://asc.fasb.org/extlink&oid=6945355&loc=d3e41228-113958
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 825
-SubTopic 10
-Section 50
-Paragraph 15
-URI http://asc.fasb.org/extlink&oid=28364263&loc=d3e13495-108611
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 20
-Section 50
-Paragraph 3
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=20225523&loc=SL20225862-175312
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 10
-Section 45
-Paragraph 6
-URI http://asc.fasb.org/extlink&oid=6945355&loc=d3e41271-113958
false2
319false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 174false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_715757x715798_715990x808312http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSignificant Unobservable Inputs (Level 3)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel3Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseCurrent Liabilitiesus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_CurrentLiabilitiesMemberus-gaap_BalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
320true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
321false
4bmrn_BusinessCombinationContingentConsiderationAtFairValueCurrentbmrn_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse2096200020962USD$falsefalsefalse | 2truefalsefalse1076400010764USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryBusiness Combination, Contingent Consideration, at Fair Value, CurrentNo definition available.false2
322false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 176false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x708628_715757x715798_715990x808312http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSignificant Unobservable Inputs (Level 3)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel3Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseCurrent Liabilitiesus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_CurrentLiabilitiesMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseDeferred Compensation Arrangement with Individual, by Type of Compensation, Pension and Other Postretirement Benefitsus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_DeferredCompensationArrangementWithIndividualByTypeOfCompensationPensionAndOtherPostretirementBenefitsMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
323true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
324false
4us-gaap_DeferredCompensationCashBasedArrangementsLiabilityCurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1truefalsefalse00USD$falsefalsefalse | 2truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAggregate carrying value as of the balance sheet date of the liabilities for deferred compensation arrangements payable within one year (or the normal operating cycle, if longer). Represents currently earned compensation under cash arrangements (such as a profit-sharing plan, rabbi trust, and employee contract--excluding equity-based arrangements) that is not actually paid until a later date.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 710
-SubTopic 10
-Section 30
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6409875&loc=d3e20028-108363
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 710
-SubTopic 10
-Section 25
-Paragraph 15
-URI http://asc.fasb.org/extlink&oid=6409836&loc=d3e19793-108362
false2
325false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 178false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x716981_715757x715798_715990x808312http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSignificant Unobservable Inputs (Level 3)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel3Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseCurrent Liabilitiesus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldibmrn_CurrentLiabilitiesMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseForeign Exchange Forwardus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ForeignExchangeForwardMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
326true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
327false
4us-gaap_DerivativeLiabilitiesCurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00[2]USD$falsefalsefalse | 2truefalsefalse00[2]USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryFair value, after the effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, expected to be settled within one year or normal operating cycle, if longer. Includes assets not subject to a master netting arrangement and not elected to be offset.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Current Liabilities
-URI http://asc.fasb.org/extlink&oid=6509677
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 825
-SubTopic 10
-Section 50
-Paragraph 10
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=28364263&loc=d3e13433-108611
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 10
-Section 45
-Paragraph 5
-URI http://asc.fasb.org/extlink&oid=6945355&loc=d3e41228-113958
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 825
-SubTopic 10
-Section 50
-Paragraph 15
-URI http://asc.fasb.org/extlink&oid=28364263&loc=d3e13495-108611
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 20
-Section 50
-Paragraph 3
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=20225523&loc=SL20225862-175312
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 10
-Section 45
-Paragraph 6
-URI http://asc.fasb.org/extlink&oid=6945355&loc=d3e41271-113958
false2
328false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 180false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_715757x715798_715990x716298http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSignificant Unobservable Inputs (Level 3)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel3Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseOther Long-Term Liabilitiesus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_OtherNoncurrentLiabilitiesMemberus-gaap_BalanceSheetLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
329true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
330false
4bmrn_BusinessCombinationContingentConsiderationAtFairValueNoncurrentbmrn_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse3061800030618USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryBusiness Combination, Contingent Consideration, at Fair Value, Non currentNo definition available.false2
331false
4us-gaap_AssetRetirementObligationsNoncurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse39930003993USD$falsefalsefalse | 2truefalsefalse21920002192USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryNoncurrent portion of the carrying amount of a liability for an asset retirement obligation. An asset retirement obligation is a legal obligation associated with the disposal or retirement of a tangible long-lived asset that results from the acquisition, construction or development, or the normal operations of a long-lived asset, except for certain obligations of lessees.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 410
-SubTopic 20
-Section 50
-Paragraph 1
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=6392692&loc=d3e7535-110849
false2
332false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 182false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x708628_715757x715798_715990x716298http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSignificant Unobservable Inputs (Level 3)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel3Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseOther Long-Term Liabilitiesus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_OtherNoncurrentLiabilitiesMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseDeferred Compensation Arrangement with Individual, by Type of Compensation, Pension and Other Postretirement Benefitsus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_DeferredCompensationArrangementWithIndividualByTypeOfCompensationPensionAndOtherPostretirementBenefitsMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
333true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
334false
4us-gaap_DeferredCompensationCashbasedArrangementsLiabilityClassifiedNoncurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse00USD$falsefalsefalse | 2truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAggregate carrying value as of the balance sheet date of the liabilities for deferred compensation arrangements payable after one year (or the normal operating cycle, if longer). Represents currently earned compensation under cash arrangements (such as a profit-sharing plan, rabbi trust, and employee contract--excluding equity-based arrangements) that is not actually paid until a later date.No definition available.false2
335false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 184false
USDtruefalse$eol_PE7265----1310-Q0007_STD_0_20130630_0_714966x716981_715757x715798_715990x716298http://www.sec.gov/CIK0001048477instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseSignificant Unobservable Inputs (Level 3)us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel3Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseOther Long-Term Liabilitiesus-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_OtherNoncurrentLiabilitiesMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseForeign Exchange Forwardus-gaap_EligibleItemOrGroupForFairValueOptionAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ForeignExchangeForwardMemberus-gaap_EligibleItemOrGroupForFairValueOptionAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
336true
3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
337false
4us-gaap_DerivativeLiabilitiesNoncurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse00[2]USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryFair value, after the effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, expected to be settled after one year or the normal operating cycle, if longer. Includes assets not subject to a master netting arrangement and not elected to be offset.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 825
-SubTopic 10
-Section 50
-Paragraph 10
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=28364263&loc=d3e13433-108611
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 10
-Section 45
-Paragraph 5
-URI http://asc.fasb.org/extlink&oid=6945355&loc=d3e41228-113958
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 825
-SubTopic 10
-Section 50
-Paragraph 15
-URI http://asc.fasb.org/extlink&oid=28364263&loc=d3e13495-108611
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 20
-Section 50
-Paragraph 3
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=20225523&loc=SL20225862-175312
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 10
-Section 45
-Paragraph 6
-URI http://asc.fasb.org/extlink&oid=6945355&loc=d3e41271-113958
false2
338false
4bmrn_BusinessCombinationContingentConsiderationAtFairValueNoncurrentbmrn_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse2326100023261USD$falsetruefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryBusiness Combination, Contingent Consideration, at Fair Value, Non currentNo definition available.false2
1The restricted investments secure the Company's irrevocable standby letter of credit obtained in connection with the Company's new corporate facility lease agreements and certain commercial agreements.2See Note 12 to the accompanying Condensed Consolidated Financial Statements for further information regarding the derivative instruments.falseFair Value of Financial Assets and Liabilities (Detail) (USD $)ThousandsUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.biomarinpharm.com/taxonomy/role/DisclosureFairValueOfFinancialAssetsAndLiabilities2338