Entity Central Index Key Cover [Abstract] Document Type Document Type Amendment Flag Amendment Flag Document Period End Date Document Period End Date Document Fiscal Year Focus Document Fiscal Year Focus Document Fiscal Period Focus Document Fiscal Period Focus Trading Symbol Trading Symbol Entity Registrant Name Entity Registrant Name Entity Central Index Key Entity Current Reporting Status Entity Current Reporting Status Current Fiscal Year End Date Current Fiscal Year End Date Entity Filer Category Entity Filer Category Entity Small Business Entity Small Business Entity Emerging Growth Company Entity Emerging Growth Company Entity Shell Company Entity Shell Company Entity Common Stock, Shares Outstanding Entity Common Stock Shares Outstanding Entity File Number Entity File Number Entity Tax Identification Number Entity Tax Identification Number Entity Address, Address Line One Entity Address Address Line1 Entity Address, Address Line Two Entity Address Address Line2 Entity Address, City or Town Entity Address City Or Town Entity Address, State or Province Entity Address State Or Province Entity Address, Postal Zip Code Entity Address Postal Zip Code City Area Code City Area Code Local Phone Number Local Phone Number Entity Incorporation, State or Country Code Entity Incorporation State Country Code Title of 12(b) Security Security12b Title Security Exchange Name Security Exchange Name Document Quarterly Report Document Quarterly Report Document Transition Report Document Transition Report Entity Interactive Data Current Entity Interactive Data Current The aggregate amount as of the balance sheet date of investments in buildings and building improvements that are held for use before accumulated depreciation. The aggregate amount as of the balance sheet date of real estate investment property including land and building and building improvements that are held for use before accumulated depreciation. Notes and mortgages receivable. Statement Of Financial Position [Abstract] ASSETS Assets [Abstract] Real estate: Real Estate Investment Property Net [Abstract] Land Land Buildings and improvements Investment Buildings And Improvements Gross Construction in progress Construction In Progress Gross Total real estate held for use, gross Real Estate Investment Property Gross Less accumulated depreciation and amortization Real Estate Investment Property Accumulated Depreciation Real estate, net Real Estate Investment Property Net Investment in direct financing leases, net Capital Leases Net Investment In Direct Financing Leases Notes and mortgages receivable Notes And Mortgages Receivable Cash and cash equivalents Cash And Cash Equivalents At Carrying Value Restricted cash Restricted Cash And Cash Equivalents Deferred rent receivable Deferred Rent Receivables Net Accounts receivable, net of allowance of $1,790 and $2,094, respectively Accounts Receivable Net Right-of-use assets - operating Operating Lease Right Of Use Asset Right-of-use assets - finance Finance Lease Right Of Use Asset Prepaid expenses and other assets, net Prepaid Expense And Other Assets Total assets Assets LIABILITIES AND STOCKHOLDERS’ EQUITY Liabilities And Stockholders Equity [Abstract] Borrowings under credit agreement, net Line Of Credit Senior unsecured notes, net Unsecured Debt Environmental remediation obligations Accrual For Environmental Loss Contingencies Dividends payable Dividends Payable Current And Noncurrent Lease liability - operating Operating Lease Liability Lease liability - finance Finance Lease Liability Accounts payable and accrued liabilities Accounts Payable And Accrued Liabilities Current And Noncurrent Total liabilities Liabilities Commitments and contingencies Commitments And Contingencies Stockholders’ equity: Stockholders Equity [Abstract] Preferred stock, $0.01 par value; 20,000,000 shares authorized; unissued Preferred Stock Value Common stock, $0.01 par value; 100,000,000 shares authorized; 41,189,974 and 40,854,491 shares issued and outstanding, respectively Common Stock Value Additional paid-in capital Additional Paid In Capital Common Stock Dividends paid in excess of earnings Accumulated Distributions In Excess Of Net Income Total stockholders’ equity Stockholders Equity Total liabilities and stockholders’ equity Liabilities And Stockholders Equity Allowance on accounts receivable Allowance For Doubtful Accounts Receivable Preferred stock, par value Preferred Stock Par Or Stated Value Per Share Preferred stock, shares authorized Preferred Stock Shares Authorized Preferred stock, shares issued Preferred Stock Shares Issued Common stock, par value Common Stock Par Or Stated Value Per Share Common stock, shares authorized Common Stock Shares Authorized Common stock, shares issued Common Stock Shares Issued Common stock, shares outstanding Common Stock Shares Outstanding Costs and expenses before gains losses from sale of properties. Income Statement [Abstract] Revenues: Revenues [Abstract] Revenues from rental properties Operating Leases Income Statement Lease Revenue Interest on notes and mortgages receivable Interest And Fee Income Loans And Leases Total revenues Revenues Operating expenses: Operating Expenses [Abstract] Property costs Cost Of Property Repairs And Maintenance Impairments Asset Impairment Charges Environmental Environmental Remediation Expense General and administrative General And Administrative Expense Allowance for doubtful accounts Provision For Doubtful Accounts Depreciation and amortization Depreciation And Amortization Total operating expenses Costs And Expenses Before Gains Losses From Sale Of Properties Gain (loss) on dispositions of real estate Gain Loss On Sale Of Property Plant Equipment Operating income Operating Income Loss Other income (expense), net Other Nonoperating Income Expense Interest expense Interest Expense Net earnings Net Income Loss Basic earnings per common share: Earnings Per Share Basic [Abstract] Net earnings Earnings Per Share Basic Diluted earnings per common share: Earnings Per Share Diluted [Abstract] Net earnings Earnings Per Share Diluted Weighted average common shares outstanding: Weighted Average Number Of Shares Outstanding [Abstract] Basic Weighted Average Number Of Shares Outstanding Basic Diluted Weighted Average Number Of Diluted Shares Outstanding Asset impairment charges, continuing and discontinuing operations. The increase (decrease) during the reporting period in the amount due that is the result of the cumulative difference between actual rent due and rental income recognized on a straight-line basis for uncollectible rent. The amount of amortization expense of above market and below market leases recognized for the period. The present value of the difference between the fair market rent and the contractual rent for in-place leases at the time the properties are acquired is amortized into revenue from rental properties over the remaining lives of the in-place leases. The amount of the amortization of investment in direct financing leases. The cash inflow from the sale of real estate owned for investment purposes. The net cash inflow or outflow for the net change associated with funds from 1031 exchange escrow accounts intended for use and are associated with underlying transactions that are classified as investing activities. Issuance of notes and mortgages receivable. The cash inflow from the collection of notes and mortgages receivable that are classified as investing activities. The cash inflow from borrowings under the term loan agreements. The increase (decrease) during the period in the amount of customer security deposits in financing activities. The cash outflow to settle restricted stock units. The amount of cash paid for environmental remediation during the period. Dividends declared but not yet paid. Statement Of Cash Flows [Abstract] Statement [Table] Statement [Table] Sale of Stock Subsidiary Sale Of Stock [Axis] Sale of Stock Sale Of Stock Name Of Transaction [Domain] ATM program. ATM Program [Member] At The Market Equity Offering Program [Member] Statement [Line Items] Statement [Line Items] CASH FLOWS FROM OPERATING ACTIVITIES: Net Cash Provided By Used In Operating Activities [Abstract] Net earnings Profit Loss Adjustments to reconcile net earnings to net cash flow provided by operating activities: Adjustments To Reconcile Net Income Loss To Cash Provided By Used In Operating Activities [Abstract] Depreciation and amortization expense Impairment charges Asset Impairment Charges Continuing And Discontinuing Operations (Gain) loss on dispositions of real estate Gains Losses On Sales Of Investment Real Estate Deferred rent receivable Increase Decrease In Deferred Rent Receivable Amortization of above-market and below-market leases Amortization Of Above Market And Below Market Leases Amortization of investment in direct financing leases Amortization Of Investment In Direct Financing Lease Amortization of debt issuance costs Amortization Of Financing Costs Accretion expense Asset Retirement Obligation Accretion Expense Stock-based compensation Share Based Compensation Changes in assets and liabilities: Increase Decrease In Operating Capital [Abstract] Accounts receivable Increase Decrease In Accounts Receivable Prepaid expenses and other assets Increase Decrease In Prepaid Deferred Expense And Other Assets Environmental remediation obligations Environmental Expense And Liabilities Accounts payable and accrued liabilities Increase Decrease In Accounts Payable And Accrued Liabilities Net cash flow provided by operating activities Net Cash Provided By Used In Operating Activities CASH FLOWS FROM INVESTING ACTIVITIES: Net Cash Provided By Used In Investing Activities [Abstract] Property acquisitions Payments To Acquire Commercial Real Estate Capital expenditures Payments For Capital Improvements Addition to construction in progress Payments For Construction In Process Proceeds from dispositions of real estate Proceeds From Sale Of Investment Real Estate Deposits for property acquisitions Increase Decrease In Cash Held For Property Acquisitions (Issuance) of notes and mortgages receivable Issuance Of Notes And Mortgages Receivable Collection of notes and mortgages receivable Collection Of Notes And Mortgages Receivable Net cash flow (used in) investing activities Net Cash Provided By Used In Investing Activities CASH FLOWS FROM FINANCING ACTIVITIES: Net Cash Provided By Used In Financing Activities [Abstract] Borrowings under credit agreement Proceeds From Lines Of Credit Repayments under credit agreement Repayments Of Lines Of Credit Proceeds from senior unsecured notes Proceeds From Borrowings Under Term Loan Agreements Payment of debt issuance costs Payments Of Debt Issuance Costs Payment of finance lease obligations Repayments Of Long Term Capital Lease Obligations Security deposits received (refunded) Increase Decrease In Customer Security Deposits Financing Activities Payments of cash dividends Payments Of Dividends Payments in settlement of restricted stock units Payments In Settlement Of Restricted Stock Units Proceeds from issuance of common stock, net Proceeds From Issuance Of Common Stock Net cash flow (used in) provided by financing activities Net Cash Provided By Used In Financing Activities Change in cash, cash equivalents and restricted cash Cash Cash Equivalents Restricted Cash And Restricted Cash Equivalents Period Increase Decrease Including Exchange Rate Effect Cash, cash equivalents and restricted cash at beginning of period Cash Cash Equivalents Restricted Cash And Restricted Cash Equivalents Including Disposal Group And Discontinued Operations Cash, cash equivalents and restricted cash at end of period Supplemental disclosures of cash flow information Cash paid during the period for: Supplemental Cash Flow Information [Abstract] Interest Interest Paid Net Income taxes Income Taxes Paid Net Environmental remediation obligations Environmental Remediation Costs Paid Non-cash transactions: Noncash Investing And Financing Items [Abstract] Dividends declared but not yet paid Dividends Declared But Not Yet Paid Issuance of notes and mortgages receivable related to property dispositions Mortgage Loan Related To Property Sales1 Organization, Consolidation and Presentation of Financial Statements [Abstract] Description of Business Nature Of Operations Accounting Policies [Abstract] Accounting Policies Significant Accounting Policies [Text Block] Leases [Abstract] Leases Leases Of Lessor Disclosure [Text Block] Commitments And Contingencies Disclosure [Abstract] Commitments and Contingencies Commitments And Contingencies Disclosure [Text Block] Debt Disclosure [Abstract] Debt Debt Disclosure [Text Block] Environmental Remediation Obligations [Abstract] Environmental Obligations Environmental Loss Contingency Disclosure [Text Block] Equity [Abstract] Stockholders' Equity Stockholders Equity Note Disclosure [Text Block] Earnings Per Share [Abstract] Earnings Per Common Share Earnings Per Share [Text Block] Fair Value Disclosures [Abstract] Fair Value Measurements Fair Value Disclosures [Text Block] Discontinued Operations And Disposal Groups [Abstract] Assets Held For Sale Disposal Groups Including Discontinued Operations Disclosure [Text Block] Business Combinations [Abstract] Property Acquisitions Business Combination Disclosure [Text Block] Subsequent Events [Abstract] Subsequent Events Subsequent Events [Text Block] Basis of Presentation Basis Of Accounting Policy Policy [Text Block] Reclassifications Prior Period Reclassification Adjustment Description Disclosure of accounting policy for unaudited, interim consolidated financial statements. Unaudited, Interim Consolidated Financial Statements Unaudited Interim Consolidated Financial Statements Policy [Text Block] Use of Estimates, Judgments and Assumptions Use Of Estimates Disclosure of accounting policy for an entity that owns real property which is leased to tenants to produce rental income. Real Estate Real Estate For Lessor Policy [Text Block] Disclosure of accounting policy for recording and recognizing income under direct financing leases. Direct Financing Leases Direct Financing Leases Policy [Text Block] Disclosure of accounting policy for notes and mortgages receivables. This disclosure may include (1) the basis at which such receivables are carried in the entity's statements of financial position (2) how the notes and mortgages are evaluated for impairment (3) how losses are calculated for impaired notes and mortgages receivable and (4) how interest is recognized for performing and non-performing notes and mortgages receivable. Notes and Mortgages Receivable Notes And Mortgages Receivable Policy [Text Block] Disclosure of accounting policy for recording deferred rent receivable and recognizing revenue. Revenue Recognition and Deferred Rent Receivable Deferred Rent Receivable And Revenue Recognition Policy [Text Block] Impairment of Long-Lived Assets Impairment Or Disposal Of Long Lived Assets Policy [Text Block] Fair Value of Financial Instruments Fair Value Measurement Policy Policy [Text Block] Disclosure of accounting policy for recording environmental remediation obligations. Environmental Remediation Obligations Environmental Remediation Obligations Policy [Text Block] Income Taxes Income Tax Policy [Text Block] New Accounting Pronouncements New Accounting Pronouncements Policy Policy [Text Block] Finance lease and operating lease payments receivable. Future Contractual Annual Rentals Receivable Finance Lease And Operating Lease Payments Receivable Table [Text Block] Future Contractual Minimum Annual Rentals Receivable Contractual Obligation Fiscal Year Maturity Schedule Table [Text Block] Schedule of lease-related assets and liabilities. Schedule of Lease-related Assets and Liabilities Schedule Of Lease Related Assets And Liabilities Table [Text Block] Schedule of weighted-average remaining lease terms and discount rates. Summary of Weighted-average Remaining Lease Terms and Discount Rates Schedule Of Weighted Average Remaining Lease Terms And Discount Rates Table [Text Block] Schedule of Information Related to Lease Costs for Finance and Operating Leases Lease Cost Table [Text Block] Schedule of supplemental cash flow information related to leases. Schedule of Supplemental Cash Flow Information Related to Leases Schedule Of Supplemental Cash Flow Information Related To Leases Table [Text Block] Tabular disclosure of maturity of finance lease liability and operating lease liability. Schedule of Reconciles the Undiscounted Cash Flows for Direct Financing Lease Liabilities and Operating Lease Liabilities Finance Lease Liability And Operating Lease Liability Maturity Table [Text Block] Schedule of Maturity Amounts Outstanding Under Credit Agreement and Senior Unsecured Notes Schedule Of Line Of Credit Facilities [Text Block] Summary of Scheduled Debt Maturities, Including Balloon Payments Schedule Of Maturities Of Long Term Debt Table [Text Block] Summary of Changes in Stockholders' Equity Schedule Of Stockholders Equity Table [Text Block] Computation of Basic and Diluted Earnings Per Common Share Schedule Of Earnings Per Share Basic And Diluted Table [Text Block] Schedule of Assets and Liabilities Measured at Fair Value on Recurring Basis Schedule Of Fair Value Assets And Liabilities Measured On Recurring Basis Table [Text Block] The number of real estate properties leased from third-party landlords as of the balance sheet date. The number of real estate properties in the portfolio, consisting of properties owned and properties leased from third party landlords. The number of states in which the company's properties, comprised of those that are owned and those that are leased from third party landlords, are located. Lease space used for office. Organization Consolidation And Presentation Of Financial Statements [Abstract] Description of business. Description of business. Description Of Business [Table] Description Of Business [Table] Real Estate Property Ownership Real Estate Properties [Axis] Real Estate Properties Real Estate Properties [Domain] Owned Properties [Member] Wholly Owned Properties [Member] Counterparty Name Counterparty Name [Axis] Counterparty Name Repurchase Agreement Counterparty Name [Domain] Third Parties [Member] Third Party Landlords [Member] Third Parties [Member] Description Of Business [Line Items] Description Of Business [Line Items] Number of properties Number Of Real Estate Properties Number of properties leased Number Of Properties Leased From Landlords Number of properties in portfolio Number Of Properties In Portfolio Number of states in which our properties are located Number Of States In Which Properties Are Located Space used for office Lease Space Used For Office Organization consolidation and presentation of financial statements. Organization consolidation and presentation of financial statements. Organization Consolidation And Presentation Of Financial Statements [Table] Organization Consolidation And Presentation Of Financial Statements [Table] Balance Sheet Location Balance Sheet Location [Axis] Balance Sheet Location Balance Sheet Location [Domain] Prepaid Expenses and Other Assets [Member] Prepaid Expenses And Other Current Assets [Member] Financing Receivable Portfolio Segment Financing Receivable Portfolio Segment [Axis] Financing Receivable Portfolio Segment Financing Receivable Portfolio Segment [Domain] Direct Financing Leases Financing Receivable [Member] Finance Leases Portfolio Segment [Member] Receivable Type Accounts Notes Loans And Financing Receivable By Receivable Type [Axis] Receivable Receivable Type [Domain] Notes and mortgages receivable. Notes and Mortgages Receivable [Member] Notes And Mortgages Receivable [Member] Impaired Long-Lived Assets Held and Used by Type Impaired Long Lived Assets Held And Used By Type [Axis] Impaired Long-Lived Assets Held and Used, Asset Name Impaired Long Lived Assets Held And Used Asset Name [Domain] Estimated sale price method. Estimated Sale Price Method [Member] Estimated Sale Price Method [Member] Discounted cash flow method. Discounted Cash Flow Method [Member] Discounted Cash Flow Method [Member] Accumulation of asset retirement cost method. Accumulation of Asset Retirement Cost Method [Member] Accumulation Of Asset Retirement Cost Method [Member] Asset Class Fair Value By Asset Class [Axis] Asset Class Fair Value Assets Measured On Recurring Basis Unobservable Input Reconciliation By Asset Class [Domain] Properties [Member] Property Plant And Equipment [Member] Fair Value Hierarchy and NAV Fair Value By Fair Value Hierarchy Level [Axis] Fair Value Hierarchy and NAV Fair Value Measurements Fair Value Hierarchy [Domain] Level 3 [Member] Fair Value Inputs Level3 [Member] Measurement Input Type Measurement Input Type [Axis] Measurement Input Type Measurement Input Type [Domain] Measurement Input Expected Term [Member] Measurement Input Expected Term [Member] Measurement Input Cap Rate [Member] Measurement Input Cap Rate [Member] Measurement Input Discount Rate [Member] Measurement Input Discount Rate [Member] Statistical Measurement Range [Axis] Statistical Measurement Range [Member] Maximum [Member] Maximum [Member] Minimum [Member] Minimum [Member] Organization Consolidation And Presentation Of Financial Statements [Line Items] Organization Consolidation And Presentation Of Financial Statements [Line Items] Debt issuance costs Deferred Finance Costs Net Estimated fair value Property Plant And Equipment Fair Value Disclosure Property plant and equipment assumed holding periods. Represents the percentage of annual assumed average rent increases used as an unobservable input to measure the fair value. Value of input used to measure long lived assets. Assumed holding periods for unobservable inputs Property Plant And Equipment Assumed Holding Periods Assumed annual average rent increases for unobservable inputs Percentage Annual Assumed Average Rent Increases Unobservable Inputs Real estate fair value, measurement input Long Lived Assets Measurement Input Leases. Leases. Leases [Table] Leases [Table] Third-party landlords. Third Party Landlords [Member] Third Party Landlords [Member] Adjustments for New Accounting Pronouncements Adjustments For New Accounting Pronouncements [Axis] Type of Adoption Type Of Adoption [Member] Accounting Standards Update 2016-02 [Member] Accounting Standards Update201602 [Member] Leases [Line Items] Leases [Line Items] The total amount of revenue recognized for the period from operating leases, direct financing leases, above and below market leases and sublease revenue. Rental income contractually due from tenants in revenues from rental properties included in continuing operations Income Statement Lease Revenue The total of non-cash adjustments recorded for deferred rental revenue due to the recognition of rental income on a straight-line basis over the current lease term, net amortization of above-market and below-market leases, and recognition of rental income recorded under direct financing leases using the effective interest rate method which produces a constant periodic rate of return on the net investments in the leased properties and the amortization of deferred lease incentives. Revenue recognition adjustments included in revenues from rental properties in continuing operations Real Estate Revenue Recognition Adjustments The dollar amount of real estate taxes and other municipal charges paid by the company and then reimbursed by tenants included in revenues from rental properties and rental property expenses. Real Estate Taxes and other municipal charges paid then reimbursed by tenants included in revenues and expenses Real Estate Taxes And Other Municipal Charges Paid Then Reimbursed By Tenants Included In Revenues And Expenses Lease origination costs Deferred Costs Leasing Net Capital leases net investment in direct financing leases payments to be received. Net investment in direct financing leases Net Investments in direct financing lease, lease payments receivable Capital Leases Net Investment In Direct Financing Leases Payments To Be Received Net Investment in direct financing lease, unguaranteed estimated residual value Capital Leases Net Investment In Direct Financing Leases Unguaranteed Residual Values Of Leased Property Net Investment in direct financing lease, deferred income Capital Leases Net Investment In Direct Financing Leases Deferred Income Operating leases Lessor Operating Lease Payments Fiscal Year Maturity [Abstract] Operating leases, 2019 Lessor Operating Lease Payments To Be Received Remainder Of Fiscal Year Operating leases, 2020 Lessor Operating Lease Payments To Be Received Two Years Operating leases, 2021 Lessor Operating Lease Payments To Be Received Three Years Operating leases, 2022 Lessor Operating Lease Payments To Be Received Four Years Operating leases, 2023 Lessor Operating Lease Payments To Be Received Five Years Operating leases, Thereafter Lessor Operating Lease Payments To Be Received Thereafter Operating leases, Total Lessor Operating Lease Payments To Be Received Direct financing leases Sales Type And Direct Financing Leases Lease Receivable Fiscal Year Maturity [Abstract] Direct financing leases, 2019 Sales Type And Direct Financing Leases Lease Receivable Payments To Be Received Remainder Of Fiscal Year Direct financing leases, 2020 Sales Type And Direct Financing Leases Lease Receivable Payments To Be Received Two Years Direct financing leases, 2021 Sales Type And Direct Financing Leases Lease Receivable Payments To Be Received Three Years Direct financing leases, 2022 Sales Type And Direct Financing Leases Lease Receivable Payments To Be Received Four Years Direct financing leases, 2023 Sales Type And Direct Financing Leases Lease Receivable Payments To Be Received Five Years Direct financing leases, Thereafter Sales Type And Direct Financing Leases Lease Receivable Payments To Be Received Thereafter Direct financing leases, Total Sales Type And Direct Financing Leases Lease Receivable Payments To Be Received Future Minimum Lease Payments For Capital Leases And Operating Leases [Abstract] Operating leases Future Minimum Lease Payments For Capital Leases And Operating Leases [Abstract] Operating leases, 2019 Operating Leases Future Minimum Payments Receivable Current Operating leases, 2020 Operating Leases Future Minimum Payments Receivable In Two Years Operating leases, 2021 Operating Leases Future Minimum Payments Receivable In Three Years Operating leases, 2022 Operating Leases Future Minimum Payments Receivable In Four Years Operating leases, 2023 Operating Leases Future Minimum Payments Receivable In Five Years Operating leases, Thereafter Operating Leases Future Minimum Payments Receivable Thereafter Operating leases, Total Operating Leases Future Minimum Payments Receivable Direct financing leases Capital Leases Future Minimum Payments Receivable [Abstract] Financing Leases Capital Leases Future Minimum Payments Receivable Current Direct financing leases, 2020 Capital Leases Future Minimum Payments Receivable In Two Years Direct financing leases, 2021 Capital Leases Future Minimum Payments Receivable In Three Years Direct financing leases, 2022 Capital Leases Future Minimum Payments Receivable In Four Years Direct financing leases, 2023 Capital Leases Future Minimum Payments Receivable In Five Years Direct financing leases, Thereafter Capital Leases Future Minimum Payments Receivable Due Thereafter Direct financing leases, Total Capital Leases Future Minimum Payments Receivable Operating lease liabilities Operating lease right of use assets Lease asset. Lease assets. Lease liabilities. Lease liabilities. Assets And Liabilities Lessee [Abstract] Assets Lease Assets [Abstract] Total lease assets Lease Assets Liabilities Lease Liabilities [Abstract] Total lease liabilities Lease Liabilities Weighted-average remaining lease term. Weighted-average discount rate. Weighted-average remaining lease term (years) Weighted Average Remaining Lease Term [Abstract] Operating leases Operating Lease Weighted Average Remaining Lease Term1 Finance leases Finance Lease Weighted Average Remaining Lease Term1 Weighted-average discount rate Weighted Average Discount Rate [Abstract] Operating leases Operating Lease Weighted Average Discount Rate Percent Finance leases Finance Lease Weighted Average Discount Rate Percent Finance lease costs. Lease Cost [Abstract] Operating lease cost Operating Lease Cost Finance lease cost Finance Lease Costs [Abstract] Amortization of leased assets Finance Lease Right Of Use Asset Amortization Interest on lease liabilities Finance Lease Interest Expense Short-term lease cost Short Term Lease Cost Total lease cost Lease Cost Operating cash flows for financing leases. Cash paid for amounts included in the measurement of lease liabilities. Supplemental cash flow information related to lease. Supplemental Cash Flow Information Related To Lease [Abstract] Cash paid for amounts included in the measurement of lease liabilities Cash Paid For Amounts Included In Measurement Of Lease Liabilities [Abstract] Operating cash flows for operating leases Operating Lease Payments Operating cash flows for finance leases Operating Cash Flows For Financing Leases Financing cash flows for finance leases Finance Lease Principal Payments Finance lease liability and operating lease liability maturity. Finance Lease Liability And Operating Lease Liability Maturity [Abstract] 2019 Lessee Operating Lease Liability Payments Remainder Of Fiscal Year 2020 Lessee Operating Lease Liability Payments Due Year Two 2021 Lessee Operating Lease Liability Payments Due Year Three 2022 Lessee Operating Lease Liability Payments Due Year Four 2023 Lessee Operating Lease Liability Payments Due Year Five Thereafter Lessee Operating Lease Liability Payments Due After Year Five Total lease payments Lessee Operating Lease Liability Payments Due Less: amount representing interest Lessee Operating Lease Liability Undiscounted Excess Amount 2019 Finance Lease Liability Payments Remainder Of Fiscal Year 2020 Finance Lease Liability Payments Due Year Two 2021 Finance Lease Liability Payments Due Year Three 2022 Finance Lease Liability Payments Due Year Four 2023 Finance Lease Liability Payments Due Year Five Thereafter Finance Lease Liability Payments Due After Year Five Total lease payments Finance Lease Liability Payments Due Less: amount representing interest Finance Lease Liability Undiscounted Excess Amount Present value of lease payments 2019 Operating Leases Future Minimum Payments Due Current 2020 Operating Leases Future Minimum Payments Due In Two Years 2021 Operating Leases Future Minimum Payments Due In Three Years 2022 Operating Leases Future Minimum Payments Due In Four Years 2023 Operating Leases Future Minimum Payments Due In Five Years Thereafter Operating Leases Future Minimum Payments Due Thereafter The aggregate number of properties currently being leased to subsidiaries of our tenant. The number of unitary leases that are guaranteed by the parent company. The number of current tenants that are considered significant. Lease Arrangement, Type Lease Arrangement Type [Axis] Lease Arrangement, Type Lease Arrangement Type [Domain] Subsidiaries of Global Partners LP [Member] Subsidiaries of Global Partners LP (NYSE GLP) [Member] Subsidiaries Of Global Partners Lp [Member] Concentration Risk Benchmark Concentration Risk By Benchmark [Axis] Concentration Risk Benchmark Concentration Risk Benchmark [Domain] Sales Revenue, Net [Member] Sales Revenue Net [Member] Concentration Risk Type Concentration Risk By Type [Axis] Concentration Risk Type Concentration Risk Type [Domain] Customer Concentration Risk [Member] Customer Concentration Risk [Member] Apro LLC [Member] Apro, LLC (d/b/a United Oil) [Member] Apro Llc [Member] Subsidiaries of Chestnut Petroleum Dist. Inc [Member] Subsidiaries of Chestnut Petroleum Dist. Inc.[Member] Subsidiaries Of Chestnut Petroleum Dist Inc [Member] Number of leased properties Number Of Leased Properties Number of unitary leases guaranteed by the parent Number Of Unitary Leases Guaranteed Number of significant tenants Number Of Significant Tenants Lease revenue percentage Concentration Risk Percentage1 The number of unitary leases leased to tenant. Number Of Unitary Leases To Tenant Number Of Unitary Leases To Tenant The number of unitary leases with subsidiaries of the tenant's parent. The number of properties in the unitary lease that is guaranteed by the parent company, its principals and affiliates. Number of unitary leases Number Of Unitary Leases Number of leased properties guaranteed Number Of Properties In Unitary Lease Guaranteed The number of properties previously leased to the tenant. Number of leased properties subject to long-term triple-net leases. Number of leased properties as single unit triple-net leases. The maximum dollar amount the company has committed to co-invest with tenants for capital expenditures. The number of years in the initial term under unitary triple-net lease agreements. The number of years in the successive renewal term under unitary triple-net lease agreements. Number of long-term triple-net leases in portfolios. Legal Entity Legal Entity [Axis] Entity Entity [Domain] Getty Petroleum Marketing Inc [Member] Getty Petroleum Marketing Inc [Member] Getty Petroleum Marketing Inc [Member] Property, Plant and Equipment, Type Property Plant And Equipment By Type [Axis] Property, Plant and Equipment, Type Property Plant And Equipment Type [Domain] Underground storage tanks. USTs [Member] Underground Storage Tanks [Member] Number of properties previously leased Number Of Properties Previously Leased Number of leased properties subject to long-term triple-net leases Number Of Leased Properties Subject To Long Term Triple Net Leases Number of long-term triple-net leases during the period Number Of Long Term Triple Net Leases In Portfolios Number of leased properties as single unit triple net leases Number Of Leased Properties As Single Unit Triple Net Leases Maximum lease commitment for capital expenditure Maximum Lease Commitment For Capital Expenditure Unitary triple-net lease agreements initial terms Period Of Initial Term Under Unitary Triple Net Lease Agreements Unitary triple-net lease agreements successive terms Period Of Successive Renewal Terms Under Unitary Triple Net Lease Agreements The dollar amount of the asset retirement obligations related to underground storage tanks that were removed from the balance sheet. The amount of net asset retirement costs related to underground storage tanks removed from the balance sheet in conjunction with a transfer of related obligations to the lessee. Asset retirement obligations removed from balance sheet Asset Retirement Obligations Removed From Balance Sheet Net asset retirement costs related to USTs removed from balance sheet Net Asset Retirement Costs Removed Deferred rental revenue Deferred Revenue Leases Gross Deferred rental revenue accumulated amortization Deferred Revenue Leases Accumulated Amortization Carrying value as of the balance sheet date of obligations incurred through that date and payable related to legal proceedings and claims which have arisen in the ordinary course of business. Loss Contingencies [Table] Loss Contingencies [Table] Loss Contingency Nature Loss Contingencies By Nature Of Contingency [Axis] Loss Contingency, Nature Loss Contingency Nature [Domain] Lower Passaic River. Lower Passaic River [Member] Lower Passaic River [Member] Environmental Remediation Site Environmental Remediation Site [Axis] Environmental Remediation Site Environmental Remediation Site [Domain] Seventeen mile stretch of Lower Passaic River. 17 Mile Stretch of Lower Passaic River [Member] Seventeen Mile Stretch Of Lower Passaic River [Member] Eight mile stretch of Lower Passaic River. 8 Mile Stretch of Lower Passaic River [Member] Eight Mile Stretch Of Lower Passaic River [Member] Occidental Chemical Corporation. Occidental Chemical Corporation [Member] Occidental Chemical Corporation [Member] Regulatory Agency Regulatory Agency [Axis] Regulatory Agency Regulatory Agency [Domain] Environmental protection agency. EPA [Member] Environmental Protection Agency [Member] YPF. YPF [Member] Y P F [Member] Comprehensive environmental response, compensation, and liability act member. CERCLA [Member] Comprehensive Environmental Response Compensation And Liability Act [Member] Geographical Statement Geographical [Axis] Geographical Segment Geographical [Domain] NJ [Member] NEW JERSEY Methyl tertiary butyl ether. MTBE [Member] Methyl Tertiary Butyl Ether [Member] PA [Member] PENNSYLVANIA MARYLAND [Member] MARYLAND Loss Contingencies [Line Items] Loss Contingencies [Line Items] Accrued legal matters Accrued Legal Matters The number of parties potentially responsible. Number of potentially responsible parties Number Of Potentially Responsible Parties The number of parties required to perform a remedial investigation and feasibility study. The estimated remediation cost to be divided among responsible parties. Parties to perform a remedial investigation and feasibility study Parties To Perform Remedial Investigation And Feasibility Study Cost estimate for remediating Lower Passaic River Estimated Remediation Cost Responsible Party Allocation The remedial design performance period under the settlement agreement. The amount of the cash payout owed as part of the final settlement agreement with 15 of the 20 identified parties.. Number of released parties. The number of potentially responsible parties that the EPA intends to enter into a final settlement agreement with. Remedial design performance period under EPA settlement agreement Remedial Design Performance Period Settlement Agreement Number of potentially responsible parties that the EPA intends to enter into a final settlement agreement with Number Of Potentially Responsible Parties Identified For Final Settlement Remediation cost for identified responsible parties Amount Of Cash Payout Owed By Responsible Parties Payment of bankruptcy amount Liabilities Subject To Compromise Payments Under Bankruptcy Court Order For Resolutions Of Contingencies Subject To Chapter11 Bankruptcy files claim amount Bankruptcy Claims Amount Of Claims Filed Number of released parties Number Of Released Parties Number of defendants under complaint filed by Occidental. Number of defendants under complaint Number Of Defendants Under Complaint Number of defendants in the MTBE complaint Loss Contingency Number Of Defendants Line Of Credit Facility [Abstract] Line Of Credit Facility [Table] Line Of Credit Facility [Table] Credit Facility Credit Facility [Axis] Credit Facility Credit Facility [Domain] Revolving Facility [Member] Revolving Credit Facility [Member] Term loan. Term Loan [Member] Term Loan [Member] Series A Notes maturing in February 2021. Series A Notes Maturing in February 2021 [Member] Series A Note Maturing In February Two Thousand Twenty One [Member] Series B Notes maturing in June 2023. Series B Notes Maturing in June 2023 [Member] Series B Note Maturing In June Two Thousand Twenty Three [Member] Series C Notes maturing in February 2025. Series C Notes Maturing in February 2025 [Member] Series C Note Maturing In February Two Thousand Twenty Five [Member] Series D Note maturing in June 2028. Series D Notes Maturing in June 2028 [Member] Series D Note Maturing In June Two Thousand Twenty Eight [Member] Series E Note maturing in June 2028. Series E Notes Maturing in June 2028 [Member] Series E Note Maturing In June Two Thousand Twenty Eight [Member] Series F Notes maturing in September 2029. Series F Notes Maturing in September 2029 [Member] Series F Note Maturing In September Two Thousand Twenty Nine [Member] Series G Notes maturing in September 2029. Series G Notes Maturing in September 2029 [Member] Series G Note Maturing In September Two Thousand Twenty Nine [Member] Series H Notes Maturing in September 2029. Series H Note Maturing In September Two Thousand Twenty Nine Series H Note Maturing In September Two Thousand Twenty Nine [Member] Line of Credit Facility [Line Items] Line Of Credit Facility [Line Items] Maturity Date Debt Instrument Maturity Date Interest Rate Debt Instrument Interest Rate Stated Percentage Borrowings under credit agreement, outstanding amount Borrowings under note purchase and guarantee agreement, outstanding amount Total Debt Instrument Carrying Amount Unamortized debt issuance costs, net Debt Instrument Unamortized Discount Premium And Debt Issuance Costs Net Total debt, net Long Term Debt The stated amount of the senior unsecured credit agreement which does not include the amount by which the credit facility can be increased. Credit and loan agreement. Schedule Of Credit Agreement And Term Loan Agreement [Table] Schedule Of Credit Agreement And Term Loan Agreement [Table] Schedule Of Credit Agreement And Term Loan Agreement [Table] Variable Rate Variable Rate [Axis] Variable Rate Variable Rate [Domain] Base Rate [Member] Base Rate [Member] LIBOR [Member] London Interbank Offered Rate L I B O R [Member] SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate, Original Amount Mortgage Loans On Real Estate Original Loan Amount [Axis] SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate, Original Loan Amount Mortgage Loans On Real Estate Original Loan Amount [Domain] Fourth restated prudential note purchase agreement. Fourth Restated Prudential Note Purchase Agreement [Member] Fourth Restated Prudential Note Purchase Agreement [Member] Debt Instrument Debt Instrument [Axis] Debt Instrument, Name Debt Instrument Name [Domain] Series A Note. Series A Note [Member] Series A Note [Member] Series B Notes. Series B Notes [Member] Series B Notes [Member] Series C Notes. Series C Notes [Member] Series C Notes [Member] Series D Notes. Series D Notes [Member] Series D Notes [Member] Series E Notes. Series E Notes [Member] Series E Notes [Member] Series F Notes. Series F Notes [Member] Series F Notes [Member] Series G Notes. Series G Notes [Member] Series G Notes [Member] Series H Notes. Series H Notes [Member] Series H Notes [Member] Credit and Loan Agreement [Line Items] Credit And Loan Agreement [Line Items] Credit agreement initiation date Line Of Credit Facility Initiation Date1 Senior unsecured revolving credit agreement Stated Amount Of Senior Unsecured Credit Agreement Revolving facility under credit agreement Line Of Credit Facility Current Borrowing Capacity Term loan under credit agreement Loans Payable Line of credit facility extended maturity date. Line of credit facility agreement maturity date. Credit facility amount Line Of Credit Facility Maximum Borrowing Capacity Credit agreement maturity date Line Of Credit Facility Agreement Maturity Date Credit agreement extended maturity date Line Of Credit Facility Extended Maturity Date The length of time the Revolving Facility may be extended. Line of credit facility optional extended maturity date. The amount by which the credit facility can be increased. Option to increase credit facility Amount Credit Facility Can Be Increased Revolving facility optional extension period Revolving Facility Optional Extension Period Credit facility agreement, optional extended maturity date Line Of Credit Facility Optional Extended Maturity Date Credit agreement margin on borrowing base rate Debt Instrument Basis Spread On Variable Rate1 Annual commitment fee on undrawn funds Line Of Credit Facility Unused Capacity Commitment Fee Percentage Senior unsecured note, issuance date Debt Instrument Issuance Date1 Senior unsecured note purchase agreement, maturity date Interest rate on agreement Senior unsecured note, aggregate amount issued Debt Instrument Face Amount The increase in basis points to the base interest rate in the event of a default on the credit agreement. Amount of rate increase in case of default Debt Instrument Rate Increase Credit Agreement Default Maturities Of Long Term Debt [Abstract] Debt Instrument [Table] Debt Instrument [Table] Long-term Debt, Type Longterm Debt Type [Axis] Long-term Debt, Type Longterm Debt Type [Domain] Senior unsecured notes. Senior Unsecured Notes [Member] Senior Unsecured Notes [Member] Debt Instrument [Line Items] Debt Instrument [Line Items] 2019 Long Term Debt Maturities Repayments Of Principal Remainder Of Fiscal Year 2020 Long Term Debt Maturities Repayments Of Principal In Year Two 2021 Long Term Debt Maturities Repayments Of Principal In Year Three 2022 Long Term Debt Maturities Repayments Of Principal In Year Four 2023 Long Term Debt Maturities Repayments Of Principal In Year Five Thereafter Long Term Debt Maturities Repayments Of Principal After Year Five Credit facility agreement, maturity date Line Of Credit Facility Expiration Date1 Revolving facility optional extension period The number of years covered by the pollution legal liability insurance policy. The aggregate dollar limit of the pollution legal liability insurance policy. Other Commitments [Table] Other Commitments [Table] Environmental Remediation Contingency Environmental Remediation Contingency [Axis] Environmental Remediation Contingency Environmental Remediation Contingency [Domain] Reasonably estimable environmental remediation obligation. Reasonably Estimable Environmental Remediation Obligation [Member] Reasonably Estimable Environmental Remediation Obligation [Member] Future environmental liabilities for preexisting unknown contamination. Future Environmental Liabilities for Preexisting Unknown Contamination [Member] Future Environmental Liabilities For Preexisting Unknown Contamination [Member] Known environmental liabilities. Known Environmental Liabilities [Member] Known Environmental Liabilities [Member] Operating Activities Statement Operating Activities Segment [Axis] Operating Activities Segment Operating Activities [Domain] Capitalized asset retirement costs. Capitalized Asset Retirement Costs [Member] Capitalized Asset Retirement Costs [Member] Other Commitments [Line Items] Other Commitments [Line Items] Pollution legal liability insurance policy duration Period Covered By Pollution Legal Liability Insurance Policy Pollution legal liability insurance policy aggregate limit Pollution Legal Liability Insurance Policy Aggregate Limit A general description of the nature of the existing leasing arrangements of a lessor. The maximum number of years during lease term during which contamination is discovered that the Company may be responsible for. Remediation agreement of lease Description Of Lessor Leasing Arrangements The maximum number of years during lease term during which contamination is discovered that the Company may be responsible for Period During Which Contamination Discovered That Company Is Responsible The estimated maximum remaining useful life of underground storage tanks that the company may be responsible for related to sold properties. Estimated maximum remaining useful life of underground storage tanks that the company may be responsible for sold properties Estimated Maximum Remaining Useful Life Of Underground Storage Tanks That The Company May Be Responsible For Related To Sold Properties The inflation adjustment rate for environmental loss contingencies. Environmental remediation liabilities discount rate Accrual For Environmental Loss Contingencies Discount Rate Environmental remediation liability inflation rate adjustment Accrual For Environmental Loss Contingencies Inflation Adjustment Rate Amount of credits to environmental expenses. Changes in environmental estimates. Amount of credits to environmental expenses Amount Of Credits To Environmental Expenses Changes in environmental estimates Changes In Environmental Estimates The amount of the increase in the carrying value of the property. Increase in carrying value of property Increase In Carrying Value Of Property The estimated maximum remaining useful life of underground storage tanks used to calculate depreciation of capitalized asset retirement costs. The current period expense charged against earnings for the allocation of capitalized asset retirement costs over the remaining useful life of the underground storage tank or other period of time if circumstances warrant. Estimated maximum remaining useful life of underground storage tanks used to calculate depreciation of capitalized asset retirement costs Estimated Maximum Remaining Useful Life Of Underground Storage Tank Capitalized Asset Retirement Costs Depreciation and amortization expense for capitalized asset retirement costs Depreciation And Amortization For Capitalized Asset Retirement Costs Capitalized asset retirement costs Capitalized Costs Asset Retirement Costs The amount of the increase (decrease) in the recognition value of additional paid in capital for share based compensation related to the requisite service period. Shareholders equity. Schedule Of Shareholders Equity [Table] Schedule Of Shareholders Equity [Table] Schedule Of Shareholders Equity [Table] Dividends Dividends [Axis] Dividends Dividends [Domain] Dividends Paid in Excess of Earnings [Member] Dividend Paid [Member] Equity Components Statement Equity Components [Axis] Equity Component Equity Component [Domain] Common Stock [Member] Common Stock [Member] Additional Paid-in-Capital [Member] Additional Paid In Capital [Member] Shareholders Equity [Line Items] Shareholders Equity [Line Items] Beginning balance, value Beginning balance, shares Shares Issued Net earnings Dividends declared Dividends Shares issued pursuant to ATM Program, net, value Stock Issued During Period Value New Issues Shares issued pursuant to ATM Program, net, shares Stock Issued During Period Shares New Issues Shares issued pursuant to dividend reinvestment, value Stock Issued During Period Value Dividend Reinvestment Plan Shares issued pursuant to dividend reinvestment, shares Stock Issued During Period Shares Dividend Reinvestment Plan Stock-based compensation/settlements, value Adjustment To Additional Paid In Capital Sharebased Compensation Requisite Service Period Increase Decrease In Recognition Value Stock-based compensation/settlements, shares Stock Issued During Period Shares Share Based Compensation Gross Ending balance, value Ending balance, share Dividends declared per share Common Stock Dividends Per Share Declared Adjustment to additional paid in capital sharebased compensation requisite service period increase (decrease) in recognition shares. Stock-based compensation and settlements, shares Adjustment To Additional Paid In Capital Sharebased Compensation Requisite Service Period Increase Decrease In Recognition Shares Plan Name Plan Name [Axis] Plan Name Plan Name [Domain] Amended and restated 2004 omnibus incentive compensation plan. Amended and Restated 2004 Omnibus Incentive Compensation Plan [Member] Amended And Restated Two Thousand And Four Omnibus Incentive Compensation Plan [Member] Award Type Award Type [Axis] Award Type Share Based Compensation Arrangements By Share Based Payment Award Award Type And Plan Name [Domain] Restricted Stock Units [Member] Restricted Stock Units R S U [Member] 2016 ATM program. 2016 ATM Program [Member] Two Thousand Sixteen At The Market Equity Offering Program [Member] Restricted stock units, granted Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Grants In Period Shares authorized. Shares authorized Shares Authorized The aggregate sales price of the equity offering. Aggregate sales price Aggregate Sales Price Of Equity Offering Proceeds from issuance of shares Amount of ordinary dividend paid during the period for each share of common stock outstanding. Payment of regular quarterly dividend Payments Of Ordinary Dividends Regular quarterly dividends paid per share Ordinary Dividend Per Share Paid Proceeds from issuance of common stock under the dividend reinvestment plan Proceeds From Issuance Of Common Stock Dividend Reinvestment Plan Stock based compensation expense Allocated Share Based Compensation Expense Schedule Of Earnings Per Share Diluted By Common Class [Table] Schedule Of Earnings Per Share Diluted By Common Class [Table] Stock Options [Member] Employee Stock Option [Member] Earnings Per Share, Diluted, by Common Class, Including Two Class Method [Line Items] Earnings Per Share Diluted [Line Items] Anti-dilutive securities Excluded from calculation of EPS Antidilutive Securities Excluded From Computation Of Earnings Per Share Amount The net income loss available to common stockholders used for basic and diluted earnings per share calculations. Less earnings attributable to RSUs outstanding Dividends Share Based Compensation Net earnings attributable to common stockholders used in basic and diluted earnings per share calculation Net Income Loss Available To Common Stockholders Basic And Diluted Incremental shares from stock-based compensation Incremental Common Shares Attributable To Share Based Payment Arrangements Diluted Basic earnings per common share Diluted earnings per common share Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Table] Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Table] Measurement Frequency Fair Value By Measurement Frequency [Axis] Measurement Frequency Fair Value Measurement Frequency [Domain] Fair Value, Measurements, Nonrecurring [Member] Fair Value Measurements Nonrecurring [Member] Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items] Fair value of borrowings under senior unsecured notes Notes Payable Fair Value Disclosure Fair Value, Measurements, Recurring [Member] Fair Value Measurements Recurring [Member] Level 1 [Member] Fair Value Inputs Level1 [Member] Level 2 [Member] Fair Value Inputs Level2 [Member] Liability Class Fair Value By Liability Class [Axis] Fair Value by Liability Class Fair Value Liabilities Measured On Recurring Basis Unobservable Input Reconciliation By Liability Class [Domain] Deferred compensation fair value liability. Deferred Compensation [Member] Deferred Compensation Fair Value Liability [Member] Mutual funds fair value asset. Mutual Funds [Member] Mutual Funds Fair Value Asset [Member] Fair value of assets Assets Fair Value Disclosure Fair value of liabilities Liabilities Fair Value Disclosure Represents the impaired real estate assets as of the end of the reporting period that are valued by the entity at fair value as of the balance sheet date. Impaired real estate assets measured at fair value Impaired Real Estate Assets Fair Value Disclosure Number of properties held for sale. Number of properties held for sale Number Of Properties Held For Sale Number of properties disposed. Number of properties disposed Number Of Properties Disposed Gain from disposal of properties Gain Loss On Sale Of Properties Loss on property condemnations Gain Loss On Condemnation The number of gasoline stations and convenience stores acquired during the period. Business Combination Increase Decrease To Reflect Liabilities Acquired At Fair Value [Abstract] Business Combination Increase Decrease To Reflect Liabilities Acquired At Fair Value [Abstract] Schedule Of Business Acquisitions By Acquisition [Table] Schedule Of Business Acquisitions By Acquisition [Table] Business Acquisition Business Acquisition [Axis] Business Acquisition, Acquiree Business Acquisition Acquiree [Domain] Gasoline stations and convenience store properties. Gasoline Stations and Convenience Store Properties [Member] Gasoline Stations And Convenience Store Properties [Member] GPM investments limited liability company. GPM Investments, LLC [Member] G P M Investments Limited Liability Company [Member] Applegreen PLC. Applegreen PLC [Member] Applegreen P L C [Member] Business Acquisition [Line Items] Business Acquisition [Line Items] Number of gasoline stations and convenience stores acquired during the period Number Of Gasoline Stations And Convenience Stores Acquired Aggregate purchase price of the gasoline stations and convenience stores acquired during the period Payments To Acquire Real Estate Period of initial term under unitary lease agreements. Number of renewal options under unitary lease agreements. Period of renewal term under unitary lease agreements. Description of unitary lease agreements. Unitary lease description Description Of Unitary Lease Agreements Unitary lease initial term Period Of Initial Term Under Unitary Lease Agreements Number of unitary lease renewal options Number Of Renewal Options Under Unitary Lease Agreements Unitary lease renewal term Period Of Renewal Term Under Unitary Lease Agreements Purchase price allocation, land acquired Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Land Purchase price allocation, buildings and improvements acquired Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Buildings Purchase price allocated to in-place leases Finite Lived Intangible Asset Acquired In Place Leases Purchase price allocated to below market leases Below Market Lease Acquired Amount of acquired leases acquired as part of a real property acquisition at above market lease rate with a finite life. Purchase price allocated to above market leases Above Market Lease Acquired