XML 101 R86.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Commitments and Contingencies (Details Textual) $ in Thousands | 1 Months Ended | 12 Months Ended
--- | --- | ---
Sep. 30, 2016 ILS (₪) | Jan. 31, 2015 USD ($) | Aug. 31, 2009 USD ($) | Aug. 31, 2009 ILS (₪) | Dec. 31, 2017 USD ($) Squarefeet | Dec. 31, 2016 USD ($) | Dec. 31, 2015 USD ($)
Commitments and Contingencies (Textual) |  |  |  |  |  |  |
Rent expenses |  |  |  |  | $ 2,729 | $ 2,204 | $ 2,045
Lease agreement maximum penalties amount |  |  |  |  | $ 48 |  |
Square feet of space based on lease agreements | Squarefeet |  |  |  |  | 165,646 |  |
Aggregated amount of lease commitment |  |  |  |  | $ 4,396 |  |
Sought damages in amount | ₪ 34,106 |  | $ 13,400 | ₪ 52,000,000 |  |  |
Damages plaintiffs amount |  | $ 2,400 |  |  |  |  |
Restricted bank deposits |  |  |  |  | $ 419 |  |
Lease agreements, description |  |  |  |  | The Group has diverse liability for the lease agreements varying from six months to five years. |  |
Customer Contracts [Member] |  |  |  |  |  |  |
Commitments and Contingencies (Textual) |  |  |  |  |  |  |
Bank guarantees amount |  |  |  |  | $ 516 |  |

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://www.xbrl.org/2003/role/presentationRef -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 Reference 2: http://www.xbrl.org/2003/role/presentationRef -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://www.xbrl.org/2003/role/presentationRef -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 + 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://www.xbrl.org/2003/role/presentationRef -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 Reference 2: http://www.xbrl.org/2003/role/presentationRef -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 3: http://www.xbrl.org/2003/role/presentationRef -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 + 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: |