XML 95 R80.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Retirement Plans - Schedule of Net Periodic Benefit Cost Not yet Recognized (Details) - USD ($) $ in Thousands | Dec. 31, 2021 | Dec. 31, 2020
--- | --- | ---
United Kingdom Subsidiary | UK Plan |  |
Defined Benefit Plan Disclosure [Line Items] |  |
Unrecognized actuarial losses | $ 89,572 | $ 125,020

X
- Definition Amount, after tax, of accumulated other comprehensive income (loss) for gain (loss) of defined benefit plan, that has not been recognized in net periodic benefit (cost) credit. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 14A -URI http://asc.fasb.org/extlink&oid=124509347&loc=SL7669686-108580 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (j) -URI http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920 + Details
Name: | us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesAfterTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_DefinedBenefitPlanDisclosureLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | dei_LegalEntityAxis=eme_UnitedKingdomSubsidiaryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanSponsorLocationAxis=us-gaap_ForeignPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |