XML 45 R35.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Summary of Significant Accounting Policies - Investments in Affiliates and Other Entities (Detail) - Capital for infrastructure projects $ in Millions | Mar. 31, 2018 USD ($)
--- | ---
Summary Of Significant Accounting Policies [Line Items] |
Other commitment | $ 80.0
Infrastructure investors partnership |
Summary Of Significant Accounting Policies [Line Items] |
Other commitment | $ 1,000.0

X
- Definition Summary Of Significant Accounting Policies [Line Items] + References No definition available. + Details
Name: | pwr_SummaryOfSignificantAccountingPoliciesLineItems
Namespace Prefix: | pwr_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Minimum amount of other commitment not otherwise specified in the taxonomy. Excludes commitments explicitly modeled in the taxonomy, including but not limited to, long-term and short-term purchase commitments, recorded and unrecorded purchase obligations, supply commitments, registration payment arrangements, leases, debt, product warranties, guarantees, environmental remediation obligations, and pensions. + References No definition available. + Details
Name: | us-gaap_OtherCommitment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_OtherCommitmentsAxis=pwr_CapitalforInfrastructureProjectsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=pwr_InfrastructureInvestorsPartnershipMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |