MARKETABLE SECURITIES (Details 1) (USD $) In Thousands, unless otherwise specified
|
12 Months Ended |
Dec. 31, 2014
|
Dec. 31, 2013
|
Unrealized gains (losses), Amortized cost |
$ 12,032us-gaap_AvailableForSaleSecuritiesAmortizedCost |
$ 716us-gaap_AvailableForSaleSecuritiesAmortizedCost |
Unrealized gains (losses), Gains |
115us-gaap_AvailableForSaleSecuritiesGrossUnrealizedGains |
138us-gaap_AvailableForSaleSecuritiesGrossUnrealizedGains |
Unrealized gains (losses), Losses |
(232)us-gaap_AvailableForSaleSecuritiesGrossUnrealizedLoss |
0us-gaap_AvailableForSaleSecuritiesGrossUnrealizedLoss |
Unrealized gains (losses), Market value |
11,915us-gaap_AvailableForSaleSecurities |
854us-gaap_AvailableForSaleSecurities |
Marketable Securities Due Between One To Three Years [Member] |
|
|
Unrealized gains (losses), Amortized cost |
6,219us-gaap_AvailableForSaleSecuritiesAmortizedCost / us-gaap_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesByTypeAxis = mgic_MarketableSecuritiesDueBetweenOneToThreeYearsMember |
|
Unrealized gains (losses), Gains |
0us-gaap_AvailableForSaleSecuritiesGrossUnrealizedGains / us-gaap_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesByTypeAxis = mgic_MarketableSecuritiesDueBetweenOneToThreeYearsMember |
|
Unrealized gains (losses), Losses |
(124)us-gaap_AvailableForSaleSecuritiesGrossUnrealizedLoss / us-gaap_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesByTypeAxis = mgic_MarketableSecuritiesDueBetweenOneToThreeYearsMember |
|
Unrealized gains (losses), Market value |
6,095us-gaap_AvailableForSaleSecurities / us-gaap_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesByTypeAxis = mgic_MarketableSecuritiesDueBetweenOneToThreeYearsMember |
|
Total Marketable Securities Due Between One To Three Years [Member] |
|
|
Unrealized gains (losses), Amortized cost |
6,219us-gaap_AvailableForSaleSecuritiesAmortizedCost / us-gaap_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesByTypeAxis = mgic_TotalMarketableSecuritiesDueBetweenOneToThreeYearsMember |
|
Unrealized gains (losses), Gains |
0us-gaap_AvailableForSaleSecuritiesGrossUnrealizedGains / us-gaap_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesByTypeAxis = mgic_TotalMarketableSecuritiesDueBetweenOneToThreeYearsMember |
|
Unrealized gains (losses), Losses |
(124)us-gaap_AvailableForSaleSecuritiesGrossUnrealizedLoss / us-gaap_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesByTypeAxis = mgic_TotalMarketableSecuritiesDueBetweenOneToThreeYearsMember |
|
Unrealized gains (losses), Market value |
6,095us-gaap_AvailableForSaleSecurities / us-gaap_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesByTypeAxis = mgic_TotalMarketableSecuritiesDueBetweenOneToThreeYearsMember |
|
Marketable Securities Due From Three To Five Years [Member] |
|
|
Unrealized gains (losses), Amortized cost |
5,697us-gaap_AvailableForSaleSecuritiesAmortizedCost / us-gaap_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesByTypeAxis = mgic_MarketableSecuritiesDueFromThreeToFiveYearsMember |
|
Unrealized gains (losses), Gains |
0us-gaap_AvailableForSaleSecuritiesGrossUnrealizedGains / us-gaap_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesByTypeAxis = mgic_MarketableSecuritiesDueFromThreeToFiveYearsMember |
|
Unrealized gains (losses), Losses |
(108)us-gaap_AvailableForSaleSecuritiesGrossUnrealizedLoss / us-gaap_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesByTypeAxis = mgic_MarketableSecuritiesDueFromThreeToFiveYearsMember |
|
Unrealized gains (losses), Market value |
5,589us-gaap_AvailableForSaleSecurities / us-gaap_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesByTypeAxis = mgic_MarketableSecuritiesDueFromThreeToFiveYearsMember |
|
Total Marketable Securities Due From Three To Five Years [Member] |
|
|
Unrealized gains (losses), Amortized cost |
5,697us-gaap_AvailableForSaleSecuritiesAmortizedCost / us-gaap_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesByTypeAxis = mgic_TotalMarketableSecuritiesDueFromThreeToFiveYearsMember |
|
Unrealized gains (losses), Gains |
0us-gaap_AvailableForSaleSecuritiesGrossUnrealizedGains / us-gaap_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesByTypeAxis = mgic_TotalMarketableSecuritiesDueFromThreeToFiveYearsMember |
|
Unrealized gains (losses), Losses |
(108)us-gaap_AvailableForSaleSecuritiesGrossUnrealizedLoss / us-gaap_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesByTypeAxis = mgic_TotalMarketableSecuritiesDueFromThreeToFiveYearsMember |
|
Unrealized gains (losses), Market value |
$ 5,589us-gaap_AvailableForSaleSecurities / us-gaap_SummaryOfInvestmentsOtherThanInvestmentsInRelatedPartiesByTypeAxis = mgic_TotalMarketableSecuritiesDueFromThreeToFiveYearsMember |
|