XML 34 R20.htm IDEA: XBRL DOCUMENT
v3.7.0.1

Uncompleted Contracts (Tables) | 9 Months Ended
--- | ---
Mar. 31, 2017
Disclosure Customer Contracts Additional Information [Abstract] |
Gross and Net Amount of Uncompleted Contracts | Gross and net amounts on uncompleted contracts are as follows:
| March 31, 2017 |  | June 30, 2016
| (in thousands)
Costs incurred and estimated earnings recognized on uncompleted contracts | $ | 1,266,388 |  |  | $ | 1,875,014 |
Billings on uncompleted contracts | 1,271,826 |  |  | 1,829,340 |
| $ | (5,438 | ) |  | $ | 45,674 |
Shown in balance sheet as: |  |  |
Costs and estimated earnings in excess of billings on uncompleted contracts | $ | 69,986 |  |  | $ | 104,001 |
Billings on uncompleted contracts in excess of costs and estimated earnings | 75,424 |  |  | 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