XML 47 R36.htm IDEA: XBRL DOCUMENT
v3.20.2

Summary of Significant Accounting Policies - Revenue Recognition (Details) $ in Thousands | 3 Months Ended | 6 Months Ended |  |  |  |  |
--- | --- | --- | --- | --- | --- | --- | ---
Jun. 30, 2020 USD ($) pool | Jun. 30, 2019 USD ($) | Jun. 30, 2020 USD ($) pool | Jun. 30, 2019 USD ($) | Aug. 07, 2020 mi | Mar. 31, 2020 USD ($) | Dec. 31, 2019 USD ($) | Mar. 31, 2019 USD ($) | Dec. 31, 2018 USD ($)
Revenue Recognition [Line Items] |  |  |  |  |  |  |  |  |
Revenues recognized related to change orders and claims | $ 147,800 |  | $ 147,800 |  |  |  | $ 170,000 |  |
Change in contract estimates, favorable (unfavorable) impact on operating results, amount |  | $ (20,400) |  |  |  |  |  |  |
Change in contract estimates, favorable (unfavorable) impact on operating results, percent (less than for quarter-to-date and year to date 2020 and year-to-date 2019) | 5.00% | (6.40%) | 5.00% | 5.00% |  |  |  |  |
Gross profit | $ 355,264 | $ 319,505 | $ 687,460 | $ 683,486 |  |  |  |  |
Percent of total revenues recognized associated with revenue recognition method | 48.40% | 49.10% | 48.20% | 50.50% |  |  |  |  |
Revenue, related to performance obligation satisfied in previous periods |  |  | $ 40,900 |  |  |  |  |  |
Revenue recognized related to amounts in contract liabilities outstanding at the beginning of period |  |  | 338,300 |  |  |  |  |  |
Stockholders' equity | $ 3,918,002 | $ 3,776,259 | 3,918,002 | $ 3,776,259 |  | $ 3,795,178 | 4,053,831 | $ 3,725,057 | $ 3,605,453
Allowances for doubtful accounts on current receivables | 14,948 |  | 14,948 |  |  |  | 9,398 |  |
Deferred income taxes | (220,689) |  | (220,689) |  |  |  | (214,779) |  |
Long-term accounts receivable | 12,300 |  | 12,300 |  |  |  | 12,600 |  |
Current retainage balances | 316,700 |  | 316,700 |  |  |  | 299,600 |  |
Non-current retainage balances | 50,600 |  | 50,600 |  |  |  | 54,200 |  |
Unbilled receivables | $ 523,000 |  | $ 523,000 |  |  |  | 524,300 |  |
Number of pools used for the purpose of calculating its historical credit loss experience | pool | 1 |  | 1 |  |  |  |  |  |
Accounts Payable and Accrued Expenses |  |  |  |  |  |  |  |  |
Revenue Recognition [Line Items] |  |  |  |  |  |  |  |  |
Unearned revenues | $ 28,600 |  | $ 28,600 |  |  |  | 33,200 |  |
Retained Earnings |  |  |  |  |  |  |  |  |
Revenue Recognition [Line Items] |  |  |  |  |  |  |  |  |
Stockholders' equity | 2,948,180 | 2,612,994 | 2,948,180 | 2,612,994 |  | $ 2,881,416 | 2,854,271 | $ 2,591,883 | $ 2,477,291
Adjustment due to Adoption of New ASU |  |  |  |  |  |  |  |  |
Revenue Recognition [Line Items] |  |  |  |  |  |  |  |  |
Stockholders' equity |  |  |  |  |  |  | (3,841) |  |
Allowances for doubtful accounts on current receivables |  |  |  |  |  |  | 5,100 |  |
Deferred income taxes |  |  |  |  |  |  | 1,200 |  |
Adjustment due to Adoption of New ASU | Retained Earnings |  |  |  |  |  |  |  |  |
Revenue Recognition [Line Items] |  |  |  |  |  |  |  |  |
Stockholders' equity |  |  |  |  |  |  | $ (3,841) |  |
Atlantic Coast Pipeline | Subsequent Event |  |  |  |  |  |  |  |  |
Revenue Recognition [Line Items] |  |  |  |  |  |  |  |  |
Length of natural gas pipeline | mi |  |  |  |  | 600 |  |  |  |
Larger Pipeline Transmission Project |  |  |  |  |  |  |  |  |
Revenue Recognition [Line Items] |  |  |  |  |  |  |  |  |
Change in contract estimates, favorable (unfavorable) impact on operating results, amount |  |  | 14,100 |  |  |  |  |  |
Contract value | $ 106,000 |  | $ 106,000 |  |  |  |  |  |
Percentage of project completion | 97.00% |  | 97.00% |  |  |  |  |  |
Processing Facility Construction Project - Texas |  |  |  |  |  |  |  |  |
Revenue Recognition [Line Items] |  |  |  |  |  |  |  |  |
Change in contract estimates, favorable (unfavorable) impact on operating results, amount |  | (13,900) |  | (22,300) |  |  |  |  |
EPC Electric Transmission Project |  |  |  |  |  |  |  |  |
Revenue Recognition [Line Items] |  |  |  |  |  |  |  |  |
Change in contract estimates, favorable (unfavorable) impact on operating results, amount |  |  |  | 28,200 |  |  |  |  |
Correction of Estimated Project Costs and Percentage of Completion Method | Project Contract Termination | Revision of Prior Period |  |  |  |  |  |  |  |  |
Revenue Recognition [Line Items] |  |  |  |  |  |  |  |  |
Gross profit |  | $ (14,500) |  | $ (9,600) |  |  |  |  |

