XML 44 R32.htm IDEA: XBRL DOCUMENT
v3.10.0.1

Summary of Significant Accounting Policies - Cash and Cash Equivalents (Detail) - USD ($) $ in Thousands | Jun. 30, 2018 | Mar. 31, 2018 | Dec. 31, 2017 | Jun. 30, 2017 | Mar. 31, 2017 | Dec. 31, 2016
--- | --- | --- | --- | --- | --- | ---
Cash and Cash Equivalents [Line Items] |  |  |  |  |  |
Cash and cash equivalents | $ 120,357 | $ 101,736 | $ 138,285 | $ 99,565 | $ 106,514 | $ 112,183
Cash equivalents | 55,100 |  | 7,100 |  |  |
Domestic Bank Accounts |  |  |  |  |  |
Cash and Cash Equivalents [Line Items] |  |  |  |  |  |
Cash and cash equivalents | 79,600 |  | 83,100 |  |  |
Foreign Bank Accounts |  |  |  |  |  |
Cash and Cash Equivalents [Line Items] |  |  |  |  |  |
Cash and cash equivalents | 40,800 |  | 55,200 |  |  |
Investments in Joint Ventures |  |  |  |  |  |
Cash and Cash Equivalents [Line Items] |  |  |  |  |  |
Cash and cash equivalents | 11,600 |  | 16,700 |  |  |
Domestic Joint Ventures |  |  |  |  |  |
Cash and Cash Equivalents [Line Items] |  |  |  |  |  |
Cash and cash equivalents | $ 11,200 |  | $ 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: |