XML 60 R48.htm IDEA: XBRL DOCUMENT
v3.19.2

Debt (Narrative) (Details) - USD ($) |  | 3 Months Ended | 6 Months Ended | 12 Months Ended |  |
--- | --- | --- | --- | --- | --- | ---
Aug. 03, 2016 | Mar. 31, 2017 | Dec. 31, 2016 | Jun. 30, 2019 | Jun. 30, 2018 | Dec. 31, 2016 | Dec. 31, 2018 | Dec. 30, 2016
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |
Interest rate description |  |  |  | Borrowings under the 2016 Credit Agreement bear interest at (1) a base rate plus a margin of 0.00% to 0.75%, based on certain financial tests, or (2) United States dollar LIBOR (2.40% at June 30, 2019) plus 1.00% to 1.75%, based on certain financial tests. The base rate is determined by the greater of (a) the prime commercial lending rate announced by Bank of Montreal from time to time (5.50% at June 30, 2019), (b) the federal funds effective rate, plus 1/2 of 1.00%, (c) the daily one month LIBOR rate, plus 1.00%, or (d) 0.00%. The interest rate in effect at June 30, 2019 was 3.40%. Fees for letters of credit issued under the 2016 Revolving Credit Facility range from 1.00% to 1.75% of the respective face amounts of outstanding letters of credit and are computed based on certain financial tests. |  |  |  |
Repayments of long-term debt (in US dollars) |  |  |  | $ 7,601,000 | $ 7,634,000 |  |  |
Letters of credit outstanding (in US dollars) |  |  |  | 109,000,000.0 |  |  | $ 109,000,000 |
Borrowings under revolving credit facility (in US dollars) |  |  |  | $ 25,000,000 |  |  | 25,000,000 |
2016 Credit Agreement |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |
Credit agreement, initiation date | Aug. 03, 2016 |  |  |  |  |  |  |
Expiration date of credit agreement |  |  |  | Aug. 03, 2021 |  |  |  |
Interest rate |  |  |  | 3.40% |  |  |  |
2016 Revolving Credit Facility |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |
Borrowings under revolving credit facility (in US dollars) |  |  |  | $ 25,000,000 |  |  | 25,000,000 |
2016 Term Loan |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |
Term Loan (in US dollars) | $ 400,000,000.0 |  |  | $ 262,025,000 |  |  | $ 269,620,000 |
Periodic principal payment on term loan (in US dollars) |  | $ 3,800,000 | $ 5,000,000.0 |  |  | $ 5,000,000.0 |  |
Term loan, annual principal payments (in US dollars) |  |  |  |  |  |  |  | $ 100,000,000.0
Repayments of long-term debt (in US dollars) |  |  |  |  |  | $ 95,000,000.0 |  |
Base Rate [Member] | Minimum [Member] | 2016 Credit Agreement |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |
Basis spread on variable rate |  |  |  | 0.00% |  |  |  |
Base Rate [Member] | Maximum [Member] | 2016 Credit Agreement |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |
Basis spread on variable rate |  |  |  | 0.75% |  |  |  |
Prime Rate, Bank of Montreal [Member] | 2016 Credit Agreement |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |
Commercial lending rate |  |  |  | 5.50% |  |  |  |
Credit Agreement Base Rate, Daily One Month LIBOR Rate [Member] | 2016 Credit Agreement |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |
Basis spread on variable rate |  |  |  | 1.00% |  |  |  |
London Interbank Offered Rate (LIBOR) [Member] | 2016 Credit Agreement |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |
Commercial lending rate |  |  |  | 2.40% |  |  |  |
London Interbank Offered Rate (LIBOR) [Member] | Minimum [Member] | 2016 Credit Agreement |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |
Basis spread on variable rate |  |  |  | 1.00% |  |  |  |
London Interbank Offered Rate (LIBOR) [Member] | Maximum [Member] | 2016 Credit Agreement |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |
Basis spread on variable rate |  |  |  | 1.75% |  |  |  |
Credit Agreement Base Rate, Federal Funds Rate [Member] | 2016 Credit Agreement |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |
Basis spread on variable rate |  |  |  | 0.50% |  |  |  |
Credit Agreement, 0% Base Rate [Member] | 2016 Credit Agreement |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |
Basis spread on variable rate |  |  |  | 0.00% |  |  |  |
Revolving Credit Facility [Member] | 2016 Revolving Credit Facility |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |
Line of credit facility maximum borrowing capacity (in US dollars) | $ 900,000,000.0 |  |  |  |  |  |  |
Increase in borrowing capacity (in US dollars) |  |  |  | $ 1,300,000,000 |  |  |  |
Letters of credit maximum borrowing capacity (in US dollars) |  |  |  | $ 300,000,000.0 |  |  |  |
Commitment fee percentage of unused amount |  |  |  | 0.15% |  |  |  |
Revolving Credit Facility [Member] | Minimum [Member] | 2016 Revolving Credit Facility |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |
Commitment fee percentage of unused amount |  |  |  | 0.15% |  |  |  |
Letter of credit fees |  |  |  | 1.00% |  |  |  |
Revolving Credit Facility [Member] | Maximum [Member] | 2016 Revolving Credit Facility |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |
Commitment fee percentage of unused amount |  |  |  | 0.30% |  |  |  |
Letter of credit fees |  |  |  | 1.75% |  |  |  |

X
- Definition Date the credit agreement expires. + References No definition available. + Details
Name: | eme_CreditAgreementExpirationDate1
Namespace Prefix: | eme_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Credit Agreement, Initiation Date + References No definition available. + Details
Name: | eme_CreditAgreementInitiationDate1
Namespace Prefix: | eme_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of increase in borrowing capacity if additional lenders are identified and/or existing lenders are willing to increase their current commitments. + References No definition available. + Details
Name: | eme_IncreaseBorrowingCapacity
Namespace Prefix: | eme_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Letters of credit maximum borrowing capacity. + References No definition available. + Details
Name: | eme_LettersOfCreditMaximumBorrowingCapacity
Namespace Prefix: | eme_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Range of letter of credit fees. + References No definition available. + Details
Name: | eme_RangeOfLetterOfCreditFees
Namespace Prefix: | eme_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of the total principal payments made during the annual reporting period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentAnnualPrincipalPayment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Percentage points added to the reference rate to compute the variable rate on the debt instrument. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of the required periodic payments applied to principal. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentPeriodicPaymentPrincipal
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The total amount of the contingent obligation under letters of credit outstanding as of the reporting date. + References No definition available. + Details
Name: | us-gaap_LettersOfCreditOutstandingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The effective interest rate at the end of the reporting period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityInterestRateAtPeriodEnd
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Description of the interest rate for the amounts borrowed under the credit facility, including the terms and the method for determining the interest rate (for example, fixed or variable, LIBOR plus a percentage, increasing rate, timing of interest rate resets, remarketing provisions). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityInterestRateDescription
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
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_LineOfCreditFacilityLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The fee, expressed as a percentage of the line of credit facility, for available but unused credit capacity under the credit facility. + References No definition available. + Details
Name: | us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, after unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (b)(3) -URI http://asc.fasb.org/extlink&oid=109500613&loc=SL6031897-161870 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)) -URI http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LongTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The interest rate applicable to the portion of the carrying amount of long-term borrowings outstanding as of the balance sheet date, including current maturities, which accrues interest at a rate subject to change from time to time. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LongTermDebtPercentageBearingVariableInterestRate
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The carrying value as of the balance sheet date of the noncurrent portion of long-term obligations drawn from a line of credit, which is a bank's commitment to make loans up to a specific amount. Examples of items that might be included in the application of this element may consist of letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to a maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line. Includes short-term obligations that would normally be classified as current liabilities but for which (a) postbalance sheet date issuance of a long term obligation to refinance the short term obligation on a long term basis, or (b) the enterprise has entered into a financing agreement that clearly permits the enterprise to refinance the short-term obligation on a long term basis and the following conditions are met (1) the agreement does not expire within 1 year and is not cancelable by the lender except for violation of an objectively determinable provision, (2) no violation exists at the BS date, and (3) the lender has entered into the financing agreement is expected to be financially capable of honoring the agreement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section 45 -Paragraph 14 -URI http://asc.fasb.org/extlink&oid=99376301&loc=d3e1336-112600 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section 45 -Paragraph 13 -URI http://asc.fasb.org/extlink&oid=99376301&loc=d3e1314-112600 + Details
Name: | us-gaap_LongTermLineOfCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The cash outflow for debt initially having maturity due after one year or beyond the normal operating cycle, if longer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=118932676&loc=d3e3291-108585 + Details
Name: | us-gaap_RepaymentsOfLongTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_DebtInstrumentAxis=eme_CreditAgreement2016MemberMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=eme_RevolvingCreditFacility2016MemberMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=eme_TermLoan2016MemberMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_BaseRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=eme_CreditAgreementBaseRateBankofMontrealPrimeRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=eme_CreditAgreementBaseRateDailyOneMonthLIBORRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_LondonInterbankOfferedRateLIBORMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=eme_CreditAgreementBaseRateFederalFundsRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=eme_CreditAgreement0BaseRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_RevolvingCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |