XML 77 R64.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Acquisitions - 2017, 2016 and 2015 Acquisitions (Detail) - USD ($) $ in Thousands |  | 3 Months Ended | 12 Months Ended
--- | --- | --- | ---
Jul. 20, 2017 | Dec. 31, 2017 | Sep. 30, 2017 | Jun. 30, 2017 | Mar. 31, 2017 | Dec. 31, 2016 | Sep. 30, 2016 | Jun. 30, 2016 | Mar. 31, 2016 | Dec. 31, 2017 | Dec. 31, 2016 | Dec. 31, 2015
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Goodwill acquired |  |  |  |  |  |  |  |  |  | $ 302,408 | $ 45,186 |
Revenues |  | $ 2,478,627 | $ 2,609,307 | $ 2,200,374 | $ 2,178,170 | $ 2,102,966 | $ 2,042,186 | $ 1,792,430 | $ 1,713,737 | 9,466,478 | 7,651,319 | $ 7,572,436
Income (loss) from continuing operations before income taxes |  |  |  |  |  |  |  |  |  | 353,757 | 307,686 | 228,675
Electric Power Division |  |  |  |  |  |  |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Goodwill acquired |  |  |  |  |  |  |  |  |  | 5,866 | 24,168 |
Oil And Gas Division |  |  |  |  |  |  |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Goodwill acquired |  |  |  |  |  |  |  |  |  | 296,542 | 21,018 |
Acquisitions 2017, other than Stronghold |  |  |  |  |  |  |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Goodwill acquired |  |  |  |  |  |  |  |  |  | 5,866 |  |
Acquisitions 2017, other than Stronghold | Electric Power Division |  |  |  |  |  |  |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Goodwill acquired |  |  |  |  |  |  |  |  |  | 5,900 |  |
Stronghold |  |  |  |  |  |  |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Goodwill acquired | $ 296,542 |  |  |  |  |  |  |  |  |  |  |
Stronghold | Oil And Gas Division |  |  |  |  |  |  |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Goodwill acquired |  |  |  |  |  |  |  |  |  | 296,500 |  |
Acquisitions 2016 |  |  |  |  |  |  |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Goodwill acquired |  |  |  |  |  |  |  |  |  |  | 43,923 |
Goodwill expected to be deductible for income tax |  | 2,000 |  |  |  |  |  |  |  | 2,000 |  |
Revenues |  |  |  |  |  |  |  |  |  |  | 68,500 |
Income (loss) from continuing operations before income taxes |  |  |  |  |  |  |  |  |  |  | (5,600) |
Acquisition costs |  |  |  |  |  |  |  |  |  |  | 300 |
Acquisitions 2016 | Electric Power Division |  |  |  |  |  |  |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Goodwill acquired |  |  |  |  |  |  |  |  |  |  | 23,600 |
Acquisitions 2016 | Oil And Gas Division |  |  |  |  |  |  |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Goodwill acquired |  |  |  |  |  |  |  |  |  |  | $ 20,300 |
Acquisitions 2015 |  |  |  |  |  |  |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Revenues |  |  |  |  |  |  |  |  |  |  |  | 104,600
Income (loss) from continuing operations before income taxes |  |  |  |  |  |  |  |  |  |  |  | 300
Acquisition costs |  |  |  |  |  |  |  |  |  |  |  | 3,600
Acquisitions 2015 | Electric Power Division |  |  |  |  |  |  |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Goodwill acquired |  |  |  |  |  |  |  |  |  |  |  | 31,500
Acquisitions 2015 | Oil And Gas Division |  |  |  |  |  |  |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Goodwill acquired |  |  |  |  |  |  |  |  |  |  |  | $ 20,400
Acquisitions 2017 |  |  |  |  |  |  |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Goodwill acquired |  |  |  |  |  |  |  |  |  | 302,400 |  |
Goodwill expected to be deductible for income tax |  | $ 302,400 |  |  |  |  |  |  |  | 302,400 |  |
Revenues |  |  |  |  |  |  |  |  |  | 207,400 |  |
Income (loss) from continuing operations before income taxes |  |  |  |  |  |  |  |  |  | (8,100) |  |
Acquisition costs |  |  |  |  |  |  |  |  |  | $ 5,400 |  |

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

X
- Definition The amount of goodwill arising from a business combination that is expected to be deductible for tax purposes. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=35744584&loc=d3e6927-128479 + Details
Name: | us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition This element represents acquisition-related costs incurred to effect a business combination which costs have been expensed during the period. Such costs include finder's fees; advisory, legal, accounting, valuation, and other professional or consulting fees; general administrative costs, including the costs of maintaining an internal acquisitions department; and may include costs of registering and issuing debt and equity securities. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 25 -Paragraph 23 -URI http://asc.fasb.org/extlink&oid=84229725&loc=d3e1043-128460 + Details
Name: | us-gaap_BusinessCombinationAcquisitionRelatedCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of increase in asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized resulting from a business combination. + 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 (b) -URI http://asc.fasb.org/extlink&oid=35741047&loc=d3e13816-109267 + Details
Name: | us-gaap_GoodwillAcquiredDuringPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of income (loss) from continuing operations, including income (loss) from equity method investments, before deduction of income tax expense (benefit), and income (loss) attributable to noncontrolling interest. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 940 -SubTopic 20 -Section 25 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=68072869&loc=d3e41242-110953 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(10)) -URI http://asc.fasb.org/extlink&oid=63488584&loc=d3e20235-122688 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(15)) -URI http://asc.fasb.org/extlink&oid=6879574&loc=d3e536633-122882 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(8)) -URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913 + Details
Name: | us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Aggregate revenue during the period from services rendered in the normal course of business, after deducting allowances and discounts. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.1(d)) -URI http://asc.fasb.org/extlink&oid=63488584&loc=d3e20235-122688 + Details
Name: | us-gaap_SalesRevenueServicesNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

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

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=pwr_Acquisitions2017OtherThanStrongholdMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=pwr_StrongholdLtd.andStrongholdSpecialtyLtd.Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=pwr_Acquisitions2016Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=pwr_Acquisitions2015Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=pwr_Acquisitions2017Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |