XML 43 R33.htm IDEA: XBRL DOCUMENT
v3.7.0.1

Summary of Significant Accounting Policies - Goodwill and Other Intangibles (Detail) | 6 Months Ended | 12 Months Ended
--- | --- | ---
Jun. 30, 2017 USD ($) Divisions | Dec. 31, 2016 USD ($) Reporting_Unit
Goodwill And Intangible Assets [Line Items] |  |
Number of internal divisions | Divisions | 2 |
Decrease in fair value of reporting units considered for impairment calculation |  | 10.00%
Number of reporting units with fair values that approximated carrying values | Reporting_Unit |  | 2
Goodwill | $ 1,616,317,000 | $ 1,603,169,000
Intangible assets | 184,375,000 | $ 187,023,000
Non-cash charge for impairment of goodwill | 0 |
Oil and Gas Infrastructure Division, Operating Units that have been Negatively Impacted by Various Factors |  |
Goodwill And Intangible Assets [Line Items] |  |
Goodwill | 70,700,000 |
Intangible assets | $ 11,500,000 |

X
- Definition Decrease in fair value of Reporting units considered, for impairment calculation. + References No definition available. + Details
Name: | pwr_DecreaseInFairValueOfReportingUnitsConsideredForImpairmentCalculation
Namespace Prefix: | pwr_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Goodwill and intangible assets. + References No definition available. + Details
Name: | pwr_GoodwillAndIntangibleAssetsLineItems
Namespace Prefix: | pwr_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of internal divisions. + References No definition available. + Details
Name: | pwr_NumberOfInternalDivisions
Namespace Prefix: | pwr_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of reporting units with fair values that approximated carrying values. + References No definition available. + Details
Name: | pwr_NumberOfReportingUnitsWithFairValuesThatApproximatedCarryingValues
Namespace Prefix: | pwr_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount after accumulated impairment loss of an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=35741047&loc=d3e13816-109267 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6388280&loc=d3e13770-109266 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 45 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=64834752&loc=SL49117168-202975 + Details
Name: | us-gaap_Goodwill
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of loss from the write-down of an asset representing the future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=35741047&loc=d3e13854-109267 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6388280&loc=d3e13777-109266 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=66902209&loc=d3e3602-108585 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=35741047&loc=d3e13816-109267 + Details
Name: | us-gaap_GoodwillImpairmentLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Sum of the carrying amounts of all intangible assets, excluding goodwill, as of the balance sheet date, net of accumulated amortization and impairment charges. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6388964&loc=d3e16212-109274 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 2 -Subparagraph ((a)(1),(b)) -URI http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275 + Details
Name: | us-gaap_IntangibleAssetsNetExcludingGoodwill
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=pwr_OilAndGasInfrastructureDivisionOperatingUnitsThatHaveBeenNegativelyImpactedByVariousFactorsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |