XML 70 R60.htm IDEA: XBRL DOCUMENT
v3.10.0.1

Debt Obligations - Senior Secured Credit Facility (Detail) - Senior Secured Credit Facility - USD ($) | Oct. 10, 2018 | Dec. 18, 2015
--- | --- | ---
Line of Credit Facility [Line Items] |  |
Borrowing capacity |  | $ 1,810,000,000
Option to increase revolving commitments under the credit agreement |  | 400,000,000.0
Subsequent Event |  |
Line of Credit Facility [Line Items] |  |
Borrowing capacity | $ 2,590,000,000 |
Revolving Credit Facility | Subsequent Event |  |
Line of Credit Facility [Line Items] |  |
Borrowing capacity | 1,990,000,000 |
Increase in maximum borrowing capacity | 175,000,000.0 |
Term Loan | Subsequent Event |  |
Line of Credit Facility [Line Items] |  |
Borrowing capacity | 600,000,000.0 |
Revolving Loans and Letters of Credit in Alternative Currencies |  |
Line of Credit Facility [Line Items] |  |
Borrowing capacity |  | 600,000,000.0
U.S. Dollar | Swing Lines Loan |  |
Line of Credit Facility [Line Items] |  |
Borrowing capacity |  | 100,000,000.0
Canadian Dollars | Swing Lines Loan |  |
Line of Credit Facility [Line Items] |  |
Borrowing capacity |  | 50,000,000.0
Australian Dollars | Swing Lines Loan |  |
Line of Credit Facility [Line Items] |  |
Borrowing capacity |  | $ 30,000,000.0
Australian Dollars | Swing Lines Loan | Subsequent Event |  |
Line of Credit Facility [Line Items] |  |
Borrowing capacity | $ 50,000,000.0 |

X
- Definition Line Of Credit Facility, Increase In Maximum Borrowing Capacity + References No definition available. + Details
Name: | pwr_LineOfCreditFacilityIncreaseInMaximumBorrowingCapacity
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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://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
- Details
Name: | us-gaap_DebtInstrumentAxis=pwr_SeniorSecuredCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember
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: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=pwr_TermLoanMember
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: | srt_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: | srt_CurrencyAxis=currency_CAD
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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