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

Uncompleted Contracts (Tables) | 6 Months Ended
--- | ---
Dec. 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:
| December 31, 2017 |  | June 30, 2017
| (in thousands)
Costs incurred and estimated earnings recognized on uncompleted contracts | $ | 2,152,981 |  |  | $ | 1,919,054 |
Billings on uncompleted contracts | 2,155,136 |  |  | 1,903,001 |
| $ | (2,155 | ) |  | $ | 16,053 |
Shown in balance sheet as: |  |  |
Costs and estimated earnings in excess of billings on uncompleted contracts | $ | 64,221 |  |  | $ | 91,180 |
Billings on uncompleted contracts in excess of costs and estimated earnings | 66,376 |  |  | 75,127 |
| $ | (2,155 | ) |  | $ | 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