Restructuring Activity (Details 1) - USD ($) $ in Thousands  | 
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Jun. 30, 2018  | 
Jun. 30, 2017  | 
Jun. 30, 2018  | 
Jun. 30, 2017  | 
|
| Restructuring Cost and Reserve [Line Items] | ||||
| Restructuring charges | $ 1,865 | $ 6,546 | $ 1,865 | $ 6,546 | 
| One-time Termination Benefits [Member] | ||||
| Restructuring Cost and Reserve [Line Items] | ||||
| Restructuring charges | 271 | 5,996 | 271 | 5,996 | 
| Facility Closing [Member] | ||||
| Restructuring Cost and Reserve [Line Items] | ||||
| Restructuring charges | $ 1,594 | $ 550 | $ 1,594 | $ 550 | 
| X | ||||||||||
- Definition Amount of expenses associated with exit or disposal activities pursuant to an authorized plan. Excludes expenses related to a discontinued operation or an asset retirement obligation. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| 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. No definition available. 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  |