XML 76 R64.htm IDEA: XBRL DOCUMENT
v3.10.0.1

Equity - Treasury Stock (Detail) - USD ($) shares in Millions | 3 Months Ended | 6 Months Ended | 12 Months Ended
--- | --- | --- | ---
Jun. 30, 2018 | Jun. 30, 2017 | Jun. 30, 2018 | Jun. 30, 2017 | Dec. 31, 2017
Equity, Class of Treasury Stock [Line Items] |  |  |  |  |
Repurchase of common stock | $ 15,993,000 | $ 0 | $ 189,906,000 | $ 0 |
2017 Repurchase Program |  |  |  |  |
Equity, Class of Treasury Stock [Line Items] |  |  |  |  |
Treasury stock acquired (in shares) | 0.6 |  | 5.6 |  | 1.4
Treasury stock acquired, value | $ 20,000,000 |  | $ 193,900,000 |  | $ 50,000,000
Repurchase of common stock | 16,000,000 |  | 189,900,000 |  |
2017 Repurchase Program | Maximum |  |  |  |  |
Equity, Class of Treasury Stock [Line Items] |  |  |  |  |
Aggregate authorized amount of common stock to be repurchased |  | 300,000,000 |  | 300,000,000 |
Treasury Stock Associated with Deferred Compensation Plans |  |  |  |  |
Equity, Class of Treasury Stock [Line Items] |  |  |  |  |
Treasury stock acquired, value | $ 0 | $ 200,000 | $ 3,300,000 | $ 3,400,000 |
Common Stock Withheld for Settlement of Employee Tax Liabilities |  |  |  |  |
Equity, Class of Treasury Stock [Line Items] |  |  |  |  |
Treasury stock acquired (in shares) |  |  | 0.4 | 0.5 |
Treasury stock acquired, value |  |  | $ 14,200,000 | $ 17,800,000 |

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_EquityClassOfTreasuryStockLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The cash outflow to reacquire common stock during the period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3291-108585 + Details
Name: | us-gaap_PaymentsForRepurchaseOfCommonStock
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of stock repurchase plan authorized. + References No definition available. + Details
Name: | us-gaap_StockRepurchaseProgramAuthorizedAmount1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Number of shares that have been repurchased during the period and are being held in treasury. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -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=27012166&loc=d3e187085-122770 Reference 2: 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(29)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=84159872&loc=d3e21463-112644 + Details
Name: | us-gaap_TreasuryStockSharesAcquired
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Equity impact of the cost of common and preferred stock that were repurchased during the period. Recorded using the cost method. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=84159872&loc=d3e21463-112644 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 30 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6405813&loc=d3e23239-112655 Reference 3: http://www.xbrl.org/2003/role/presentationRef -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=27012166&loc=d3e187085-122770 + Details
Name: | us-gaap_TreasuryStockValueAcquiredCostMethod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_ShareRepurchaseProgramAxis=pwr_TwoThousandSeventeenRepurchaseProgramMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PlanNameAxis=pwr_TreasuryStockAssociatedWithDeferredCompensationPlansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=pwr_CommonStockWithheldForSettlementOfEmployeeTaxLiabilitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |