XML 98 R88.htm IDEA: XBRL DOCUMENT
v2.4.1.9

Subsequent Event - Additional Information (Detail) (USD $) In Thousands, except Share data, unless otherwise specified | 6 Months Ended | 12 Months Ended | 3 Months Ended
--- | --- | --- | ---
Jun. 30, 2012 Entity | Dec. 31, 2014 Entity | Dec. 31, 2013 Entity | Dec. 31, 2012 Entity | Mar. 31, 2015 Entity
Subsequent Event [Line Items] |  |  |  |  |
Number of business acquisitions | 4 us-gaap_NumberOfBusinessesAcquired | 9 us-gaap_NumberOfBusinessesAcquired | 6 us-gaap_NumberOfBusinessesAcquired | 4 us-gaap_NumberOfBusinessesAcquired |
Cash paid for acquisitions |  | $ 284,300 pwr_AggregateBusinessAcquisitionConsiderationOfAcquiredEntityCashPaidAndLiabilitiesIncurred | $ 341,100 pwr_AggregateBusinessAcquisitionConsiderationOfAcquiredEntityCashPaidAndLiabilitiesIncurred |  |
Common stock repurchases |  | 93,482 us-gaap_TreasuryStockValueAcquiredCostMethod |  |  |
Scenario Forecast [Member] |  |  |  |  |
Subsequent Event [Line Items] |  |  |  |  |
Number of business acquisitions |  |  |  |  | 3 us-gaap_NumberOfBusinessesAcquired / us-gaap_StatementScenarioAxis = us-gaap_ScenarioForecastMember
Cash paid for acquisitions |  |  |  |  | 36,300 pwr_AggregateBusinessAcquisitionConsiderationOfAcquiredEntityCashPaidAndLiabilitiesIncurred / us-gaap_StatementScenarioAxis = us-gaap_ScenarioForecastMember
Common stock repurchases, shares |  |  |  |  | 6,700,000 us-gaap_TreasuryStockSharesAcquired / us-gaap_StatementScenarioAxis = us-gaap_ScenarioForecastMember
Common stock repurchases |  |  |  |  | $ 182,000 us-gaap_TreasuryStockValueAcquiredCostMethod / us-gaap_StatementScenarioAxis = us-gaap_ScenarioForecastMember

X
- Definition Aggregate business acquisition consideration of acquired entity cash paid and liabilities incurred during period. + References No definition available. + Details
Name: | pwr_AggregateBusinessAcquisitionConsiderationOfAcquiredEntityCashPaidAndLiabilitiesIncurred
Namespace Prefix: | pwr_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The number of businesses acquired by the entity during the period. + References No definition available. + Details
Name: | us-gaap_NumberOfBusinessesAcquired
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_SubsequentEventLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares that have been repurchased during the period and are being held in treasury. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 04 -Article 3 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 29, 30 -Article 5 + Details
Name: | us-gaap_TreasuryStockSharesAcquired
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Equity impact of the cost of common and preferred stock that were repurchased during the period. Recorded using the cost method. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 04 -Article 3 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 30 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6405813&loc=d3e23239-112655 + Details
Name: | us-gaap_TreasuryStockValueAcquiredCostMethod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_StatementScenarioAxis=us-gaap_ScenarioForecastMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |