2.4.0.80064 - Disclosure - 14. Employee Compensation and Benefits (Details 1)truefalsefalse1falseUSDfalsefalse$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/instancesharesxbrli0USDUSD$1true2us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForwardus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumberus-gaap_truenainstantfalsefalsefalsefalsefalsetruefalsefalseperiodStartLabel1truefalsefalse17111671711167falsefalsefalsexbrli: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
false13false3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGrossus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse295000295000falsefalsefalsexbrli:sharesItemTypesharesGross number of share options (or share units) granted during the period.No definition available.false14false3us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercisedus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse-40000-40000falsefalsefalsexbrli:sharesItemTypesharesNumber of share options (or share units) exercised during the current period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.3-04)
-URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770
Reference 4: 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.28,29)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (c)(1)(iv)(2)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 29, 30
-Article 5
false15false3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriodus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse-126834-126834falsefalsefalsexbrli:sharesItemTypesharesThe number of shares under options that were cancelled during the reporting period as a result of occurrence of a terminating event specified in contractual agreements pertaining to 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)(iv)(3)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false16false3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExpirationsInPeriodus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00 falsefalsefalsexbrli:sharesItemTypesharesNumber of options or other stock instruments for which the right to exercise has lapsed under the terms of the plan agreements.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)(iv)(4)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false17false3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumberus-gaap_truenainstantfalsefalsefalsefalsefalsefalsetruefalseperiodEndLabel1truefalsefalse18393331839333falsefalsefalsexbrli: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
false18false3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumberus-gaap_truenainstantfalsefalsefalsefalsefalsefalsetruefalseperiodEndLabel1truefalsefalse860331860331falsefalsefalsexbrli: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
false19true2us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforwardus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse010false3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceus-gaap_truenainstantfalsefalsefalsefalsefalsetruefalsefalseperiodStartLabel1truefalsefalse4.874.87USD$falsetruefalsenum:perShareItemTypedecimalWeighted average price at which grantees can acquire the shares reserved for issuance 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)(i)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false311false3us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePriceus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse4.074.07USD$falsetruefalsenum:perShareItemTypedecimalWeighted average per share amount at which grantees can acquire shares of common stock by exercise of options.No definition available.false312false3us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePriceus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse2.792.79USD$falsetruefalsenum:perShareItemTypedecimalWeighted average price at which option holders acquired shares when converting their stock options into shares.No definition available.false313false3us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePriceus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse7.697.69USD$falsetruefalsenum:perShareItemTypedecimalWeighted average price at which grantees could have acquired the underlying shares with respect to stock options that were terminated.No definition available.false314false3us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExpirationsInPeriodWeightedAverageExercisePriceus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00 falsefalsefalsenum:perShareItemTypedecimalWeighted average price at which grantees could have acquired the underlying shares with respect to stock options of the plan that expired.No definition available.false315false3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceus-gaap_truenainstantfalsefalsefalsefalsefalsefalsetruefalseperiodEndLabel1truefalsefalse4.594.59USD$falsetruefalsenum:perShareItemTypedecimalWeighted average price at which grantees can acquire the shares reserved for issuance 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)(i)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
false316false3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePriceus-gaap_truenainstantfalsefalsefalsefalsefalsefalsetruefalseperiodEndLabel1truefalsefalse4.474.47USD$falsetruefalsenum: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 1) (USD $)UnKnownNoRoundingNoRoundingUnKnowntruefalsefalseSheethttp://pernixtx.com/role/EmployeeCompensationAndBenefitsDetails1116