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_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 2us-gaap_Goodwillus-gaap_truedebitinstantfalsefalsefalsefalsefalsetruefalsefalseperiodStartLabel1truefalsefalse3716091137160911USD$falsetruefalse2truefalsefalse14065911406591USD$falsetruefalsexbrli: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 false23false 2PTX_GoodwillAcquiredDuringPeriodSomaxonPTX_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse1074824410748244falsefalsefalse2falsefalsefalse00  falsefalsefalsexbrli:monetaryItemTypemonetaryCustom Element.No definition available.false24false 2PTX_GoodwillAcquiredDuringPeriodCypressPTX_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00  falsefalsefalse2truefalsefalse3483874534838745falsefalsefalsexbrli:monetaryItemTypemonetaryCustom Element.No definition available.false25false 2PTX_GoodwillAcquiredDuringPeriodGslPTX_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00  falsefalsefalse2truefalsefalse915575915575falsefalsefalsexbrli:monetaryItemTypemonetaryCustom Element.No definition available.false26false 2us-gaap_GoodwillPurchaseAccountingAdjustmentsus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse47362504736250falsefalsefalse2falsefalsefalse00  falsefalsefalsexbrli: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 false27false 2us-gaap_Goodwillus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsetruefalseperiodEndLabel1truefalsefalse5264540552645405USD$falsetruefalse2truefalsefalse3716091137160911USD$falsetruefalsexbrli: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 false2false8. Intangible Assets and Goodwill (Details 2) (USD $)NoRoundingUnKnownUnKnownUnKnowntruefalsefalseSheethttp://pernixtx.com/role/IntangibleAssetsAndGoodwillDetails227