2.4.0.80065 - Disclosure - 14. Employee Compensation and Benefits (Details 2)truefalsefalse1false USDfalsefalse$AsOf2013-06-30http://www.sec.gov/CIK0001024126instant2013-06-30T00:00:000001-01-01T00:00:00SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDPSharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDUSD$2false falsefalseAsOf2012-12-31http://www.sec.gov/CIK0001024126instant2012-12-31T00:00:000001-01-01T00:00:00SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli01false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumberus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse18393331839333falsefalsefalse2truefalsefalse17111671711167falsefalsefalsexbrli:sharesItemTypesharesNumber of options outstanding, including both vested and non-vested options.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(i)-(ii) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false12false 4PTX_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageRemainingContractualTerm3PTX_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse007 years 9 months 18 daysfalsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:durationItemTypenaCustom Element.No definition available.false03false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumberus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse860331860331falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesThe number of shares into which fully or partially vested stock options outstanding as of the balance sheet date can be currently converted under the option plan.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(iii) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false14false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePriceus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse4.474.47USD$falsetruefalse2falsefalsefalse00falsefalsefalsenum:perShareItemTypedecimalThe weighted-average price as of the balance sheet date at which grantees can acquire the shares reserved for issuance on vested portions of options outstanding and currently exercisable under the stock option plan.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(iii) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false35false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3false USDtruefalse$AsOf2013-06-30_RangeOfExercisePriceFrom1.94to2.20Memberhttp://www.sec.gov/CIK0001024126instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseRange Of Exercise Price From 1.94 to 2.20 Memberus-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxisxbrldihttp://xbrl.org/2006/xbrldiPTX_RangeOfExercisePriceFrom1.94to2.20Memberus-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxisexplicitMemberSharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDPSharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDUSD$nanafalse06false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumberus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse50005000falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesNumber of options outstanding, including both vested and non-vested options.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(i)-(ii) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false17false 4PTX_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageRemainingContractualTerm3PTX_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse001 year 8 months 12 daysfalsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:durationItemTypenaCustom Element.No definition available.false08false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumberus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse50005000falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesThe number of shares into which fully or partially vested stock options outstanding as of the balance sheet date can be currently converted under the option plan.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(iii) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false19false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePriceus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse2.202.20USD$falsetruefalse2falsefalsefalse00falsefalsefalsenum:perShareItemTypedecimalThe weighted-average price as of the balance sheet date at which grantees can acquire the shares reserved for issuance on vested portions of options outstanding and currently exercisable under the stock option plan.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(iii) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false310false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse4false USDtruefalse$AsOf2013-06-30_RangeOfExercisePriceFrom3.31To4.20Memberhttp://www.sec.gov/CIK0001024126instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseRange of Exercise Price from 3.31 to 4.20 Memberus-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxisxbrldihttp://xbrl.org/2006/xbrldiPTX_RangeOfExercisePriceFrom3.31To4.20Memberus-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxisexplicitMemberSharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDPSharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDUSD$nanafalse011false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumberus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse14076671407667falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesNumber of options outstanding, including both vested and non-vested options.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(i)-(ii) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false112false 4PTX_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageRemainingContractualTerm3PTX_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse007 years 8 months 12 daysfalsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:durationItemTypenaCustom Element.No definition available.false013false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumberus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse702667702667falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesThe number of shares into which fully or partially vested stock options outstanding as of the balance sheet date can be currently converted under the option plan.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(iii) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false114false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePriceus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse3.753.75USD$falsetruefalse2falsefalsefalse00falsefalsefalsenum:perShareItemTypedecimalThe weighted-average price as of the balance sheet date at which grantees can acquire the shares reserved for issuance on vested portions of options outstanding and currently exercisable under the stock option plan.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(iii) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false315false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse5false USDtruefalse$AsOf2013-06-30_RangeOfExercisePriceFrom6.10Memberhttp://www.sec.gov/CIK0001024126instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseRange of Exercise Price from 6.10 Memberus-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxisxbrldihttp://xbrl.org/2006/xbrldiPTX_RangeOfExercisePriceFrom6.10Memberus-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxisexplicitMemberSharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDPSharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDUSD$nanafalse016false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumberus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse153333153333falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesNumber of options outstanding, including both vested and non-vested options.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(i)-(ii) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false117false 4PTX_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageRemainingContractualTerm3PTX_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse008 years 1 month 6 daysfalsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:durationItemTypenaCustom Element.No definition available.false018false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumberus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse5933159331falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesThe number of shares into which fully or partially vested stock options outstanding as of the balance sheet date can be currently converted under the option plan.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(iii) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false119false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePriceus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse6.106.10USD$falsetruefalse2falsefalsefalse00falsefalsefalsenum:perShareItemTypedecimalThe weighted-average price as of the balance sheet date at which grantees can acquire the shares reserved for issuance on vested portions of options outstanding and currently exercisable under the stock option plan.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(iii) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false320false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse6false USDtruefalse$AsOf2013-06-30_RangeOfExercisePriceFrom7.75To8.62Memberhttp://www.sec.gov/CIK0001024126instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseRange of Exercise Price from 7.75 to 8.62 Memberus-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxisxbrldihttp://xbrl.org/2006/xbrldiPTX_RangeOfExercisePriceFrom7.75To8.62Memberus-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxisexplicitMemberSharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDPSharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDUSD$nanafalse021false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumberus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse180000180000falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesNumber of options outstanding, including both vested and non-vested options.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(i)-(ii) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false122false 4PTX_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageRemainingContractualTerm3PTX_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse008 years 9 months 18 daysfalsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:durationItemTypenaCustom Element.No definition available.false023false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumberus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse4333443334falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesThe number of shares into which fully or partially vested stock options outstanding as of the balance sheet date can be currently converted under the option plan.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(iii) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false124false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePriceus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse8.188.18USD$falsetruefalse2falsefalsefalse00falsefalsefalsenum:perShareItemTypedecimalThe weighted-average price as of the balance sheet date at which grantees can acquire the shares reserved for issuance on vested portions of options outstanding and currently exercisable under the stock option plan.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(iii) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false325false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse7false USDtruefalse$AsOf2013-06-30_RangeOfExercisePriceFrom9.02To10.35Memberhttp://www.sec.gov/CIK0001024126instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseRange of Exercise Price from 9.02 to 10.35 Memberus-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxisxbrldihttp://xbrl.org/2006/xbrldiPTX_RangeOfExercisePriceFrom9.02To10.35Memberus-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxisexplicitMemberSharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDPSharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDUSD$nanafalse026false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumberus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse9333393333falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesNumber of options outstanding, including both vested and non-vested options.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(i)-(ii) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false127false 4PTX_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageRemainingContractualTerm3PTX_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse008 years 3 months 18 daysfalsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:durationItemTypenaCustom Element.No definition available.false028false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumberus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse4999949999falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesThe number of shares into which fully or partially vested stock options outstanding as of the balance sheet date can be currently converted under the option plan.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(iii) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false129false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePriceus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse9.779.77USD$falsetruefalse2falsefalsefalse00falsefalsefalsenum:perShareItemTypedecimalThe weighted-average price as of the balance sheet date at which grantees can acquire the shares reserved for issuance on vested portions of options outstanding and currently exercisable under the stock option plan.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(iii) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false3false14. Employee Compensation and Benefits (Details 2) (USD $)UnKnownNoRoundingNoRoundingUnKnowntruefalsefalseSheethttp://pernixtx.com/role/EmployeeCompensationAndBenefitsDetails2229