2.4.0.80041 - Disclosure - 2. Basis of Presentation and Summary of Significant Accounting Policies (Details 2)truefalsefalse1falseUSDfalsefalse$From2013-04-01to2013-06-30http://www.sec.gov/CIK0001024126duration2013-04-01T00:00:002013-06-30T00:00:00SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDPSharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2falseUSDfalsefalse$From2012-04-01to2012-06-30http://www.sec.gov/CIK0001024126duration2012-04-01T00:00:002012-06-30T00:00:00SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDPSharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$3falseUSDfalsefalse$From2013-01-01to2013-06-30http://www.sec.gov/CIK0001024126duration2013-01-01T00:00:002013-06-30T00:00:00SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDPSharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$4falseUSDfalsefalse$From2012-01-01to2012-06-30http://www.sec.gov/CIK0001024126duration2012-01-01T00:00:002012-06-30T00:00:00SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDPSharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true3PTX_NumeratorAbstractPTX_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false4us-gaap_NetIncomeLossus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse-5895820-5895820USD$falsetruefalse2truefalsefalse-931732-931732USD$falsetruefalse3truefalsefalse-14015748-14015748USD$falsetruefalse4truefalsefalse259431259431USD$falsetruefalsexbrli:monetaryItemTypemonetaryThe portion of profit or loss for the period, net of income taxes, which is attributable to the parent.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Paragraph 20
-Article 9
Reference 2: 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 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Other Comprehensive Income
-URI http://asc.fasb.org/extlink&oid=6519514
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Net Income
-URI http://asc.fasb.org/extlink&oid=6518256
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 260
-SubTopic 10
-Section 50
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 944
-SubTopic 225
-Section S99
-Paragraph 1
-Subparagraph (SX 210.7-04.19)
-URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913
Reference 7: 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.18)
-URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688
Reference 8: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 944
-SubTopic 225
-Section S99
-Paragraph 1
-Subparagraph (SX 210.7-04.22)
-URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913
Reference 9: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 220
-SubTopic 10
-Section 45
-Paragraph 6
-URI http://asc.fasb.org/extlink&oid=28358780&loc=d3e565-108580
Reference 10: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 19
-Article 5
false23true3PTX_DenominatorAbstractPTX_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse04false4us-gaap_WeightedAverageNumberOfSharesIssuedBasicus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse3711471737114717falsefalsefalse2truefalsefalse2829123728291237falsefalsefalse3truefalsefalse3573846935738469falsefalsefalse4truefalsefalse2710618827106188falsefalsefalsexbrli:sharesItemTypesharesThis element represents the weighted average total number of shares issued throughout the period including the first (beginning balance outstanding) and last (ending balance outstanding) day of the period before considering any reductions (for instance, shares held in treasury) to arrive at the weighted average number of shares outstanding. Weighted average relates to the portion of time within a reporting period that common shares have been issued and outstanding to the total time in that period. Such concept is used in determining the weighted average number of shares outstanding for purposes of calculating earnings per share (basic).Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 260
-SubTopic 10
-Section 50
-Paragraph 1
-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
-Topic 260
-SubTopic 10
-Section 45
-Paragraph 13
-URI http://asc.fasb.org/extlink&oid=7655603&loc=d3e2646-109256
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 260
-SubTopic 10
-Section 45
-Paragraph 10
-URI http://asc.fasb.org/extlink&oid=7655603&loc=d3e1448-109256
false15false4us-gaap_AmountOfDilutiveSecuritiesStockOptionsAndRestrictiveStockUnitsus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00 falsefalsefalse2falsefalsefalse00 falsefalsefalse3falsefalsefalse00 falsefalsefalse4truefalsefalse606833606833USD$falsetruefalsexbrli:monetaryItemTypemonetaryAmount of increase (decrease) to net income used for calculating diluted earnings per share (EPS), resulting from the assumed exercise of stock options or restrictive stock units (RSUs).Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 260
-SubTopic 10
-Section 50
-Paragraph 1
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257
false26false4us-gaap_WeightedAverageNumberOfDilutedSharesOutstandingus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse3711471737114717falsefalsefalse2truefalsefalse2829123728291237falsefalsefalse3truefalsefalse3573846935738469falsefalsefalse4truefalsefalse2771302127713021falsefalsefalsexbrli:sharesItemTypesharesThe average number of shares or units issued and outstanding that are used in calculating diluted EPS or earnings per unit (EPU), determined based on the timing of issuance of shares or units in the period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 260
-SubTopic 10
-Section 50
-Paragraph 1
-Subparagraph (a)
-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
-Topic 260
-SubTopic 10
-Section 45
-Paragraph 16
-URI http://asc.fasb.org/extlink&oid=7655603&loc=d3e1505-109256
false17false4us-gaap_EarningsPerShareBasicAndDilutedus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse-0.16-0.16USD$falsetruefalse2truefalsefalse-0.03-0.03USD$falsetruefalse3truefalsefalse-0.39-0.39USD$falsetruefalse4truefalsefalse0.010.01USD$falsetruefalsenum:perShareItemTypedecimalThe amount of net income or loss for the period per each share in instances when basic and diluted earnings per share are the same amount and reported as a single line item on the face of the financial statements. Basic earnings per share is the amount of net income or loss for the period per each share of common stock or unit outstanding during the reporting period. Diluted earnings per share includes the amount of net income or loss for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period.No definition available.false3false2. Basis of Presentation and Summary of Significant Accounting Policies (Details 2) (USD $)NoRoundingNoRoundingNoRoundingUnKnowntruefalsefalseSheethttp://pernixtx.com/role/BasisOfPresentationAndSummaryOfSignificantAccountingPoliciesDetails247