XML 50 R40.htm IDEA: XBRL DOCUMENT
v3.10.0.1

Summary of Significant Accounting Policies - Revenue Disaggregated by Geographic Location and Contract Type (Detail) - USD ($) $ in Thousands | 3 Months Ended | 9 Months Ended
--- | --- | ---
Sep. 30, 2018 | Sep. 30, 2017 | Sep. 30, 2018 | Sep. 30, 2017
Disaggregation of Revenue [Line Items] |  |  |  |
Revenues | $ 2,985,281 | $ 2,609,307 | $ 8,059,205 | $ 6,987,851
Unit-price contracts |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Revenues | 1,082,858 |  | 2,714,441 |
Fixed price contracts |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Revenues | 1,239,666 |  | 3,497,746 |
Cost-plus contracts |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Revenues | 662,757 |  | 1,847,018 |
United States |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Revenues | 2,317,643 |  | 6,223,507 |
Canada |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Revenues | 522,618 |  | 1,376,149 |
Australia |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Revenues | 75,055 |  | 308,392 |
Latin America and Other |  |  |  |
Disaggregation of Revenue [Line Items] |  |  |  |
Revenues | $ 69,965 |  | $ 151,157 |

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

X
- Definition Amount, excluding tax collected from customer, of revenue from satisfaction of performance obligation by transferring promised good or service to customer. Tax collected from customer is tax assessed by governmental authority that is both imposed on and concurrent with specific revenue-producing transaction, including, but not limited to, sales, use, value added and excise. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 4 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=109196051&loc=SL49130543-203045 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=109196051&loc=SL49130539-203045 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=109196051&loc=SL49130545-203045 + Details
Name: | us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_ContractWithCustomerBasisOfPricingAxis=pwr_UnitPriceContractsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ContractWithCustomerBasisOfPricingAxis=us-gaap_FixedPriceContractMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ContractWithCustomerBasisOfPricingAxis=us-gaap_TimeAndMaterialsContractMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=country_US
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=country_CA
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=country_AU
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=pwr_LatinAmericaandOtherMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |