XML 16 R39.htm IDEA: XBRL DOCUMENT v2.4.1.9
Summary of Significant Accounting Policies (Details 8) (USD $)
12 Months Ended
Dec. 31, 2014
Dec. 31, 2013
Dec. 31, 2012
Property and Equipment      
Depreciation expense $ 68,300,000us-gaap_Depreciation $ 61,400,000us-gaap_Depreciation $ 50,800,000us-gaap_Depreciation
Property and equipment, gross 585,613,000us-gaap_PropertyPlantAndEquipmentGross 526,499,000us-gaap_PropertyPlantAndEquipmentGross  
Accumulated depreciation (413,697,000)us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment (354,166,000)us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment  
Property and equipment, net 171,916,000us-gaap_PropertyPlantAndEquipmentNet 172,333,000us-gaap_PropertyPlantAndEquipmentNet  
Building improvements      
Property and Equipment      
Property and equipment, gross 13,416,000us-gaap_PropertyPlantAndEquipmentGross
/ us-gaap_PropertyPlantAndEquipmentByTypeAxis
= us-gaap_BuildingImprovementsMember
12,074,000us-gaap_PropertyPlantAndEquipmentGross
/ us-gaap_PropertyPlantAndEquipmentByTypeAxis
= us-gaap_BuildingImprovementsMember
 
Building improvements | Minimum      
Property and Equipment      
Estimated useful lives of assets 2 years    
Building improvements | Maximum      
Property and Equipment      
Estimated useful lives of assets 10 years    
Equipment      
Property and Equipment      
Property and equipment, gross 185,391,000us-gaap_PropertyPlantAndEquipmentGross
/ us-gaap_PropertyPlantAndEquipmentByTypeAxis
= us-gaap_EquipmentMember
180,540,000us-gaap_PropertyPlantAndEquipmentGross
/ us-gaap_PropertyPlantAndEquipmentByTypeAxis
= us-gaap_EquipmentMember
 
Equipment | Minimum      
Property and Equipment      
Estimated useful lives of assets 3 years    
Equipment | Maximum      
Property and Equipment      
Estimated useful lives of assets 15 years    
Capital leases - property      
Property and Equipment      
Property and equipment, gross 26,945,000us-gaap_PropertyPlantAndEquipmentGross
/ us-gaap_PropertyPlantAndEquipmentByTypeAxis
= mgln_CapitalLeasesPropertyMember
26,945,000us-gaap_PropertyPlantAndEquipmentGross
/ us-gaap_PropertyPlantAndEquipmentByTypeAxis
= mgln_CapitalLeasesPropertyMember
 
Capital leases - equipment      
Property and Equipment      
Property and equipment, gross 7,883,000us-gaap_PropertyPlantAndEquipmentGross
/ us-gaap_PropertyPlantAndEquipmentByTypeAxis
= mgln_CapitalLeasesEquipmentMember
2,794,000us-gaap_PropertyPlantAndEquipmentGross
/ us-gaap_PropertyPlantAndEquipmentByTypeAxis
= mgln_CapitalLeasesEquipmentMember
 
Capitalized internal-use software      
Property and Equipment      
Depreciation expense 40,900,000us-gaap_Depreciation
/ us-gaap_PropertyPlantAndEquipmentByTypeAxis
= us-gaap_SoftwareDevelopmentMember
34,800,000us-gaap_Depreciation
/ us-gaap_PropertyPlantAndEquipmentByTypeAxis
= us-gaap_SoftwareDevelopmentMember
28,800,000us-gaap_Depreciation
/ us-gaap_PropertyPlantAndEquipmentByTypeAxis
= us-gaap_SoftwareDevelopmentMember
Property and equipment, gross 351,978,000us-gaap_PropertyPlantAndEquipmentGross
/ us-gaap_PropertyPlantAndEquipmentByTypeAxis
= us-gaap_SoftwareDevelopmentMember
304,146,000us-gaap_PropertyPlantAndEquipmentGross
/ us-gaap_PropertyPlantAndEquipmentByTypeAxis
= us-gaap_SoftwareDevelopmentMember
 
Property and equipment, net $ 85,600,000us-gaap_PropertyPlantAndEquipmentNet
/ us-gaap_PropertyPlantAndEquipmentByTypeAxis
= us-gaap_SoftwareDevelopmentMember
$ 78,800,000us-gaap_PropertyPlantAndEquipmentNet
/ us-gaap_PropertyPlantAndEquipmentByTypeAxis
= us-gaap_SoftwareDevelopmentMember
 
Capitalized internal-use software | Minimum      
Property and Equipment      
Estimated useful lives of assets 3 years    
Capitalized internal-use software | Maximum      
Property and Equipment      
Estimated useful lives of assets 5 years