2.4.0.8104 - Statement - Consolidated Balance Sheets (Parenthetical)truefalsefalse1false
USDfalsefalse$eol_PE10315---13S-1-0008_STD_0_20130331_0http://www.sec.gov/CIK0001069308instant2013-03-31T00:00:000001-01-01T00:00:00sharesStandardhttp://www.xbrl.org/2003/instanceshares0iso4217_USD_per_sharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instanceshares0iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2false
USDfalsefalse$eol_PE10315---13S-1-0008_STD_0_20121231_0http://www.sec.gov/CIK0001069308instant2012-12-31T00:00:000001-01-01T00:00:00sharesStandardhttp://www.xbrl.org/2003/instanceshares0iso4217_USD_per_sharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instanceshares0iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$3false
USDfalsefalse$eol_PE10315---13S-1-0008_STD_0_20111231_0http://www.sec.gov/CIK0001069308instant2011-12-31T00:00:000001-01-01T00:00:00sharesStandardhttp://www.xbrl.org/2003/instanceshares0iso4217_USD_per_sharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instanceshares0iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1false
4us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipmentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse15728211572821USD$falsetruefalse | 2truefalsefalse14945101494510USD$falsetruefalse | 3truefalsefalse11936011193601USD$falsetruefalse | xbrli:monetaryItemTypemonetaryAmount of accumulated depreciation, depletion and amortization for physical assets used in the normal conduct of business to produce goods and services.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 360
-SubTopic 10
-Section 50
-Paragraph 1
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229
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.14)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 14
-Article 5
false2
2false
4us-gaap_AccumulatedAmortizationOfNoncurrentDeferredFinanceCostsus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse111578111578USD$falsefalsefalse | 2truefalsefalse5863958639USD$falsefalsefalse | 3truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryCarrying amount of accumulated amortization of long-term deferred finance costs capitalized at the end of the reporting period.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.17)
-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 17
-Article 5
false2
3false
4us-gaap_DebtInstrumentUnamortizedDiscountus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2truefalsefalse37082373708237USD$falsefalsefalse | 3falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryThe amount of debt discount that was originally recognized at the issuance of the instrument that has yet to be amortized.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 835
-SubTopic 30
-Section 45
-Paragraph 1A
-URI http://asc.fasb.org/extlink&oid=6451184&loc=d3e28541-108399
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 835
-SubTopic 30
-Section 55
-Paragraph 8
-URI http://asc.fasb.org/extlink&oid=6584090&loc=d3e28878-108400
false2
4false
4us-gaap_PreferredStockNoParValueus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00 USD$falsefalsefalse | 2falsefalsefalse00 USD$falsefalsefalse | 3falsefalsefalse00 USD$falsefalsefalse | num:perShareItemTypedecimalFace amount per share of no-par value preferred stock nonredeemable or redeemable solely at the option of the issuer.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.28)
-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 29
-Article 5
false3
5false
4us-gaap_PreferredStockSharesAuthorizedus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse1000000010000000falsefalsefalse | 2truefalsefalse1000000010000000falsefalsefalse | 3truefalsefalse1000000010000000falsefalsefalse | xbrli:sharesItemTypesharesThe maximum number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) permitted to be issued by an entity's charter and bylaws.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.28)
-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 29
-Article 5
false1
6false
4us-gaap_PreferredStockSharesIssuedus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00 falsefalsefalse | 2falsefalsefalse00 falsefalsefalse | 3falsefalsefalse00 falsefalsefalse | xbrli:sharesItemTypesharesTotal number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) issued to shareholders (includes related preferred shares that were issued, repurchased, and remain in the treasury). May be all or portion of the number of preferred shares authorized. Excludes preferred shares that are classified as debt.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.28)
-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 29
-Article 5
false1
7false
4us-gaap_PreferredStockSharesOutstandingus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00 falsefalsefalse | 2falsefalsefalse00 falsefalsefalse | 3falsefalsefalse00 falsefalsefalse | xbrli:sharesItemTypesharesAggregate share number for all nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer) held by stockholders. Does not include preferred shares that have been repurchased.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.28)
-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 29
-Article 5
false1
8false
4us-gaap_CommonStockParOrStatedValuePerShareus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse0.010.01USD$falsetruefalse | 2truefalsefalse0.010.01USD$falsetruefalse | 3truefalsefalse0.010.01USD$falsetruefalse | num:perShareItemTypedecimalFace amount or stated value per share of common stock.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.29)
-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 30
-Article 5
false3
9false
4us-gaap_CommonStockSharesAuthorizedus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse100000000100000000falsefalsefalse | 2truefalsefalse100000000100000000falsefalsefalse | 3truefalsefalse100000000100000000falsefalsefalse | xbrli:sharesItemTypesharesThe maximum number of common shares permitted to be issued by an entity's charter and bylaws.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.29)
-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 30
-Article 5
false1
10false
4us-gaap_CommonStockSharesIssuedus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse79915597991559falsefalsefalse | 2truefalsefalse62493696249369falsefalsefalse | 3truefalsefalse57620285762028falsefalsefalse | xbrli:sharesItemTypesharesTotal number of common shares of an entity that have been sold or granted to shareholders (includes common shares that were issued, repurchased and remain in the treasury). These shares represent capital invested by the firm's shareholders and owners, and may be all or only a portion of the number of shares authorized. Shares issued include shares outstanding and shares held in the treasury.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.29)
-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 30
-Article 5
false1
11false
4us-gaap_CommonStockSharesOutstandingus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse79915597991559falsefalsefalse | 2truefalsefalse62493696249369falsefalsefalse | 3truefalsefalse57620285762028falsefalsefalse | xbrli:sharesItemTypesharesNumber of shares of common stock outstanding. Common stock represent the ownership interest in a corporation.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.29)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 30
-Article 5
false1
12false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 5false
USDtruefalse$eol_PE10315---13S-1-0008_STD_0_20130331_0_711461x803796http://www.sec.gov/CIK0001069308instant2013-03-31T00:00:000001-01-01T00:00:00falsefalseopxa_UnrelatedThirdPartyMemberus-gaap_DebtInstrumentAxisxbrldihttp://xbrl.org/2006/xbrldiopxa_UnrelatedThirdPartyMemberus-gaap_DebtInstrumentAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
13false
4us-gaap_DebtInstrumentUnamortizedDiscountus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse22535902253590USD$falsefalsefalse | 2truefalsefalse31363423136342USD$falsefalsefalse | 3truefalsefalse00USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryThe amount of debt discount that was originally recognized at the issuance of the instrument that has yet to be amortized.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 835
-SubTopic 30
-Section 45
-Paragraph 1A
-URI http://asc.fasb.org/extlink&oid=6451184&loc=d3e28541-108399
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 835
-SubTopic 30
-Section 55
-Paragraph 8
-URI http://asc.fasb.org/extlink&oid=6584090&loc=d3e28878-108400
false2
14false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 8false
USDtruefalse$eol_PE10315---13S-1-0008_STD_0_20130331_0_711461x800231http://www.sec.gov/CIK0001069308instant2013-03-31T00:00:000001-01-01T00:00:00falsefalseopxa_RelatedPartyTransactionsMemberus-gaap_DebtInstrumentAxisxbrldihttp://xbrl.org/2006/xbrldiopxa_RelatedPartyTransactionsMemberus-gaap_DebtInstrumentAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
15false
4us-gaap_DebtInstrumentUnamortizedDiscountus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse554783554783USD$falsetruefalse | 2truefalsefalse571895571895USD$falsetruefalse | 3truefalsefalse00USD$falsetruefalse | xbrli:monetaryItemTypemonetaryThe amount of debt discount that was originally recognized at the issuance of the instrument that has yet to be amortized.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 835
-SubTopic 30
-Section 45
-Paragraph 1A
-URI http://asc.fasb.org/extlink&oid=6451184&loc=d3e28541-108399
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 835
-SubTopic 30
-Section 55
-Paragraph 8
-URI http://asc.fasb.org/extlink&oid=6584090&loc=d3e28878-108400
false2
falseConsolidated Balance Sheets (Parenthetical) (USD $)NoRoundingNoRoundingNoRoundingUnKnowntruefalsefalseSheethttp://www.opexatherapeutics.com/taxonomy/role/StatementOfFinancialPositionClassifiedParenthetical315