XML 75 R64.htm IDEA: XBRL DOCUMENT
v3.20.2

Debt Obligations - Narrative (Details) - USD ($) |  |  |  |  |  | 1 Months Ended | 3 Months Ended | 9 Months Ended |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Jul. 01, 2030 | Sep. 30, 2020 | Sep. 21, 2020 | Jun. 30, 2020 | Sep. 30, 2019 | Sep. 30, 2019 | Oct. 31, 2018 | Sep. 30, 2020 | Sep. 30, 2019 | Sep. 30, 2020 | Sep. 30, 2019 | Sep. 22, 2020 | Dec. 31, 2019
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Proceeds from notes offering |  |  |  |  |  |  |  | $ 990,130,000 | $ 0 | $ 990,130,000 | $ 0 |  |
Payments under credit facility |  |  |  |  |  |  |  | 1,648,614,000 | 1,789,924,000 | 3,602,660,000 | 4,038,762,000 |  |
Amount borrowed under the credit facility |  | $ 195,350,000 |  |  |  |  |  | 195,350,000 |  | 195,350,000 |  |  | $ 1,346,290,000
Borrowings under credit facility |  |  |  |  |  |  |  | 478,762,000 | $ 2,118,501,000 | 2,453,941,000 | $ 4,834,014,000 |  |
Term Loan |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Payments under credit facility |  |  |  |  |  |  |  | 1,210,000,000 |  |  |  |  |
Letters of Credit |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Letters of credit and bank guarantees |  | 91,900,000 |  |  |  |  |  | 91,900,000 |  | 91,900,000 |  |  |
2.900% Senior Notes due 2030 | Senior Notes |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument |  | $ 1,000,000,000.00 |  |  |  |  |  | $ 1,000,000,000.00 |  | $ 1,000,000,000.00 |  |  |
Interest rate |  | 2.90% |  |  |  |  |  | 2.90% |  | 2.90% |  |  |
Proceeds from notes offering |  |  |  |  |  |  |  | $ 986,700,000 |  |  |  |  |
2.900% Senior Notes due 2030 | Senior Notes | Debt Instrument, Redemption, Period One |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Redemption price, percentage |  |  |  |  |  |  |  | 100.00% |  |  |  |  |
2.900% Senior Notes due 2030 | Senior Notes | Debt Instrument, Redemption, Period Two | Forecast |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Redemption price, percentage | 100.00% |  |  |  |  |  |  |  |  |  |  |  |
2.900% Senior Notes due 2030 | Maximum | Senior Notes | Debt Instrument, Redemption, Period One |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Redemption price, percentage |  |  |  |  |  |  |  | 101.00% |  |  |  |  |
Senior Credit Facility |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Option to increase revolving commitments under the credit agreement |  | $ 400,000,000.0 |  |  |  |  |  | $ 400,000,000.0 |  | $ 400,000,000.0 |  |  |
Credit facility available for revolving loans or issuing new letters of credit |  | $ 1,950,000,000 |  |  |  |  |  | $ 1,950,000,000 |  | 1,950,000,000 |  |  |
Reduction in Quanta's funded indebtedness reduced by cash and cash equivalents in excess of this amount |  |  |  |  |  |  |  |  |  | $ 25,000,000.0 |  |  |
Maximum consolidated leverage ratio |  | 3.5 |  |  |  |  |  | 3.5 |  | 3.5 |  |  |
Acquisition threshold for leverage ratio |  |  |  |  |  |  |  |  |  | $ 200,000,000.0 |  |  |
Maximum consolidated leverage ratio permissible under credit agreement |  |  |  |  |  |  |  |  |  | 4.0 |  |  |
Minimum consolidated interest coverage ratio |  |  |  |  |  |  |  |  |  | 3.0 |  |  |
Amount of availability under the credit agreement and/or cash and cash equivalents on hand that must be present to allow for cash payments of dividends and stock repurchases |  | $ 100,000,000.0 |  |  |  |  |  | $ 100,000,000.0 |  | $ 100,000,000.0 |  |  |
Cross default provisions with debt instruments exceeding this amount |  | $ 150,000,000.0 |  |  |  |  |  | 150,000,000.0 |  | $ 150,000,000.0 |  |  |
Senior Credit Facility | Minimum |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Commitment fee |  | 0.275% | 0.20% |  |  |  |  |  |  |  |  |  |
Senior Credit Facility | Maximum |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Commitment fee |  | 0.425% | 0.40% |  |  |  |  |  |  |  |  |  |
Senior Credit Facility | Excess of Eurocurrency Rate Applicable to Domestic Borrowings Only | Minimum |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument basis spread on variable rate |  |  |  |  |  |  |  |  |  | 1.125% |  |  |
Senior Credit Facility | Excess of Eurocurrency Rate Applicable to Domestic Borrowings Only | Maximum |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument basis spread on variable rate |  |  |  |  |  |  |  |  |  | 2.00% |  |  |
Senior Credit Facility | Excess of Base Rate Domestic Borrowings Only | Minimum |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument basis spread on variable rate |  |  |  |  |  |  |  |  |  | 0.125% |  |  |
Senior Credit Facility | Excess of Base Rate Domestic Borrowings Only | Maximum |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument basis spread on variable rate |  |  |  |  |  |  |  |  |  | 1.00% |  |  |
Senior Credit Facility | Excess of Euro Currency Rate of Credit Agreement for Foreign Borrowings | Minimum |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument basis spread on variable rate |  |  |  |  |  |  |  |  |  | 1.125% |  |  |
Senior Credit Facility | Excess of Euro Currency Rate of Credit Agreement for Foreign Borrowings | Maximum |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument basis spread on variable rate |  |  |  |  |  |  |  |  |  | 2.00% |  |  |
Senior Credit Facility | Excess of Federal Funds Rate |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument basis spread on variable rate |  |  |  |  |  |  |  |  |  | 0.50% |  |  |
Senior Credit Facility | Excess of Euro Currency Rate |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument basis spread on variable rate |  |  |  |  |  |  |  |  |  | 1.00% |  |  |
Senior Credit Facility | Canadian Dollars |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Amount borrowed under the credit facility |  | $ 151,700,000 |  |  |  |  |  | 151,700,000 |  | $ 151,700,000 |  |  |
Senior Credit Facility | Australian Dollars |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Amount borrowed under the credit facility |  | 43,700,000 |  |  |  |  |  | 43,700,000 |  | $ 43,700,000 |  |  |
Senior Credit Facility | Revolving Credit Facility |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Borrowing capacity |  |  | $ 2,140,000,000 |  |  |  |  |  |  |  |  | $ 2,510,000,000 |
Senior Credit Facility | Term Loan |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Borrowings under credit facility |  |  |  |  |  | $ 675,000,000.0 | $ 600,000,000.0 |  |  |  |  |  |
Quarterly amortization payment |  |  |  | $ 16,100,000 | $ 7,500,000 |  |  |  |  |  |  |  |
Senior Credit Facility | Term Loan | Eurocurrency Rate | Minimum |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument basis spread on variable rate |  |  |  |  |  |  |  |  |  | 1.125% |  |  |
Senior Credit Facility | Term Loan | Eurocurrency Rate | Maximum |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument basis spread on variable rate |  |  |  |  |  |  |  |  |  | 1.875% |  |  |
Senior Credit Facility | Revolving Loans and Letters of Credit in Alternative Currencies | U.S. Dollar |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Borrowing capacity |  | 800,000,000.0 |  |  |  |  |  | 800,000,000.0 |  | $ 800,000,000.0 |  |  |
Senior Credit Facility | Swing Lines Loan | U.S. Dollar |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Borrowing capacity |  | 100,000,000.0 |  |  |  |  |  | 100,000,000.0 |  | 100,000,000.0 |  |  |
Senior Credit Facility | Swing Lines Loan | Canadian Dollars |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Borrowing capacity |  | 50,000,000.0 |  |  |  |  |  | 50,000,000.0 |  | 50,000,000.0 |  |  |
Senior Credit Facility | Swing Lines Loan | Australian Dollars |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Borrowing capacity |  | 50,000,000.0 |  |  |  |  |  | 50,000,000.0 |  | 50,000,000.0 |  |  |
Senior Credit Facility | Letters of Credit and Bank Guarantees | U.S. Dollar |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Letters of credit and bank guarantees |  | 265,100,000 |  |  |  |  |  | 265,100,000 |  | 265,100,000 |  |  |
Senior Credit Facility | Letters of Credit and Bank Guarantees | Canadian Dollars |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Letters of credit and bank guarantees |  | 99,400,000 |  |  |  |  |  | 99,400,000 |  | 99,400,000 |  |  |
Senior Credit Facility | Letters of Credit |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Borrowing capacity |  | 900,000,000.0 |  |  |  |  |  | 900,000,000.0 |  | 900,000,000.0 |  |  |
Letters of credit and bank guarantees |  | 364,500,000 |  |  |  |  |  | 364,500,000 |  | 364,500,000 |  |  |
Senior Credit Facility | Letters of Credit | Senior Credit Facility Lender |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Letters of credit and bank guarantees |  | $ 93,000,000.0 |  |  |  |  |  | $ 93,000,000.0 |  | $ 93,000,000.0 |  |  |
Senior Credit Facility | Standby Letters of Credit | Minimum |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument basis spread on variable rate |  |  |  |  |  |  |  |  |  | 1.125% |  |  |
Senior Credit Facility | Standby Letters of Credit | Maximum |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument basis spread on variable rate |  |  |  |  |  |  |  |  |  | 2.00% |  |  |
Senior Credit Facility | Performance Letters of Credit | Minimum |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument basis spread on variable rate |  |  |  |  |  |  |  |  |  | 0.675% |  |  |
Senior Credit Facility | Performance Letters of Credit | Maximum |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument basis spread on variable rate |  |  |  |  |  |  |  |  |  | 1.15% |  |  |

