XML 61 R51.htm IDEA: XBRL DOCUMENT
v3.7.0.1

Debt Obligations - Credit Facility Amended and Restated Credit Agreement (Detail) - Current Credit Agreement | Jun. 30, 2017 USD ($)
--- | ---
Line of Credit Facility [Line Items] |
Senior secured revolving credit facility | $ 1,810,000,000
Option to increase revolving commitments under the credit agreement | 400,000,000
Revolving Loans and Letters of Credit in Alternative Currencies |
Line of Credit Facility [Line Items] |
Senior secured revolving credit facility | 600,000,000
U S Dollar | Swing Lines Loan |
Line of Credit Facility [Line Items] |
Senior secured revolving credit facility | 100,000,000
Canadian Dollars | Swing Lines Loan |
Line of Credit Facility [Line Items] |
Senior secured revolving credit facility | 50,000,000
Australian Dollars | Swing Lines Loan |
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 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: |