2.4.0.8108 - Statement - Consolidated Statements of Cash Flowstruefalsefalse1falseUSDfalsefalse$eol_PE10315---13S-1-0008_STD_90_20130331_0http://www.sec.gov/CIK0001069308duration2013-01-01T00:00:002013-03-31T00:00:00sharesStandardhttp://www.xbrl.org/2003/instanceshares0iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2falseUSDfalsefalse$eol_PE10315---13S-1-0008_STD_91_20120331_0http://www.sec.gov/CIK0001069308duration2012-01-01T00:00:002012-03-31T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$3falseUSDfalsefalse$eol_PE10315---13S-1-0008_STD_366_20121231_0http://www.sec.gov/CIK0001069308duration2012-01-01T00:00:002012-12-31T00:00:00sharesStandardhttp://www.xbrl.org/2003/instanceshares0iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$4falseUSDfalsefalse$eol_PE10315---13S-1-0008_STD_365_20111231_0http://www.sec.gov/CIK0001069308duration2011-01-01T00:00:002011-12-31T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$5falseUSDfalsefalse$eol_PE10315---13S-1-0008_STD_3631_20121231_0http://www.sec.gov/CIK0001069308duration2003-01-23T00:00:002012-12-31T00:00:00sharesStandardhttp://www.xbrl.org/2003/instanceshares0iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$6falseUSDfalsefalse$eol_PE10315---13S-1-0008_STD_3721_20130331_0http://www.sec.gov/CIK0001069308duration2003-01-23T00:00:002013-03-31T00:00:00sharesStandardhttp://www.xbrl.org/2003/instanceshares0iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true4us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false5us-gaap_NetIncomeLossus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse-4177482-4177482USD$falsetruefalse2truefalsefalse-2373999-2373999USD$falsetruefalse3truefalsefalse-8930833-8930833USD$falsetruefalse4truefalsefalse-5968448-5968448USD$falsetruefalse5truefalsefalse-109611620-109611620USD$falsetruefalse6truefalsefalse-113789102-113789102USD$falsetruefalsexbrli:monetaryItemTypemonetaryThe portion of profit or loss for the period, net of income taxes, which is attributable to the parent.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Paragraph 20
-Article 9
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Other Comprehensive Income
-URI http://asc.fasb.org/extlink&oid=6519514
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Net Income
-URI http://asc.fasb.org/extlink&oid=6518256
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 260
-SubTopic 10
-Section 50
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 944
-SubTopic 225
-Section S99
-Paragraph 1
-Subparagraph (SX 210.7-04.19)
-URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913
Reference 7: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 225
-SubTopic 10
-Section S99
-Paragraph 2
-Subparagraph (SX 210.5-03.18)
-URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688
Reference 8: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 944
-SubTopic 225
-Section S99
-Paragraph 1
-Subparagraph (SX 210.7-04.22)
-URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913
Reference 9: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 220
-SubTopic 10
-Section 45
-Paragraph 6
-URI http://asc.fasb.org/extlink&oid=28358780&loc=d3e565-108580
Reference 10: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 19
-Article 5
false23true5us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse04false6opxa_StockPayableForAcquiredResearchAndDevelopmentopxa_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse112440112440USD$falsefalsefalse6truefalsefalse112440112440USD$falsefalsefalsexbrli:monetaryItemTypemonetaryStock Payable For Acquired Research And DevelopmentNo definition available.false25false6opxa_StockIssuedForAcquiredResearchAndDevelopmentopxa_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse2628658926286589USD$falsefalsefalse6truefalsefalse2628658926286589USD$falsefalsefalsexbrli:monetaryItemTypemonetaryStock Issued For Acquired Research And DevelopmentNo definition available.false26false6us-gaap_IssuanceOfStockAndWarrantsForServicesOrClaimsus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse8702887028USD$falsefalsefalse5truefalsefalse20617432061743USD$falsefalsefalse6truefalsefalse20617432061743USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair value of share-based compensation granted to nonemployees as payment for services rendered or acknowledged claims.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
false27false6opxa_StockIssuedForDebtInExcessOfPrincipalopxa_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse109070109070USD$falsefalsefalse6truefalsefalse109070109070USD$falsefalsefalsexbrli:monetaryItemTypemonetaryStock Issued For Debt In Excess Of PrincipalNo definition available.false28false6us-gaap_AmortizationOfDebtDiscountPremiumus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse12376621237662USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse104032104032USD$falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse68567306856730USD$falsefalsefalse6truefalsefalse80943928094392USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of noncash expense included in interest expense to amortize debt discount and premium associated with the related debt instruments. Excludes amortization of financing costs. Alternate captions include noncash interest expense.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 230
-SubTopic 10
-Section 45
-Paragraph 28
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 225
-SubTopic 10
-Section S99
-Paragraph 2
-Subparagraph (SX 210.5-03.8)
-URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 8
-Article 5
false29false6us-gaap_GainsLossesOnExtinguishmentOfDebtus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse-1612440-1612440USD$falsefalsefalse6truefalsefalse-1612440-1612440USD$falsefalsefalsexbrli:monetaryItemTypemonetaryDifference between the fair value of payments made and the carrying amount of debt which is extinguished prior to maturity.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 470
-SubTopic 50
-Section 40
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6850294&loc=d3e12317-112629
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 470
-SubTopic 50
-Section 40
-Paragraph 4
-URI http://asc.fasb.org/extlink&oid=6850294&loc=d3e12355-112629
false210false6us-gaap_Depreciationus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse7831178311USD$falsefalsefalse2truefalsefalse6735567355USD$falsefalsefalse3truefalsefalse303677303677USD$falsefalsefalse4truefalsefalse210252210252USD$falsefalsefalse5truefalsefalse16501581650158USD$falsefalsefalse6truefalsefalse17284691728469USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThe amount of expense recognized in the current period that reflects the allocation of the cost of tangible assets over the assets' useful lives. Includes production and non-production related depreciation.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
false211false6us-gaap_AmortizationOfFinancingCostsus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse5293952939USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse5863958639USD$falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse583017583017USD$falsefalsefalse6truefalsefalse635956635956USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of noncash expense included in interest expense to issue debt and obtain financing associated with the related debt instruments. Alternate captions include noncash interest expense.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 225
-SubTopic 10
-Section S99
-Paragraph 2
-Subparagraph (SX 210.5-03.8)
-URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 8
-Article 5
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Paragraph 8
-Article 9
false212false6us-gaap_ShareBasedCompensationus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse411187411187USD$falsefalsefalse2truefalsefalse205420205420USD$falsefalsefalse3truefalsefalse690726690726USD$falsefalsefalse4truefalsefalse489914489914USD$falsefalsefalse5truefalsefalse1626593316265933USD$falsefalsefalse6truefalsefalse1667712016677120USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThe aggregate amount of noncash, equity-based employee remuneration. This may include the value of stock or unit options, amortization of restricted stock or units, and adjustment for officers' compensation. As noncash, this element is an add back when calculating net cash generated by operating activities using the indirect method.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
false213false6us-gaap_GainLossOnDerivativeInstrumentsNetPretaxus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse-552978-552978USD$falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse-1941826-1941826USD$falsefalsefalse6truefalsefalse-1941826-1941826USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAggregate net gain (loss) on all derivative instruments recognized in earnings during the period, before tax effects.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 10
-Section 50
-Paragraph 4A
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=7476318&loc=SL5618551-113959
false214false6us-gaap_GainLossOnDispositionOfAssetsus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedTerseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse30973097USD$falsefalsefalse4truefalsefalse96869686USD$falsefalsefalse5truefalsefalse513345513345USD$falsefalsefalse6truefalsefalse513345513345USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of gain (loss) on sale or disposal of property, plant and equipment assets, excluding oil and gas property and timber property.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 360
-SubTopic 10
-Section 50
-Paragraph 3
-URI http://asc.fasb.org/extlink&oid=6391110&loc=d3e2941-110230
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 205
-SubTopic 20
-Section 50
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=6360339&loc=d3e1361-107760
false215true6us-gaap_IncreaseDecreaseInOperatingCapitalAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse016false7us-gaap_IncreaseDecreaseInDeferredRevenueus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse47799004779900USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6truefalsefalse47799004779900USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThe increase (decrease) during the reporting period, excluding the portion taken into income, in the liability reflecting revenue yet to be earned for which cash or other forms of consideration was received or recorded as a receivable.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
false217false7us-gaap_IncreaseDecreaseInOtherCurrentAssetsus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-115589-115589USD$falsefalsefalse2truefalsefalse-880983-880983USD$falsefalsefalse3truefalsefalse-611607-611607USD$falsefalsefalse4truefalsefalse-39248-39248USD$falsefalsefalse5truefalsefalse-1153053-1153053USD$falsefalsefalse6truefalsefalse-1268642-1268642USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThe increase (decrease) during the reporting period in other current operating assets not separately disclosed in the statement of cash flows.No definition available.false218false7us-gaap_IncreaseDecreaseInAccountsPayableus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse418562418562USD$falsefalsefalse2truefalsefalse10225321022532USD$falsefalsefalse3truefalsefalse-71410-71410USD$falsefalsefalse4truefalsefalse-13028-13028USD$falsefalsefalse5truefalsefalse-160651-160651USD$falsefalsefalse6truefalsefalse257911257911USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThe increase (decrease) during the reporting period in the aggregate amount of liabilities incurred (and for which invoices have typically been received) and payable to vendors for goods and services received that are used in an entity's business.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
false219false7us-gaap_IncreaseDecreaseInAccruedLiabilitiesus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse457240457240USD$falsefalsefalse2truefalsefalse-225743-225743USD$falsefalsefalse3truefalsefalse8301883018USD$falsefalsefalse4truefalsefalse234923234923USD$falsefalsefalse5truefalsefalse605238605238USD$falsefalsefalse6truefalsefalse10624781062478USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThe increase (decrease) during the reporting period in the aggregate amount of expenses incurred but not yet paid.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
false220false7us-gaap_IncreaseDecreaseInOtherOperatingAssetsus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-104027-104027USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6truefalsefalse-104027-104027USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThe increase (decrease) during the reporting period in other assets used in operating activities not separately disclosed in the statement of cash flows. May include changes in other current assets, other noncurrent assets, or a combination of other current and noncurrent assets.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
false221false5us-gaap_NetCashProvidedByUsedInOperatingActivitiesus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse30387033038703USD$falsefalsefalse2truefalsefalse-2185418-2185418USD$falsefalsefalse3truefalsefalse-8923639-8923639USD$falsefalsefalse4truefalsefalse-4988921-4988921USD$falsefalsefalse5truefalsefalse-59435327-59435327USD$falsefalsefalse6truefalsefalse-56396624-56396624USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of cash inflow (outflow) from operating activities, including discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 24
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3521-108585
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 25
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3536-108585
true222true4us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse023false5us-gaap_PaymentsToAcquirePropertyPlantAndEquipmentus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-2598-2598USD$falsefalsefalse2truefalsefalse-245841-245841USD$falsefalsefalse3truefalsefalse-550389-550389USD$falsefalsefalse4truefalsefalse-296949-296949USD$falsefalsefalse5truefalsefalse-2222199-2222199USD$falsefalsefalse6truefalsefalse-2224797-2224797USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThe cash outflow associated with the acquisition of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale; includes cash outflows to pay for construction of self-constructed assets.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Investing Activities
-URI http://asc.fasb.org/extlink&oid=6516133
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 13
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3213-108585
false224false5us-gaap_IncreaseDecreaseInRestrictedCashus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse500000500000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse-1000000-1000000USD$falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse-1000000-1000000USD$falsefalsefalse6truefalsefalse-500000-500000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThe net cash inflow or outflow for the increase (decrease) associated with funds that are not available for withdrawal or use (such as funds held in escrow) and are associated with underlying transactions that are classified as investing activities.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 12
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3179-108585
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Investing Activities
-URI http://asc.fasb.org/extlink&oid=6516133
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 13
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3213-108585
false225false5us-gaap_NetCashProvidedByUsedInInvestingActivitiesus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse497402497402USD$falsefalsefalse2truefalsefalse-245841-245841USD$falsefalsefalse3truefalsefalse-1550389-1550389USD$falsefalsefalse4truefalsefalse-296949-296949USD$falsefalsefalse5truefalsefalse-3222199-3222199USD$falsefalsefalse6truefalsefalse-2724797-2724797USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of cash inflow (outflow) from investing activities, including discontinued operations. Investing activity cash flows include making and collecting loans and acquiring and disposing of debt or equity instruments and property, plant, and equipment and other productive assets.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 24
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3521-108585
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 26
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3574-108585
true226true4us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse027false5us-gaap_ProceedsFromIssuanceOrSaleOfEquityus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse36237383623738USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse381309381309USD$falsefalsefalse4truefalsefalse86181578618157USD$falsefalsefalse5truefalsefalse4945379749453797USD$falsefalsefalse6truefalsefalse5307753553077535USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThe cash inflow from the issuance of common stock, preferred stock, treasury stock, stock options, and other types of equity.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Financing Activities
-URI http://asc.fasb.org/extlink&oid=6513228
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 14
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3255-108585
false228false5us-gaap_PaymentsForRepurchaseOfCommonStockus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse-325-325USD$falsefalsefalse6truefalsefalse-325-325USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThe cash outflow to reacquire common stock during the period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Financing Activities
-URI http://asc.fasb.org/extlink&oid=6513228
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 15
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3291-108585
false229false5opxa_ProceedsFromExerciseOfStockOptionsAndWarrantsopxa_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse12485881248588USD$falsefalsefalse6truefalsefalse12485881248588USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThe cash inflow associated with the amount received from holders exercising their stock options and warrants.No definition available.false230false5us-gaap_PaymentsOfFinancingCostsus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-17511-17511USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse-509492-509492USD$falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse-509492-509492USD$falsefalsefalse6truefalsefalse-527003-527003USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThe cash outflow for loan and debt issuance costs.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Financing Activities
-URI http://asc.fasb.org/extlink&oid=6513228
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 15
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3291-108585
false231false5us-gaap_RepaymentsOfDebtus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse-35607-35607USD$falsefalsefalse5truefalsefalse-311222-311222USD$falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe cash outflow during the period from the repayment of aggregate short-term and long-term debt. Excludes payment of capital lease obligations.No definition available.false232false5us-gaap_RepaymentsOfNotesPayableus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedTerseLabel1truefalsefalse-450000-450000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6truefalsefalse-761222-761222USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThe cash outflow for a borrowing supported by a written promise to pay an obligation.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 15
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3291-108585
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Financing Activities
-URI http://asc.fasb.org/extlink&oid=6513228
false233false5us-gaap_NetCashProvidedByUsedInFinancingActivitiesus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse37062273706227USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse39568173956817USD$falsefalsefalse4truefalsefalse85825508582550USD$falsefalsefalse5truefalsefalse6324953063249530USD$falsefalsefalse6truefalsefalse6695575766955757USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of cash inflow (outflow) from financing activities, including discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 24
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3521-108585
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 26
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3574-108585
false234false4us-gaap_CashAndCashEquivalentsPeriodIncreaseDecreaseus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse72423327242332USD$falsefalsefalse2truefalsefalse-2431259-2431259USD$falsefalsefalse3truefalsefalse-6517211-6517211USD$falsefalsefalse4truefalsefalse32966803296680USD$falsefalsefalse5truefalsefalse592004592004USD$falsefalsefalse6truefalsefalse78343367834336USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of increase (decrease) in cash and cash equivalents. Cash and cash equivalents are the amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Includes effect from exchange rate changes.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 24
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3521-108585
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 830
-SubTopic 230
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6450594&loc=d3e33268-110906
true235false4us-gaap_CashAndCashEquivalentsAtCarryingValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsetruefalsefalseperiodStartLabel1truefalsefalse592004592004USD$falsefalsefalse2truefalsefalse71092157109215USD$falsefalsefalse3truefalsefalse71092157109215USD$falsefalsefalse4truefalsefalse38125353812535USD$falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Cash
-URI http://asc.fasb.org/extlink&oid=6506951
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Cash Equivalents
-URI http://asc.fasb.org/extlink&oid=6507016
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 1
-Article 5
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.1)
-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 210
-SubTopic 10
-Section 45
-Paragraph 1
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=28358313&loc=d3e6676-107765
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 4
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3044-108585
false236false4us-gaap_CashAndCashEquivalentsAtCarryingValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsetruefalseperiodEndLabel1truefalsefalse78343367834336USD$falsefalsefalse2truefalsefalse46779564677956USD$falsefalsefalse3truefalsefalse592004592004USD$falsefalsefalse4truefalsefalse71092157109215USD$falsefalsefalse5truefalsefalse592004592004USD$falsefalsefalse6truefalsefalse78343367834336USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Cash
-URI http://asc.fasb.org/extlink&oid=6506951
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Cash Equivalents
-URI http://asc.fasb.org/extlink&oid=6507016
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 1
-Article 5
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.1)
-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 210
-SubTopic 10
-Section 45
-Paragraph 1
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=28358313&loc=d3e6676-107765
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 4
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3044-108585
false237true4opxa_CashPaidDuringPeriodForAbstractopxa_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse038false5us-gaap_IncomeTaxesPaidus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00 USD$falsefalsefalse2falsefalsefalse00 USD$falsefalsefalse3falsefalsefalse00 USD$falsefalsefalse4falsefalsefalse00 USD$falsefalsefalse5falsefalsefalse00 USD$falsefalsefalse6falsefalsefalse00 USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThe amount of cash paid during the current period to foreign, federal, state, and local authorities as taxes on income.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4297-108586
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 25
-Subparagraph (f)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3536-108585
false239false5us-gaap_InterestPaidus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse1864718647USD$falsefalsefalse2truefalsefalse487487USD$falsefalsefalse3truefalsefalse19461946USD$falsefalsefalse4truefalsefalse31353135USD$falsefalsefalse5truefalsefalse155109155109USD$falsefalsefalse6truefalsefalse173756173756USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThe amount of cash paid for interest during the period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4297-108586
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 25
-Subparagraph (e)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3536-108585
false240true4us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse041false5us-gaap_StockIssued1us-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse147733147733USD$falsefalsefalse6truefalsefalse147733147733USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThe fair value of stock issued in noncash financing activities.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 50
-Paragraph 5
-URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4332-108586
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 50
-Paragraph 4
-URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4313-108586
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 50
-Paragraph 3
-URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4304-108586
false242false5opxa_IssuanceOfCommonStockForAccruedInterestopxa_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse185683185683USD$falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse789287789287USD$falsefalsefalse6truefalsefalse789287789287USD$falsefalsefalsexbrli:monetaryItemTypemonetaryIssuance Of Common Stock For Accrued InterestNo definition available.false243false5opxa_IssuanceOfWarrantsToPlacementAgentopxa_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse3745337453USD$falsefalsefalse6truefalsefalse3745337453USD$falsefalsefalsexbrli:monetaryItemTypemonetaryIssuance of Warrants to Placement AgentNo definition available.false244false5opxa_ConversionOfConvertibleNotesToCommonStockopxa_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse10000001000000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse77099807709980USD$falsefalsefalse6truefalsefalse87099808709980USD$falsefalsefalsexbrli:monetaryItemTypemonetaryConversion Of Convertible Notes To Common StockNo definition available.false245false5opxa_ConversionOfAccruedLiabilitiesToCommonStockopxa_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse197176197176USD$falsefalsefalse6truefalsefalse197176197176USD$falsefalsefalsexbrli:monetaryItemTypemonetaryConversion Of Accrued Liabilities To Common StockNo definition available.false246false5us-gaap_NotesAssumed1us-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse9336493364USD$falsefalsefalse6truefalsefalse9336493364USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThe fair value of notes assumed in noncash investing or financing activities.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 50
-Paragraph 5
-URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4332-108586
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 50
-Paragraph 4
-URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4313-108586
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 50
-Paragraph 3
-URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4304-108586
false247true4opxa_DiscountOnConvertibleNotesRelatedToAbstractopxa_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse048false5opxa_DiscountOnConvertibleNotesRelatedToWarrantsopxa_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse195969195969USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse23146352314635USD$falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse59743725974372USD$falsefalsefalse6truefalsefalse61703416170341USD$falsefalsefalsexbrli:monetaryItemTypemonetaryDiscount On Convertible Notes Related To WarrantsNo definition available.false249false5opxa_DiscountOnConvertibleNotesRelatedToBeneficialConversionFeatureopxa_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse141829141829USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse14976341497634USD$falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse33031533303153USD$falsefalsefalse6truefalsefalse34449823444982USD$falsefalsefalsexbrli:monetaryItemTypemonetaryDiscount On Convertible Notes Related To Beneficial Conversion FeatureNo definition available.false250false5opxa_DiscountOnConvertibleNotesRelatedToStockAttachedToNotesopxa_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse12874401287440USD$falsefalsefalse6truefalsefalse12874401287440USD$falsefalsefalsexbrli:monetaryItemTypemonetaryDiscount On Convertible Notes Related To Stock Attached To NotesNo definition available.false251false5opxa_FairValueOfDerivativeInstrumentopxa_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse46802204680220USD$falsefalsefalse6truefalsefalse46802204680220USD$falsefalsefalsexbrli:monetaryItemTypemonetaryFair Value Of Derivative InstrumentNo definition available.false252false5opxa_DerivativeReclassifiedToEquityopxa_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse17616571761657USD$falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse23492662349266USD$falsefalsefalse6truefalsefalse23492662349266USD$falsefalsefalsexbrli:monetaryItemTypemonetaryDerivative Reclassified To EquityNo definition available.false253false5us-gaap_CapitalExpendituresIncurredButNotYetPaidus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse182952182952USD$falsefalsefalse3truefalsefalse78127812USD$falsefalsefalse4truefalsefalse136266136266USD$falsefalsefalse5truefalsefalse144078144078USD$falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryFuture cash outflow to pay for purchases of fixed assets that have occurred.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 50
-Paragraph 5
-URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4332-108586
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 50
-Paragraph 4
-URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4313-108586
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 50
-Paragraph 3
-URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4304-108586
false254false5opxa_NoncashInvestingAndFinancingActivitiesOtheropxa_falsecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse4545045450USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse4733947339USD$falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse4733947339USD$falsefalsefalse6truefalsefalse9278992789USD$falsefalsefalsexbrli:monetaryItemTypemonetaryNoncash Investing And Financing Activities OtherNo definition available.false255false5opxa_IssuanceOfCommonStockSharesInPaymentOfFinancingCostopxa_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse12341234falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse149131149131falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse149131149131falsefalsefalse6truefalsefalse150365150365falsefalsefalsexbrli:sharesItemTypesharesIssuance Of Common Stock Shares In Payment Of Financing CostNo definition available.false156false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse17falseUSDtruefalse$eol_PE10315---13S-1-0008_STD_90_20130331_0_711672x806827http://www.sec.gov/CIK0001069308duration2013-01-01T00:00:002013-03-31T00:00:00falsefalseThird Partiesus-gaap_RelatedPartyTransactionsByRelatedPartyAxisxbrldihttp://xbrl.org/2006/xbrldiopxa_ThirdPartiesMemberus-gaap_RelatedPartyTransactionsByRelatedPartyAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse057true4us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse058false5us-gaap_ProceedsFromConvertibleDebtus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse550000550000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse34550003455000USD$falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse1273818412738184USD$falsefalsefalse6truefalsefalse1328818413288184USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThe cash inflow from the issuance of a long-term debt instrument which can be exchanged for a specified amount of another security, typically the entity's common stock, at the option of the issuer or the holder.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Financing Activities
-URI http://asc.fasb.org/extlink&oid=6513228
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 14
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3255-108585
false259false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse21falseUSDtruefalse$eol_PE10315---13S-1-0008_STD_90_20130331_0_711672x796357http://www.sec.gov/CIK0001069308duration2013-01-01T00:00:002013-03-31T00:00:00falsefalseRelated Partiesus-gaap_RelatedPartyTransactionsByRelatedPartyAxisxbrldihttp://xbrl.org/2006/xbrldiopxa_RelatedPartiesMemberus-gaap_RelatedPartyTransactionsByRelatedPartyAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse060true4us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse061false5us-gaap_ProceedsFromConvertibleDebtus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse100000100000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse630000630000USD$falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse630000630000USD$falsefalsefalse6truefalsefalse730000730000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThe cash inflow from the issuance of a long-term debt instrument which can be exchanged for a specified amount of another security, typically the entity's common stock, at the option of the issuer or the holder.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Financing Activities
-URI http://asc.fasb.org/extlink&oid=6513228
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 14
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3255-108585
false262false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse25falseUSDtruefalse$eol_PE10315---13S-1-0008_STD_90_20130331_0_711672x825177http://www.sec.gov/CIK0001069308duration2013-01-01T00:00:002013-03-31T00:00:00falsefalseRelated Partyus-gaap_RelatedPartyTransactionsByRelatedPartyAxisxbrldihttp://xbrl.org/2006/xbrldiopxa_RelatedPartyMemberus-gaap_RelatedPartyTransactionsByRelatedPartyAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse063true4us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse064false5us-gaap_RepaymentsOfNotesPayableus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedTerseLabel1truefalsefalse-100000-100000USD$falsetruefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6truefalsefalse-100000-100000USD$falsetruefalsexbrli:monetaryItemTypemonetaryThe cash outflow for a borrowing supported by a written promise to pay an obligation.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 15
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3291-108585
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Financing Activities
-URI http://asc.fasb.org/extlink&oid=6513228
false2falseConsolidated Statements of Cash Flows (USD $)NoRoundingNoRoundingUnKnownUnKnowntruefalsefalseSheethttp://www.opexatherapeutics.com/taxonomy/role/StatementOfCashFlowsIndirect664