XML 96 R80.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Retirement Plans - Schedule of Changes in Benefit Obligations and Assets (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Defined Benefit Plan, Change in Benefit Obligation [Roll Forward] |  |  |
Benefit obligation at beginning of year | $ 6,700 |  |
Benefit obligation at end of year | 6,300 | $ 6,700 |
Defined Benefit Plan, Change in Fair Value of Plan Assets [Roll Forward] |  |  |
Fair value of plan assets at beginning of year | 4,900 |  |
Fair value of plan assets at end of year | 5,100 | 4,900 |
United Kingdom Subsidiary | UK Plan |  |  |
Defined Benefit Plan, Change in Benefit Obligation [Roll Forward] |  |  |
Benefit obligation at beginning of year | 193,956 | 349,147 |
Interest cost | 9,722 | 5,693 | $ 5,326
Actuarial loss (gain) | 651 | (116,372) |
Benefits paid | (10,411) | (11,095) |
Foreign currency exchange rate changes | 10,179 | (33,417) |
Benefit obligation at end of year | 204,097 | 193,956 | 349,147
Defined Benefit Plan, Change in Fair Value of Plan Assets [Roll Forward] |  |  |
Fair value of plan assets at beginning of year | 210,284 | 356,532 |
Actual return (loss) on plan assets | 10,563 | (105,544) |
Employer contributions | 1,564 | 4,875 |
Benefits paid | (10,411) | (11,095) |
Foreign currency exchange rate changes | 11,077 | (34,484) |
Fair value of plan assets at end of year | 223,077 | 210,284 | $ 356,532
Funded status at end of year | $ 18,980 | $ 16,328 |

X
- Definition Amount of increase (decrease) in plan assets of defined benefit plan from actual return (loss) determined by change in fair value of plan assets adjusted for contributions, benefit payments, and other expenses. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 17 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480482/715-20-55-17 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 + Details
Name: | us-gaap_DefinedBenefitPlanActualReturnOnPlanAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of gain (loss) from change in actuarial assumptions which (increases) decreases benefit obligation of defined benefit plan. Assumptions include, but are not limited to, interest, mortality, employee turnover, salary, and temporary deviation from substantive plan. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (a)(4) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 + Details
Name: | us-gaap_DefinedBenefitPlanActuarialGainLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of actuarial present value of benefits attributed to service rendered by employee for defined benefit plan. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 + Details
Name: | us-gaap_DefinedBenefitPlanBenefitObligation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of payment to participant of defined benefit plan which decreases benefit obligation. For pension plan, payment includes, but is not limited to, pension benefits and death benefits. For other postretirement plan, payment includes, but is not limited to, prescription drug benefits, health care benefits, life insurance benefits, and legal, educational and advisory services. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 60 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480266/715-60-50-4 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (a)(6) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 + Details
Name: | us-gaap_DefinedBenefitPlanBenefitObligationBenefitsPaid
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. + References No definition available. + Details
Name: | us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. + References No definition available. + Details
Name: | us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of contribution received by defined benefit plan from employer which increases plan assets. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 17 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480482/715-20-55-17 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d)(iv)(01) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 18 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480482/715-20-55-18 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-6 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b)(3) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 Reference 6: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d)(ii) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 Reference 7: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d)(iv)(01) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 + Details
Name: | us-gaap_DefinedBenefitPlanContributionsByEmployer
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of asset segregated and restricted to provide benefit under defined benefit plan. Asset includes, but is not limited to, stock, bond, other investment, earning from investment, and contribution by employer and employee. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 17 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480482/715-20-55-17 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d)(iv)(02) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d)(ii) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d)(iv)(01) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 Reference 6: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d)(ii) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 Reference 7: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d)(iv)(01) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 + Details
Name: | us-gaap_DefinedBenefitPlanFairValueOfPlanAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of foreign currency translation gain (loss) which (increases) decreases benefit obligation of defined benefit plan. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (a)(5) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 + Details
Name: | us-gaap_DefinedBenefitPlanForeignCurrencyExchangeRateChangesBenefitObligation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of funded (unfunded) status of defined benefit plan, measured as difference between fair value of plan assets and benefit obligation. Includes, but is not limited to, overfunded (underfunded) status. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 17 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480482/715-20-55-17 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480535/715-20-45-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 + Details
Name: | us-gaap_DefinedBenefitPlanFundedStatusOfPlan
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of cost recognized for passage of time related to defined benefit plan. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 17 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480482/715-20-55-17 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 3A -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480535/715-20-45-3A Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 18 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480482/715-20-55-18 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (h)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-6 + Details
Name: | us-gaap_DefinedBenefitPlanInterestCost
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of payment to participant under defined benefit plan which decreases plan assets. For pension plan, payment includes, but is not limited to, pension benefits and death benefits. For other postretirement plan, payment includes, but is not limited to, prescription drug benefits, health care benefits, life insurance benefits, and legal, educational and advisory services. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 715 -SubTopic 60 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480266/715-60-50-4 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b)(5) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 + Details
Name: | us-gaap_DefinedBenefitPlanPlanAssetsBenefitsPaid
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of foreign currency translation gain (loss) which increases (decreases) plan assets of defined benefit plan. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 + Details
Name: | us-gaap_DefinedBenefitPlanPlanAssetsForeignCurrencyTranslationGainLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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: |