| Goodwill and Intangibles Assets (Details 1) $ in Thousands | 6 Months Ended | 
|---|---|
| Jun. 30, 2018  USD ($) | |
| Goodwill [Roll Forward] | |
| Balance as of December 31, 2017 | $ 237,992 | 
| Adjustments | 300 | 
| Balance as of June 30, 2018 | $ 238,330 | 
| X | ||||||||||
| 
- Definition Amount after accumulated impairment loss of an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Definition Amount of increase (decrease) from adjustments after acquisition date under purchase accounting of an asset representing the future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. No definition available. 
 |