2.4.0.8151 - Disclosure - Stock-Based Compensation (Details Textual)truefalsefalse1false USDfalsefalseP01_01_2013To06_30_2013_RestrictedStockMemberusgaapAwardTypeAxishttp://www.sec.gov/CIK0001373670duration2013-01-01T00:00:002013-06-30T00:00:00pureStandardhttp://www.xbrl.org/2003/instancepurexbrli0sharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$2false falsefalseP01_01_2012To06_30_2012_RestrictedStockMemberusgaapAwardTypeAxishttp://www.sec.gov/CIK0001373670duration2012-01-01T00:00:002012-06-30T00:00:00sharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli01false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse1false truefalseP01_01_2013To06_30_2013_EmployeeStockOptionMemberusgaapOptionIndexedToIssuersEquityTypeAxishttp://www.sec.gov/CIK0001373670duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseEmployee Stock Option [Member]us-gaap_OptionIndexedToIssuersEquityTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_EmployeeStockOptionMemberus-gaap_OptionIndexedToIssuersEquityTypeAxisexplicitMemberpureStandardhttp://www.xbrl.org/2003/instancepurexbrli0nanafalse02false 4biof_PercentageOfStockOptionsVestedOfCommonStockOnFirstAnniversariesOfGrantDatebiof_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truetruefalse0.30.3falsefalsefalse2falsefalsefalse00falsefalsefalsenum:percentItemTypepureThe percentage of stock options vested of common stock on anniversaries of grant date.No definition available.false03false 4biof_PercentageOfStockOptionsVestedOfCommonStockOnSecondAnniversariesOfGrantDatebiof_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truetruefalse0.30.3falsefalsefalse2falsefalsefalse00falsefalsefalsenum:percentItemTypepurePercentage of Stock Options Vested of Common stock On Anniversaries Of Grant DateNo definition available.false04false 4biof_PercentageOfStockOptionsVestedOfCommonStockOnThirdAnniversariesOfGrantDatebiof_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truetruefalse0.40.4falsefalsefalse2falsefalsefalse00falsefalsefalsenum:percentItemTypepureThe percentage of stock options vested of common stock on anniversaries of grant date.No definition available.false05false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse2false truefalseP01_01_2013To06_30_2013_EquityIncentiveCompensationPlan2007MemberusgaapAwardTypeAxishttp://www.sec.gov/CIK0001373670duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseEquity Incentive Compensation Plan 2007 [Member]us-gaap_AwardTypeAxisxbrldihttp://xbrl.org/2006/xbrldibiof_EquityIncentiveCompensationPlan2007Memberus-gaap_AwardTypeAxisexplicitMembersharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0nanafalse06false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorizedus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse355000355000falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesThe maximum number of shares (or other type of equity) originally approved (usually by shareholders and board of directors), net of any subsequent amendments and adjustments, for awards under the equity-based compensation plan. As stock or unit options and equity instruments other than options are awarded to participants, the shares or units remain authorized and become reserved for issuance under outstanding awards (not necessarily vested).Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(3) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false17false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardTermsOfAwardus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00ten yearsfalsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringDescription of pertinent provisions of equity-based compensation awards that have actual or potential impact upon the company's financial statements.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false08false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrantus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse113365113365falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesThe difference between the maximum number of shares (or other type of equity) authorized for issuance under the plan (including the effects of amendments and adjustments), and the sum of: 1) the number of shares (or other type of equity) already issued upon exercise of options or other equity-based awards under the plan; and 2) shares (or other type of equity) reserved for issuance on granting of outstanding awards, net of cancellations and forfeitures, if applicable.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false19false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardDescriptionus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalselabel1falsefalsefalse00June 2017falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringGeneral descriptive information regarding an arrangement under which employees and directors receive: (a) awards of equity shares, equity share options, or other equity instruments; or (b) the entity incurs liabilities to them: (1) in amounts based, at least in part, on the price of the entity's shares or other equity instruments; or (2) that require or may require settlement by issuance of the entity's shares. Such an arrangement is usually provided to employees and directors to compensate them, provide performance incentives to them, and to attract or retain their services. May also include pertinent information particular to a plan that is not elsewhere specified in the taxonomy.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5047-113901 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false010false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3false USDtruefalseP01_01_2013To06_30_2013_RestrictedStockMemberusgaapAwardTypeAxishttp://www.sec.gov/CIK0001373670duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseRestricted Stock [Member]us-gaap_AwardTypeAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_RestrictedStockMemberus-gaap_AwardTypeAxisexplicitMemberpureStandardhttp://www.xbrl.org/2003/instancepurexbrli0sharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$nanafalse011false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardTermsOfAwardus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse002.8 yearsfalsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringDescription of pertinent provisions of equity-based compensation awards that have actual or potential impact upon the company's financial statements.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false012false 4us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse12050001205000USD$falsetruefalse2falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryUnrecognized cost of unvested share-based compensation awards.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (i) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false213false 4biof_PercentageOfRestrictedStockVestInEqualIncrementsOnEachOfFirstFourAnniversariesbiof_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truetruefalse0.250.25falsefalsefalse2falsefalsefalse00falsefalsefalsenum:percentItemTypepureThe percentage of restricted stock vested in equal increments on each of first four anniversaries.No definition available.false014false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse00falsefalsefalse2truefalsefalse7885078850falsefalsefalsexbrli:sharesItemTypesharesThe number of grants made during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan).Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(2)(iii)(1) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false1falseStock-Based Compensation (Details Textual) (USD $)NoRoundingNoRoundingUnKnownUnKnowntruefalsefalseSheethttp://www.bfenergy.com/role/StockbasedCompensationDetailsTextual214