XML 79 R66.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Acquisitions - Unaudited Supplemental Pro Forma Results of Operations (Detail) - Acquisitions - USD ($) $ / shares in Units, $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2017 | Dec. 31, 2016 | Dec. 31, 2015
Business Acquisition [Line Items] |  |  |
Revenues | $ 9,712,820 | $ 8,183,104 | $ 7,770,744
Gross profit | 1,301,322 | 1,129,661 | 956,925
Selling, general and administrative expenses | 821,084 | 734,900 | 612,979
Amortization of intangible assets | 40,356 | 46,579 | 39,947
Net income from continuing operations | 320,768 | 207,956 | 136,608
Net income from continuing operations attributable to common stock | $ 317,521 | $ 206,241 | $ 125,691
Earnings per share from continuing operations - basic (in usd per share) | $ 2.01 | $ 1.29 | $ 0.64
Earnings per share from continuing operations - diluted (in usd per share) | $ 2.00 | $ 1.29 | $ 0.64

X
- Definition Business Acquisitions, Pro Forma Amortization Of Intangible Assets + References No definition available. + Details
Name: | pwr_BusinessAcquisitionsProFormaAmortizationOfIntangibleAssets
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Business Acquisitions, Pro Forma Gross Profit + References No definition available. + Details
Name: | pwr_BusinessAcquisitionsProFormaGrossProfit
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Business Acquisitions Pro Forma, Net Income (Loss) Attributable To Common Stock From Continuing Operations, Net Of Tax + References No definition available. + Details
Name: | pwr_BusinessAcquisitionsProFormaNetIncomeLossAttributableToCommonStockFromContinuingOperationsNetOfTax
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Business Acquisitions, Pro Forma Selling, General And Administrative Expenses + References No definition available. + Details
Name: | pwr_BusinessAcquisitionsProFormaSellingGeneralAndAdministrativeExpenses
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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_BusinessAcquisitionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Per basic share amount of pro forma income from continuing operations, after tax, as if the business combination had been completed at the beginning of a period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(2)-(3) -URI http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463 + Details
Name: | us-gaap_BusinessAcquisitionProFormaIncomeLossFromContinuingOperationsBeforeChangesInAccountingAndExtraordinaryItemsNetOfTaxPerShareBasic
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Per diluted share amount of pro forma income from continuing operations, after tax, as if the business combination had been completed at the beginning of a period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(2)-(3) -URI http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463 + Details
Name: | us-gaap_BusinessAcquisitionProFormaIncomeLossFromContinuingOperationsBeforeChangesInAccountingAndExtraordinaryItemsNetOfTaxPerShareDiluted
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount after tax of pro forma income from continuing operations as if the business combination had been completed at the beginning of a period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(2)-(3) -URI http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463 + Details
Name: | us-gaap_BusinessAcquisitionsProFormaIncomeLossFromContinuingOperationsBeforeChangesInAccountingAndExtraordinaryItemsNetOfTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The pro forma revenue for a period as if the business combination or combinations had been completed at the beginning of the period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(2)-(3) -URI http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463 + Details
Name: | us-gaap_BusinessAcquisitionsProFormaRevenue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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