XML 56 R43.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Business and Organization (Detail) $ in Millions |  | 3 Months Ended | 12 Months Ended
--- | --- | --- | ---
Aug. 04, 2015 USD ($) | Sep. 30, 2015 USD ($) | Dec. 31, 2017 Segment | Dec. 31, 2016 Acquisition | Dec. 31, 2015 Acquisition
Organization And Description Of Business [Line Items] |  |  |  |  |
Number of reportable segments | Segment |  |  | 2 |  |
Acquisitions 2016 |  |  |  |  |
Organization And Description Of Business [Line Items] |  |  |  |  |
Number of business acquisitions | Acquisition |  |  |  | 5 |
Acquisitions 2015 |  |  |  |  |
Organization And Description Of Business [Line Items] |  |  |  |  |
Number of business acquisitions | Acquisition |  |  |  |  | 11
Fiber Optic Licensing Division |  |  |  |  |
Organization And Description Of Business [Line Items] |  |  |  |  |
Sales price of fiber optic licensing operations | $ 1,000.0 |  |  |  |
Net cash proceeds from sale of fiber optic licensing operations | $ 848.2 |  |  |  |
Gain on sale, net of tax |  | $ 171.0 |  |  |

X
- Definition Organization And Description Of Business [Line Items] + References No definition available. + Details
Name: | pwr_OrganizationAndDescriptionOfBusinessLineItems
Namespace Prefix: | pwr_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount after tax of gain (loss) not previously recognized resulting from the disposal of a discontinued operation. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=64827811&loc=d3e1361-107760 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 3B -URI http://asc.fasb.org/extlink&oid=65878427&loc=SL51721525-107759 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5C -Subparagraph (b)(2) -URI http://asc.fasb.org/extlink&oid=64827811&loc=SL51721675-107760 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=65878427&loc=d3e957-107759 + Details
Name: | us-gaap_DiscontinuedOperationGainLossOnDisposalOfDiscontinuedOperationNetOfTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of consideration received or receivable for the disposal of assets and liabilities, including discontinued operation. + References No definition available. + Details
Name: | us-gaap_DisposalGroupIncludingDiscontinuedOperationConsideration
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The number of businesses acquired by the entity during the period. + References No definition available. + Details
Name: | us-gaap_NumberOfBusinessesAcquired
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of segments reported by the entity. A reportable segment is a component of an entity for which there is an accounting requirement to report separate financial information on that component in the entity's financial statements. + References No definition available. + Details
Name: | us-gaap_NumberOfReportableSegments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition This element represents the cash inflow during the period from the sale of a component of the entity. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 12 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3179-108585 + Details
Name: | us-gaap_ProceedsFromDivestitureOfBusinessesNetOfCashDivested
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis=pwr_FiberOpticLicensingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |