2.4.0.80043 - Disclosure - 2. Basis of Presentation and Summary of Significant Accounting Policies (Details Narrative)truefalsefalse1false USDfalsefalse$From2013-04-01to2013-06-30http://www.sec.gov/CIK0001024126duration2013-04-01T00:00:002013-06-30T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2false USDfalsefalse$From2012-04-01to2012-06-30http://www.sec.gov/CIK0001024126duration2012-04-01T00:00:002012-06-30T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$3false USDfalsefalse$From2013-01-01to2013-06-30http://www.sec.gov/CIK0001024126duration2013-01-01T00:00:002013-06-30T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$4false USDfalsefalse$From2012-01-01to2012-06-30http://www.sec.gov/CIK0001024126duration2012-01-01T00:00:002012-06-30T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1false 4PTX_AmortizationOfInventoryAdjustmentPTX_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse895000895000USD$falsetruefalse2falsefalsefalse00falsefalsefalse3truefalsefalse47110004711000USD$falsetruefalse4falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryCustom Element.No definition available.false22false 4us-gaap_ProceedsFromSaleOfLongtermInvestmentsus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse46052634605263USD$falsefalsefalse4truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThe cash inflow from sales of all investments, including securities and other assets, having ready marketability and intended by management to be liquidated, if necessary, beyond the current operating cycle.No definition available.false23false 4us-gaap_GainLossOnInvestmentsus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse36052633605263USD$falsetruefalse2truefalsefalse00USD$falsetruefalse3truefalsefalse36052633605263USD$falsetruefalse4truefalsefalse00USD$falsetruefalsexbrli:monetaryItemTypemonetaryThis item represents the net total realized and unrealized gain (loss) included in earnings for the period as a result of selling or holding marketable securities categorized as trading, available-for-sale, or held-to-maturity, including the unrealized holding gain (loss) of held-to-maturity securities transferred to the trading security category and the cumulative unrealized gain (loss) which was included in other comprehensive income (a separate component of shareholders' equity) for available-for-sale securities transferred to trading securities during the period. Additionally, this item would include any gains (losses) realized during the period from the sale of investments accounted for under the cost method of accounting and losses recognized for other than temporary impairments (OTTI) of the subject investments.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.7(c),9(a)) -URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 10 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27405-111563 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 03 -Paragraph 7 -Article 5 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 9 -Subparagraph (c)-(e) -URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27357-111563 false24false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5false truefalseFrom2013-01-01to2013-06-30_RestrictedStockMemberhttp://www.sec.gov/CIK0001024126duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseRestricted Stock [Member]us-gaap_AwardTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_RestrictedStockMemberus-gaap_AwardTypeAxisexplicitMemberSharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0nanafalse05false 4us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmountus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse671455671455falsefalsefalse4falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesSecurities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) or earnings per unit (EPU) in the future that were not included in the computation of diluted EPS or EPU because to do so would increase EPS or EPU amounts or decrease loss per share or unit amounts for the period presented.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Antidilution -URI http://asc.fasb.org/extlink&oid=6505113 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Diluted Earnings Per Share -URI http://asc.fasb.org/extlink&oid=6510752 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Contingent Stock Agreement -URI http://asc.fasb.org/extlink&oid=6508534 false16false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse6false truefalseFrom2013-01-01to2013-06-30_us-gaap_EmployeeStockOptionMemberhttp://www.sec.gov/CIK0001024126duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseEmployee Stock Option [Member]us-gaap_AwardTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_EmployeeStockOptionMemberus-gaap_AwardTypeAxisexplicitMemberSharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0nanafalse07false 4us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmountus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse18393331839333falsefalsefalse4falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesSecurities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) or earnings per unit (EPU) in the future that were not included in the computation of diluted EPS or EPU because to do so would increase EPS or EPU amounts or decrease loss per share or unit amounts for the period presented.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Antidilution -URI http://asc.fasb.org/extlink&oid=6505113 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Diluted Earnings Per Share -URI http://asc.fasb.org/extlink&oid=6510752 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Contingent Stock Agreement -URI http://asc.fasb.org/extlink&oid=6508534 false1false2. Basis of Presentation and Summary of Significant Accounting Policies (Details Narrative) (USD $)NoRoundingNoRoundingUnKnownUnKnowntruefalsefalseSheethttp://pernixtx.com/role/BasisOfPresentationAndSummaryOfSignificantAccountingPoliciesDetailsNarrative47