XML 101 R85.htm IDEA: XBRL DOCUMENT
v3.19.1

Commitments and Contingencies (Details Textual) $ in Thousands | 1 Months Ended | 12 Months Ended
--- | --- | ---
Sep. 30, 2016 USD ($) | Jan. 31, 2015 USD ($) | Aug. 31, 2009 USD ($) | Dec. 31, 2018 USD ($) Squarefeet | Dec. 31, 2017 USD ($) | Dec. 31, 2016 USD ($)
Commitments and Contingencies (Textual) |  |  |  |  |  |
Rent expenses |  |  |  | $ 2,843 | $ 2,729 | $ 2,204
Lease agreement maximum penalties amount |  |  |  | $ 48 |  |
Square feet of space based on lease agreements | Squarefeet |  |  |  | 170,363 |  |
Aggregated amount of lease commitment |  |  |  | $ 6,235 |  |
Sought damages in amount |  |  | $ 13,400 |  |  |
Damages plaintiffs amount |  | $ 2,400 |  |  |  |
Customer Contracts [Member] |  |  |  |  |  |
Commitments and Contingencies (Textual) |  |  |  |  |  |
Bank guarantees amount |  |  |  | 453 |  |
Restricted bank deposits |  |  |  | $ 408 |  |
Lease agreements, description |  |  |  | The remaining term of the outstanding leases range from six months to five years. |  |
NIS [Member] |  |  |  |  |  |
Commitments and Contingencies (Textual) |  |  |  |  |  |
Sought damages in amount | $ 34,106 |  | $ 52,000 |  |  |

X
- Definition Aggregated amount of lease commitment. + References No definition available. + Details
Name: | mgic_AggregatedAmountOfLeaseCommitment
Namespace Prefix: | mgic_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Bank guarantees amount. + References No definition available. + Details
Name: | mgic_BankGuaranteesAmount
Namespace Prefix: | mgic_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- References No definition available. + Details
Name: | mgic_CommitmentsAndContingenciesTextualAbstract
Namespace Prefix: | mgic_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The maximum amount of penalties under the lease agreement. + References No definition available. + Details
Name: | mgic_LeaseAgreementMaximumPenaltiesAmount
Namespace Prefix: | mgic_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Description lease agreements. + References No definition available. + Details
Name: | mgic_LeaseAgreementsDescription
Namespace Prefix: | mgic_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Restricted bank deposits. + References No definition available. + Details
Name: | mgic_RestrictedBankDeposits
Namespace Prefix: | mgic_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Square feet of space based on lease agreements + References No definition available. + Details
Name: | mgic_SquareFeetOfSpaceBasedOnLeaseAgreements
Namespace Prefix: | mgic_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of rent expense incurred for leased assets, including but not limited to, furniture and equipment, that is not directly or indirectly associated with the manufacture, sale or creation of a product or product line. + References No definition available. + Details
Name: | us-gaap_LeaseAndRentalExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of damages paid to the plaintiff in the legal matter. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 9 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=82911808&loc=d3e14557-108349 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=82911808&loc=d3e14435-108349 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=82911808&loc=d3e14326-108349 + Details
Name: | us-gaap_LossContingencyDamagesPaidValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The value (monetary amount) of the award the plaintiff seeks in the legal matter. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 9 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=82911808&loc=d3e14557-108349 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=82911808&loc=d3e14435-108349 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 450 -SubTopic 20 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=82911808&loc=d3e14326-108349 + Details
Name: | us-gaap_LossContingencyDamagesSoughtValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_CustomerContractsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | mgic_TypeOfCurrencyAxis=mgic_NISMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |