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_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 4us-gaap_CashAndCashEquivalentsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse175445000175445USD$falsetruefalse2truefalsefalse180527000180527USD$falsetruefalsexbrli: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 false23false 4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse349021000349021USD$falsefalsefalse2truefalsefalse386204000386204USD$falsefalsefalsexbrli: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 false24false 4bmrn_OtherAssetsCurrentFairValueDisclosurebmrn_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse35630003563USD$falsefalsefalse2truefalsefalse58420005842USD$falsefalsefalsexbrli:monetaryItemTypemonetaryOther Assets Current, Fair Value DisclosureNo definition available.false25false 4bmrn_OtherAssetsNoncurrentFairValueDisclosurebmrn_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse52710005271USD$falsefalsefalse2truefalsefalse58670005867USD$falsefalsefalsexbrli:monetaryItemTypemonetaryOther Assets Noncurrent, Fair Value DisclosureNo definition available.false26false 4us-gaap_AssetsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse533300000533300USD$falsefalsefalse2truefalsefalse578440000578440USD$falsefalsefalsexbrli: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 true27false 4us-gaap_DeferredCompensationCashBasedArrangementsLiabilityCurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse17600001760USD$falsefalsefalse2truefalsefalse64400006440USD$falsefalsefalsexbrli: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 false28false 4us-gaap_AssetRetirementObligationCurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse16850001685USD$falsefalsefalsexbrli: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 false29false 4bmrn_OtherLiabilitiesCurrentFairValueDisclosurebmrn_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse2325700023257USD$falsefalsefalse2truefalsefalse1996700019967USD$falsefalsefalsexbrli:monetaryItemTypemonetaryOther Liabilities Current Fair Value DisclosureNo definition available.false210false 4bmrn_BusinessCombinationContingentConsiderationAtFairValueCurrentbmrn_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse2096200020962USD$falsefalsefalse2truefalsefalse1076400010764USD$falsefalsefalsexbrli:monetaryItemTypemonetaryBusiness Combination, Contingent Consideration, at Fair Value, CurrentNo definition available.false211false 4bmrn_OtherLiabilitiesNoncurrentFairValueDisclosurebmrn_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse3947900039479USD$falsefalsefalse2truefalsefalse4264600042646USD$falsefalsefalsexbrli:monetaryItemTypemonetaryOther Liabilities Noncurrent Fair Value DisclosureNo definition available.false212false 4us-gaap_LiabilitiesFairValueDisclosureus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse6273600062736USD$falsefalsefalse2truefalsefalse6261300062613USD$falsefalsefalsexbrli: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 true213false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3false 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$nanafalse014true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse015false 4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse59730005973USD$falsefalsefalse2truefalsefalse29330002933USD$falsefalsefalsexbrli: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 false216false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse5false 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$nanafalse017true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse018false 4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse64820006482USD$falsefalsefalse2truefalsefalse1751700017517USD$falsefalsefalsexbrli: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 false219false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse7false 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$nanafalse020true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse021false 4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse6284400062844USD$falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli: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 false222false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse8false 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$nanafalse023true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse024false 4us-gaap_CashAndCashEquivalentsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse120608000120608USD$falsefalsefalse2truefalsefalse5401800054018USD$falsefalsefalsexbrli: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 false225false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse10false 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$nanafalse026true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse027false 4us-gaap_CashAndCashEquivalentsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse5483700054837USD$falsefalsefalse2truefalsefalse126509000126509USD$falsefalsefalsexbrli: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 false228false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse12false 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$nanafalse029true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse030false 4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse126731000126731USD$falsefalsefalse2truefalsefalse222147000222147USD$falsefalsefalsexbrli: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 false231false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse14false 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$nanafalse032true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse033false 4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse59730005973USD$falsefalsefalse2truefalsefalse29330002933USD$falsefalsefalsexbrli: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 false234false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse16false 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$nanafalse035true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse036false 4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse85160008516USD$falsefalsefalsexbrli: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 false237false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse17false 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$nanafalse038true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse039false 4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse6284400062844USD$falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli: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 false240false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse18false 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$nanafalse041true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse042false 4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse2956800029568USD$falsefalsefalse2truefalsefalse3661500036615USD$falsefalsefalsexbrli: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 false243false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse20false 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$nanafalse044true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse045false 4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse108584000108584USD$falsefalsefalse2truefalsefalse9475300094753USD$falsefalsefalsexbrli: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 false246false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse22false 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$nanafalse047true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse048false 4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse64820006482USD$falsefalsefalse2truefalsefalse90010009001USD$falsefalsefalsexbrli: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 false249false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse24false 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$nanafalse050true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse051false 4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse109000109USD$falsefalsefalse2truefalsefalse100000100USD$falsefalsefalsexbrli: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 false252false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse26false 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$nanafalse053true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse054false 4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse87300008730USD$falsefalsefalse2truefalsefalse1213900012139USD$falsefalsefalsexbrli: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 false255false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse28false 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$nanafalse056true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse057false 4us-gaap_RestrictedInvestmentsAtFairValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse18070001807[1]USD$falsefalsefalse2truefalsefalse22430002243[1]USD$falsefalsefalsexbrli: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 false258false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse30false 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$nanafalse059true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse060false 4us-gaap_DeferredCompensationPlanAssetsus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse3100031USD$falsefalsefalse2truefalsefalse20520002052USD$falsefalsefalsexbrli: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 false261false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse32false 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$nanafalse062true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse063false 4us-gaap_DerivativeAssetsCurrentus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse17250001725[2]USD$falsefalsefalse2truefalsefalse15470001547[2]USD$falsefalsefalsexbrli: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 false264false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse34false 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$nanafalse065true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse066false 4us-gaap_RestrictedInvestmentsAtFairValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse18340001834[1]USD$falsefalsefalse2truefalsefalse34920003492[1]USD$falsefalsefalsexbrli: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 false267false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse36false 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$nanafalse068true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse069false 4us-gaap_DeferredCompensationPlanAssetsus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse30090003009USD$falsefalsefalse2truefalsefalse23750002375USD$falsefalsefalsexbrli: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 false270false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse38false 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$nanafalse071true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse072false 4us-gaap_DerivativeAssetsNoncurrentus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse428000428[2]USD$falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli: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 false273false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse39false 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$nanafalse074true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse075false 4bmrn_BusinessCombinationContingentConsiderationAtFairValueCurrentbmrn_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse2096200020962USD$falsefalsefalse2truefalsefalse1076400010764USD$falsefalsefalsexbrli:monetaryItemTypemonetaryBusiness Combination, Contingent Consideration, at Fair Value, CurrentNo definition available.false276false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse41false 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$nanafalse077true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse078false 4us-gaap_DeferredCompensationCashBasedArrangementsLiabilityCurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse17600001760USD$falsefalsefalse2truefalsefalse64400006440USD$falsefalsefalsexbrli: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 false279false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse43false 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$nanafalse080true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse081false 4us-gaap_DerivativeLiabilitiesCurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse535000535[2]USD$falsefalsefalse2truefalsefalse10780001078[2]USD$falsefalsefalsexbrli: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 false282false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse45false 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$nanafalse083true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse084false 4bmrn_BusinessCombinationContingentConsiderationAtFairValueNoncurrentbmrn_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse3061800030618USD$falsefalsefalsexbrli:monetaryItemTypemonetaryBusiness Combination, Contingent Consideration, at Fair Value, Non currentNo definition available.false285false 4us-gaap_AssetRetirementObligationsNoncurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse39930003993USD$falsefalsefalse2truefalsefalse21920002192USD$falsefalsefalsexbrli: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 false286false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse47false 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$nanafalse087true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse088false 4us-gaap_DeferredCompensationCashbasedArrangementsLiabilityClassifiedNoncurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse1222500012225USD$falsefalsefalse2truefalsefalse94680009468USD$falsefalsefalsexbrli: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.false289false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse49false 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$nanafalse090true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse091false 4us-gaap_DerivativeLiabilitiesNoncurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse368000368[2]USD$falsefalsefalsexbrli: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 false292false 4bmrn_BusinessCombinationContingentConsiderationAtFairValueNoncurrentbmrn_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse2326100023261USD$falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryBusiness Combination, Contingent Consideration, at Fair Value, Non currentNo definition available.false293false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse51false 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$nanafalse094true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse095false 4us-gaap_CashAndCashEquivalentsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse120608000120608USD$falsefalsefalse2truefalsefalse5401800054018USD$falsefalsefalsexbrli: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 false296false 4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli: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 false297false 4bmrn_OtherAssetsCurrentFairValueDisclosurebmrn_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryOther Assets Current, Fair Value DisclosureNo definition available.false298false 4bmrn_OtherAssetsNoncurrentFairValueDisclosurebmrn_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryOther Assets Noncurrent, Fair Value DisclosureNo definition available.false299false 4us-gaap_AssetsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse120608000120608USD$falsefalsefalse2truefalsefalse5401800054018USD$falsefalsefalsexbrli: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 true2100false 4us-gaap_AssetRetirementObligationCurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli: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 false2101false 4bmrn_OtherLiabilitiesCurrentFairValueDisclosurebmrn_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse17290001729USD$falsefalsefalse2truefalsefalse64400006440USD$falsefalsefalsexbrli:monetaryItemTypemonetaryOther Liabilities Current Fair Value DisclosureNo definition available.false2102false 4bmrn_OtherLiabilitiesNoncurrentFairValueDisclosurebmrn_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse92160009216USD$falsefalsefalse2truefalsefalse50410005041USD$falsefalsefalsexbrli:monetaryItemTypemonetaryOther Liabilities Noncurrent Fair Value DisclosureNo definition available.false2103false 4us-gaap_LiabilitiesFairValueDisclosureus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse1094500010945USD$falsefalsefalse2truefalsefalse1148100011481USD$falsefalsefalsexbrli: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 true2104false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse53false 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$nanafalse0105true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0106false 4us-gaap_CashAndCashEquivalentsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse120608000120608USD$falsefalsefalse2truefalsefalse5401800054018USD$falsefalsefalsexbrli: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 false2107false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse55false 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$nanafalse0108true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0109false 4us-gaap_CashAndCashEquivalentsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli: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 false2110false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse57false 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$nanafalse0111true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0112false 4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli: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 false2113false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse59false 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$nanafalse0114true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0115false 4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli: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 false2116false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse61false 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$nanafalse0117true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0118false 4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli: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 false2119false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse62false 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$nanafalse0120true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0121false 4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli: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 false2122false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse63false 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$nanafalse0123true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0124false 4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli: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 false2125false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse65false 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$nanafalse0126true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0127false 4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli: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 false2128false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse67false 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$nanafalse0129true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0130false 4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli: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 false2131false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse69false 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$nanafalse0132true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0133false 4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli: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 false2134false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse71false 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$nanafalse0135true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0136false 4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli: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 false2137false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse73false 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$nanafalse0138true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0139false 4us-gaap_RestrictedInvestmentsAtFairValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00[1]USD$falsefalsefalse2truefalsefalse00[1]USD$falsefalsefalsexbrli: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 false2140false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse75false 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$nanafalse0141true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0142false 4us-gaap_DeferredCompensationPlanAssetsus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli: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 false2143false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse77false 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$nanafalse0144true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0145false 4us-gaap_DerivativeAssetsCurrentus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00[2]USD$falsefalsefalse2truefalsefalse00[2]USD$falsefalsefalsexbrli: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 false2146false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse79false 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$nanafalse0147true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0148false 4us-gaap_RestrictedInvestmentsAtFairValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00[1]USD$falsefalsefalse2truefalsefalse00[1]USD$falsefalsefalsexbrli: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 false2149false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse81false 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$nanafalse0150true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0151false 4us-gaap_DeferredCompensationPlanAssetsus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli: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 false2152false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse83false 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$nanafalse0153true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0154false 4us-gaap_DerivativeAssetsNoncurrentus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00[2]USD$falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli: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 false2155false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse84false 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$nanafalse0156true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0157false 4bmrn_BusinessCombinationContingentConsiderationAtFairValueCurrentbmrn_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryBusiness Combination, Contingent Consideration, at Fair Value, CurrentNo definition available.false2158false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse86false 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$nanafalse0159true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0160false 4us-gaap_DeferredCompensationCashBasedArrangementsLiabilityCurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse17290001729USD$falsefalsefalse2truefalsefalse64400006440USD$falsefalsefalsexbrli: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 false2161false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse88false 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$nanafalse0162true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0163false 4us-gaap_DerivativeLiabilitiesCurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00[2]USD$falsefalsefalse2truefalsefalse00[2]USD$falsefalsefalsexbrli: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 false2164false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse90false 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$nanafalse0165true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0166false 4bmrn_BusinessCombinationContingentConsiderationAtFairValueNoncurrentbmrn_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryBusiness Combination, Contingent Consideration, at Fair Value, Non currentNo definition available.false2167false 4us-gaap_AssetRetirementObligationsNoncurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli: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 false2168false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse92false 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$nanafalse0169true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0170false 4us-gaap_DeferredCompensationCashbasedArrangementsLiabilityClassifiedNoncurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse92160009216USD$falsefalsefalse2truefalsefalse50410005041USD$falsefalsefalsexbrli: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.false2171false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse94false 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$nanafalse0172true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0173false 4us-gaap_DerivativeLiabilitiesNoncurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse00[2]USD$falsefalsefalsexbrli: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 false2174false 4bmrn_BusinessCombinationContingentConsiderationAtFairValueNoncurrentbmrn_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryBusiness Combination, Contingent Consideration, at Fair Value, Non currentNo definition available.false2175false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse96false 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$nanafalse0176true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0177false 4us-gaap_CashAndCashEquivalentsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse5483700054837USD$falsefalsefalse2truefalsefalse126509000126509USD$falsefalsefalsexbrli: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 false2178false 4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse349021000349021USD$falsefalsefalse2truefalsefalse386204000386204USD$falsefalsefalsexbrli: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 false2179false 4bmrn_OtherAssetsCurrentFairValueDisclosurebmrn_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse35630003563USD$falsefalsefalse2truefalsefalse58420005842USD$falsefalsefalsexbrli:monetaryItemTypemonetaryOther Assets Current, Fair Value DisclosureNo definition available.false2180false 4bmrn_OtherAssetsNoncurrentFairValueDisclosurebmrn_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse52710005271USD$falsefalsefalse2truefalsefalse58670005867USD$falsefalsefalsexbrli:monetaryItemTypemonetaryOther Assets Noncurrent, Fair Value DisclosureNo definition available.false2181false 4us-gaap_AssetsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse412692000412692USD$falsefalsefalse2truefalsefalse524422000524422USD$falsefalsefalsexbrli: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 true2182false 4us-gaap_AssetRetirementObligationCurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli: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 false2183false 4bmrn_OtherLiabilitiesCurrentFairValueDisclosurebmrn_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse566000566USD$falsefalsefalse2truefalsefalse10780001078USD$falsefalsefalsexbrli:monetaryItemTypemonetaryOther Liabilities Current Fair Value DisclosureNo definition available.false2184false 4bmrn_OtherLiabilitiesNoncurrentFairValueDisclosurebmrn_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse30090003009USD$falsefalsefalse2truefalsefalse47950004795USD$falsefalsefalsexbrli:monetaryItemTypemonetaryOther Liabilities Noncurrent Fair Value DisclosureNo definition available.false2185false 4us-gaap_LiabilitiesFairValueDisclosureus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse35750003575USD$falsefalsefalse2truefalsefalse58730005873USD$falsefalsefalsexbrli: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 true2186false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse98false 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$nanafalse0187true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0188false 4us-gaap_CashAndCashEquivalentsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli: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 false2189false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse100false 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$nanafalse0190true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0191false 4us-gaap_CashAndCashEquivalentsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse5483700054837USD$falsefalsefalse2truefalsefalse126509000126509USD$falsefalsefalsexbrli: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 false2192false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse102false 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$nanafalse0193true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0194false 4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse126731000126731USD$falsefalsefalse2truefalsefalse222147000222147USD$falsefalsefalsexbrli: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 false2195false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse104false 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$nanafalse0196true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0197false 4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse59730005973USD$falsefalsefalse2truefalsefalse29330002933USD$falsefalsefalsexbrli: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 false2198false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse106false 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$nanafalse0199true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0200false 4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse85160008516USD$falsefalsefalsexbrli: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 false2201false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse107false 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$nanafalse0202true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0203false 4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse6284400062844USD$falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli: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 false2204false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse108false 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$nanafalse0205true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0206false 4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse2956800029568USD$falsefalsefalse2truefalsefalse3661500036615USD$falsefalsefalsexbrli: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 false2207false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse110false 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$nanafalse0208true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0209false 4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse108584000108584USD$falsefalsefalse2truefalsefalse9475300094753USD$falsefalsefalsexbrli: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 false2210false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse112false 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$nanafalse0211true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0212false 4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse64820006482USD$falsefalsefalse2truefalsefalse90010009001USD$falsefalsefalsexbrli: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 false2213false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse114false 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$nanafalse0214true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0215false 4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse109000109USD$falsefalsefalse2truefalsefalse100000100USD$falsefalsefalsexbrli: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 false2216false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse116false 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$nanafalse0217true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0218false 4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse87300008730USD$falsefalsefalse2truefalsefalse1213900012139USD$falsefalsefalsexbrli: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 false2219false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse118false 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$nanafalse0220true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0221false 4us-gaap_RestrictedInvestmentsAtFairValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse18070001807[1]USD$falsefalsefalse2truefalsefalse22430002243[1]USD$falsefalsefalsexbrli: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 false2222false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse120false 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$nanafalse0223true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0224false 4us-gaap_DeferredCompensationPlanAssetsus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse3100031USD$falsefalsefalse2truefalsefalse20520002052USD$falsefalsefalsexbrli: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 false2225false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse122false 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$nanafalse0226true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0227false 4us-gaap_DerivativeAssetsCurrentus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse17250001725[2]USD$falsefalsefalse2truefalsefalse15470001547[2]USD$falsefalsefalsexbrli: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 false2228false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse124false 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$nanafalse0229true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0230false 4us-gaap_RestrictedInvestmentsAtFairValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse18340001834[1]USD$falsefalsefalse2truefalsefalse34920003492[1]USD$falsefalsefalsexbrli: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 false2231false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse126false 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$nanafalse0232true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0233false 4us-gaap_DeferredCompensationPlanAssetsus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse30090003009USD$falsefalsefalse2truefalsefalse23750002375USD$falsefalsefalsexbrli: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 false2234false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse128false 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$nanafalse0235true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0236false 4us-gaap_DerivativeAssetsNoncurrentus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse428000428[2]USD$falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli: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 false2237false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse129false 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$nanafalse0238true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0239false 4bmrn_BusinessCombinationContingentConsiderationAtFairValueCurrentbmrn_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryBusiness Combination, Contingent Consideration, at Fair Value, CurrentNo definition available.false2240false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse131false 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$nanafalse0241true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0242false 4us-gaap_DeferredCompensationCashBasedArrangementsLiabilityCurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse3100031USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli: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 false2243false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse133false 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$nanafalse0244true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0245false 4us-gaap_DerivativeLiabilitiesCurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse535000535[2]USD$falsefalsefalse2truefalsefalse10780001078[2]USD$falsefalsefalsexbrli: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 false2246false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse135false 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$nanafalse0247true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0248false 4bmrn_BusinessCombinationContingentConsiderationAtFairValueNoncurrentbmrn_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryBusiness Combination, Contingent Consideration, at Fair Value, Non currentNo definition available.false2249false 4us-gaap_AssetRetirementObligationsNoncurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli: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 false2250false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse137false 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$nanafalse0251true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0252false 4us-gaap_DeferredCompensationCashbasedArrangementsLiabilityClassifiedNoncurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse30090003009USD$falsefalsefalse2truefalsefalse44270004427USD$falsefalsefalsexbrli: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.false2253false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse139false 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$nanafalse0254true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0255false 4us-gaap_DerivativeLiabilitiesNoncurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse368000368[2]USD$falsefalsefalsexbrli: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 false2256false 4bmrn_BusinessCombinationContingentConsiderationAtFairValueNoncurrentbmrn_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryBusiness Combination, Contingent Consideration, at Fair Value, Non currentNo definition available.false2257false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse141false 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$nanafalse0258true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0259false 4us-gaap_CashAndCashEquivalentsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli: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 false2260false 4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli: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 false2261false 4bmrn_OtherAssetsCurrentFairValueDisclosurebmrn_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryOther Assets Current, Fair Value DisclosureNo definition available.false2262false 4bmrn_OtherAssetsNoncurrentFairValueDisclosurebmrn_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryOther Assets Noncurrent, Fair Value DisclosureNo definition available.false2263false 4us-gaap_AssetsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli: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 true2264false 4us-gaap_AssetRetirementObligationCurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse16850001685USD$falsefalsefalsexbrli: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 false2265false 4bmrn_OtherLiabilitiesCurrentFairValueDisclosurebmrn_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse2096200020962USD$falsefalsefalse2truefalsefalse1244900012449USD$falsefalsefalsexbrli:monetaryItemTypemonetaryOther Liabilities Current Fair Value DisclosureNo definition available.false2266false 4bmrn_OtherLiabilitiesNoncurrentFairValueDisclosurebmrn_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse2725400027254USD$falsefalsefalse2truefalsefalse3281000032810USD$falsefalsefalsexbrli:monetaryItemTypemonetaryOther Liabilities Noncurrent Fair Value DisclosureNo definition available.false2267false 4us-gaap_LiabilitiesFairValueDisclosureus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse4821600048216USD$falsefalsefalse2truefalsefalse4525900045259USD$falsefalsefalsexbrli: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 true2268false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse143false 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$nanafalse0269true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0270false 4us-gaap_CashAndCashEquivalentsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli: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 false2271false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse145false 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$nanafalse0272true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0273false 4us-gaap_CashAndCashEquivalentsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli: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 false2274false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse147false 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$nanafalse0275true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0276false 4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli: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 false2277false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse149false 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$nanafalse0278true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0279false 4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli: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 false2280false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse151false 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$nanafalse0281true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0282false 4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli: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 false2283false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse152false 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$nanafalse0284true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0285false 4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli: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 false2286false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse153false 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$nanafalse0287true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0288false 4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli: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 false2289false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse155false 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$nanafalse0290true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0291false 4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli: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 false2292false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse157false 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$nanafalse0293true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0294false 4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli: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 false2295false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse159false 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$nanafalse0296true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0297false 4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli: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 false2298false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse161false 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$nanafalse0299true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0300false 4us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli: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 false2301false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse163false 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$nanafalse0302true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0303false 4us-gaap_RestrictedInvestmentsAtFairValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00[1]USD$falsefalsefalse2truefalsefalse00[1]USD$falsefalsefalsexbrli: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 false2304false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse165false 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$nanafalse0305true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0306false 4us-gaap_DeferredCompensationPlanAssetsus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli: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 false2307false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse167false 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$nanafalse0308true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0309false 4us-gaap_DerivativeAssetsCurrentus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00[2]USD$falsefalsefalse2truefalsefalse00[2]USD$falsefalsefalsexbrli: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 false2310false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse169false 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$nanafalse0311true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0312false 4us-gaap_RestrictedInvestmentsAtFairValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00[1]USD$falsefalsefalse2truefalsefalse00[1]USD$falsefalsefalsexbrli: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 false2313false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse171false 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$nanafalse0314true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0315false 4us-gaap_DeferredCompensationPlanAssetsus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli: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 false2316false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse173false 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$nanafalse0317true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0318false 4us-gaap_DerivativeAssetsNoncurrentus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00[2]USD$falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli: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 false2319false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse174false 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$nanafalse0320true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0321false 4bmrn_BusinessCombinationContingentConsiderationAtFairValueCurrentbmrn_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse2096200020962USD$falsefalsefalse2truefalsefalse1076400010764USD$falsefalsefalsexbrli:monetaryItemTypemonetaryBusiness Combination, Contingent Consideration, at Fair Value, CurrentNo definition available.false2322false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse176false 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$nanafalse0323true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0324false 4us-gaap_DeferredCompensationCashBasedArrangementsLiabilityCurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli: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 false2325false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse178false 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$nanafalse0326true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0327false 4us-gaap_DerivativeLiabilitiesCurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00[2]USD$falsefalsefalse2truefalsefalse00[2]USD$falsefalsefalsexbrli: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 false2328false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse180false 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$nanafalse0329true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0330false 4bmrn_BusinessCombinationContingentConsiderationAtFairValueNoncurrentbmrn_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse3061800030618USD$falsefalsefalsexbrli:monetaryItemTypemonetaryBusiness Combination, Contingent Consideration, at Fair Value, Non currentNo definition available.false2331false 4us-gaap_AssetRetirementObligationsNoncurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse39930003993USD$falsefalsefalse2truefalsefalse21920002192USD$falsefalsefalsexbrli: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 false2332false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse182false 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$nanafalse0333true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0334false 4us-gaap_DeferredCompensationCashbasedArrangementsLiabilityClassifiedNoncurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli: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.false2335false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse184false 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$nanafalse0336true 3us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse0337false 4us-gaap_DerivativeLiabilitiesNoncurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse00[2]USD$falsefalsefalsexbrli: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 false2338false 4bmrn_BusinessCombinationContingentConsiderationAtFairValueNoncurrentbmrn_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse2326100023261USD$falsetruefalse2falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryBusiness Combination, Contingent Consideration, at Fair Value, Non currentNo definition available.false21The 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