XML 53 R41.htm IDEA: XBRL DOCUMENT
v3.10.0.1

Summary of Significant Accounting Policies - Earnings Per Share (Details) - shares | 3 Months Ended | 6 Months Ended
--- | --- | ---
Jun. 30, 2018 | Jun. 30, 2017 | Jun. 30, 2018 | Jun. 30, 2017
Accounting Policies [Abstract] |  |  |  |
Number of shares of Common stock received for each exchangeable share (in shares) |  |  | 1 |
Weighted average unvested stock-based awards (participating securities) | 2,600,000 | 2,300,000 | 2,600,000 | 2,500,000

X
- Definition Number of shares of common stock received for each exchangeable share. + References No definition available. + Details
Name: | pwr_NumberOfSharesOfCommonStockReceivedForEachExchangeableShare
Namespace Prefix: | pwr_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_AccountingPoliciesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition This element represents nonvested share-based payment awards that contain non-forfeitable rights to dividends or dividend equivalents (whether paid or unpaid). Basic and dilutive earnings per share are generally disclosed for such shares using the two-class method. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 45 -Paragraph 61A -URI http://asc.fasb.org/extlink&oid=96947427&loc=SL5780137-109256 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 45 -Paragraph 60A -URI http://asc.fasb.org/extlink&oid=96947427&loc=SL5780132-109256 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 45 -Paragraph 59A -URI http://asc.fasb.org/extlink&oid=96947427&loc=SL5780131-109256 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 45 -Paragraph 60B -URI http://asc.fasb.org/extlink&oid=96947427&loc=SL5780133-109256 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 45 -Paragraph 68B -URI http://asc.fasb.org/extlink&oid=96947427&loc=SL5498026-109256 + Details
Name: | us-gaap_IncrementalCommonSharesAttributableToParticipatingNonvestedSharesWithNonForfeitableDividendRights
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration