2.4.0.8144 - Disclosure - Related Party Transactions - Additional Information (Detail)truefalsefalse1false USDfalsefalse$eol_PE10315---13S-1-0008_STD_31_20130131_0http://www.sec.gov/CIK0001069308duration2013-01-01T00:00:002013-01-31T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2false USDfalsefalse$eol_PE10315---13S-1-0008_STD_35_20120815_0http://www.sec.gov/CIK0001069308duration2012-07-12T00:00:002012-08-15T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$3false USDfalsefalse$eol_PE10315---13S-1-0008_STD_26_20120725_0http://www.sec.gov/CIK0001069308duration2012-06-30T00:00:002012-07-25T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170sharesStandardhttp://www.xbrl.org/2003/instanceshares0USDUSD$4false USDfalsefalse$eol_PE10315---13S-1-0008_STD_90_20130331_0http://www.sec.gov/CIK0001069308duration2013-01-01T00:00:002013-03-31T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$5false USDfalsefalse$eol_PE10315---13S-1-0008_STD_366_20121231_0http://www.sec.gov/CIK0001069308duration2012-01-01T00:00:002012-12-31T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$6false falsefalseeol_PE10315---13S-1-0008_STD_0_20130228_0http://www.sec.gov/CIK0001069308instant2013-02-28T00:00:000001-01-01T00:00:00sharesStandardhttp://www.xbrl.org/2003/instanceshares07false falsefalseeol_PE10315---13S-1-0008_STD_0_20130129_0http://www.sec.gov/CIK0001069308instant2013-01-29T00:00:000001-01-01T00:00:00sharesStandardhttp://www.xbrl.org/2003/instanceshares01true 3us-gaap_RelatedPartyTransactionLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 4us-gaap_DebtInstrumentFaceAmountus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse40850004085000USD$falsetruefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryFace (par) amount of debt instrument at time of issuance.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6451184&loc=d3e28551-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 false23false 4opxa_CommonStockIssuableUponExerciseOfWarrantsopxa_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse14361211436121falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6truefalsefalse541668541668falsefalsefalse7truefalsefalse187500187500falsefalsefalsexbrli:sharesItemTypesharesCommon Stock Issuable upon Exercise of WarrantsNo definition available.false14false 4opxa_WarrantLiabilitiesFairValueDisclosureopxa_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse356969356969USD$falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryWarrant Liabilities, Fair Value DisclosureNo definition available.false25false 4us-gaap_DebtInstrumentConvertibleBeneficialConversionFeatureus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse141829141829USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse14976341497634USD$falsefalsefalse4truefalsefalse141829141829USD$falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of a favorable spread to a debt holder between the amount of debt being converted and the value of the securities received upon conversion. This is an embedded conversion feature of convertible debt issued that is in-the-money at the commitment date.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Beneficial Conversion Feature -URI http://asc.fasb.org/extlink&oid=6505963 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21538-112644 false26false 4us-gaap_DebtInstrumentUnamortizedDiscountus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse37082373708237USD$falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli: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 false27false 4us-gaap_OfficersCompensationus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse100000100000USD$falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse2500025000USD$falsefalsefalse5truefalsefalse3750037500USD$falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryExpenditures for salaries of officers. Does not include allocated share-based compensation, pension and post-retirement benefit expense or other labor-related non-salary expense. For commercial and industrial companies, excludes any direct and overhead labor that is included in cost of goods sold.Reference 1: 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.4) -URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688 false28false 4us-gaap_AccountsPayableRelatedPartiesCurrentus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse83338333USD$falsefalsefalse5truefalsefalse83338333USD$falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount for accounts payable to related parties. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(k)(1)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=6457730&loc=d3e39622-107864 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=6457730&loc=d3e39603-107864 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 08 -Paragraph k -Subparagraph 1 -Article 4 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 19 -Subparagraph a -Article 5 Reference 6: 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.19(a)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 7: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864 false29false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalse8false USDtruefalse$eol_PE10315---13S-1-0008_STD_0_20121231_0_711461x726394http://www.sec.gov/CIK0001069308instant2012-12-31T00:00:000001-01-01T00:00:00falsefalseWarrant Liabilityus-gaap_DebtInstrumentAxisxbrldihttp://xbrl.org/2006/xbrldiopxa_WarrantLiabilityMemberus-gaap_DebtInstrumentAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse010true 3us-gaap_RelatedPartyTransactionLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse011false 4opxa_AmortizationOfDebtDiscountopxa_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse104032104032USD$falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe fair value of the warrants and the beneficial conversion feature of the notes resulted in the discount, not a 'bond-related' type of offering in which a Discount or Premium was recognized.No definition available.false212false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalse9false USDtruefalse$eol_PE10315---13S-1-0008_STD_26_20120725_0_711672x800231http://www.sec.gov/CIK0001069308duration2012-06-30T00:00:002012-07-25T00:00:00falsefalseRelated Party Transactionsus-gaap_RelatedPartyTransactionsByRelatedPartyAxisxbrldihttp://xbrl.org/2006/xbrldiopxa_RelatedPartyTransactionsMemberus-gaap_RelatedPartyTransactionsByRelatedPartyAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170sharesStandardhttp://www.xbrl.org/2003/instanceshares0USDUSD$nanafalse013true 3us-gaap_RelatedPartyTransactionLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse014false 4us-gaap_DebtInstrumentFaceAmountus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse100000100000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse630000630000USD$falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryFace (par) amount of debt instrument at time of issuance.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6451184&loc=d3e28551-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 false215false 4opxa_CommonStockIssuableUponExerciseOfWarrantsopxa_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse221483221483falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesCommon Stock Issuable upon Exercise of WarrantsNo definition available.false116false 4us-gaap_DebtInstrumentConvertibleBeneficialConversionFeatureus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse230969230969USD$falsefalsefalse4truefalsefalse2182021820USD$falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of a favorable spread to a debt holder between the amount of debt being converted and the value of the securities received upon conversion. This is an embedded conversion feature of convertible debt issued that is in-the-money at the commitment date.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Beneficial Conversion Feature -URI http://asc.fasb.org/extlink&oid=6505963 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21538-112644 false217false 4us-gaap_DebtInstrumentUnamortizedDiscountus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse587939587939USD$falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli: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 false218false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalse12false USDtruefalse$eol_PE10315---13S-1-0008_STD_0_20121231_0_711461x726394_711672x800231http://www.sec.gov/CIK0001069308instant2012-12-31T00:00:000001-01-01T00:00:00falsefalseRelated Party Transactionsus-gaap_RelatedPartyTransactionsByRelatedPartyAxisxbrldihttp://xbrl.org/2006/xbrldiopxa_RelatedPartyTransactionsMemberus-gaap_RelatedPartyTransactionsByRelatedPartyAxisexplicitMemberfalsefalseWarrant Liabilityus-gaap_DebtInstrumentAxisxbrldihttp://xbrl.org/2006/xbrldiopxa_WarrantLiabilityMemberus-gaap_DebtInstrumentAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse019true 3us-gaap_RelatedPartyTransactionLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse020false 4opxa_AmortizationOfDebtDiscountopxa_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse1604416044USD$falsetruefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe fair value of the warrants and the beneficial conversion feature of the notes resulted in the discount, not a 'bond-related' type of offering in which a Discount or Premium was recognized.No definition available.false2falseRelated Party Transactions - Additional Information (Detail) (USD $)NoRoundingNoRoundingUnKnownUnKnowntruefalsefalseSheethttp://www.opexatherapeutics.com/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformation720