XML 41 R31.htm IDEA: XBRL DOCUMENT
v3.7.0.1

Summary of Significant Accounting Policies - Cash and Cash Equivalents (Detail) - USD ($) $ in Thousands | Jun. 30, 2017 | Mar. 31, 2017 | Dec. 31, 2016 | Jun. 30, 2016 | Mar. 31, 2016 | Dec. 31, 2015
--- | --- | --- | --- | --- | --- | ---
Cash and Cash Equivalents [Line Items] |  |  |  |  |  |
Cash and cash equivalents | $ 99,565 | $ 106,514 | $ 112,183 | $ 162,344 | $ 155,315 | $ 128,771
Cash equivalents | 8,400 |  | 8,800 |  |  |
Domestic Bank Accounts |  |  |  |  |  |
Cash and Cash Equivalents [Line Items] |  |  |  |  |  |
Cash and cash equivalents | 31,400 |  | 19,500 |  |  |
Foreign Bank Accounts |  |  |  |  |  |
Cash and Cash Equivalents [Line Items] |  |  |  |  |  |
Cash and cash equivalents | 68,200 |  | 92,700 |  |  |
Investments in Joint Ventures |  |  |  |  |  |
Cash and Cash Equivalents [Line Items] |  |  |  |  |  |
Cash and cash equivalents | 13,400 |  | 11,500 |  |  |
Domestic Joint Ventures |  |  |  |  |  |
Cash and Cash Equivalents [Line Items] |  |  |  |  |  |
Cash and cash equivalents | $ 10,500 |  | $ 10,000 |  |  |

X
- Definition Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Cash -URI http://asc.fasb.org/extlink&oid=6506951 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 45 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=28358313&loc=d3e6676-107765 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=66902209&loc=d3e3044-108585 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Cash Equivalents -URI http://asc.fasb.org/extlink&oid=6507016 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.1) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_CashAndCashEquivalentsAtCarryingValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Definition Amount of short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.1) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Cash Equivalents -URI http://asc.fasb.org/extlink&oid=6507016 + Details
Name: | us-gaap_CashEquivalentsAtCarryingValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_CashAndCashEquivalentsAxis=pwr_DomesticBankAccountsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CashAndCashEquivalentsAxis=pwr_ForeignBankAccountsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CashAndCashEquivalentsAxis=pwr_InvestmentsInJointVenturesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CashAndCashEquivalentsAxis=pwr_DomesticJointVenturesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |