XML 32 R19.htm IDEA: XBRL DOCUMENT
v3.6.0.2

Uncompleted Contracts (Tables) | 6 Months Ended
--- | ---
Dec. 31, 2016
Disclosure Customer Contracts Additional Information [Abstract] |
Gross and Net Amount of Uncompleted Contracts | Gross and net amounts on uncompleted contracts are as follows:
| December 31, 2016 |  | June 30, 2016
| (in thousands)
Costs incurred and estimated earnings recognized on uncompleted contracts | $ | 1,983,345 |  |  | $ | 1,875,014 |
Billings on uncompleted contracts | 1,977,907 |  |  | 1,829,340 |
| $ | 5,438 |  |  | $ | 45,674 |
Shown in balance sheet as: |  |  |
Costs and estimated earnings in excess of billings on uncompleted contracts | $ | 80,296 |  |  | $ | 104,001 |
Billings on uncompleted contracts in excess of costs and estimated earnings | 74,858 |  |  | 58,327 |
| $ | 5,438 |  |  | $ | 45,674 |

X
- Definition Disclosure - Customer Contracts - Additional Information [Abstract] + References No definition available. + Details
Name: | mtrx_DisclosureCustomerContractsAdditionalInformationAbstract
Namespace Prefix: | mtrx_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Gross and net amount of uncompleted contracts. + References No definition available. + Details
Name: | mtrx_GrossAndNetAmountOfUncompletedContractsTableTextBlock
Namespace Prefix: | mtrx_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration