2.4.0.80060 - Disclosure - 11. Debt (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$1false
4us-gaap_LongTermDebtAndCapitalLeaseObligationsus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalse| 1truefalsefalse2488609424886094USD$falsetruefalse | 2truefalsefalse4363607643636076USD$falsetruefalse | xbrli:monetaryItemTypemonetaryAmount of long-term debt and capital lease obligation due after one year or beyond the normal 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 22
-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.22)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Staff Accounting Bulletin (SAB)
-Number Topic 6
-Section H
false2
2false
4us-gaap_LongTermDebtCurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalse| 1truefalsefalse1847178718471787USD$falsefalsefalse | 2truefalsefalse22865132286513USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of long-term debt, after unamortized discount or premium, scheduled to be repaid within one year or the normal operating cycle, if longer. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations.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.19,20)
-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 20
-Article 5
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 19
-Article 5
false2
3false
4us-gaap_LongTermDebtus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalse| 1truefalsefalse64143076414307USD$falsefalsefalse | 2truefalsefalse4134956341349563USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryCarrying amount of long-term debt, net of unamortized discount or premium, including current and noncurrent amounts. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 16
-Article 7
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.22)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 942
-SubTopic 210
-Section S99
-Paragraph 1
-Subparagraph (SX 210.9-03.16)
-URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 16
-Article 9
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 20, 22
-Article 5
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 944
-SubTopic 210
-Section S99
-Paragraph 1
-Subparagraph (SX 210.7-03.16)
-URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910
false2
4false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3false
USDtruefalse$AsOf2013-06-30_AmountsOutstandingUnderCreditFacilityMidCapFundingMemberhttp://www.sec.gov/CIK0001024126instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseAmounts outstanding under the Credit Facility & MidCap Funding V, LLC [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldiPTX_AmountsOutstandingUnderCreditFacilityMidCapFundingMemberus-gaap_LongtermDebtTypeAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
5false
4us-gaap_LongTermDebtAndCapitalLeaseObligationsus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalse| 1truefalsefalse2336080923360809USD$falsefalsefalse | 2truefalsefalse4200000042000000USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of long-term debt and capital lease obligation due after one year or beyond the normal 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 22
-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.22)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Staff Accounting Bulletin (SAB)
-Number Topic 6
-Section H
false2
6false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 5false
USDtruefalse$AsOf2013-06-30_StancorpMortgageMemberhttp://www.sec.gov/CIK0001024126instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseStancorp Mortgage [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldiPTX_StancorpMortgageMemberus-gaap_LongtermDebtTypeAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
7false
4us-gaap_LongTermDebtAndCapitalLeaseObligationsus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalse| 1truefalsefalse15161981516198USD$falsefalsefalse | 2truefalsefalse15807481580748USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of long-term debt and capital lease obligation due after one year or beyond the normal 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 22
-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.22)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Staff Accounting Bulletin (SAB)
-Number Topic 6
-Section H
false2
8false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 7false
USDtruefalse$AsOf2013-06-30_CapitalLeaseObligationsMemberhttp://www.sec.gov/CIK0001024126instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseCapital leases [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CapitalLeaseObligationsMemberus-gaap_LongtermDebtTypeAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
9false
4us-gaap_LongTermDebtAndCapitalLeaseObligationsus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalse| 1truefalsefalse90879087USD$falsetruefalse | 2truefalsefalse5532855328USD$falsetruefalse | xbrli:monetaryItemTypemonetaryAmount of long-term debt and capital lease obligation due after one year or beyond the normal 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 22
-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.22)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Staff Accounting Bulletin (SAB)
-Number Topic 6
-Section H
false2
false11. Debt (Details) (USD $)NoRoundingUnKnownUnKnownUnKnowntruefalsefalseSheethttp://pernixtx.com/role/DebtDetails29