XML 100 R85.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Retirement Plans - Schedule of Multiemployer Plans (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019
Multiemployer Plans [Line Items] |  |  |  |
EIN |  | 11-2125338 |  |
UNITED STATES | Multiemployer Plans, Pension |  |  |  |
Multiemployer Plans [Line Items] |  |  |  |
Contributions |  | $ 228,072 | $ 204,082 | $ 215,478
UNITED STATES | Multiemployer Plans, Pension | National Automatic Sprinkler Industry Pension Fund |  |  |  |
Multiemployer Plans [Line Items] |  |  |  |
EIN |  | 52-6054620 |  |
Pension Plan Number |  | 001 |  |
Zone Status | [1] | Green | Red |
FIP/RP Status |  | NA |  |
Contributions |  | $ 20,987 | $ 17,504 | 15,924
Contributions greater than 5% | [2] | true |  |
UNITED STATES | Multiemployer Plans, Pension | United Association National Pension Fund (Formerly Plumbers & Pipefitters National Pension Fund) |  |  |  |
Multiemployer Plans [Line Items] |  |  |  |
EIN |  | 52-6152779 |  |
Pension Plan Number |  | 001 |  |
Zone Status | [1] | Green | Yellow |
FIP/RP Status |  | NA |  |
Contributions |  | $ 14,723 | $ 14,095 | 13,821
Contributions greater than 5% | [2] | false |  |
UNITED STATES | Multiemployer Plans, Pension | National Electrical Benefit Fund |  |  |  |
Multiemployer Plans [Line Items] |  |  |  |
EIN |  | 53-0181657 |  |
Pension Plan Number |  | 001 |  |
Zone Status | [1] | Green | Green |
FIP/RP Status |  | NA |  |
Contributions |  | $ 12,310 | $ 11,573 | 16,901
Contributions greater than 5% | [2] | false |  |
UNITED STATES | Multiemployer Plans, Pension | Pension, Hospitalization & Benefit Plan of the Electrical Industry-Pension Trust Account |  |  |  |
Multiemployer Plans [Line Items] |  |  |  |
EIN |  | 13-6123601 |  |
Pension Plan Number |  | 001 |  |
Zone Status | [1] | Green | Green |
FIP/RP Status |  | NA |  |
Contributions |  | $ 12,291 | $ 11,264 | 10,075
Contributions greater than 5% | [2] | false |  |
UNITED STATES | Multiemployer Plans, Pension | Sheet Metal Workers National Pension Fund |  |  |  |
Multiemployer Plans [Line Items] |  |  |  |
EIN |  | 52-6112463 |  |
Pension Plan Number |  | 001 |  |
Zone Status | [1] | Yellow | Yellow |
FIP/RP Status |  | Implemented |  |
Contributions |  | $ 10,307 | $ 11,621 | 11,713
Contributions greater than 5% | [2] | false |  |
UNITED STATES | Multiemployer Plans, Pension | Electrical Workers Local No. 26 Pension Trust Fund |  |  |  |
Multiemployer Plans [Line Items] |  |  |  |
EIN |  | 52-6117919 |  |
Pension Plan Number |  | 001 |  |
Zone Status | [1] | Green | Green |
FIP/RP Status |  | NA |  |
Contributions |  | $ 9,346 | $ 7,086 | 8,434
Contributions greater than 5% | [2] | true |  |
UNITED STATES | Multiemployer Plans, Pension | Sheet Metal Workers Pension Plan of Northern California |  |  |  |
Multiemployer Plans [Line Items] |  |  |  |
EIN |  | 51-6115939 |  |
Pension Plan Number |  | 001 |  |
Zone Status | [1] | Red | Red |
FIP/RP Status |  | Implemented |  |
Contributions |  | $ 7,850 | $ 6,605 | 6,233
Contributions greater than 5% | [2] | false |  |
UNITED STATES | Multiemployer Plans, Pension | Plumbers Pipefitters & Mechanical Equipment Service Local Union 392 Pension Plan |  |  |  |
Multiemployer Plans [Line Items] |  |  |  |
EIN |  | 31-0655223 |  |
Pension Plan Number |  | 001 |  |
Zone Status | [1] | Red | Red |
FIP/RP Status |  | Implemented |  |
Contributions |  | $ 7,110 | $ 5,667 | 6,412
Contributions greater than 5% | [2] | true |  |
UNITED STATES | Multiemployer Plans, Pension | Central Pension Fund of the IUOE & Participating Employers |  |  |  |
Multiemployer Plans [Line Items] |  |  |  |
EIN |  | 36-6052390 |  |
Pension Plan Number |  | 001 |  |
Zone Status | [1] | Green | Green |
FIP/RP Status |  | NA |  |
Contributions |  | $ 6,627 | $ 6,115 | 6,253
Contributions greater than 5% | [2] | false |  |
UNITED STATES | Multiemployer Plans, Pension | Southern California Pipe Trades Retirement Fund |  |  |  |
Multiemployer Plans [Line Items] |  |  |  |
EIN |  | 51-6108443 |  |
Pension Plan Number |  | 001 |  |
Zone Status | [1] | Green | Green |
FIP/RP Status |  | NA |  |
Contributions |  | $ 6,272 | $ 4,043 | 3,274
Contributions greater than 5% | [2] | false |  |
UNITED STATES | Multiemployer Plans, Pension | Pipefitters Union Local 537 Pension Fund |  |  |  |
Multiemployer Plans [Line Items] |  |  |  |
EIN |  | 51-6030859 |  |
Pension Plan Number |  | 001 |  |
Zone Status | [1] | Green | Green |
FIP/RP Status |  | NA |  |
Contributions |  | $ 5,922 | $ 4,275 | 4,754
Contributions greater than 5% | [2] | true |  |
UNITED STATES | Multiemployer Plans, Pension | Heating, Piping & Refrigeration Pension Fund |  |  |  |
Multiemployer Plans [Line Items] |  |  |  |
EIN |  | 52-1058013 |  |
Pension Plan Number |  | 001 |  |
Zone Status | [1] | Green | Green |
FIP/RP Status |  | NA |  |
Contributions |  | $ 5,591 | $ 3,349 | 4,185
Contributions greater than 5% | [2] | false |  |
UNITED STATES | Multiemployer Plans, Pension | Southern California IBEW-NECA Pension Trust Fund |  |  |  |
Multiemployer Plans [Line Items] |  |  |  |
EIN |  | 95-6392774 |  |
Pension Plan Number |  | 001 |  |
Zone Status | [1] | Yellow | Yellow |
FIP/RP Status |  | Implemented |  |
Contributions |  | $ 4,876 | $ 5,719 | 6,277
Contributions greater than 5% | [2] | false |  |
UNITED STATES | Multiemployer Plans, Pension | Edison Pension Plan |  |  |  |
Multiemployer Plans [Line Items] |  |  |  |
EIN |  | 93-6061681 |  |
Pension Plan Number |  | 001 |  |
Zone Status | [1] | Green | Green |
FIP/RP Status |  | NA |  |
Contributions |  | $ 4,229 | $ 3,864 | 5,361
Contributions greater than 5% | [2] | true |  |
UNITED STATES | Multiemployer Plans, Pension | Electrical Contractors Association of the City of Chicago Local Union 134, IBEW Joint Pension Trust of Chicago Pension Plan 2 |  |  |  |
Multiemployer Plans [Line Items] |  |  |  |
EIN |  | 51-6030753 |  |
Pension Plan Number |  | 002 |  |
Zone Status | [1] | Green | Green |
FIP/RP Status |  | NA |  |
Contributions |  | $ 4,225 | $ 3,004 | 3,204
Contributions greater than 5% | [2] | false |  |
UNITED STATES | Multiemployer Plans, Pension | Arizona Pipe Trades Pension Trust Fund |  |  |  |
Multiemployer Plans [Line Items] |  |  |  |
EIN |  | 86-6025734 |  |
Pension Plan Number |  | 001 |  |
Zone Status | [1] | Green | Green |
FIP/RP Status |  | NA |  |
Contributions |  | $ 4,076 | $ 4,142 | 6,071
Contributions greater than 5% | [2] | true |  |
UNITED STATES | Multiemployer Plans, Pension | San Diego Electrical Pension Plan |  |  |  |
Multiemployer Plans [Line Items] |  |  |  |
EIN |  | 95-6101801 |  |
Pension Plan Number |  | 001 |  |
Zone Status | [1] | Green | Green |
FIP/RP Status |  | NA |  |
Contributions |  | $ 4,068 | $ 4,383 | 3,843
Contributions greater than 5% | [2] | true |  |
UNITED STATES | Multiemployer Plans, Pension | U.A. Local 393 Pension Trust Fund Defined Benefit |  |  |  |
Multiemployer Plans [Line Items] |  |  |  |
EIN |  | 94-6359772 |  |
Pension Plan Number |  | 002 |  |
Zone Status | [1] | Green | Green |
FIP/RP Status |  | NA |  |
Contributions |  | $ 3,507 | $ 3,168 | 3,858
Contributions greater than 5% | [2] | true |  |
UNITED STATES | Multiemployer Plans, Pension | Boilermaker-Blacksmith National Pension Trust |  |  |  |
Multiemployer Plans [Line Items] |  |  |  |
EIN |  | 48-6168020 |  |
Pension Plan Number |  | 001 |  |
Zone Status | [1] | Yellow | Yellow |
FIP/RP Status |  | Implemented |  |
Contributions |  | $ 3,479 | $ 1,574 | 1,681
Contributions greater than 5% | [2] | false |  |
UNITED STATES | Multiemployer Plans, Pension | Sheet Metal Workers Pension Plan of Southern California, Arizona & Nevada |  |  |  |
Multiemployer Plans [Line Items] |  |  |  |
EIN |  | 95-6052257 |  |
Pension Plan Number |  | 001 |  |
Zone Status | [1] | Yellow | Yellow |
FIP/RP Status |  | Implemented |  |
Contributions |  | $ 3,322 | $ 2,706 | 2,423
Contributions greater than 5% | [2] | false |  |
UNITED STATES | Multiemployer Plans, Pension | Eighth District Electrical Pension Fund |  |  |  |
Multiemployer Plans [Line Items] |  |  |  |
EIN |  | 84-6100393 |  |
Pension Plan Number |  | 001 |  |
Zone Status | [1] | Green | Green |
FIP/RP Status |  | NA |  |
Contributions |  | $ 3,298 | $ 3,242 | 3,590
Contributions greater than 5% | [2] | true |  |
UNITED STATES | Multiemployer Plans, Pension | Northern California Pipe Trades Pension Plan |  |  |  |
Multiemployer Plans [Line Items] |  |  |  |
EIN |  | 94-3190386 |  |
Pension Plan Number |  | 001 |  |
Zone Status | [1] | Green | Green |
FIP/RP Status |  | NA |  |
Contributions |  | $ 2,663 | $ 2,463 | 3,077
Contributions greater than 5% | [2] | false |  |
UNITED STATES | Multiemployer Plans, Pension | Atlanta Plumbers and Steamfitters Pension Fund |  |  |  |
Multiemployer Plans [Line Items] |  |  |  |
EIN |  | 58-1233396 |  |
Pension Plan Number |  | 001 |  |
Zone Status | [1] | Green | Green |
FIP/RP Status |  | NA |  |
Contributions |  | $ 2,496 | $ 1,576 | 310
Contributions greater than 5% | [2] | true |  |
UNITED STATES | Multiemployer Plans, Pension | NECA-IBEW Pension Trust Fund |  |  |  |
Multiemployer Plans [Line Items] |  |  |  |
EIN |  | 51-6029903 |  |
Pension Plan Number |  | 001 |  |
Zone Status | [1] | Green | Green |
FIP/RP Status |  | NA |  |
Contributions |  | $ 2,491 | $ 2,369 | 2,528
Contributions greater than 5% | [2] | false |  |
UNITED STATES | Multiemployer Plans, Pension | IBEW 332 Pension Fund - Part A |  |  |  |
Multiemployer Plans [Line Items] |  |  |  |
EIN |  | 94-2688032 |  |
Pension Plan Number |  | 004 |  |
Zone Status | [1] | Green | Green |
FIP/RP Status |  | NA |  |
Contributions |  | $ 2,339 | $ 1,211 | 1,633
Contributions greater than 5% | [2] | false |  |
UNITED STATES | Multiemployer Plans, Pension | U.A. Plumbers Local 24 Pension Fund |  |  |  |
Multiemployer Plans [Line Items] |  |  |  |
EIN |  | 22-6042823 |  |
Pension Plan Number |  | 001 |  |
Zone Status | [1] | Green | Green |
FIP/RP Status |  | NA |  |
Contributions |  | $ 2,270 | $ 2,460 | 2,460
Contributions greater than 5% | [2] | true |  |
UNITED STATES | Multiemployer Plans, Pension | IBEW Local 595 Pension Plan |  |  |  |
Multiemployer Plans [Line Items] |  |  |  |
EIN |  | 94-6279541 |  |
Pension Plan Number |  | 001 |  |
Zone Status | [1] | Green | Green |
FIP/RP Status |  | NA |  |
Contributions |  | $ 2,042 | $ 569 | 1,653
Contributions greater than 5% | [2] | false |  |
UNITED STATES | Multiemployer Plans, Pension | Plumbing & Pipe Fitting Local 219 Pension Fund |  |  |  |
Multiemployer Plans [Line Items] |  |  |  |
EIN |  | 34-6682376 |  |
Pension Plan Number |  | 001 |  |
Zone Status | [1] | Red | Red |
FIP/RP Status |  | Implemented |  |
Contributions |  | $ 1,167 | $ 1,680 | 1,937
Contributions greater than 5% | [2] | true |  |
UNITED STATES | Multiemployer Plans, Pension | Plumbers & Pipefitters Local 162 Pension Fund |  |  |  |
Multiemployer Plans [Line Items] |  |  |  |
EIN |  | 31-6125999 |  |
Pension Plan Number |  | 001 |  |
Zone Status | [1] | Yellow | Yellow |
FIP/RP Status |  | Implemented |  |
Contributions |  | $ 1,034 | $ 969 | 1,124
Contributions greater than 5% | [2] | true |  |
UNITED STATES | Multiemployer Plans, Pension | Steamfitters Local Union No. 420 Pension Plan |  |  |  |
Multiemployer Plans [Line Items] |  |  |  |
EIN |  | 23-2004424 |  |
Pension Plan Number |  | 001 |  |
Zone Status | [1] | Red | Red |
FIP/RP Status |  | Implemented |  |
Contributions |  | $ 677 | $ 553 | 641
Contributions greater than 5% | [2] | false |  |
UNITED STATES | Multiemployer Plans, Pension | South Florida Electrical Workers Pension Plan and Trust |  |  |  |
Multiemployer Plans [Line Items] |  |  |  |
EIN |  | 59-6230530 |  |
Pension Plan Number |  | 001 |  |
Zone Status | [1] | Red | Red |
FIP/RP Status |  | Implemented |  |
Contributions |  | $ 594 | $ 261 | 323
Contributions greater than 5% | [2] | false |  |
UNITED STATES | Multiemployer Plans, Pension | Carpenters Pension Trust Fund for Northern California |  |  |  |
Multiemployer Plans [Line Items] |  |  |  |
EIN |  | 94-6050970 |  |
Pension Plan Number |  | 001 |  |
Zone Status | [1] | Red | Red |
FIP/RP Status |  | Implemented |  |
Contributions |  | $ 568 | $ 385 | 435
Contributions greater than 5% | [2] | false |  |
UNITED STATES | Multiemployer Plans, Pension | Other Multiemployer Pension Plans |  |  |  |
Multiemployer Plans [Line Items] |  |  |  |
Contributions |  | $ 55,315 | $ 54,587 | $ 55,070
[1] | The zone status represents the most recent available information for the respective MEPP, which may be 2020 or earlier for the 2021 year and 2019 or earlier for the 2020 year. In general, plans with a “green” zone status have a funding ratio of at least 80%, plans with an “orange” or “yellow” zone status have a funding ratio of between 65% and less than 80%, and plans with a “red” zone status are less than 65% funded.
[2] | This information was obtained from the respective plan’s Form 5500 (“Forms”) for the most current available filing. These dates may not correspond with our fiscal year contributions. The percentages of contributions are based upon disclosures contained in the plans’ Forms. Those Forms, among other things, disclose the names of individual participating employers whose annual contributions account for more than 5% of the aggregate annual amount contributed by all participating employers for a plan year. Accordingly, if the annual contribution of two or more of our subsidiaries each accounted for less than 5% of such contributions, but in the aggregate accounted for in excess of 5% of such contributions, that greater percentage is not available and accordingly is not disclosed.

X
- Definition The Tax Identification Number (TIN), also known as an Employer Identification Number (EIN), is a unique 9-digit value assigned by the IRS. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Exchange Act -Number 240 -Section 12 -Subsection b-2 + Details
Name: | dei_EntityTaxIdentificationNumber
Namespace Prefix: | dei_
Data Type: | dei:employerIdItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of cost for employer contribution to multiemployer plan. Multiemployer plan includes, but is not limited to, pension plan determined to be individually significant and insignificant and other postretirement benefit plan. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 80 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=35742348&loc=SL14450788-114948 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 80 -Section 35 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=29639808&loc=d3e29008-114946 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 80 -Section 50 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=65877416&loc=SL14450702-114947 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 80 -Section 50 -Paragraph 9 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=65877416&loc=SL14450691-114947 + Details
Name: | us-gaap_MultiemployerPlanEmployerContributionCost
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Indicates certified zone status of multiemployer pension plan determined to be individually significant. Acceptable values are "Green", "Yellow", "Orange", "Red", "Other", and "NA". + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 80 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=35742348&loc=SL14450788-114948 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 80 -Section 50 -Paragraph 5 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947 + Details
Name: | us-gaap_MultiemployerPlanPensionSignificantCertifiedZoneStatusFixedList
Namespace Prefix: | us-gaap_
Data Type: | us-types:zoneStatusItemType
Balance Type: | na
Period Type: | duration

X
- Definition Indicates (true false) whether, in plan's most recently available annual report, employer contribution exceeds five percent of total contribution from all participating employers to multiemployer pension plan determined to be individually significant. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 80 -Section 50 -Paragraph 5 -Subparagraph (e)(2) -URI http://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 80 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=35742348&loc=SL14450788-114948 + Details
Name: | us-gaap_MultiemployerPlanPensionSignificantEmployerContributionExceedsFivePercent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:booleanItemType
Balance Type: | na
Period Type: | duration

X
- Definition Indicates whether funding improvement plan or rehabilitation plan was implemented or pending for multiemployer pension plan, determined to be individually significant. Acceptable values are "No", "Pending", "Implemented", "Other", and "NA". + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 80 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=35742348&loc=SL14450788-114948 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 80 -Section 50 -Paragraph 5 -Subparagraph (f)(1) -URI http://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947 + Details
Name: | us-gaap_MultiemployerPlanPensionSignificantFundingImprovementOrRehabilitationPlanImplementationStatusFixedList
Namespace Prefix: | us-gaap_
Data Type: | us-types:fundingImprovementAndRehabilitationPlanItemType
Balance Type: | na
Period Type: | duration

X
- Definition Plan number for multiemployer pension plan determined to be individually significant, in three-digit numeric format. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 80 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=35742348&loc=SL14450788-114948 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 80 -Section 50 -Paragraph 5 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947 + Details
Name: | us-gaap_MultiemployerPlanPensionSignificantPlanNumber
Namespace Prefix: | us-gaap_
Data Type: | us-types:threeDigitItemType
Balance Type: | na
Period Type: | duration

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_MultiemployerPlansLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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

X
- Details
Name: | us-gaap_RetirementPlanTypeAxis=us-gaap_PensionPlansDefinedBenefitMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=eme_NationalAutomaticSprinklerIndustryPensionFundMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=eme_UnitedAssociationNationalPensionFundFormerlyPlumbersAndPipefittersNationalPensionFundMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=eme_NationalElectricalBenefitFundMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=eme_PensionHospitalizationAndBenefitPlanOfElectricalIndustryPensionTrustAccountMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=eme_SheetMetalWorkersNationalPensionFundMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=eme_ElectricalWorkersLocalNo26PensionTrustFundMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=eme_SheetMetalWorkersPensionPlanOfNorthernCaliforniaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=eme_PlumbersPipefittersAndMechanicalEquipmentServiceLocalUnion392PensionPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=eme_CentralPensionFundoftheIUOEParticipatingEmployeesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=eme_SouthernCaliforniaPipeTradesRetirementFundMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=eme_PipefittersUnionLocal537PensionFundMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=eme_HeatingPipingRefrigerationPensionFundMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=eme_SouthernCaliforniaIbewNecaPensionTrustFundMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=eme_EdisonPensionPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=eme_ElectricalContractorsAssociationOfTheCityOfChicagoLocalUnion134IBEWJointPensionTrustOfChicagoPensionPlan2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=eme_ArizonaPipeTradesPensionTrustFundMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=eme_SanDiegoElectricalPensionPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=eme_U.A.Local393PensionTrustFundDefinedBenefitMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=eme_BoilermakerBlacksmithNationalPensionFundMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=eme_SheetMetalWorkersPensionPlanOfSouthernCaliforniaArizonaAndNevadaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=eme_EighthDistrictElectricalPensionFundMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=eme_NorthernCaliforniaPipeTradesPensionPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=eme_AtlantaPlumbersAndSteamfittersPensionFundMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=eme_NECAIBEWPensionTrustFundMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=eme_IBEW332PensionPlanPartAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=eme_U.A.PlumbersLocal24PensionFundMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=eme_IBEWLocal595PensionPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=eme_PlumbingPipeFittingLocal219PensionFundMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=eme_PlumbersPipefittersLocal162PensionFundMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=eme_SteamfittersLocalUnionNo420PensionPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=eme_SouthFloridaElectricalWorkersPensionPlanAndTrustMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=eme_CarpentersPensionTrustFundForNorthernCaliforniaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=eme_OtherMultiemployerPensionPlansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |