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

Uncompleted Contracts (Tables) | 9 Months Ended
--- | ---
Mar. 31, 2018
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, 2018 |  | June 30, 2017
| (in thousands)
Costs incurred and estimated earnings recognized on uncompleted contracts | $ | 2,200,601 |  |  | $ | 1,919,054 |
Billings on uncompleted contracts | 2,222,242 |  |  | 1,903,001 |
| $ | (21,641 | ) |  | $ | 16,053 |
Shown in balance sheet as: |  |  |
Costs and estimated earnings in excess of billings on uncompleted contracts | $ | 66,985 |  |  | $ | 91,180 |
Billings on uncompleted contracts in excess of costs and estimated earnings | 88,626 |  |  | 75,127 |
| $ | (21,641 | ) |  | $ | 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