2.4.0.80056 - Disclosure - 8. Intangible Assets and Goodwill (Details 2)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-12-31http://www.sec.gov/CIK0001024126duration2012-01-01T00:00:002012-12-31T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true
1us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
2false
2us-gaap_Goodwillus-gaap_truedebitinstantfalsefalsefalsefalsefalsetruefalsefalseperiodStartLabel| 1truefalsefalse3716091137160911USD$falsetruefalse | 2truefalsefalse14065911406591USD$falsetruefalse | xbrli:monetaryItemTypemonetaryAmount after accumulated impairment loss of an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 350
-SubTopic 20
-Section 50
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=14024403&loc=d3e13816-109267
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 350
-SubTopic 20
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6388280&loc=d3e13770-109266
false2
3false
2PTX_GoodwillAcquiredDuringPeriodSomaxonPTX_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse| 1truefalsefalse1074824410748244falsefalsefalse | 2falsefalsefalse00 falsefalsefalse | xbrli:monetaryItemTypemonetaryCustom Element.No definition available.false2
4false
2PTX_GoodwillAcquiredDuringPeriodCypressPTX_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00 falsefalsefalse | 2truefalsefalse3483874534838745falsefalsefalse | xbrli:monetaryItemTypemonetaryCustom Element.No definition available.false2
5false
2PTX_GoodwillAcquiredDuringPeriodGslPTX_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00 falsefalsefalse | 2truefalsefalse915575915575falsefalsefalse | xbrli:monetaryItemTypemonetaryCustom Element.No definition available.false2
6false
2us-gaap_GoodwillPurchaseAccountingAdjustmentsus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse| 1truefalsefalse47362504736250falsefalsefalse | 2falsefalsefalse00 falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of increase (decrease) from adjustments after acquisition date under purchase accounting of an asset representing the future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 350
-SubTopic 20
-Section 50
-Paragraph 1
-Subparagraph (g)
-URI http://asc.fasb.org/extlink&oid=14024403&loc=d3e13816-109267
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 805
-SubTopic 10
-Section 25
-Paragraph 16
-URI http://asc.fasb.org/extlink&oid=21917927&loc=d3e961-128460
false2
7false
2us-gaap_Goodwillus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsetruefalseperiodEndLabel| 1truefalsefalse5264540552645405USD$falsetruefalse | 2truefalsefalse3716091137160911USD$falsetruefalse | xbrli:monetaryItemTypemonetaryAmount after accumulated impairment loss of an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 350
-SubTopic 20
-Section 50
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=14024403&loc=d3e13816-109267
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 350
-SubTopic 20
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6388280&loc=d3e13770-109266
false2
false8. Intangible Assets and Goodwill (Details 2) (USD $)NoRoundingUnKnownUnKnownUnKnowntruefalsefalseSheethttp://pernixtx.com/role/IntangibleAssetsAndGoodwillDetails227