XML 84 R69.htm IDEA: XBRL DOCUMENT
v3.8.0.1

INCOME TAXES. (Details 3) $ in Thousands | Dec. 31, 2017 USD ($)
--- | ---
Federal [Member] |
Net operating loss carryforward | $ 154,589
Federal [Member] | 2018-2022 [Member] |
Net operating loss carryforward |
Federal [Member] | 2023-2027 [Member] |
Net operating loss carryforward | 13,038
Federal [Member] | 2028-2032 [Member] |
Net operating loss carryforward | 119,526
Federal [Member] | 2032-2036 [Member] |
Net operating loss carryforward | 112,248
Federal [Member] | 2017 [Member] |
Net operating loss carryforward | 59,675
Federal [Member] | 2018 [Member] |
Net operating loss carryforward | 6,441
Federal [Member] | 2020 [Member] |
Net operating loss carryforward | 6,308
Federal [Member] | Thereafter [Member] |
Net operating loss carryforward | 69,483
Federal [Member] | 2019 [Member] |
Net operating loss carryforward | 6,374
Federal [Member] | 2021 [Member] |
Net operating loss carryforward | 6,308
State [Member] |
Net operating loss carryforward | 148,921
State [Member] | 2018-2022 [Member] |
Net operating loss carryforward | 22,425
State [Member] | 2023-2027 [Member] |
Net operating loss carryforward | 2,945
State [Member] | 2028-2032 [Member] |
Net operating loss carryforward | 65,921
State [Member] | 2032-2036 [Member] |
Net operating loss carryforward | 80,055
State [Member] | 2017 [Member] |
Net operating loss carryforward | 82,892
State [Member] | 2018 [Member] |
Net operating loss carryforward | 5,372
State [Member] | 2020 [Member] |
Net operating loss carryforward | 5,318
State [Member] | Thereafter [Member] |
Net operating loss carryforward | 44,676
State [Member] | 2019 [Member] |
Net operating loss carryforward | 5,345
State [Member] | 2021 [Member] |
Net operating loss carryforward | $ 5,318

X
- Definition Amount of operating loss carryforward, before tax effects, available to reduce future taxable income under enacted tax laws. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32559-109319 + Details
Name: | us-gaap_OperatingLossCarryforwards
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=us-gaap_DomesticCountryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TaxPeriodAxis=peix_Period1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TaxPeriodAxis=peix_Period2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TaxPeriodAxis=peix_Period3Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TaxPeriodAxis=peix_Period4Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TaxPeriodAxis=peix_Year2017Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TaxPeriodAxis=peix_Year2018Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TaxPeriodAxis=peix_Year2020Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TaxPeriodAxis=peix_ThereafterMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TaxPeriodAxis=peix_Year2019Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TaxPeriodAxis=peix_Year2021Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=us-gaap_StateAndLocalJurisdictionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |