XML 116 R99.htm IDEA: XBRL DOCUMENT
v3.6.0.2

Related Party Transactions - Additional Information (Detail) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2016 | Dec. 31, 2015 | Dec. 31, 2014
Related Party Transactions [Abstract] |  |  |
Lease agreement terms | 5 years |  |
Related party lease expenses | $ 8.7 | $ 10.6 | $ 8.5

X
- Definition Lease agreement terms. + References No definition available. + Details
Name: | pwr_LeaseAgreementTerms
Namespace Prefix: | pwr_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Costs of sales and operating expenses for the period incurred from transactions with related parties. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.2) -URI http://asc.fasb.org/extlink&oid=63488584&loc=d3e20235-122688 + Details
Name: | us-gaap_CostsAndExpensesRelatedParty
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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