v2.4.1.9
EQUITY (Details 2) (USD $)
In Thousands, unless otherwise specified
Dec. 31, 2014
Dec. 31, 2013
Dec. 31, 2012
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Accumulated realized and unrealized gain on available-for-sale securities, net $ (121)us-gaap_AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax $ 138us-gaap_AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax $ 173us-gaap_AccumulatedOtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax
Accumulated foreign currency translation adjustments (5,243)us-gaap_AccumulatedOtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentNetOfTax (327)us-gaap_AccumulatedOtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentNetOfTax (776)us-gaap_AccumulatedOtherComprehensiveIncomeLossForeignCurrencyTranslationAdjustmentNetOfTax
Accumulated unrealized gain (loss) on derivative instruments, net 17mgic_AccumulatedOtherComprehensiveIncomeLossUnrealizedGainLossOnDerivativeInstrumentsNet 17mgic_AccumulatedOtherComprehensiveIncomeLossUnrealizedGainLossOnDerivativeInstrumentsNet 17mgic_AccumulatedOtherComprehensiveIncomeLossUnrealizedGainLossOnDerivativeInstrumentsNet
Total other comprehensive income $ (5,347)us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax $ (172)us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax $ (586)us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax