XML 53 R40.htm IDEA: XBRL DOCUMENT
v3.8.0.1

New Accounting Pronouncements (Detail) - USD ($) $ in Thousands | 3 Months Ended | 9 Months Ended
--- | --- | ---
Sep. 30, 2017 | Sep. 30, 2016 | Sep. 30, 2017 | Sep. 30, 2016
New Accounting Pronouncements or Change in Accounting Principle [Line Items] |  |  |  |
Income tax benefit related to the settlement of share-based awards during period | $ 100 |  | $ 5,100 |
Net cash provided (used in) operating activities of continuing operations | 173,703 | $ (68,528) | 174,837 | $ 205,093
Net cash provided (used in) financing activities of continuing operations | $ 270,133 | 82,100 | $ 370,034 | (10,459)
Accounting Standards Update, Statutory Tax Withholding Component |  |  |  |
New Accounting Pronouncements or Change in Accounting Principle [Line Items] |  |  |  |
Net cash provided (used in) operating activities of continuing operations |  | 300 |  | 7,500
Net cash provided (used in) financing activities of continuing operations |  | (300) |  | (7,500)
Accounting Standards Update, Excess Tax Benefit Component |  |  |  |
New Accounting Pronouncements or Change in Accounting Principle [Line Items] |  |  |  |
Net cash provided (used in) operating activities of continuing operations |  | 500 |  | 700
Net cash provided (used in) financing activities of continuing operations |  | $ (500) |  | $ (700)

X
- Definition The total recognized tax benefit related to compensation cost for equity-based payment arrangements recognized in income during the period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(1)(i) -URI http://asc.fasb.org/extlink&oid=96867065&loc=d3e5070-113901 + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of cash inflow (outflow) of financing activities, excluding discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 26 -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3574-108585 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 24 -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3521-108585 + Details
Name: | us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of cash inflow (outflow) from operating activities, excluding discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 24 -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3521-108585 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3602-108585 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 25 -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3536-108585 + Details
Name: | us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
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_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_AdjustmentsForNewAccountingPronouncementsAxis=pwr_AccountingStandardsUpdate201609StatutoryTaxWithholdingComponentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AdjustmentsForNewAccountingPronouncementsAxis=pwr_AccountingStandardsUpdate201609ExcessTaxBenefitComponentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |