XML 91 R76.htm IDEA: XBRL DOCUMENT
v3.20.4

Debt Obligations - Narrative (Details) - USD ($) |  |  |  |  | 1 Months Ended | 3 Months Ended | 6 Months Ended | 9 Months Ended | 12 Months Ended |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Jul. 01, 2030 | Sep. 30, 2020 | Sep. 21, 2020 | Oct. 10, 2018 | Sep. 30, 2019 | Oct. 31, 2018 | Dec. 31, 2020 | Jun. 30, 2020 | Sep. 30, 2019 | Dec. 31, 2020 | Dec. 31, 2019 | Dec. 31, 2018 | Sep. 22, 2020
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Proceeds from notes offering |  |  |  |  |  |  |  |  |  | $ 990,130,000 | $ 0 | $ 0 |
Payments under credit facility |  |  |  |  |  |  |  |  |  | 4,187,645,000 | 5,903,069,000 | 4,076,460,000 |
Borrowings under senior credit facility |  |  |  |  |  |  | $ 148,508,000 |  |  | 148,508,000 | 1,346,290,000 |  |
Borrowings under credit facility |  |  |  |  |  |  |  |  |  | 2,983,529,000 | $ 6,175,558,000 | $ 4,491,782,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 under the credit facility |  |  |  |  |  |  | $ 18,200,000 |  |  | $ 18,200,000 |  |  |
2.900% Senior Notes due 2030 | Senior Notes |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument |  |  |  |  |  |  |  |  |  |  |  |  | $ 1,000,000,000.00
Instrument rate |  |  |  |  |  |  | 2.90% |  |  | 2.90% |  |  |
Proceeds from notes offering |  |  |  |  |  |  |  |  |  | $ 986,700,000 |  |  |
Interest on the senior notes |  |  |  |  |  |  | $ 14,500,000 |  |  | 14,500,000 |  |  |
2.900% Senior Notes due 2030 | Senior Notes | Debt Instrument, Redemption, Period One |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Redemption price |  |  |  |  |  |  | 100.00% |  |  |  |  |  |
2.900% Senior Notes due 2030 | Senior Notes | Debt Instrument, Redemption, Period Two | Forecast |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Redemption price | 100.00% |  |  |  |  |  |  |  |  |  |  |  |
2.900% Senior Notes due 2030 | Maximum | Senior Notes | Debt Instrument, Redemption, Period One |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Redemption price |  |  |  |  |  |  | 101.00% |  |  |  |  |  |
Senior Secured 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 |  |  |
Reduction in Quanta's funded indebtedness reduced by cash and cash equivalents in excess of this amount |  |  |  |  |  |  |  |  |  | 25,000,000.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 |  |  |
Cross default provisions with debt instruments exceeding this amount |  |  |  |  |  |  | 150,000,000.0 |  |  | $ 150,000,000.0 |  |  |
Senior Secured Credit Facility | Minimum |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Commitment fee |  |  | 0.20% |  |  |  |  |  |  |  |  |  |
Senior Secured Credit Facility | Maximum |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Commitment fee |  |  | 0.40% |  |  |  |  |  |  |  |  |  |
Senior Secured 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 Secured 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 Secured 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 Secured 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 Secured 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 Secured 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 Secured Credit Facility | Excess of Federal Funds Rate |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument basis spread on variable rate |  |  |  |  |  |  |  |  |  | 0.50% |  |  |
Senior Secured Credit Facility | Excess of Euro Currency Rate |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument basis spread on variable rate |  |  |  |  |  |  |  |  |  | 1.00% |  |  |
Senior Secured Credit Facility | Canadian Dollars |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Borrowings under senior credit facility |  |  |  |  |  |  | 114,700,000 |  |  | $ 114,700,000 |  |  |
Senior Secured Credit Facility | Australian Dollars |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Borrowings under senior credit facility |  |  |  |  |  |  | 33,800,000 |  |  | 33,800,000 |  |  |
Senior Secured Credit Facility | Revolving Credit Facility |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Senior secured revolving credit facility |  |  | $ 2,140,000,000 |  |  |  |  |  |  |  |  |  | $ 2,510,000,000
Credit facility available for revolving loans or issuing new letters of credit |  |  |  |  |  |  | 2,010,000,000.00 |  |  | 2,010,000,000.00 |  |  |
Senior Secured Credit Facility | Term Loan |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Borrowings under credit facility |  |  |  |  | $ 687,500,000 | $ 600,000,000.0 |  |  |  |  |  |  |
Required quarterly principal payment amount |  |  |  |  |  |  |  | $ 16,100,000 | $ 7,500,000 |  |  |  |
Senior Secured Credit Facility | Term Loan | Excess of Eurocurrency Rate Based on Leverage Ratio | Minimum |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument basis spread on variable rate |  |  |  | 1.125% |  |  |  |  |  |  |  |  |
Senior Secured Credit Facility | Term Loan | Excess of Eurocurrency Rate Based on Leverage Ratio | Maximum |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument basis spread on variable rate |  |  |  | 1.875% |  |  |  |  |  |  |  |  |
Senior Secured Credit Facility | Revolving Loans and Letters of Credit | U.S. Dollars |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Senior secured revolving credit facility |  |  |  |  |  |  | 800,000,000.0 |  |  | 800,000,000.0 |  |  |
Senior Secured Credit Facility | Swing Lines Loan | U.S. Dollars |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Senior secured revolving credit facility |  |  |  |  |  |  | 100,000,000.0 |  |  | 100,000,000.0 |  |  |
Senior Secured Credit Facility | Swing Lines Loan | Canadian Dollars |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Senior secured revolving credit facility |  |  |  |  |  |  | 50,000,000.0 |  |  | 50,000,000.0 |  |  |
Senior Secured Credit Facility | Swing Lines Loan | Australian Dollars |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Senior secured revolving credit facility |  |  |  |  |  |  | 50,000,000.0 |  |  | 50,000,000.0 |  |  |
Senior Secured Credit Facility | Letters of Credit and Bank Guarantees | U.S. Dollars |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Letters of credit and bank guarantees under the credit facility |  |  |  |  |  |  | 231,000,000.0 |  |  | 231,000,000.0 |  |  |
Senior Secured Credit Facility | Letters of Credit and Bank Guarantees | Canadian Dollars |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Letters of credit and bank guarantees under the credit facility |  |  |  |  |  |  | $ 117,300,000 |  |  | $ 117,300,000 |  |  |
Senior Secured Credit Facility | Standby Letters of Credit | Minimum |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument basis spread on variable rate |  |  |  |  |  |  |  |  |  | 1.125% |  |  |
Senior Secured Credit Facility | Standby Letters of Credit | Maximum |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument basis spread on variable rate |  |  |  |  |  |  |  |  |  | 2.00% |  |  |
Senior Secured Credit Facility | Performance Letters of Credit | Minimum |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument basis spread on variable rate |  |  |  |  |  |  |  |  |  | 0.675% |  |  |
Senior Secured Credit Facility | Performance Letters of Credit | Maximum |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument basis spread on variable rate |  |  |  |  |  |  |  |  |  | 1.15% |  |  |
Senior Credit Facility |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Maximum consolidated leverage ratio permissible under credit agreement |  |  |  |  |  |  |  |  |  | 4.0 |  |  |
Maximum consolidated leverage ratio |  |  |  |  |  |  | 3.5 |  |  | 3.5 |  |  |
Acquisition threshold for leverage ratio |  |  |  |  |  |  |  |  |  | $ 200,000,000.0 |  |  |
Minimum consolidated interest coverage ratio |  |  |  |  |  |  |  |  |  | 3.0 |  |  |
Senior Credit Facility | Minimum |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Commitment fee |  | 0.275% |  |  |  |  |  |  |  |  |  |  |
Senior Credit Facility | Maximum |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Commitment fee |  | 0.425% |  |  |  |  |  |  |  |  |  |  |
Senior Credit Facility | Letters of Credit |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Senior secured revolving credit facility |  |  |  |  |  |  | $ 900,000,000.0 |  |  | $ 900,000,000.0 |  |  |
Letters of credit and bank guarantees under the credit facility |  |  |  |  |  |  | 348,300,000 |  |  | 348,300,000 |  |  |
Senior Credit Facility | Letters of Credit | Senior Credit Facility Lender |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |
Letters of credit and bank guarantees under the credit facility |  |  |  |  |  |  | $ 19,100,000 |  |  | $ 19,100,000 |  |  |

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 Amount of interest payable on debt, including, but not limited to, trade payables. + References Reference 1: 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.15(5)) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 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.15(a)) -URI http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910 + Details
Name: | us-gaap_InterestPayableCurrentAndNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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_SeniorSecuredCreditFacilityMember
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_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: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=pwr_SeniorCreditFacilityMember
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: |