X
- Definition Contract With Customer, Contract Value + References No definition available. + Details
Name: | pwr_ContractWithCustomerContractValue
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Contract With Customer, Cumulative Catch-Up Adjustment To Gross Profit, Change In Estimate + References No definition available. + Details
Name: | pwr_ContractWithCustomerCumulativeCatchUpAdjustmentToGrossProfitChangeInEstimate
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Contract With Customer, Cumulative Catch-Up Adjustment, To Gross Profit, Change In Estimate, Percent + References No definition available. + Details
Name: | pwr_ContractWithCustomerCumulativeCatchUpAdjustmentToGrossProfitChangeInEstimatePercent
Namespace Prefix: | pwr_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Contract With Customer, Liability, Deferred Revenues, Current + References No definition available. + Details
Name: | pwr_ContractWithCustomerLiabilityDeferredRevenuesCurrent
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Contract With Customer, Percentage Of Completion + References No definition available. + Details
Name: | pwr_ContractWithCustomerPercentageOfCompletion
Namespace Prefix: | pwr_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Revenue Recognized, Related To Unapproved Change Orders And Claims + References No definition available. + Details
Name: | pwr_ContractWithCustomerRevenueRecognizedRelatedToUnapprovedChangeOrdersAndClaims
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Length Of Natural Gas Pipeline + References No definition available. + Details
Name: | pwr_LengthOfNaturalGasPipeline
Namespace Prefix: | pwr_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number Of Pools Used For Calculating Historical Credit Losses + References No definition available. + Details
Name: | pwr_NumberOfPoolsUsedForCalculatingHistoricalCreditLosses
Namespace Prefix: | pwr_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Revenue From Contract With Customer, Percentage Of Revenue Recognized Over Time + References No definition available. + Details
Name: | pwr_RevenueFromContractWithCustomerPercentageOfRevenueRecognizedOverTime
Namespace Prefix: | pwr_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Revenue recognition. + References No definition available. + Details
Name: | pwr_RevenueRecognitionLineItems
Namespace Prefix: | pwr_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, after allowance for credit loss, of right to consideration from customer for product sold and service rendered in normal course of business, classified as noncurrent. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(5)) -URI http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(9)) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(3)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=121593590&loc=d3e4428-111522 + Details
Name: | us-gaap_AccountsReceivableNetNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of allowance for credit loss on accounts receivable, classified as current. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(4) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=121611835&loc=d3e5074-111524 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=121599878&loc=SL82895884-210446 + Details
Name: | us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of revenue recognized that was previously included in balance of obligation to transfer good or service to customer for which consideration from customer has been received or is due. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 8 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121604090&loc=SL49130549-203045 + Details
Name: | us-gaap_ContractWithCustomerLiabilityRevenueRecognized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of revenue recognized from performance obligation satisfied or partially satisfied in previous reporting periods. Includes, but is not limited to, change in transaction price. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 12A -URI http://asc.fasb.org/extlink&oid=121604090&loc=SL108322424-203045 + Details
Name: | us-gaap_ContractWithCustomerPerformanceObligationSatisfiedInPreviousPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount, after allowance for credit loss, of right to consideration in exchange for good or service transferred to customer when right to consideration is unconditional, classified as current. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 45 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=121556615&loc=SL49130534-203044 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=121556615&loc=SL49130531-203044 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 8 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121604090&loc=SL49130549-203045 + Details
Name: | us-gaap_ContractWithCustomerReceivableAfterAllowanceForCreditLossCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, after allowance for credit loss, of right to consideration in exchange for good or service transferred to customer when right to consideration is unconditional, classified as noncurrent. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 45 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=121556615&loc=SL49130534-203044 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 8 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121604090&loc=SL49130549-203045 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=121556615&loc=SL49130531-203044 + Details
Name: | us-gaap_ContractWithCustomerReceivableAfterAllowanceForCreditLossNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, after deferred tax asset, of deferred tax liability attributable to taxable differences with jurisdictional netting. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 45 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=120406818&loc=d3e31931-109318 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 45 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=120406818&loc=d3e31917-109318 + Details
Name: | us-gaap_DeferredIncomeTaxLiabilitiesNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Aggregate revenue less cost of goods and services sold or operating expenses directly attributable to the revenue generation activity. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 31 -URI http://asc.fasb.org/extlink&oid=120311839&loc=d3e8924-108599 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 30 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=120311839&loc=d3e8906-108599 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(g)(1)(ii)) -URI http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 22 -URI http://asc.fasb.org/extlink&oid=120311839&loc=d3e8736-108599 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 28 -Subparagraph (f) -URI http://asc.fasb.org/extlink&oid=75031198&loc=d3e14064-108612 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 32 -Subparagraph (f) -URI http://asc.fasb.org/extlink&oid=120311839&loc=d3e8933-108599 Reference 8: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.1,2) -URI http://asc.fasb.org/extlink&oid=120395209&loc=SL114868664-224227 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 32 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=120311839&loc=d3e8933-108599 + Details
Name: | us-gaap_GrossProfit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of stockholders' equity (deficit), net of receivables from officers, directors, owners, and affiliates of the entity, attributable to both the parent and noncontrolling interests. Amount excludes temporary equity. Alternate caption for the concept is permanent equity. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section 45 -Paragraph 24 -URI http://asc.fasb.org/extlink&oid=115929471&loc=d3e21930-107793 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 830 -SubTopic 30 -Section 45 -Paragraph 17 -URI http://asc.fasb.org/extlink&oid=118261656&loc=d3e32136-110900 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section 45 -Paragraph 23 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=115929471&loc=d3e21914-107793 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section 50 -Paragraph 7 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=109234566&loc=d3e22644-107794 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 10 -Section 65 -Paragraph 4 -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=121646688&loc=SL121648383-210437 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 40 -Section 65 -Paragraph 2 -Subparagraph (f)(2) -URI http://asc.fasb.org/extlink&oid=121370832&loc=SL117420844-207641 Reference 8: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 45 -Paragraph 16 -URI http://asc.fasb.org/extlink&oid=108774443&loc=SL4568740-111683 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 65 -Paragraph 15 -Subparagraph (f)(2) -URI http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333 Reference 10: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 55 -Paragraph 4I -URI http://asc.fasb.org/extlink&oid=120409616&loc=SL4590271-111686 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 40 -Section 65 -Paragraph 2 -Subparagraph (f)(1) -URI http://asc.fasb.org/extlink&oid=121370832&loc=SL117420844-207641 Reference 12: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 28 -Subparagraph (f) -URI http://asc.fasb.org/extlink&oid=75031198&loc=d3e14064-108612 Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 830 -SubTopic 30 -Section 45 -Paragraph 20 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900 Reference 14: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section 45 -Paragraph 5 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=115929471&loc=d3e21711-107793 Reference 15: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 45 -Paragraph 15 -URI http://asc.fasb.org/extlink&oid=108774443&loc=SL4568447-111683 Reference 16: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 65 -Paragraph 15 -Subparagraph (f)(1) -URI http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333 Reference 17: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571 Reference 18: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (b)(3) -URI http://asc.fasb.org/extlink&oid=109234566&loc=d3e22499-107794 Reference 19: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(g)(1)(ii)) -URI http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 Reference 20: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 830 -SubTopic 30 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6450520&loc=d3e32583-110901 Reference 21: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 65 -Paragraph 15 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333 Reference 22: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 65 -Paragraph 8 -Subparagraph (d)(2) Reference 23: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 65 -Paragraph 8 -Subparagraph (d)(3) + Details
Name: | us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Unbilled amounts due for services rendered or to be rendered, actions taken or to be taken, or a promise to refrain from taking certain actions in accordance with the terms of a legally binding agreement between the entity and, at a minimum, one other party. An example would be amounts associated with contracts or programs where the recognized revenue for performance thereunder exceeds the amounts billed under the terms thereof as of the date of the balance sheet. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 912 -SubTopic 310 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=118261985&loc=d3e55302-109406 Reference 2: 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.3(c)(3)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_UnbilledContractsReceivable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_AccountsPayableAndAccruedLiabilitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_RetainedEarningsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CumulativeEffectPeriodOfAdoptionAxis=srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TypeOfArrangementAxis=pwr_AtlanticCoastPipelineACPMember
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_TypeOfArrangementAxis=pwr_PipelineTransmissionProjectMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TypeOfArrangementAxis=pwr_ProcessingFacilityConstructionProjectTexasMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TypeOfArrangementAxis=pwr_EPCElectricTransmissionProjectMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis=pwr_CorrectionOfEstimatedProjectCostsAndPercentageOfCompletionMethodMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LossContingenciesByNatureOfContingencyAxis=pwr_ProjectContractTerminationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RestatementAxis=srt_RestatementAdjustmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |