2.4.0.80044 - Disclosure - 3. Fair Value Measurement (Details)truefalseIn Thousands, unless otherwise specifiedfalse1false USDfalsefalse$AsOf2013-06-30http://www.sec.gov/CIK0001024126instant2013-06-30T00:00:000001-01-01T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2false USDfalsefalse$AsOf2012-12-31http://www.sec.gov/CIK0001024126instant2012-12-31T00:00:000001-01-01T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true 4us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 5us-gaap_InvestmentsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00  USD$falsefalsefalse2truefalsefalse57110005711USD$falsetruefalsexbrli:monetaryItemTypemonetaryFair value portion of investment securities, including, but not limited to, marketable securities, derivative financial instruments, and investments accounted for under the equity method.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Available-for-Sale Securities -URI http://asc.fasb.org/extlink&oid=6505594 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Trading Securities -URI http://asc.fasb.org/extlink&oid=6526789 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 25 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 03 -Paragraph 1 -Subparagraph a, f, g -Article 7 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 35 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=27723805&loc=d3e24584-111560 false23false 5us-gaap_AssetsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00  USD$falsefalsefalse2truefalsefalse57110005711USD$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 false24true 4us-gaap_FairValueLiabilitiesMeasuredOnRecurringAndNonrecurringBasisAlternativeAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse05false 5us-gaap_BusinessCombinationContingentConsiderationLiabilityus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse1099800010998USD$falsefalsefalse2truefalsefalse1096200010962USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of liability recognized arising from contingent consideration in a business combination.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 35 -Paragraph 1 -Subparagraph b -URI http://asc.fasb.org/extlink&oid=6911338&loc=d3e6819-128478 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 25 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=6911189&loc=d3e6408-128476 false26false 5PTX_PutRightFairValueDisclosurePTX_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse73360007336USD$falsefalsefalse2truefalsefalse33650003365USD$falsefalsefalsexbrli:monetaryItemTypemonetaryCustom Element.No definition available.false27false 5us-gaap_LiabilitiesFairValueDisclosureus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse1833400018334USD$falsefalsefalse2truefalsefalse1432700014327USD$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 false28false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3false USDtruefalse$AsOf2013-06-30_FairValueInputsLevel1Memberhttp://www.sec.gov/CIK0001024126instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseLevel 1 Memberus-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel1Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse09true 4us-gaap_FairValueLiabilitiesMeasuredOnRecurringAndNonrecurringBasisAlternativeAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse010false 5us-gaap_BusinessCombinationContingentConsiderationLiabilityus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00  USD$falsefalsefalse2falsefalsefalse00  USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of liability recognized arising from contingent consideration in a business combination.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 35 -Paragraph 1 -Subparagraph b -URI http://asc.fasb.org/extlink&oid=6911338&loc=d3e6819-128478 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 25 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=6911189&loc=d3e6408-128476 false211false 5PTX_PutRightFairValueDisclosurePTX_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00  USD$falsefalsefalse2falsefalsefalse00  USD$falsefalsefalsexbrli:monetaryItemTypemonetaryCustom Element.No definition available.false212false 5us-gaap_LiabilitiesFairValueDisclosureus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00  USD$falsefalsefalse2falsefalsefalse00  USD$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 false213false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse5false USDtruefalse$AsOf2013-06-30_FairValueInputsLevel2Memberhttp://www.sec.gov/CIK0001024126instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseLevel 2 Memberus-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel2Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse014true 4us-gaap_FairValueLiabilitiesMeasuredOnRecurringAndNonrecurringBasisAlternativeAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse015false 5us-gaap_BusinessCombinationContingentConsiderationLiabilityus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00  USD$falsefalsefalse2falsefalsefalse00  USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of liability recognized arising from contingent consideration in a business combination.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 35 -Paragraph 1 -Subparagraph b -URI http://asc.fasb.org/extlink&oid=6911338&loc=d3e6819-128478 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 25 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=6911189&loc=d3e6408-128476 false216false 5PTX_PutRightFairValueDisclosurePTX_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00  USD$falsefalsefalse2falsefalsefalse00  USD$falsefalsefalsexbrli:monetaryItemTypemonetaryCustom Element.No definition available.false217false 5us-gaap_LiabilitiesFairValueDisclosureus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00  USD$falsefalsefalse2falsefalsefalse00  USD$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 false218false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse7false USDtruefalse$AsOf2013-06-30_FairValueInputsLevel3Memberhttp://www.sec.gov/CIK0001024126instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseLevel 3 Memberus-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel3Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse019true 4us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse020false 5us-gaap_InvestmentsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00  USD$falsefalsefalse2truefalsefalse57110005711USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value portion of investment securities, including, but not limited to, marketable securities, derivative financial instruments, and investments accounted for under the equity method.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Available-for-Sale Securities -URI http://asc.fasb.org/extlink&oid=6505594 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Trading Securities -URI http://asc.fasb.org/extlink&oid=6526789 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 25 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 03 -Paragraph 1 -Subparagraph a, f, g -Article 7 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 35 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=27723805&loc=d3e24584-111560 false221false 5us-gaap_AssetsFairValueDisclosureus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00  USD$falsefalsefalse2truefalsefalse57110005711USD$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 false222true 4us-gaap_FairValueLiabilitiesMeasuredOnRecurringAndNonrecurringBasisAlternativeAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse023false 5us-gaap_BusinessCombinationContingentConsiderationLiabilityus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse1099800010998USD$falsefalsefalse2truefalsefalse1096200010962USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of liability recognized arising from contingent consideration in a business combination.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 35 -Paragraph 1 -Subparagraph b -URI http://asc.fasb.org/extlink&oid=6911338&loc=d3e6819-128478 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 25 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=6911189&loc=d3e6408-128476 false224false 5PTX_PutRightFairValueDisclosurePTX_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse73360007336USD$falsefalsefalse2truefalsefalse33650003365USD$falsefalsefalsexbrli:monetaryItemTypemonetaryCustom Element.No definition available.false225false 5us-gaap_LiabilitiesFairValueDisclosureus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse1833400018334USD$falsetruefalse2truefalsefalse1432700014327USD$falsetruefalsexbrli: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 false2false3. Fair Value Measurement (Details) (USD $)ThousandsUnKnownUnKnownUnKnowntruefalsefalseSheethttp://pernixtx.com/role/FairValueMeasurementDetails225