2.4.0.80052 - Disclosure - 7. Inventories (Details)truefalsefalse1false
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
1us-gaap_InventoryDisclosureAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
2false
2us-gaap_InventoryRawMaterialsus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalse| 1truefalsefalse21178802117880USD$falsetruefalse | 2truefalsefalse15507361550736USD$falsetruefalse | xbrli:monetaryItemTypemonetaryAmount before valuation and LIFO reserves of raw materials expected to be sold, or consumed within one year or operating cycle, if longer.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 6
-Subparagraph a
-Article 5
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.6(a)(4))
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
false2
3false
2PTX_InventoryPackagingMaterialsPTX_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalse| 1truefalsefalse779863779863falsefalsefalse | 2truefalsefalse866674866674falsefalsefalse | xbrli:monetaryItemTypemonetaryCustom Element.No definition available.false2
4false
2PTX_InventorySamplesPTX_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalse| 1truefalsefalse570942570942falsefalsefalse | 2truefalsefalse792702792702falsefalsefalse | xbrli:monetaryItemTypemonetaryCustom Element.No definition available.false2
5false
2us-gaap_InventoryFinishedGoodsus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalse| 1truefalsefalse1708953717089537falsefalsefalse | 2truefalsefalse1986099519860995falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount before valuation and LIFO reserves of completed merchandise or goods expected to be sold within one year or operating cycle, if longer.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 6
-Subparagraph a
-Article 5
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.6(a)(1))
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
false2
6false
2us-gaap_InventoryGrossus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalse| 1truefalsefalse2055822220558222falsefalsefalse | 2truefalsefalse2307110723071107falsefalsefalse | xbrli:monetaryItemTypemonetaryGross amount, as of the balance sheet date, of merchandise, goods, commodities, or supplies held for future sale or to be used in manufacturing, servicing or production process.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.6(a))
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
false2
7false
2us-gaap_InventoryValuationReservesus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalse| 1truefalsefalse-1589903-1589903falsefalsefalse | 2truefalsefalse-1056702-1056702falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of valuation reserve for inventory.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.6(a))
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 6
-Subparagraph a
-Article 5
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 330
-SubTopic 10
-Section 35
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6386567&loc=d3e3927-108312
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 235
-SubTopic 10
-Section S99
-Paragraph 4
-Subparagraph (SX 210.12-09)
-URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e24092-122690
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 330
-SubTopic 10
-Section S99
-Paragraph 2
-Subparagraph (SAB TOPIC 5.BB)
-URI http://asc.fasb.org/extlink&oid=27011343&loc=d3e100047-122729
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 09
-Article 12
false2
8false
2us-gaap_InventoryNetus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalse| 1truefalsefalse1896831918968319USD$falsetruefalse | 2truefalsefalse2201440522014405USD$falsetruefalse | xbrli:monetaryItemTypemonetaryAmount after valuation and LIFO reserves of inventory expected to be sold, or consumed within one year or operating cycle, if longer.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.6(a))
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 330
-SubTopic 10
-Section 35
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6386567&loc=d3e3927-108312
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section 45
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=28358313&loc=d3e6676-107765
false2
false7. Inventories (Details) (USD $)NoRoundingUnKnownUnKnownUnKnowntruefalsefalseSheethttp://pernixtx.com/role/InventoriesDetails28