2.4.0.82410403 - Disclosure - Income taxes Income taxes (Details)truefalseIn Millions, unless otherwise specifiedfalse1false USDfalsefalse$D2013Q2YTDhttp://www.sec.gov/CIK0000914122duration2013-02-01T00:00:002013-07-31T00:00:00rateStandardhttp://www.xbrl.org/2009/utrRateutreg0usdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2false falsefalseD2012Q2YTDhttp://www.sec.gov/CIK0000914122duration2012-02-01T00:00:002012-07-31T00:00:00rateStandardhttp://www.xbrl.org/2009/utrRateutreg03false USDfalsefalse$I2012Q4http://www.sec.gov/CIK0000914122instant2013-01-31T00:00:000001-01-01T00:00:00usdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true 1mfri_IncomeTaxAbstractmfri_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 2us-gaap_EffectiveIncomeTaxRateContinuingOperationsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truetruefalse-0.029-0.029falsefalsefalse2truetruefalse-0.018-0.018falsefalsefalse3falsetruefalse00falsefalsefalsenum:percentItemTypepurePercentage of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=6907707&loc=d3e32687-109319 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 13 -URI http://asc.fasb.org/extlink&oid=6907707&loc=d3e32698-109319 Reference 3: 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.(h)(2)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 08 -Paragraph h -Subparagraph 2 -Article 4 false2563false 2us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmountus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse6000000.6USD$falsetruefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe amount of the change in the period in the valuation allowance for a specified deferred tax asset.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 45 -Paragraph 20 -URI http://asc.fasb.org/extlink&oid=21917399&loc=d3e32123-109318 false24false 2us-gaap_OpenTaxYearus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse002010falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:gYearItemTypepositiveintegerTax year that remains open to examination under enacted tax laws, in CCYY format.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=6907707&loc=d3e32718-109319 false05false 2mfri_OpenTaxYearsUpToAmountOfResearchTaxCreditGeneratedmfri_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00January 31, 2002 through January 31, 2009falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalseus-types:dateStringItemTypenormalizedstringOpen tax years up to the amount of research tax credit generatedNo definition available.false06false 2us-gaap_OperatingLossCarryforwardsus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse78000007.8USD$falsetruefalsexbrli:monetaryItemTypemonetaryAmount of operating loss carryforward, before tax effects, available to reduce future taxable income under enacted tax laws.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=6907707&loc=d3e32559-109319 false27false 2us-gaap_OperatingLossCarryforwardsExpirationDateus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse002030-01-31falsefalsetrue2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:dateItemTypedateExpiration date of each operating loss carryforward included in operating loss carryforward, in CCYY-MM-DD format.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=6907707&loc=d3e32559-109319 false0falseIncome taxes Income taxes (Details) (USD $)HundredThousandsUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.mfri.com/role/IncomeTaxesIncomeTaxesDetails37