2.4.0.82422402 - Disclosure - Earnings per share (Details)truefalseIn Thousands, unless otherwise specifiedfalse1falsefalsefalseD2013Q2http://www.sec.gov/CIK0000914122duration2013-05-01T00:00:002013-07-31T00:00:00sharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli02falsefalsefalseD2012Q2http://www.sec.gov/CIK0000914122duration2012-05-01T00:00:002012-07-31T00:00:00sharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli03falsefalsefalseD2013Q2YTDhttp://www.sec.gov/CIK0000914122duration2013-02-01T00:00:002013-07-31T00:00:00sharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli04falsefalsefalseD2012Q2YTDhttp://www.sec.gov/CIK0000914122duration2012-02-01T00:00:002012-07-31T00:00:00sharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli01true3us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false4dei_DocumentPeriodEndDatedei_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse002013-07-31falsefalsetrue4falsefalsefalse00falsefalsefalsexbrli:dateItemTypedateThe end date of the period reflected on the cover page if a periodic report. For all other reports and registration statements containing historical data, it is the date up through which that historical data is presented. If there is no historical data in the report, use the filing date. The format of the date is CCYY-MM-DD.No definition available.false03false4us-gaap_WeightedAverageNumberOfSharesOutstandingBasicus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse69850006985falsefalsefalse2truefalsefalse69230006923falsefalsefalse3truefalsefalse69580006958falsefalsefalse4truefalsefalse69190006919falsefalsefalsexbrli:sharesItemTypesharesNumber of [basic] shares or units, after adjustment for contingently issuable shares or units and other shares or units not deemed outstanding, determined by relating the portion of time within a reporting period that common shares or units have been outstanding to the total time in that period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 260
-SubTopic 10
-Section 50
-Paragraph 1
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 260
-SubTopic 10
-Section 45
-Paragraph 10
-URI http://asc.fasb.org/extlink&oid=7655603&loc=d3e1448-109256
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Weighted-Average Number of Common Shares Outstanding
-URI http://asc.fasb.org/extlink&oid=6528421
false14false4us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustmentus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse6900069falsefalsefalse2truefalsefalse00falsefalsefalse3truefalsefalse2700027falsefalsefalse4truefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesThe sum of dilutive potential common shares or units used in the calculation of the diluted per-share or per-unit computation.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 260
-SubTopic 10
-Section 50
-Paragraph 1
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257
false15false4us-gaap_WeightedAverageNumberOfDilutedSharesOutstandingus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse70540007054falsefalsefalse2truefalsefalse69230006923falsefalsefalse3truefalsefalse69850006985falsefalsefalse4truefalsefalse69190006919falsefalsefalsexbrli:sharesItemTypesharesThe average number of shares or units issued and outstanding that are used in calculating diluted EPS or earnings per unit (EPU), determined based on the timing of issuance of shares or units in the period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 260
-SubTopic 10
-Section 50
-Paragraph 1
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 260
-SubTopic 10
-Section 45
-Paragraph 16
-URI http://asc.fasb.org/extlink&oid=7655603&loc=d3e1505-109256
false16false4us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmountus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse375000375falsefalsefalse2truefalsefalse497000497falsefalsefalse3truefalsefalse375000375falsefalsefalse4truefalsefalse494000494falsefalsefalsexbrli:sharesItemTypesharesSecurities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) or earnings per unit (EPU) in the future that were not included in the computation of diluted EPS or EPU because to do so would increase EPS or EPU amounts or decrease loss per share or unit amounts for the period presented.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 260
-SubTopic 10
-Section 50
-Paragraph 1
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Antidilution
-URI http://asc.fasb.org/extlink&oid=6505113
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Diluted Earnings Per Share
-URI http://asc.fasb.org/extlink&oid=6510752
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Contingent Stock Agreement
-URI http://asc.fasb.org/extlink&oid=6508534
false17false4us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangementsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse574000574falsefalsefalse2truefalsefalse467000467falsefalsefalse3truefalsefalse574000574falsefalsefalse4truefalsefalse470000470falsefalsefalsexbrli:sharesItemTypesharesAdditional shares included in the calculation of diluted EPS as a result of the potentially dilutive effect of share based payment arrangements using the treasury stock method.Reference 1: 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 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 260
-SubTopic 10
-Section 45
-Paragraph 28A
-URI http://asc.fasb.org/extlink&oid=7655603&loc=d3e1500-109256
false1falseEarnings per share (Details)UnKnownThousandsUnKnownUnKnowntruefalsefalseSheethttp://www.mfri.com/role/EarningsPerShareDetails47