XML 70 R53.htm IDEA: XBRL DOCUMENT
v3.6.0.2

Summary of Significant Accounting Policies (Stock-Based Compensation) - Additional Information (Detail) | 12 Months Ended
--- | ---
Dec. 31, 2016 shares
Restricted Stock Units to be Settled in Cash [Member] |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |
Number of common stock shares that may be received by RSU holder | 1

X
- Definition Number of common stock shares received by RSU holder. + References No definition available. + Details
Name: | pwr_NumberOfCommonStockSharesReceivedByRsuHolder
Namespace Prefix: | pwr_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

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

X
- Details
Name: | us-gaap_AwardTypeAxis=pwr_RestrictedStockUnitsToBeSettledInCashMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |