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_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 2us-gaap_InventoryRawMaterialsus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse21178802117880USD$falsetruefalse2truefalsefalse15507361550736USD$falsetruefalsexbrli: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 false23false 2PTX_InventoryPackagingMaterialsPTX_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse779863779863falsefalsefalse2truefalsefalse866674866674falsefalsefalsexbrli:monetaryItemTypemonetaryCustom Element.No definition available.false24false 2PTX_InventorySamplesPTX_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse570942570942falsefalsefalse2truefalsefalse792702792702falsefalsefalsexbrli:monetaryItemTypemonetaryCustom Element.No definition available.false25false 2us-gaap_InventoryFinishedGoodsus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse1708953717089537falsefalsefalse2truefalsefalse1986099519860995falsefalsefalsexbrli: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 false26false 2us-gaap_InventoryGrossus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse2055822220558222falsefalsefalse2truefalsefalse2307110723071107falsefalsefalsexbrli: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 false27false 2us-gaap_InventoryValuationReservesus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse-1589903-1589903falsefalsefalse2truefalsefalse-1056702-1056702falsefalsefalsexbrli: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 false28false 2us-gaap_InventoryNetus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse1896831918968319USD$falsetruefalse2truefalsefalse2201440522014405USD$falsetruefalsexbrli: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 false2false7. Inventories (Details) (USD $)NoRoundingUnKnownUnKnownUnKnowntruefalsefalseSheethttp://pernixtx.com/role/InventoriesDetails28