XML 101 R86.htm IDEA: XBRL DOCUMENT
v3.19.3.a.u2

COMMON STOCK AND WARRANTS. (Details) - Warrants [Member] - $ / shares | 12 Months Ended
--- | ---
Dec. 31, 2018 | Dec. 31, 2017 | Dec. 31, 2016
Number of Shares |  |  |
Begining Balance | 4,000 | 244,000 | 382,000
Warrants exercised |  | (191,000) | (138,000)
Warrants expired | (4,000) | (49,000) |
Ending Balance |  | 4,000 | 244,000
Price per Share |  |  |
Begining Balance | $ 735.00 |  |
Warrants exercised |  | 6.09 | 8.43
Warrants expired | 735.00 |  |
Ending Balance |  | 735.00 |
Weighted Average Exercise Price |  |  |
Begining Balance | 735.00 | 106.72 | 70.87
Warrants exercised |  | 6.09 | 8.43
Warrants expired | 735.00 | 444.00 |
Ending Balance |  | 735.00 | 106.72
Minimum [Member] |  |  |
Price per Share |  |  |
Begining Balance | 6.09 | 6.09 | 6.09
Warrants exercised |  |  |
Ending Balance |  | 6.09 | 6.09
Maximum [Member] |  |  |
Price per Share |  |  |
Begining Balance | $ 735.00 | 735.00 | 735.00
Warrants exercised |  |  |
Ending Balance |  | $ 735.00 | $ 735.00

X
- Definition It represents number of shares of class of warrant or right exercise price of warrants or rights exercised. + References No definition available. + Details
Name: | peix_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRightsExercised
Namespace Prefix: | peix_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition It represents number of shares of class of warrant or right exercise price of warrants or rights expired. + References No definition available. + Details
Name: | peix_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRightsExpired
Namespace Prefix: | peix_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Exercise price per share + References No definition available. + Details
Name: | peix_ExercuisePricePerShareAbstract
Namespace Prefix: | peix_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Warrants exercised + References No definition available. + Details
Name: | peix_WarrantsExercised
Namespace Prefix: | peix_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Warrants expired + References No definition available. + Details
Name: | peix_WarrantsExpired
Namespace Prefix: | peix_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Weighted average exercise price warrants exercised + References No definition available. + Details
Name: | peix_WeightedAverageExercisePriceWarrantsExercised
Namespace Prefix: | peix_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition It represents weighted average exercise price warrants expired. + References No definition available. + Details
Name: | peix_WeightedAverageExercisePriceWarrantsExpired
Namespace Prefix: | peix_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Weighted average exercise price warrants outstanding + References No definition available. + Details
Name: | peix_WeightedAverageExercisePriceWarrantsOutstanding
Namespace Prefix: | peix_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Exercise price per share or per unit of warrants or rights outstanding. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(i)(4)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 + Details
Name: | us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of warrants or rights outstanding. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(i)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 + Details
Name: | us-gaap_ClassOfWarrantOrRightOutstanding
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. + References No definition available. + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=us-gaap_WarrantMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |