XML 49 R39.htm IDEA: XBRL DOCUMENT
v3.19.2

Summary of Significant Accounting Policies - Goodwill (Details) $ in Thousands | 6 Months Ended |  |
--- | --- | --- | ---
Jun. 30, 2019 USD ($) division | Dec. 31, 2018 USD ($) | Dec. 31, 2017 USD ($)
Goodwill And Intangible Assets [Line Items] |  |  |
Number of internal divisions | division | 2 |  |
Decrease in fair value of reporting units considered for impairment calculation | 10.00% |  |
Goodwill | $ 1,932,300 | $ 1,899,879 | $ 1,868,600
Intangible assets | 264,284 | 280,180 |
Pipeline and Industrial Infrastructure Services Division |  |  |
Goodwill And Intangible Assets [Line Items] |  |  |
Goodwill | 589,694 | $ 586,801 | $ 596,073
Pipeline and Industrial Infrastructure Services Division | Material Handling Services and Midstream and Smaller-Scale Pipeline Market Reporting Units |  |  |
Goodwill And Intangible Assets [Line Items] |  |  |
Goodwill | 49,000 |  |
Intangible assets | $ 9,700 |  |

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 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://fasb.org/us-gaap/role/ref/legacyRef -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 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=99380562&loc=d3e13770-109266 + Details
Name: | us-gaap_Goodwill
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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://fasb.org/us-gaap/role/ref/legacyRef -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 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -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 + 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_PipelineAndIndustrialInfrastructureServicesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ReportingUnitAxis=pwr_MaterialHandlingServicesAndMidStreamAndSmallerScalePipelineMarketMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |