XML 44 R31.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Summary of Significant Accounting Policies - Cash and Cash Equivalents (Detail) - USD ($) $ in Thousands | Sep. 30, 2017 | Jun. 30, 2017 | Dec. 31, 2016 | Sep. 30, 2016 | Jun. 30, 2016 | Dec. 31, 2015
--- | --- | --- | --- | --- | --- | ---
Cash and Cash Equivalents [Line Items] |  |  |  |  |  |
Cash and cash equivalents | $ 91,532 | $ 99,565 | $ 112,183 | $ 117,366 | $ 162,344 | $ 128,771
Cash equivalents | 8,300 |  | 8,800 |  |  |
Domestic Bank Accounts |  |  |  |  |  |
Cash and Cash Equivalents [Line Items] |  |  |  |  |  |
Cash and cash equivalents | 25,000 |  | 19,500 |  |  |
Foreign Bank Accounts |  |  |  |  |  |
Cash and Cash Equivalents [Line Items] |  |  |  |  |  |
Cash and cash equivalents | 66,500 |  | 92,700 |  |  |
Investments in Joint Ventures |  |  |  |  |  |
Cash and Cash Equivalents [Line Items] |  |  |  |  |  |
Cash and cash equivalents | 34,000 |  | 11,500 |  |  |
Domestic Joint Ventures |  |  |  |  |  |
Cash and Cash Equivalents [Line Items] |  |  |  |  |  |
Cash and cash equivalents | $ 10,000 |  | $ 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 -Topic 210 -SubTopic 10 -Section 45 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=82887183&loc=d3e6676-107765 Reference 2: 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=98514028&loc=d3e3044-108585 Reference 3: 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 + 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: |