XML 33 R20.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Uncompleted Contracts (Tables) | 3 Months Ended
--- | ---
Sep. 30, 2017
Disclosure Customer Contracts Additional Information [Abstract] |
Gross and Net Amount of Uncompleted Contracts | Gross and net amounts on uncompleted contracts are as follows:
| September 30, 2017 |  | June 30, 2017
| (in thousands)
Costs incurred and estimated earnings recognized on uncompleted contracts | $ | 1,451,623 |  |  | $ | 1,919,054 |
Billings on uncompleted contracts | 1,451,229 |  |  | 1,903,001 |
| $ | 394 |  |  | $ | 16,053 |
Shown in balance sheet as: |  |  |
Costs and estimated earnings in excess of billings on uncompleted contracts | $ | 65,953 |  |  | $ | 91,180 |
Billings on uncompleted contracts in excess of costs and estimated earnings | 65,559 |  |  | 75,127 |
| $ | 394 |  |  | $ | 16,053 |

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