XML 43 R33.htm IDEA: XBRL DOCUMENT
v3.7.0.1

Summary of Significant Accounting Policies (Investments in Affiliates and Other Entities) - Additional Information (Detail) - Partnership [Member] $ in Millions | Mar. 31, 2017 USD ($)
--- | ---
Summary Of Significant Accounting Policies [Line Items] |
Capital to be provided with select investors of infrastructure projects | $ 750
Quanta Services Inc [Member] |
Summary Of Significant Accounting Policies [Line Items] |
Capital to be provided with select investors of infrastructure projects | $ 60

X
- Definition Capital to be provided with select investors of infrastructure projects. + References No definition available. + Details
Name: | pwr_CapitalToBeProvidedWithSelectInvestorsOfInfrastructureProjects
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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
- Details
Name: | us-gaap_AccountsNotesLoansAndFinancingReceivablesByLegalEntityOfCounterpartyTypeAxis=us-gaap_PartnershipMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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