X
- Definition Amount of availability under the credit agreement and/or cash and cash equivalents on hand that must be present to allow for cash payments of dividends and stock repurchases. + References No definition available. + Details
Name: | pwr_AvailabilityAmountToAllowDividendsAndStockRepurchases
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Cross-default provisions. + References No definition available. + Details
Name: | pwr_CrossDefaultProvisions
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Debt Instrument, Covenant, Acquisition Threshold For Leverage Ratio + References No definition available. + Details
Name: | pwr_DebtInstrumentCovenantAcquisitionThresholdForLeverageRatio
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Debt Instrument, Covenant, Interest Coverage Ratio, Minimum + References No definition available. + Details
Name: | pwr_DebtInstrumentCovenantInterestCoverageRatioMinimum
Namespace Prefix: | pwr_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt Instrument, Covenant, Leverage Ratio, Maximum + References No definition available. + Details
Name: | pwr_DebtInstrumentCovenantLeverageRatioMaximum
Namespace Prefix: | pwr_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | instant

X
- Definition Line Of Credit Facility, Covenant, Maximum Leverage Ratio + References No definition available. + Details
Name: | pwr_LineOfCreditFacilityCovenantMaximumLeverageRatio
Namespace Prefix: | pwr_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line Of Credit Facility, Option To Increase, Amount + References No definition available. + Details
Name: | pwr_LineOfCreditFacilityOptionToIncreaseAmount
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Reduction in Quanta's maximum funded debt and maximum senior debt by all cash and cash equivalents in excess of amount. + References No definition available. + Details
Name: | pwr_ReductionInCompanyMaximumFundedDebtAndMaximumSeniorDebtByAllCashAndCashEquivalentsInExcessOfAmount
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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 Face (par) amount of debt instrument at time of issuance. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=119993939&loc=d3e28551-108399 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400 + Details
Name: | us-gaap_DebtInstrumentFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Contractual interest rate for funds borrowed, under the debt 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(a)(1)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

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=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentPeriodicPaymentPrincipal
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Percentage price of original principal amount of debt at which debt can be redeemed by the issuer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 50 -Paragraph 3 -Subparagraph e -URI http://asc.fasb.org/extlink&oid=75038535&loc=d3e64711-112823 + Details
Name: | us-gaap_DebtInstrumentRedemptionPricePercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
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 carrying value as of the balance sheet date of the current and noncurrent portions 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=120391452&loc=d3e13212-122682 Reference 2: 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=120398452&loc=d3e534808-122878 Reference 3: 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(16)) -URI http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910 + Details
Name: | us-gaap_LineOfCredit
Namespace Prefix: | us-gaap_
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=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of borrowing capacity currently available under the credit facility (current borrowing capacity less the amount of borrowings outstanding). + 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=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity
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 The cash inflow during the period from additional borrowings in aggregate debt. Includes proceeds from short-term and long-term debt. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121586364&loc=d3e3255-108585 + Details
Name: | us-gaap_ProceedsFromIssuanceOfDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash inflow from a contractual arrangement with the lender, including letter of credit, standby letter of credit and revolving credit arrangements, under which borrowings can be made up to a specific amount at any point in time with maturities due beyond one year or the 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 14 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121586364&loc=d3e3255-108585 + Details
Name: | us-gaap_ProceedsFromLongTermLinesOfCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash outflow for the settlement of obligation drawn from a contractual arrangement with the lender, including letter of credit, standby letter of credit and revolving credit arrangements, under which borrowings can be made up to a specific amount at any point in time with maturities due beyond one year or the 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=121586364&loc=d3e3291-108585 + Details
Name: | us-gaap_RepaymentsOfLongTermLinesOfCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

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

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

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_SeniorNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentRedemptionPeriodAxis=us-gaap_DebtInstrumentRedemptionPeriodOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentRedemptionPeriodAxis=us-gaap_DebtInstrumentRedemptionPeriodTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementScenarioAxis=srt_ScenarioForecastMember
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_DebtInstrumentAxis=pwr_SeniorCreditFacilityMember
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: | us-gaap_VariableRateAxis=pwr_ExcessOfEurocurrencyRateApplicableToDomesticBorrowingsOnlyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

X
- Details
Name: | us-gaap_VariableRateAxis=pwr_ExcessOfEuroCurrencyRateMember
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: |

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

X
- Details
Name: | us-gaap_VariableRateAxis=pwr_EurocurrencyRateMember
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: | us-gaap_CreditFacilityAxis=pwr_LettersOfCreditAndBankGuaranteesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LineOfCreditFacilityAxis=pwr_SeniorCreditFacilityLenderMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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