XML 46 R34.htm IDEA: XBRL DOCUMENT
v3.10.0.1

Summary of Significant Accounting Policies - Goodwill (Detail) | 3 Months Ended | 6 Months Ended | 12 Months Ended
--- | --- | --- | ---
Dec. 31, 2017 USD ($) Reporting_Unit | Jun. 30, 2018 USD ($) division | Dec. 31, 2017 USD ($) Reporting_Unit
Goodwill And Intangible Assets [Line Items] |  |  |
Number of internal divisions | division |  | 2 |
Number of reporting units impacted by impairment charges | Reporting_Unit | 2 |  |
Non-cash charge for impairment of goodwill | $ 57,000,000 | $ 0 |
Decrease in fair value of reporting units considered for impairment calculation | 10.00% |  | 10.00%
Goodwill | $ 1,868,600,000 | 1,897,664,000 | $ 1,868,600,000
Intangible assets | 263,179,000 | 261,820,000 | 263,179,000
Oil and Gas Infrastructure Services Division |  |  |
Goodwill And Intangible Assets [Line Items] |  |  |
Goodwill | $ 596,073,000 | 590,677,000 | $ 596,073,000
Oil and Gas Infrastructure Division, Operating Units that have been Negatively Impacted by Various Factors |  |  |
Goodwill And Intangible Assets [Line Items] |  |  |
Number of reporting units with fair values that approximated carrying values after sensitivity of a decrease in fair value | Reporting_Unit |  |  | 1
Goodwill |  | 48,900,000 |
Intangible assets |  | $ 13,100,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 Represents the number of reporting units impacted by impairment charges. + References No definition available. + Details
Name: | pwr_NumberOfReportingUnitsImpactedByImpairmentCharges
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 after sensitivity of a decrease in fair value. + References No definition available. + Details
Name: | pwr_NumberofReportingUnitswithFairValuesthatApproximatedCarryingValuesAfterSensitivityofaDecreaseinFairValue
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=77989000&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=98514028&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_OilAndGasDivisionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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