XML 48 R37.htm IDEA: XBRL DOCUMENT
v3.5.0.2

Stock-based compensation Stock-based compensation expense (Details) - USD ($) $ in Thousands | 3 Months Ended | 6 Months Ended
--- | --- | ---
Jul. 31, 2016 | Jul. 31, 2015 | Jul. 31, 2016 | Jul. 31, 2015
Stock-based compensation expense [Abstract] |  |  |  |
Stock-based compensation benefit | $ (282) | $ (96) | $ (284) | $ (37)
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |
Restricted stock based compensation expense | $ 390 | $ 169 | $ 668 | $ 258

X
- Definition Stock-based compensation expense [Abstract] + References No definition available. + Details
Name: | mfri_StockBasedCompensationExpenseAbstract
Namespace Prefix: | mfri_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the expense recognized during the period arising from equity-based compensation arrangements (for example, shares of stock, unit, stock options or other equity instruments) with employees, directors and certain consultants qualifying for treatment as employees. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB TOPIC 14.F) -URI http://asc.fasb.org/extlink&oid=27013229&loc=d3e301413-122809 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5047-113901 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(1)(i) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Staff Accounting Bulletin (SAB) -Number Topic 14 -Section F + Details
Name: | us-gaap_AllocatedShareBasedCompensationExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The noncash expense that represents the cost of restricted stock or unit distributed to employees as compensation. + References 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=56944662&loc=d3e3602-108585 + Details
Name: | us-gaap_RestrictedStockExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration