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

Summary of Significant Accounting Policies - Disaggregation of Revenue (Details) - USD ($) $ in Thousands | 3 Months Ended | 6 Months Ended
--- | --- | ---
Jun. 30, 2018 | Jun. 30, 2018
Disaggregation of Revenue [Line Items] |  |
Total revenues | $ 2,656,348 | $ 5,073,924
Unit-price contracts |  |
Disaggregation of Revenue [Line Items] |  |
Total revenues | 1,018,145 | 1,631,583
Fixed price contracts |  |
Disaggregation of Revenue [Line Items] |  |
Total revenues | 1,032,991 | 2,258,080
Cost-plus contracts |  |
Disaggregation of Revenue [Line Items] |  |
Total revenues | 605,212 | 1,184,261
United States |  |
Disaggregation of Revenue [Line Items] |  |
Total revenues | 2,193,437 | 3,905,864
Canada |  |
Disaggregation of Revenue [Line Items] |  |
Total revenues | 315,173 | 853,531
Australia |  |
Disaggregation of Revenue [Line Items] |  |
Total revenues | 113,880 | 233,337
Latin America and Other |  |
Disaggregation of Revenue [Line Items] |  |
Total revenues | $ 33,858 | $ 81,192

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://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 32 -Paragraph 2A -URI http://asc.fasb.org/extlink&oid=82859839&loc=SL82860478-203043 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 4 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=82913847&loc=SL49130543-203045 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=82913847&loc=SL49130539-203045 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=82913847&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: | pwr_ContractwithCustomerTypeAxis=pwr_UnitpriceContractsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | pwr_ContractwithCustomerTypeAxis=pwr_FixedPriceContractsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | pwr_ContractwithCustomerTypeAxis=pwr_CostplusContractsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

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