XML 93 R76.htm IDEA: XBRL DOCUMENT
v3.6.0.2

Debt Obligations (Credit Facility - Amended and Restated Credit Agreement) - Additional Information (Detail) - Current Credit Agreement [Member] | 12 Months Ended
--- | ---
Dec. 31, 2016 USD ($)
Line of Credit Facility [Line Items] |
Senior secured revolving credit facility | $ 1,810,000,000
Maturity date of senior secured revolving credit facility | Dec. 18, 2020
Option to increase revolving commitments under the credit agreement | $ 400,000,000
Revolving Loans and Letter of Credit in Alternative Currencies [Member] |
Line of Credit Facility [Line Items] |
Senior secured revolving credit facility | 600,000,000
U S Dollar [Member] | Swing Lines Loan [Member] |
Line of Credit Facility [Line Items] |
Senior secured revolving credit facility | 100,000,000
Canadian Dollars [Member] | Swing Lines Loan [Member] |
Line of Credit Facility [Line Items] |
Senior secured revolving credit facility | 50,000,000
Australian Dollars [Member] | Swing Lines Loan [Member] |
Line of Credit Facility [Line Items] |
Senior secured revolving credit facility | $ 30,000,000

X
- Definition Option to increase revolving commitments under credit agreement. + References No definition available. + Details
Name: | pwr_OptionToIncreaseRevolvingCommitmentsUnderCreditAgreement
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Date the credit facility terminates, in CCYY-MM-DD format. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -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_LineOfCreditFacilityExpirationDate1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
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://www.xbrl.org/2003/role/presentationRef -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
- Details
Name: | us-gaap_DebtInstrumentAxis=pwr_FourthAmendedAndRestatedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_CurrencyAxis=currency_USD
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_CurrencyAxis=currency_CAD
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CurrencyAxis=currency_AUD
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |