2.4.0.84093 - Disclosure - Share-based Compensation (Details 4)truefalsefalse1false USDfalsefalse$D2013Q2YTD_StockOptionsMemberhttp://www.sec.gov/CIK0000946840duration2013-01-01T00:00:002013-06-30T00:00:00PureStandardhttp://www.xbrl.org/2003/instancepurexbrli0SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDPerShareDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDUSD$1true 3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse20428252042825falsefalsefalsexbrli:sharesItemTypesharesNet number of share options (or share units) granted during the period.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(iv)(1) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph b(1)(d) -LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy. false13false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValueus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse13.9313.93USD$falsetruefalsenum:perShareItemTypedecimalThe weighted average grant-date fair value of options granted during the reporting period as calculated by applying the disclosed option pricing methodology.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph c(1) -LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy. Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (d)(1) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false34false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimumus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truetruefalse0.01100.0110falsefalsefalsenum:percentItemTypepureThe minimum risk-free interest rate assumption that is used in valuing an option on its own shares.No definition available.false05false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximumus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truetruefalse0.01390.0139falsefalsefalsenum:percentItemTypepureThe maximum risk-free interest rate assumption that is used in valuing an option on its own shares.No definition available.false06false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsWeightedAverageVolatilityRateus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truetruefalse0.57900.5790falsefalsefalsenum:percentItemTypepureThe range of expected volatilities used and the weighted-average expected volatility for an entity using a valuation technique with different volatilities during the contractual term.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (f)(2)(ii) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph e(2)(b) -LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy. false07false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimumus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truetruefalse0.57810.5781falsefalsefalsenum:percentItemTypepureThe estimated measure of the minimum percentage by which a share price is expected to fluctuate during a period. Volatility also may be defined as a probability-weighted measure of the dispersion of returns about the mean. The volatility of a share price is the standard deviation of the continuously compounded rates of return on the share over a specified period. That is the same as the standard deviation of the differences in the natural logarithms of the stock prices plus dividends, if any, over the period.No definition available.false08false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximumus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truetruefalse0.58060.5806falsefalsefalsenum:percentItemTypepureThe estimated measure of the maximum percentage by which a share price is expected to fluctuate during a period. Volatility also may be defined as a probability-weighted measure of the dispersion of returns about the mean. The volatility of a share price is the standard deviation of the continuously compounded rates of return on the share over a specified period. That is the same as the standard deviation of the differences in the natural logarithms of the stock prices plus dividends, if any, over the period.No definition available.false09false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2false truefalseD2013Q2YTD_StockOptionsMember_MinimumMemberhttp://www.sec.gov/CIK0000946840duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseStock awardsus-gaap_AwardTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_StockOptionsMemberus-gaap_AwardTypeAxisexplicitMemberfalsefalseMinimumus-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MinimumMemberus-gaap_RangeAxisexplicitMembernanafalse010true 3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse011false 4us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse005 years 6 monthsfalsefalsefalsexbrli:durationItemTypenaExpected term of share-based compensation awards, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB TOPIC 14.D.2) -URI http://asc.fasb.org/extlink&oid=6793087&loc=d3e301413-122809 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (f)(2)(i) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Staff Accounting Bulletin (SAB) -Number Topic 14 -Section D -Subsection 2 false012false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse3false truefalseD2013Q2YTD_StockOptionsMember_MaximumMemberhttp://www.sec.gov/CIK0000946840duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseStock awardsus-gaap_AwardTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_StockOptionsMemberus-gaap_AwardTypeAxisexplicitMemberfalsefalseMaximumus-gaap_RangeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_MaximumMemberus-gaap_RangeAxisexplicitMembernanafalse013true 3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse014false 4us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse006 years 3 monthsfalsefalsefalsexbrli:durationItemTypenaExpected term of share-based compensation awards, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB TOPIC 14.D.2) -URI http://asc.fasb.org/extlink&oid=6793087&loc=d3e301413-122809 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (f)(2)(i) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Staff Accounting Bulletin (SAB) -Number Topic 14 -Section D -Subsection 2 false0falseShare-based Compensation (Details 4) (Stock awards, USD $)UnKnownNoRoundingNoRoundingUnKnowntruefalsefalseSheethttp://www.viropharma.com/role/DisclosureShareBasedCompensationDetails4114