2.4.0.80045 - Disclosure - 3. Fair Value Measurement (Details 1)truefalsefalse1false
USDfalsefalse$From2013-01-01to2013-06-30http://www.sec.gov/CIK0001024126duration2013-01-01T00:00:002013-06-30T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2false
USDfalsefalse$From2012-01-01to2012-06-30http://www.sec.gov/CIK0001024126duration2012-01-01T00:00:002012-06-30T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true
4us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
2false
5us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsetruefalsefalseperiodStartLabel| 1truefalsefalse57105265710526USD$falsetruefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
3true
5us-gaap_UnrealizedGainLossOnInvestmentsAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
4false
6us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1truefalsefalse46052634605263USD$falsefalsefalse | 2truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryThe cash inflow associated with the sale of debt and equity securities classified as available-for-sale securities.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Investing Activities
-URI http://asc.fasb.org/extlink&oid=6516133
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 11
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26853-111562
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 12
-Subparagraph (a),(b)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3179-108585
false2
5false
5us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsetruefalseperiodEndLabel| 1truefalsefalse00USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
6false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3false
USDtruefalse$From2013-01-01to2013-06-30_FairValueMeasurementsUsingSignificantUnobservableInputsMemberhttp://www.sec.gov/CIK0001024126duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseFair Value Measurements Using Significant Unobservable Inputs (Level 3) Memberus-gaap_FairValueByLiabilityClassAxisxbrldihttp://xbrl.org/2006/xbrldiPTX_FairValueMeasurementsUsingSignificantUnobservableInputsMemberus-gaap_FairValueByLiabilityClassAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
7true
4us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
8false
5us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsetruefalsefalseperiodStartLabel| 1truefalsefalse57105265710526USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
9true
5us-gaap_UnrealizedGainLossOnInvestmentsAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
10false
6us-gaap_GainOnSaleOfInvestmentsus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalse| 1truefalsefalse36052633605263USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryThe difference between the carrying value and the sale price of an investment. A gain would be recognized when the sale price of the investment is greater than the carrying value of the investment. This element refers to the Gain included in earnings and not to the cash proceeds of the sale.No definition available.false2
11false
6us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInOtherComprehensiveIncomeLossus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalse| 1truefalsefalse-4710526-4710526USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of gain (loss) recognized in other comprehensive income (loss) for financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 820
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)(1a)
-URI http://asc.fasb.org/extlink&oid=25499696&loc=d3e19207-110258
false2
12false
6us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel| 1truefalsefalse-4605263-4605263USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryThe cash inflow associated with the sale of debt and equity securities classified as available-for-sale securities.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Investing Activities
-URI http://asc.fasb.org/extlink&oid=6516133
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 11
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26853-111562
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 12
-Subparagraph (a),(b)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3179-108585
false2
13false
5us-gaap_AvailableForSaleSecuritiesus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsetruefalseperiodEndLabel| 1truefalsefalse00USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of investment in debt and equity securities categorized neither as held-to-maturity nor trading.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 25
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 50
-Paragraph 5
-Subparagraph (aa)
-URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 320
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562
false2
14true
4us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
15false
5us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValueus-gaap_truecreditinstantfalsefalsefalsefalsefalsetruefalsefalseperiodStartLabel| 1truefalsefalse1432768014327680USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryFair value of financial instrument classified as a liability measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 820
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=25499696&loc=d3e19207-110258
false2
16false
5PTX_InterestAccretionOfCypressContingentConsiderationPTX_falsecreditdurationfalsefalsefalsefalsefalsefalsefalsefalse| 1truefalsefalse319000319000USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryCustom Element.No definition available.false2
17false
5us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1us-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse| 1truefalsefalse-283000-283000USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of (increase) decrease in the value of a contingent consideration liability, including, but not limited to, differences arising upon settlement.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 805
-SubTopic 30
-Section 50
-Paragraph 4
-Subparagraph (a)(1)
-URI http://asc.fasb.org/extlink&oid=7488404&loc=d3e7008-128479
false2
18false
5PTX_ChangeInFairValueOfCypressPutRightPTX_falsecreditdurationfalsefalsefalsefalsefalsefalsefalsefalse| 1truefalsefalse39707893970789USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryCustom Element.No definition available.false2
19false
5us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValueus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsetruefalseperiodEndLabel| 1truefalsefalse1833446918334469USD$falsetruefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryFair value of financial instrument classified as a liability measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 820
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=25499696&loc=d3e19207-110258
false2
false3. Fair Value Measurement (Details 1) (USD $)NoRoundingUnKnownUnKnownUnKnowntruefalsefalseSheethttp://pernixtx.com/role/FairValueMeasurementDetails1219