XML 21 R6.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Statements of Changes in Shareholders' Equity - USD ($) $ in Thousands | Total | Share capital | Additional paid-in capital | Accumulated other comprehensive income (loss) | Retained earnings | Non-controlling interests
--- | --- | --- | --- | --- | --- | ---
Beginning balance at Dec. 31, 2014 | $ 187,724 | $ 1,029 | $ 182,114 | $ (5,347) | $ 7,269 | $ 2,659
Beginning balance, Shares at Dec. 31, 2014 |  | 44,174,217 |  |  |  |
Issuance of shares | (50) |  | (50) |  |  |
Exercise of stock options | 419 | $ 6 | 413 |  |  |
Exercise of stock options, Shares |  | 161,003 |  |  |  |
Stock-based compensation | 234 |  | 220 |  |  | 14
Acquisition of non-controlling interests (Note 3) | (1,744) |  | (1,708) |  |  | (36)
Dividend | (8,535) |  |  |  | (7,788) | (747)
Other comprehensive income (loss) | (1,379) |  |  | (1,348) |  | (31)
Net income | 16,437 |  |  |  | 16,198 | 239
Ending balance at Dec. 31, 2015 | 193,106 | $ 1,035 | 180,989 | (6,695) | 15,679 | 2,098
Ending balance, Shares at Dec. 31, 2015 |  | 44,335,220 |  |  |  |
Exercise of stock options | 41 | $ 1 | 40 |  |  |
Exercise of stock options, Shares |  | 20,550 |  |  |  |
Stock-based compensation | 152 |  | 103 |  |  | 49
Exercise of stock options in a subsidiary | (292) |  | 1,012 |  |  | (1,304)
Acquisition of non-controlling interests (Note 3) | (3) |  | 641 |  |  | (644)
Dividend | (7,859) |  |  |  | (7,761) | (98)
Other comprehensive income (loss) | (692) |  |  | (733) |  | 41
Net income | 12,188 |  |  |  | 11,907 | 281
Ending balance at Dec. 31, 2016 | 196,641 | $ 1,036 | 182,785 | (7,428) | 19,825 | 423
Ending balance, Shares at Dec. 31, 2016 |  | 44,355,770 |  |  |  |
Exercise of stock options | 586 | $ 4 | 582 |  |  |
Exercise of stock options, Shares |  | 132,808 |  |  |  |
Stock-based compensation | 78 |  | 78 |  |  |
Redeemable non-controlling interests reclassification to non-controlling interests | 2,440 |  |  |  |  | 2,440
Dividend | (10,125) |  |  |  | (9,554) | (571)
Other comprehensive income (loss) | 7,565 |  |  | 7,511 |  | 54
Net income | 16,378 |  |  |  | 15,442 | 936
Ending balance at Dec. 31, 2017 | $ 213,563 | $ 1,040 | $ 183,445 | $ 83 | $ 25,713 | $ 3,282
Ending balance, Shares at Dec. 31, 2017 |  | 44,488,578 |  |  |  |

X
- Definition Amount of paid and unpaid common stock and minority interest dividends declared with the form of settlement in cash, stock and payment-in-kind (PIK). + References No definition available. + Details
Name: | mgic_DividendsCommonStockAndMinorityInterest
Namespace Prefix: | mgic_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The consolidated profit or loss for the period, net of income taxes, including the portion attributable to the noncontrolling interest and excluding redeemable non-controlling interests. + References No definition available. + Details
Name: | mgic_ProfitLossExcludingRedeemableNoncontrollingInterest
Namespace Prefix: | mgic_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of increase (decrease) in additional paid in capital (APIC) resulting from a tax benefit (deficiency) associated with an share-based compensation plan other than an employee stock ownership plan (ESOP). + References No definition available. + Details
Name: | us-gaap_AdjustmentToAdditionalPaidInCapitalIncomeTaxEffectFromShareBasedCompensationNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Changes in additional paid in capital related to exercise of share-based payments awards (such as stock options) and the amount of recognized equity-based compensation during the period (such as nonvested shares). + References No definition available. + Details
Name: | us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationAndExerciseOfStockOptions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Decrease in noncontrolling interest (for example, but not limited to, redeeming or purchasing the interests of noncontrolling shareholders, issuance of shares (interests) by the non-wholly owned subsidiary to the parent entity for other than cash, and a buyback of shares (interest) by the non-wholly owned subsidiary from the noncontrolling interests). + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 45 -Paragraph 23 -URI http://asc.fasb.org/extlink&oid=96868048&loc=SL4569655-111683 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 45 -Paragraph 24 -URI http://asc.fasb.org/extlink&oid=96868048&loc=SL4616395-111683 + Details
Name: | us-gaap_MinorityInterestDecreaseFromRedemptions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount after tax of income (loss) attributable to other redeemable noncontrolling equity holder. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.19) -URI http://asc.fasb.org/extlink&oid=63488584&loc=d3e20235-122688 + Details
Name: | us-gaap_NoncontrollingInterestInNetIncomeLossOtherNoncontrollingInterestsRedeemable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount after tax and reclassification adjustments of other comprehensive income (loss). + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=84159872&loc=d3e21463-112644 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 1A -URI http://asc.fasb.org/extlink&oid=84228862&loc=SL7669619-108580 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 1B -URI http://asc.fasb.org/extlink&oid=84228862&loc=SL7669625-108580 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 55 -Paragraph 15 -URI http://asc.fasb.org/extlink&oid=84158357&loc=d3e1436-108581 + Details
Name: | us-gaap_OtherComprehensiveIncomeLossNetOfTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Number of shares issued which are neither cancelled nor held in the treasury. + References No definition available. + Details
Name: | us-gaap_SharesOutstanding
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of share options (or share units) exercised during the current period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=84159872&loc=d3e21463-112644 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(iv)(2) -URI http://asc.fasb.org/extlink&oid=96867065&loc=d3e5070-113901 + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Equity impact of the value of new stock issued during the period. Includes shares issued in an initial public offering or a secondary public offering. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=84159872&loc=d3e21463-112644 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_StockIssuedDuringPeriodValueNewIssues
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Value of stock issued as a result of the exercise of stock options. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=84159872&loc=d3e21463-112644 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.29-31) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 + Details
Name: | us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of stockholders' equity (deficit), net of receivables from officers, directors, owners, and affiliates of the entity, attributable to both the parent and noncontrolling interests. Amount excludes temporary equity. Alternate caption for the concept is permanent equity. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 55 -Paragraph 4I -URI http://asc.fasb.org/extlink&oid=84234705&loc=SL4590271-111686 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 45 -Paragraph 16 -URI http://asc.fasb.org/extlink&oid=96868048&loc=SL4568740-111683 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 45 -Paragraph 15 -URI http://asc.fasb.org/extlink&oid=96868048&loc=SL4568447-111683 + Details
Name: | us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant