Disclosure of Compensation Related Costs, Share-based Payments [Abstract] Schedule of Share-based Compensation Arrangements by Share-based Payment Award [Table] Schedule of Share-based Compensation Arrangements by Share-based Payment Award [Table] Award Type [Axis] Award Type [Axis] Equity Award [Domain] Equity Award [Domain] Employee Stock Purchase Plan Employee Stock [Member] Plan Name [Axis] Plan Name [Axis] Plan Name [Domain] Plan Name [Domain] 2017 ESPP 2017 Employee Stock Purchase Plan [Member] 2017 Employee Stock Purchase Plan [Member] Share-based Compensation Arrangement by Share-based Payment Award [Line Items] Share-based Compensation Arrangement by Share-based Payment Award [Line Items] Share based compensation expense Allocated Share-based Compensation Expense Stock compensation shares authorized (in shares) Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Authorized Shares issued during period (in shares) Share-based Compensation Arrangement by Share-based Payment Award, Shares Issued in Period Debt Disclosure [Abstract] Maximum outstanding at any month end Federal Home Loan Bank, Advances, Activity for Period, Maximum Outstanding at any Month End The maximum balance outstanding of Federal Home Loan Bank advances at any month end during the period. Average outstanding balance Federal Home Loan Bank, Advances, Activity for Year, Average Balance of Agreements Outstanding Average remaining borrowing capacity Federal Home Loan Bank, Advances, Average Unused Borrowing Capacity Average amount of advances or credit lines available from the Federal Home Loan Bank. Weighted average interest rate (as a percent) Federal Home Loan Bank, Advances, Activity for Year, Average Interest Rate for Year Receivables [Abstract] Schedule of Allowance for Loan Losses [Table] Schedule of Financing Receivable, Allowance for Credit Losses [Table] Class of Financing Receivable [Axis] Class of Financing Receivable, Type [Axis] Class of Financing Receivable [Domain] Class of Financing Receivable, Type [Domain] Residential first mortgage First Mortgage [Member] Home equity Home Equity Loan [Member] Other Consumer Consumer Other Financing Receivable1 [Member] Consumer Other Financing Receivable1 [Member] Commercial real estate Commercial real estate loans [Member] Portfolio segment of the company's total financing receivables related to commercial real estate loans that are collateralized by real estate properties intended to be income-producing in the normal course of business. Commercial and industrial Commercial and Industrial Loans [Member] Portfolio segment of the company's total financing receivables related to commercial and industrial loans, which includes lines of credit to small or middle market businesses for use in normal business operations to finance working capital needs, equipment purchases and expansion projects. Warehouse lending Warehouse Agreement Borrowings [Member] Allowance for Loan Losses [Line Items] Financing Receivable, Allowance for Credit Losses [Line Items] Individually evaluated Financing Receivable, Individually Evaluated for Impairment Collectively evaluated Financing Receivable, Collectively Evaluated for Impairment Total loans Financing Receivable, Gross Individually evaluated Financing Receivable, Allowance for Credit Losses, Individually Evaluated for Impairment Collectively evaluated Financing Receivable, Allowance for Credit Losses, Collectively Evaluated for Impairment Total allowance for loan losses Financing Receivable, Allowance for Credit Losses Fair Value Disclosures [Abstract] Fair Value Measurements, Recurring and Nonrecurring [Table] Fair Value Measurements, Recurring and Nonrecurring [Table] Measurement Frequency [Axis] Measurement Frequency [Axis] Fair Value, Measurement Frequency [Domain] Fair Value, Measurement Frequency [Domain] Recurring Fair Value, Measurements, Recurring [Member] Fair Value Hierarchy and NAV [Axis] Fair Value Hierarchy and NAV [Axis] Fair Value Hierarchy and NAV [Domain] Fair Value Hierarchy and NAV [Domain] Level 1 Fair Value, Inputs, Level 1 [Member] Level 2 Fair Value, Inputs, Level 2 [Member] Level 3 Fair Value, Inputs, Level 3 [Member] Measurement Basis [Axis] Measurement Basis [Axis] Fair Value Measurement [Domain] Fair Value Measurement [Domain] Portion at Fair Value Measurement [Member] Portion at Fair Value Measurement [Member] Total Fair Value Estimate of Fair Value Measurement [Member] Financial Instrument [Axis] Financial Instrument [Axis] Financial Instruments [Domain] Financial Instruments [Domain] Agency - Commercial Commercial Mortgage Backed Securities [Member] Agency - Residential Agency Securities [Member] Municipal obligations Municipal Bonds [Member] Corporate debt obligations Corporate Debt Securities [Member] Other MBS Mortgage-backed Securities, Issued by Private Enterprises [Member] SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate, Loan Category [Axis] SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate, Loan Category [Axis] SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate, Loan Category [Domain] SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate, Loan Category [Domain] Residential first mortgage loans Derivative Instrument [Axis] Derivative Instrument [Axis] Derivative Contract [Domain] Derivative Contract [Domain] Rate lock commitments Interest Rate Lock Commitments [Member] Mortgage-backed securities forwards Mortgage-backed Securities, US Government Agencies [Member] The category includes U.S. government sponsored agencies with underlying mortgage-backed products. Interest rate swaps and swaptions Interest Rate Swaps and Swaptions [Member] Interest Rate Swaps and Swaptions [Member] Interest rate swap on FHLB advances Interest Rate Swaps, FHLB Advances [Member] Interest Rate Swaps, FHLB Advances [Member] Interest rate swaps Interest Rate Swap [Member] Contingent consideration Contingent Consideration [Member] Contingent Consideration [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] Assets, Fair Value Disclosure [Abstract] Assets, Fair Value Disclosure [Abstract] Investment securities available-for-sale Debt Securities, Available-for-sale Loans held-for-sale, fair value Loans Held-for-sale, Fair Value Disclosure Loans held-for-investment Loans Receivable, Fair Value Disclosure Mortgage servicing rights Servicing Asset at Fair Value, Amount Derivative assets Derivative Asset Total assets at fair value Assets, Fair Value Disclosure Liabilities, Fair Value Disclosure [Abstract] Liabilities, Fair Value Disclosure [Abstract] Derivative liabilities Derivative Liability DOJ litigation settlement Litigation Settlement, Fair Value Disclosure This element represents the fair value portion of the litigation settlement reported on the balance sheet at period end. Contingent consideration Business Combination, Contingent Consideration, Liability Total liabilities at fair value Financial and Nonfinancial Liabilities, Fair Value Disclosure Document and Entity Information [Abstract] Document and Entity Information. Entity Registrant Name Entity Registrant Name Entity Central Index Key Entity Central Index Key Document Type Document Type Document Period End Date Document Period End Date Amendment Flag Amendment Flag Document Fiscal Year Focus Document Fiscal Year Focus Document Fiscal Period Focus Document Fiscal Period Focus Current Fiscal Year End Date Current Fiscal Year End Date Entity Filer Category Entity Filer Category Entity Common Stock, Shares Outstanding Entity Common Stock, Shares Outstanding Entity Emerging Growth Company Entity Emerging Growth Company Entity Small Business Entity Small Business Organization, Consolidation and Presentation of Financial Statements [Abstract] Schedule of Business Acquisitions, by Acquisition [Table] Schedule of Business Acquisitions, by Acquisition [Table] Business Acquisition [Axis] Business Acquisition [Axis] Business Acquisition, Acquiree [Domain] Business Acquisition, Acquiree [Domain] Wells Fargo Wells Fargo [Member] Wells Fargo [Member] Santandar Bank Santandar Bank [Member] Santandar Bank [Member] Desert Community Bank Desert Community Bank [Member] Desert Community Bank [Member] Business Acquisition Business Acquisition [Line Items] Number of bank branches Number of Bank Branches Acquired Number of Bank Branches Acquired Deposits Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Deposits Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Deposits Loans assumed Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Financial Liabilities Outstanding loan receivable acquired Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Loans Receivable Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Loans Receivable Commitments assumed Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Commitments Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Commitments Intangible assets and goodwill acquired Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Intangible Assets including Goodwill Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Intangible Assets including Goodwill Schedule of Loans Held-for-investment, Credit Quality Indicator [Table] Schedule of Financing Receivable, Recorded Investment, Credit Quality Indicator [Table] Internal Credit Assessment [Axis] Internal Credit Assessment [Axis] Internal Credit Assessment [Domain] Internal Credit Assessment [Domain] Pass Pass [Member] Watch Watch [Member] A category of financing receivables considered to have potential weaknesses that deserve management's close attention. If left uncorrected, those potential weaknesses may result in a deterioration of the repayment prospects for the asset or of the creditor's position at some future date. Special Mention Special Mention [Member] Substandard Substandard [Member] Consumer loans Consumer Loan [Member] Commercial loans Commercial Loan [Member] Loans held-for-investment Financing Receivable, Recorded Investment [Line Items] Loans held-for-investment Total loans Loans and Leases Receivable, Net of Deferred Income Transfers and Servicing [Abstract] Schedule of Servicing Assets at Fair Value [Table] Schedule of Servicing Assets at Fair Value [Table] Residential first mortgage Residential first mortgage loans sub-serviced for others [Member] This represents residential first mortgage loans sub-serviced for others. Income Statement Location [Axis] Income Statement Location [Axis] Income Statement Location [Domain] Income Statement Location [Domain] Net return (loss) on mortgage servicing rights Net Return on Mortgage Servicing Asset [Member] Represents the net return on mortgage servicing asset. Net Loan Administration Income Net Loan Administration Income [Member] Represents the net loan administration income. Servicing Assets at Fair Value [Line Items] Servicing Assets at Fair Value [Line Items] Servicing fees, ancillary income and late fees Contractually Specified Servicing Fee, Late Fee, and Ancillary Fee Earned in Exchange for Servicing Financial Asset Changes in fair value Servicing Asset at Fair Value, Period Increase (Decrease) Gain (loss) on MSR derivatives Gain (Loss) on Hedging Activity Net transaction costs Servicing Asset at Fair Value, Net Transaction Costs The total amount of net transaction costs earned on loans serviced and subserviced for others during the period for which results of operations are presented. Total return included in net return on mortgage servicing rights Servicing Asset at Fair Value, Income, Amount The total amount of income earned on loans serviced and subserviced for others during the period for which results of operations are presented. Other servicing charges Other Servicing Charges Generated by Servicing Financial Assets, Amount The total amount of other servicing charges earned on loans serviced and subserviced for others during the period for which results of operations are presented. Total income on mortgage loans subserviced, included in loan administration Subservicing Asset at Fair Value, Income, Amount The amount of income earned from subservicing an asset at fair value. Derivative Instruments and Hedging Activities Disclosure [Abstract] Derivative [Table] Derivative [Table] Hedging Designation [Axis] Hedging Designation [Axis] Hedging Designation [Domain] Hedging Designation [Domain] Derivatives designated as hedging instruments Designated as Hedging Instrument [Member] Derivatives not designated as hedging instruments Not Designated as Hedging Instrument [Member] Balance Sheet Location [Axis] Balance Sheet Location [Axis] Balance Sheet Location [Domain] Balance Sheet Location [Domain] Other assets Other Assets [Member] Other liabilities Other Liabilities [Member] Interest rate swaps Futures Future [Member] Mortgage backed securities forwards Mortgage Backed Securities, Other [Member] Interest rate swaps Derivative Derivative [Line Items] Derivative asset, Notional Amount Derivative Asset, Notional Amount Derivative asset, Fair Value Derivative Asset, Fair Value, Gross Asset Derivative liability, Notional Amount Derivative Liability, Notional Amount Derivative liability, Fair Value Derivative Liability, Fair Value, Gross Liability Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] Transfers of assets or liabilities at fair value between fair value levels Fair Value, Assets and Liabilities, Transfers Between Fair Value Levels Amount of transfer of financial instrument classified as an asset into (out of) the levels within the fair value hierarchy. Investments, Debt and Equity Securities [Abstract] Schedule of Available-for-sale Securities [Table] Schedule of Available-for-sale Securities [Table] Other MBS Other Debt Obligations [Member] US Government-sponsored Enterprises Debt Securities [Member] US Government-sponsored Enterprises Debt Securities [Member] Collateral [Axis] Collateral [Axis] Collateral [Domain] Collateral [Domain] Collateral Pledged Collateral Pledged [Member] Debt Securities, Available-for-sale [Line Items] Debt Securities, Available-for-sale [Line Items] Purchase of investment securities AFS Payments to Acquire Debt Securities, Available-for-sale Interest income Debt Securities, Available-For-Sale, Interests Retained Debt Securities, Available-For-Sale, Interests Retained Sales of AFS securities Debt Securities, Available-for-sale, Sold at Par Value Gain from sale of AFS securities Debt Securities, Available-for-sale, Gain (Loss) Transfer of held to maturity securities Held-to-maturity Securities, Transferred Security During the Period, at Carrying Value Held-to-maturity Securities, Transferred Security During the Period, at Carrying Value Purchase of investment securities HTM Payments to Acquire Held-to-maturity Securities Available-for-sale Securities, Unrealized Loss Position with Duration 12 Months and Over, Fair Value Available-for-sale Securities, Continuous Unrealized Loss Position, Fair Value Available-for-sale Securities, Unrealized Loss Position with Duration 12 Months and Over, Number of Securities Available-for-sale, Securities in Unrealized Loss Positions, Qualitative Disclosure, Number of Positions, Greater than or Equal to One Year Available-for-sale Securities, Unrealized Loss Position with Duration 12 Months and Over, Unrealized Loss Debt Securities, Available-for-sale, Continuous Unrealized Loss Position, 12 Months or Longer, Accumulated Loss Available-for-Sale Securities, Unrealized Loss Position with Duration Under 12 Months, Fair Value Available-for-sale Securities, Continuous Unrealized Loss Position, Less than Twelve Months, Fair Value Available-for-Sale Securities, Unrealized Loss Position with Duration Under 12 Months, Unrealized Loss Available-for-sale, Securities in Unrealized Loss Positions, Qualitative Disclosure, Number of Positions, Less than One Year Available-for-sale Debt Securities, Continuous Unrealized Loss Position, Less than 12 Months, Accumulated Loss Debt Securities, Available-for-sale, Continuous Unrealized Loss Position, Less than 12 Months, Accumulated Loss Held-to-maturity Securities, Unrealized Loss Position with Duration 12 Months and Over, Fair Value Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, 12 Months or Longer, Fair Value Held-to-maturity Securities, Unrealized Loss Position with Duration 12 Months and Over, Number of Positions Held-to-maturity, Securities in Unrealized Loss Positions, Qualitative Disclosure, Number of Positions, Greater than or Equal to One Year Held-to-maturity, Securities in Unrealized Loss Positions, Qualitative Disclosure, Number of Positions, Greater than or Equal to One Year Held-to-maturity Securities, Unrealized Loss Position with Duration 12 Months or Over, Unrealized Loss Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, 12 Months or Longer, Accumulated Loss Held-to-maturity Securities, Unrealized Loss Position with Duration Under 12 Months, Fair Value Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Less than 12 Months, Fair Value Held-to-maturity Securities, Unrealized Loss Position with Duration Under 12 Months, Number of Positions Held-to-maturity, Securities in Unrealized Loss Positions, Qualitative Disclosure, Number of Positions, Less than One Year Held-to-maturity, Securities in Unrealized Loss Positions, Qualitative Disclosure, Number of Positions, Less than One Year Held-to-maturity Securities, Unrealized Loss Position with Duration Under 12 Months, Unrealized Loss Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Less than 12 Months, Accumulated Loss Available-for-sale securities pledged as collateral Debt Securities, Available-for-sale, Restricted Commitments and Contingencies Disclosure [Abstract] Summary of Contractual Amount of Significant Commitments Other Commitments [Table Text Block] Receivables Held-for-sale [Abstract] Loans held-for-sale Loans Receivable Held-for-sale, Net, Not Part of Disposal Group Net gain (loss) on loan sales Gain (Loss) on Sales of Loans, Net Loans held-for-sale, other Loans Receivable Held-for-sale, Net, Not Part of Disposal Group, Other Regulatory Capital Requirements [Abstract] Regulatory Matters Regulatory Capital Requirements under Banking Regulations [Text Block] Legal Proceedings, Contingencies and Commitments Commitments and Contingencies Disclosure [Text Block] Fair Value Measurements Fair Value Disclosures [Text Block] Schedule of Long-term Debt Instruments [Table] Schedule of Long-term Debt Instruments [Table] Variable Rate [Axis] Variable Rate [Axis] Variable Rate [Domain] Variable Rate [Domain] Three Month LIBOR London Interbank Offered Rate (LIBOR) [Member] Three Month LIBOR Three Month LIBOR [Member] London interbank market interest rate for three months at which the bank borrows funds from other banks. Treasury Rate Treasury Rate [Member] Treasury Rate [Member] Long-term Debt, Type [Axis] Long-term Debt, Type [Axis] Long-term Debt, Type [Domain] Long-term Debt, Type [Domain] Senior Note Maturing 2021 Senior Notes [Member] Debt Instrument [Axis] Debt Instrument [Axis] Debt Instrument, Name [Domain] Debt Instrument, Name [Domain] 6.125% senior notes Senior Note 6.125 Senior Note [Member] Senior Note 6.125 Senior Note [Member] Debt Instrument Debt Instrument [Line Items] FHLB line of credit, maximum amount available Federal Home Loan Bank, Advances, General Debt Obligations, Maximum Amount Available FHLB line of credit, available collateral amount Federal Home Loan Bank, Advances, General Debt Obligations, Amount of Available, Unused Funds FHLB advances, line of credit Federal Home Loan Bank, Advances, Branch of FHLB Bank, Amount of Advances Current portion of fixed rate advances Long-term Federal Home Loan Bank Advances Debt instrument, variable interest rate, term Debt Instrument, Variable Interest Rate, Term Percentage points added to the reference rate to compute the variable rate on the debt instrument. FHLB advances, prepayment notification period (in months) Federal Home Loan Bank, Advances, Branch of FHLB Bank, Prepayment Notification Period Federal Home Loan Bank, Advances, Branch of FHLB Bank, Prepayment Notification Period Debt instrument face amount Debt Instrument, Face Amount Debt instrument redemption rate Debt Instrument, Redemption Price, Percentage Variable rate on interest rate Debt Instrument, Basis Spread on Variable Rate Payment of interest on trust preferred securities Payment of Interest on Trust Preferred Securities Payment of Interest on Trust Preferred Securities Schedule of Federal Home Loan Bank Advances, by Branch of FHLB Bank [Table] Schedule of Federal Home Loan Bank Advances, by Branch of FHLB Bank [Table] Short-term adjustable rate Adjustable Rate [Member] Federal home loan bank advance where the rate is adjusted, moving higher or lower according to changes in a specified reference rate. Short-term variable adjustable rate Short-term Debt [Member] Long-term LIBOR adjustable advances Long-term fixed rate advances Long Term Fixed Rate [Member] Federal home loan bank advances in which the long term fixed rate and the amount of each payment remain constant throughout the life of the advance. Short-term Debt, Type [Axis] Short-term Debt, Type [Axis] Short-term Debt, Type [Domain] Short-term Debt, Type [Domain] Federal Home Loan Bank, Advances, Branch of FHLB Bank [Line Items] Federal Home Loan Bank, Advances, Branch of FHLB Bank [Line Items] Short term debt FHLB advances and other Long-term Federal Home Loan Bank Advances, Current Federal Home Loan Bank advances, rate (as a percent) Federal Home Loan Bank, Advances, General Debt Obligations, Disclosures, Interest Rate at Period End Federal Home Loan Bank advances Advances from Federal Home Loan Banks Income Tax Disclosure [Abstract] Schedule of Components of Income Tax Provision (Benefit) Schedule of Components of Income Tax Expense (Benefit) [Table Text Block] Futures U.S. Treasury and euro dollar futures [Member] U.S. Treasury and euro dollar futures which are foreign exchange forward traded on an exchange for options or future contracts to buy or sell a certain currency, at a specified date, at a fixed exercise exchange rate. Rate lock commitments and forward agency and loan sales Rate Lock Commitments and Forward Agency and Loan Sales [Member] Securities collateralized by other rate lock commitments, forward agency and loan sales. Net return (loss) on mortgage servicing rights Net (loss) gain on loan sales Net Gain on Loan Sales [Member] Represents the net gain on loan sales. Other noninterest income Other non-interest income [Member] Represents other forms of revenue earned, excluding interest, which is not otherwise specified in the taxonomy. Net gain (loss) recognized in income on derivative instruments Derivative, Gain (Loss) on Derivative, Net Equity [Abstract] Accumulated Other Comprehensive Income (Loss) Stockholders' Equity Note Disclosure [Text Block] Schedule of Impaired Loans [Table] Schedule of Impaired Financing Receivable [Table] Impaired Loans Financing Receivable, Impaired [Line Items] With no related allowance recorded, recorded investment Impaired Financing Receivable, with No Related Allowance, Recorded Investment With no related allowance recorded, unpaid principal balance Impaired Financing Receivable, with No Related Allowance, Unpaid Principal Balance With an allowance recorded, recorded investment Impaired Financing Receivable, with Related Allowance, Recorded Investment With an allowance recorded, unpaid principal balance Impaired Financing Receivable, with Related Allowance, Unpaid Principal Balance With an allowance recorded, related allowance Impaired Financing Receivable, Related Allowance Total recorded investment Impaired Financing Receivable, Recorded Investment Total unpaid principal balance Impaired Financing Receivable, Unpaid Principal Balance Average Recorded Investment Impaired Financing Receivable, Average Recorded Investment Interest Income Recognized Impaired Financing Receivable, Interest Income, Cash Basis Method Schedule of Loans Past Due [Table] Schedule of Financing Receivables Past Due [Table] Financing Receivables, Period Past Due [Axis] Financing Receivables, Period Past Due [Axis] Financing Receivables, Period Past Due [Domain] Financing Receivables, Period Past Due [Domain] 30-59 Days Past Due Financing Receivables, 30 to 59 Days Past Due [Member] 60-89 Days Past Due Financing Receivables, 60 to 89 Days Past Due [Member] 90 Days or Greater Past Due Financing Receivables, Equal to Greater than 90 Days Past Due [Member] Other Consumer loans Consumer Portfolio Segment [Member] Commercial loans Commercial Portfolio Segment [Member] Loans Past Due [Line Items] Financing Receivable, Recorded Investment, Past Due [Line Items] Loans, Aging [Abstract] Financing Receivable, Recorded Investment, Aging [Abstract] Total Past Due Financing Receivable, Recorded Investment, Past Due Current Financing Receivable, Recorded Investment, Current Total LHFI Loans greater than 90 days past due accounted for under the fair value option Fair Value, Option, Loans Held as Assets, 90 Days or More Past Due Accrued interest on nonaccrual loans Loans and Leases Receivable, Impaired, Interest Lost on Nonaccrual Loans 90 Days and Still Accruing Financing Receivable, Recorded Investment, 90 Days Past Due and Still Accruing Statement of Comprehensive Income [Abstract] Net income Net Income (Loss) Attributable to Parent Other comprehensive income (loss), net of tax Other Comprehensive Income (Loss), before Tax [Abstract] Investment securities Other Comprehensive Income (Loss), Available-for-sale Securities Adjustment and Other than Temporary Impairment Losses, Net of Tax, Portion Attributable to Parent Net amount of the appreciation (loss) in value and other than temporary impairment (OTTI) losses of unsold available-for-sale securities attributable to the parent entity. Derivatives and hedging activities Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), after Reclassification and Tax Other comprehensive income (loss), net of tax Other Comprehensive Income (Loss), Net of Tax, Portion Attributable to Parent Comprehensive income Comprehensive Income (Loss), Net of Tax, Attributable to Parent Fair Value Measurement Inputs and Valuation Techniques [Table] Fair Value Measurement Inputs and Valuation Techniques [Table] Residential mortgage servicing rights capitalized Residential Mortgage Servicing Rights Capitalized [Member] Fair value of residential mortgage servicing rights that are capitalized. Measurement Input Type [Axis] Measurement Input Type [Axis] Measurement Input Type [Domain] Measurement Input Type [Domain] Expected Term Measurement Input, Expected Term [Member] Fair Value Inputs, Assets, Quantitative Information Fair Value Measurement Inputs and Valuation Techniques [Line Items] Weighted average life Servicing Assets and Servicing Liabilities at Fair Value, Assumptions Used to Estimate Fair Value, Weighted Average Life Income Statement [Abstract] Interest Income Interest and Dividend Income, Operating [Abstract] Loans Interest and Fee Income, Loans and Leases Investment securities Interest and Dividend Income, Securities, Operating Interest-earning deposits and other Other Interest and Dividend Income Total interest income Interest and Dividend Income, Operating Interest Expense Interest Expense [Abstract] Deposits Interest Expense, Deposits Short-term Federal Home Loan Bank advances and other Interest Expense, Short-term Borrowings Long-term Federal Home Loan Bank advances Interest Expense, Federal Home Loan Bank and Federal Reserve Bank Advances, Long-term Other long-term debt Interest Expense, Other Total interest expense Interest Expense Net interest income Interest Income (Expense), Net Provision (benefit) for loan losses Provision for Loan, Lease, and Other Losses Net interest income after provision (benefit) for loan losses Interest Income (Expense), after Provision for Loan Loss Noninterest Income Noninterest Income [Abstract] Net gain on loan sales Loan fees and charges Fees and Commissions, Mortgage Banking and Servicing Deposit fees and charges Deposit Fees and Charges Deposit Fees and Charges Loan administration income Loan Administration Income Loan Administration Income Net return on mortgage servicing rights Gain Loss on Sales of Mortgage Servicing Rights Net gain (loss) resulting from the sales of mortgage servicing rights. Other noninterest income Noninterest Income, Other Operating Income (Loss) Noninterest Income, Other Operating Income (Loss) Total noninterest income Noninterest Income Noninterest Expense Noninterest Expense [Abstract] Compensation and benefits Labor and Related Expense Commissions Noninterest Expense Commission Expense Occupancy and equipment Occupancy and Equipment Expense Amount of net occupancy expense that may include items, such as depreciation of facilities and equipment, lease expenses, property taxes and property and casualty insurance expense. This also represents equipment expense including depreciation, repairs, rentals, and service contract costs and equipment purchases which do not qualify for capitalization in accordance with the entity's accounting policy. This item may also include furniture expenses. Federal insurance premiums Federal Deposit Insurance Corporation Premium Expense Loan processing expense Loan Processing Fee Legal and professional expense Professional Fees Other noninterest expense Selling, General and Administrative Expense Total noninterest expense Noninterest Expense Income before income taxes Income (Loss) from Continuing Operations before Equity Method Investments, Income Taxes, Noncontrolling Interest Provision for income taxes Income Tax Expense (Benefit) Net income Net income per share Earnings Per Share [Abstract] Basic (in dollars per share) Earnings Per Share, Basic Diluted (in dollars per share) Earnings Per Share, Diluted Weighted average shares outstanding Weighted Average Number of Shares Outstanding, Basic [Abstract] Basic (in shares) Weighted Average Number of Shares Outstanding, Basic Diluted (in shares) Weighted Average Number of Shares Outstanding, Diluted Disclosure of Transfer of Securitizations or Asset-backed Financing Financial Assets Accounted for as Sale [Abstract] Variable Interest Entities Private label Securitization and Variable Interest Entity Activity [Text Block] The entire disclosure for a transferor's continuing involvement in financial assets that it has transferred in a securitization, the nature of any restrictions on assets reported by an entity in its statement of financial position that relate to a transferred financial asset (including the carrying amounts of such assets), how servicing assets and servicing liabilities are reported, and for securitization or asset-backed financing arrangements accounted for as sales when a transferor has continuing involvement with the transferred financial assets and transfers of financial assets accounted for as secured borrowings, how the transfer of financial assets affects an entity's financial position, financial performance, and cash flows. Also includes the disclosure of the consolidation to describe the significant judgments and assumptions made in determining whether a variable interest held by the entity requires the variable interest entity to be consolidated and (or) disclose information about its involvement with the variable interest entity; the methodology used by the entity for determining whether or not it is the primary beneficiary of the variable interest entity; and the significant factors considered and judgments made in determining that the power to direct the activities that significantly impact the economic performance of the variable interest entity are shared (as defined). Loans Held-for-Investment Financing Receivables [Text Block] Servicing Assets and Servicing Liabilities Risk [Axis] Servicing Assets and Servicing Liabilities Risk [Axis] Risks Inherent in Servicing Assets and Servicing Liabilities, Type [Domain] Risks Inherent in Servicing Assets and Servicing Liabilities, Type [Domain] Mortgage servicing rights Residential Mortgage Servicing Rights [Member] Derivative assets or liabilities which hedge the risk of overall changes in fair value of MSRs through the use of various derivatives including purchases of forward contracts on securities of Fannie Mae and Freddie Mac, the purchase/sale of U.S. Treasury futures contracts and the purchase/sale of euro dollar future contracts. These are accounted for as non-designated hedges. Option adjusted spread, Actual (as a percent) Sensitivity Analysis of Fair Value, Transferor's Interests in Transferred Financial Assets, Impact of Other than 10 or 20 Percent Adverse Change in Option Adjusted Spread, Percent Sensitivity Analysis of Fair Value, Transferor's Interests in Transferred Financial Assets, Impact of Other than 10 or 20 Percent Adverse Change in Option Adjusted Spread, Percent Option adjusted spread, Decline in fair value due to 10% adverse change Sensitivity Analysis of Fair Value, Transferor's Interests in Transferred Financial Assets, Impact of 10 Percent Adverse Change in Option Adjusted Spread Sensitivity Analysis of Fair Value, Transferor's Interests in Transferred Financial Assets, Impact of 10 Percent Adverse Change in Option Adjusted Spread Option adjusted spread, Decline in fair value due to 20% adverse change Sensitivity Analysis of Fair Value, Transferor's Interests in Transferred Financial Assets, Impact of 20 Percent Adverse Change in Option Adjusted Spread Sensitivity Analysis of Fair Value, Transferor's Interests in Transferred Financial Assets, Impact of 20 Percent Adverse Change in Option Adjusted Spread Constant prepayment rate, Actual (as a percent) Sensitivity Analysis of Fair Value, Transferor's Interests in Transferred Financial Assets, Impact of Other than 10 or 20 Percent Adverse Change in Prepayment Speed, Percent Constant prepayment rate, Decline in fair value due to 10% adverse change Sensitivity Analysis of Fair Value, Transferor's Interests in Transferred Financial Assets, Impact of 10 Percent Adverse Change in Prepayment Speed Constant prepayment rate, Decline in fair value due to 20% adverse change Sensitivity Analysis of Fair Value, Transferor's Interests in Transferred Financial Assets, Impact of 20 Percent Adverse Change in Prepayment Speed Weighted average annual cost to service per loan, Actual (in usd per loan) Sensitivity Analysis of Fair Value, Transferor's Interests in Transferred Financial Assets, Impact of Other than 10 or 20 Percent Adverse Change in Other Assumption, Per Loan Sensitivity Analysis of Fair Value, Transferor's Interests in Transferred Financial Assets, Impact of Other than 10 or 20 Percent Adverse Change in Other Assumption, Per Loan Weighted average annual cost to service per loan, Decline in fair value due to 10% adverse change Sensitivity Analysis of Fair Value, Transferor's Interests in Transferred Financial Assets, Impact of 10 Percent Adverse Change in Other Assumption Weighted average annual cost to service per loan, Decline in fair value due to 20% adverse change Sensitivity Analysis of Fair Value, Transferor's Interests in Transferred Financial Assets, Impact of 20 Percent Adverse Change in Other Assumption Unobservable Input Reconciliation, Assets and Liabilities [Table] Fair Value, Assets and Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Table] The table disclosure of the fair value of assets and liabilities measured on recurring basis, which discloses the unobservable inputs. Rate lock commitments DOJ litigation settlement Litigation Settlement Liability [Member] This represents the litigation settlement liability associated with the DOJ settlement agreement. Loans held-for-sale Loans Held-for-sale [Member] Loans that are intended to be sold into the secondary market on a whole loan basis or by securitizing the loans into securities. Unobservable Input Reconciliation, Assets and Liabilities [Line Items] Unobservable Input Reconciliation, Assets and Liabilities [Line Items] Unobservable Input Reconciliation, Assets and Liabilities [Line Items] Assets, Unobservable Input Reconciliation Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] Balance at Beginning of Period Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset Value Total Gains (Losses) Recorded in Earnings Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Gain (Loss) Included in Earnings Purchases / Originations Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Purchases Sales Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Sales Settlements Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Settlements Transfers In (Out) Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Transfers, Net Balance at End of Period Liabilities, Unobservable Input Reconciliation Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] Balance at Beginning of Period Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability Value Total unrealized gains/(losses) recorded in earnings Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Gain (Loss) Included in Earnings Purchases / Originations Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Purchases Sales Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Sales Settlements Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Settlements Transfers In (Out) Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Transfers, Net Balance at End of Period Statement of Stockholders' Equity [Abstract] Statement [Table] Statement [Table] Equity Components [Axis] Equity Components [Axis] Equity Component [Domain] Equity Component [Domain] Common Stock Common Stock [Member] Additional Paid in Capital Additional Paid-in Capital [Member] Accumulated Other Comprehensive Income (Loss) AOCI Attributable to Parent [Member] Retained Earnings (Accumulated Deficit) Retained Earnings [Member] Statement [Line Items] Statement [Line Items] Increase (Decrease) in Stockholders' Equity [Roll Forward] Beginning balance Stockholders' Equity Attributable to Parent Beginning balance, shares Shares, Outstanding Total other comprehensive income (loss) Other Comprehensive Income (Loss), Net of Tax Excluding Reclassification Adjustment, Portion Attributable to Parent Other Comprehensive Income (Loss), Net of Tax Excluding Reclassification Adjustment, Portion Attributable to Parent Shares issued from Employee Stock Purchase Plan, shares Stock Issued During Period, Shares, Employee Stock Purchase Plans Warrant exercise Adjustments to Additional Paid in Capital, Warrant Exercised This element represents the adjustment to additional paid in capital during the period, that is, the amount related to the warrant exercised. Warrant exercise, shares Adjustments to Additional Paid in Capital, Warrant Exercised, Shares Adjustments to Additional Paid in Capital, Warrant Exercised, Shares Stock-based compensation Adjustments to Additional Paid in Capital, Share-based Compensation, Requisite Service Period Recognition Stock-based compensation, shares Stock Issued During Period, Shares, Share-based Compensation, Gross Reclassification of certain income tax effects Tax Cuts and Jobs Act, Reclassification from AOCI to Retained Earnings, Tax Effect Tax Cuts and Jobs Act, Reclassification from AOCI to Retained Earnings, Tax Effect Ending balance Ending balance, shares Schedule of Share-based Compensation, Restricted Stock Units Award Activity Schedule of Share-based Compensation, Restricted Stock Units Award Activity [Table Text Block] Schedule of Accumulated Other Comprehensive Income (Loss) [Table] Accumulated Other Comprehensive Income (Loss) [Table] Investment securities Accumulated Net Investment Gain (Loss) Attributable to Parent [Member] Cash Flow Hedges Accumulated Gain (Loss), Net, Cash Flow Hedge, Parent [Member] Accumulated Other Comprehensive Income (Loss) [Line Items] Accumulated Other Comprehensive Income (Loss) [Line Items] Accumulated other comprehensive income (loss) AOCI Attributable to Parent, Net of Tax [Roll Forward] Unrealized gain (loss) OCI, before Reclassifications, before Tax, Attributable to Parent Less: Tax provision (benefit) OCI, before Reclassifications, Tax Expense (Benefit), Attributable to Parent OCI, before Reclassifications, Tax Expense (Benefit), Attributable to Parent Net unrealized loss, net of tax OCI, before Reclassifications, Net of Tax, Attributable to Parent Reclassification out of AOCI Reclassification from AOCI, Current Period, before Tax, Attributable to Parent Less: Tax provision (benefit) Reclassification from AOCI, Current Period, Tax Expense Benefit, Attributable to Parent Reclassification from AOCI, Current Period, Tax Expense Benefit, Attributable to Parent Net unrealized gain reclassified out of AOCI Reclassification from AOCI, Current Period, Net of Tax, Attributable to Parent Reclassification of certain income tax effects Reclassification from AOCI, Current Period, Tax 6.125% senior notes, matures 2021 3ML plus 3.25% maturing 2032 Three Month Libor Plus 3.25% Junior Subordinated Note Maturing 2032 [Member] Junior subordinated note which is borrowing that has a lower priority than senior instruments in event of liquidation of the entity's assets at a three month LIBOR plus 3.25 percent and matures in 2032. 3ML plus 3.25% maturing 2033 A Three Month Libor Plus 3.25% Junior Subordinated Note Maturing 2033 [Member] Junior subordinated note which is borrowing that has a lower priority than senior instruments in event of liquidation of the entity's assets at a three month LIBOR plus 3.25 percent and matures in 2033. 3ML plus 3.25% maturing 2033 B Three Month Libor Plus 3.25% Junior Subordinated Note 2 Maturing 2033 [Member] Junior subordinated note which is borrowing that has a lower priority than senior instruments in event of liquidation of the entity's assets at a three month LIBOR plus 3.25 percent and matures in 2033. 3ML plus 2.00% maturing 2035 A Three Month Libor Plus 2.00% Junior Subordinated Note Maturing 2035 [Member] Junior subordinated note which is borrowing that has a lower priority than senior instruments in event of liquidation of the entity's assets at a three month LIBOR plus 2.00 percent and matures in 2035. 3ML plus 2.00% maturing 2035 B Three Month Libor Plus 2.00% Junior Subordinated Note 2 Maturing 2035 [Member] Junior subordinated note which is borrowing that has a lower priority than senior instruments in event of liquidation of the entity's assets at a three month LIBOR plus 2.00 percent and matures in 2035. 3ML plus 1.75% maturing 2035 Three Month Libor Plus 1.75% Junior Subordinated Note Maturing 2035 [Member] Junior subordinated note which is borrowing that has a lower priority than senior instruments in event of liquidation of the entity's assets at a three month LIBOR plus 1.75 percent and matures in 2035. 3ML plus 1.50% maturing 2035 Three Month Libor Plus 1.50% Junior Subordinated Note Maturing 2035 [Member] Junior subordinated note which is borrowing that has a lower priority than senior instruments in event of liquidation of the entity's assets at a three month LIBOR plus 1.50 percent and matures in 2035. 3ML plus 1.45% maturing 2037 Three Month Libor Plus 1.45% Junior Subordinated Note Maturing 2037 [Member] Junior subordinated note which is borrowing that has a lower priority than senior instruments in event of liquidation of the entity's assets at a three month LIBOR plus 1.45 percent and matures in 2037. 3ML plus 2.50% maturing 2037 Three Month Libor Plus 2.50% Junior Subordinated Note Maturing 2037 [Member] Junior subordinated note which is borrowing that has a lower priority than senior instruments in event of liquidation of the entity's assets at a three month LIBOR plus 2.50 percent and matures in 2037. Trust Preferred Securities [Abstract] Trust Preferred Securities [Abstract] The trust preferred securities outstanding which are callable by an entity and interest is payable quarterly. Senior note Senior Notes Trust preferred securities Junior Subordinated Notes Interest rate Debt Instrument, Interest Rate, Effective Percentage Long-term debt Long-term Debt Schedule of Derivative Financial Instruments Schedule of Derivative Instruments [Table Text Block] Offsetting of Derivatives Schedule of Derivative Instruments in Statement of Financial Position, Fair Value [Table Text Block] Schedule of Changes in Fair Value of Derivative Instruments Derivative Instruments, Gain (Loss) [Table Text Block] Accounting Policies [Abstract] Merchant fee income (less than) Merchant Fee income Merchant Fee income HTM securities transferred to AFS Debt Securities, Held-to-maturity, Transfer, Amount Allowance for Loan Losses [Roll Forward] Financing Receivable, Allowance for Credit Losses [Roll Forward] Beginning balance ALLL Charge-offs Financing Receivable, Allowance for Credit Losses, Write-downs Recoveries Financing Receivable, Allowance for Credit Losses, Recovery Provision (benefit) Provision for Doubtful Accounts Ending balance ALLL Schedule of Accounts, Notes, Loans and Financing Receivable [Table] Schedule of Accounts, Notes, Loans and Financing Receivable [Table] SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate, Loan Category [Axis] HELOC commitments Home Equity Line of Credit [Member] Receivable Type [Axis] Receivable Type [Axis] Receivable [Domain] Receivable [Domain] Performing Performing Financial Instruments [Member] Nonperforming Nonperforming Financial Instruments [Member] Accounts, Notes, Loans and Financing Receivable Accounts, Notes, Loans and Financing Receivable [Line Items] Loans sold Financing Receivable, Significant Sales Net gain on loans sold Gain (Loss) on Disposition of Other Assets Loans purchased Financing Receivable, Significant Purchases Premium associated with loans purchased Financing Receivable, Premium on Significant Purchases Financing Receivable, Premium on Significant Purchases Segment Reporting [Abstract] Schedule of Segment Reporting Information, by Segment Schedule of Segment Reporting Information, by Segment [Table Text Block] Schedule of Trading and Available-for-Sale Securities [Table] Schedule of Trading and Available-for-Sale Securities [Table] Tabular schedule of trading and available-for-sale securities. Federal government US Treasury and Government [Member] Schedule of Trading and Available-for-sale Securities [Line Items] Schedule of Trading and Available-for-sale Securities [Line Items] Tabular schedule of trading and available-for-sale securities. Investment securities Debt Securities, Available-for-sale [Abstract] Amortized Cost Debt Securities, Available-for-sale, Amortized Cost Gross Unrealized Gains Debt Securities, Available-for-sale, Accumulated Gross Unrealized Gain, before Tax Gross Unrealized Losses Debt Securities, Available-for-sale, Accumulated Gross Unrealized Loss, before Tax Fair Value Debt Securities, Held-to-maturity, Fair Value to Amortized Cost [Abstract] Debt Securities, Held-to-maturity, Fair Value to Amortized Cost [Abstract] Amortized Cost Debt Securities, Held-to-maturity Gross Unrealized Gains Debt Securities, Held-to-maturity, Accumulated Unrecognized Gain Gross Unrealized Losses Debt Securities, Held-to-maturity, Accumulated Unrecognized Loss Fair Value Debt Securities, Held-to-maturity, Fair Value Percentage of total investment Investment Assets, Percentage of Total Investment Assets, Percentage of Total Other than temporary impairments Other than Temporary Impairment, Credit Losses Recognized in Earnings, Reductions, Securities Sold Schedule of Segment Reporting Information, by Segment [Table] Schedule of Segment Reporting Information, by Segment [Table] Segments [Axis] Segments [Axis] Segments [Domain] Segments [Domain] Community Banking Community Banking segment [Member] The Community Banking operating segment is a component of an enterprise: (a) that engages in business activities from which it may earn revenues and incur expenses (including revenues and expenses relating to transactions with other components of the same enterprise), (b) whose operating results are regularly reviewed by the enterprise's chief operating decision maker to make decisions about resources to be allocated to the segment and assess its performance, and (c) for which discrete financial information is available. An operating segment, may engage in business activities for which it has yet to earn revenues, for example, start-up operations may be operating segments before earning revenues. Mortgage Originations Mortgage Origination Segment [Member] An operating segment is a component of an enterprise: (a) that engages in business activities from which it may earn revenues and incur expenses (including revenues and expenses relating to transactions with other components of the same enterprise), (b) whose operating results are regularly reviewed by the enterprise's chief operating decision maker to make decisions about resources to be allocated to the segment and assess its performance, and (c) for which discrete financial information is available. An operating segment, may engage in business activities for which it has yet to earn revenues, for example, start-up operations may be operating segments before earning revenues. Mortgage Servicing Mortgage Servicing [Member] An operating segment is a component of an enterprise: (a) that engages in business activities from which it may earn revenues and incur expenses (including revenues and expenses relating to transactions with other components of the same enterprise), (b) whose operating results are regularly reviewed by the enterprise's chief operating decision maker to make decisions about resources to be allocated to the segment and assess its performance, and (c) for which discrete financial information is available. An operating segment, may engage in business activities for which it has yet to earn revenues, for example, start-up operations may be operating segments before earning revenues. Other Other Segments [Member] Consolidation Items [Axis] Consolidation Items [Axis] Consolidation Items [Domain] Consolidation Items [Domain] Intersegment Eliminations Intersegment Eliminations [Member] Segment Reporting Information [Line Items] Segment Reporting Information [Line Items] Number of operating segments Number of Operating Segments Summary of Operations Summary of Operations [Abstract] Summary of Operations [Abstract] Net interest income Other noninterest income Noninterest Income, Other Operating Income Total net interest income and noninterest income Revenues (Provision) benefit for loan losses Compensation and benefits Employee Benefits and Share-based Compensation Other noninterest expense and directly allocated overhead Other Noninterest Expense Total noninterest expense Noninterest Expense, Including Provision for Loan Losses Amount of the total non-interest expenses, including the provision for loan losses, asset resolution and other non-interest expense. Provision for income taxes Overhead allocations Overhead Allocation Overhead Allocation Average balances Average Balance [Abstract] Average Balances [Abstract] Loans held-for-sale Average loans held-for-sale Amount of average loans held-for-sale attributed to the reportable segment Loans with government guarantees Average Loans With Government Guarantees The amount of loans that are the result of exercising the unilateral option to repurchase certain loans in Ginnie Mae pools. Loans held-for-investment Segment Reporting Information, Average Loans Held-for-Investment Amount of average loans held-for-investment attributed to the reportable segment. Total assets Average Assets Average Assets Deposits Segment Reporting Information, Average Deposits Amount of average deposits attributed to the reportable segment. Income Taxes Income Tax Disclosure [Text Block] Schedule of Loans Held-for-investment Schedule of Accounts, Notes, Loans and Financing Receivable [Table Text Block] Allowance for Loan Losses Allowance for Credit Losses on Financing Receivables [Table Text Block] Past Due Loans Past Due Financing Receivables [Table Text Block] Troubled Debt Restructurings Troubled Debt Restructurings on Financing Receivables [Table Text Block] Impaired Loans Impaired Financing Receivables [Table Text Block] Loan Credit Quality Indicators Financing Receivable Credit Quality Indicators [Table Text Block] Nonrecurring Fair Value, Measurements, Nonrecurring [Member] Repossessed assets Foreclosed Assets [Member] The real estate, land and buildings obtained through foreclosure proceedings or defeasance in full or partial satisfaction of a debt arrangement. Loss severity discount Measurement Input, Loss Severity [Member] Range [Axis] Range [Axis] Range [Domain] Range [Domain] Lower range Minimum [Member] Upper range Maximum [Member] Weighted Average Weighted Average [Member] Loans held-for-investment Loans Held-for-Investment, Fair Value Disclosure Loans Held-for-Investment, Fair Value Disclosure Loans held for investment, fair value input (as a percent) Loans Held-for-investment, Measurement Input Loans Held-for-investment, Measurement Input Repossessed assets Other Real Estate Repossessed asset, fair value input (as a percent) Other Real Estate Owned, Measurement Input Schedule of New Accounting Pronouncements and Changes in Accounting Principles Schedule of New Accounting Pronouncements and Changes in Accounting Principles [Table Text Block] Revenue Disaggregation of Revenue [Table Text Block] Private-label Securitizations [Table] Schedule of Securitization or Asset-backed Financing Arrangements, Financial Asset for which Transfer is Accounted as Sale [Table] Agency - Commercial Collateralized Mortgage Backed Securities [Member] FSTAR 2007-1 Mortgage Securitization FSTAR 2007-1 Mortgage Securitization [Member] The securitization trust is collateralized by second mortgage loans, which is unconsolidated as a variable interest entity. Private-label Securitizations Securitization or Asset-backed Financing Arrangement, Financial Asset for which Transfer is Accounted as Sale [Line Items] Number of VIEs Variable Interest Entity, Number of Entities Variable Interest Entity, Number of Entities Ownership interest investment Ownership Interest in Investment, Percent Ownership Interest in Investment, Percent Number of mortgage securitization trust loans SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate, Number of Loans Aggregate principal balance Principal Amount Outstanding on Loans Securitized or Asset-backed Financing Arrangement Loss Contingencies [Table] Loss Contingencies [Table] Mortgage loans interest-rate lock commitments Mortgages [Member] Warehouse loan commitments Warehouse Loan Commitments [Member] This amount represents warehouse loan commitments to extend credit. Commercial and industrial commitments Other commercial commitments Other Commercial Commitments [Member] Other commercial commitments to extend credit under a line of credit and secured by the commercial property. Other consumer commitments Other, Commitments to Extend Credit [Member] Other commitments to extend credit under a line of credit and secured by the borrower's property. Standby and commercial letters of credit Standby and Commercial Letters of Credit [Member] An irrevocable undertaking (typically by a financial institution) to guarantee payment of a specified financial obligation. Loss Contingencies Loss Contingencies [Line Items] Commitments to extend credit Unused Commitments to Extend Credit Investment Securities Investments in Debt and Marketable Equity Securities (and Certain Trading Assets) Disclosure [Text Block] Schedule of Accumulated Other Comprehensive Income (Loss) Schedule of Accumulated Other Comprehensive Income (Loss) [Table Text Block] Segment Information Segment Reporting Disclosure [Text Block] Other Liabilities Disclosure [Abstract] Restricted Stock and Restricted Stock Units Restricted Stock and Restricted Stock Units [Member] Restricted Stock and Restricted Stock Units [Member] Shares Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number of Shares [Roll Forward] Non-vested balance at beginning of period (in shares) Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number Granted (in shares) Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period Vested (in shares) Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period Canceled and forfeited (in shares) Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Forfeited in Period Non-vested balance at end of period (in shares) Weighted — Average Grant-Date Fair Value per Share Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value [Abstract] Non-vested balance at beginning of period (in usd per share) Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value Granted (in usd per share) Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period, Weighted Average Grant Date Fair Value Vested (in usd per share) Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period, Weighted Average Grant Date Fair Value Canceled and forfeited (in usd per share) Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Forfeitures, Weighted Average Grant Date Fair Value Non-vested balance at end of period (in usd per share) Loans and Leases Receivable Disclosure [Abstract] Debt instrument, term (in years) Debt Instrument, Term Loans with government guarantees Loans Repurchased With Government Guarantees The amount of repurchased asset that are the result of exercising the unilateral option to repurchase certain loans in Ginnie Mae pools. Repossessed assets and associated claims Other Real Estate, Foreclosed Assets, and Repossessed Assets Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Table Text Block] Fair Value, Assets and Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Table Text Block] Fair Value Inputs, Assets and Liabilities Measured on Recurring Basis, Quantitative Information Fair Value Measurement Inputs and Valuation Techniques [Table Text Block] Fair Value Measurements, Nonrecurring Fair Value Measurements, Nonrecurring [Table Text Block] Fair Value, Assets and Liabilities Measured on Nonrecurring Basis, Valuation Techniques Fair Value, Assets and Liabilities Measured on Nonrecurring Basis, Valuation Techniques [Table Text Block] Fair Value, by Balance Sheet Grouping Fair Value, by Balance Sheet Grouping [Table Text Block] Schedule of Changes in Fair Value Included in Earnings Schedule of Changes in Fair Value Included in Earnings [Table Text Block] For each line item in the statement of financial position, the amounts of gains and losses from fair value changes included in earnings. Fair Value, Option, Quantitative Disclosures Fair Value Option, Disclosures [Table Text Block] Warrants and Rights Note Disclosure [Abstract] Warrants and Stock-Based Compensation Disclosure of Compensation Related Costs, Share-based Payments [Text Block] 2018 Federal Home Loan Bank, Advances, Maturities Summary, Due in Remainder of Fiscal Year 2019 Federal Home Loan Bank, Advances, Maturities Summary, Due in Year Two 2020 Federal Home Loan Bank, Advances, Maturities Summary, Due in Year Three 2021 Federal Home Loan Bank, Advances, Maturities Summary, Due in Year Four Thereafter Federal Home Loan Bank, Advances, Maturities Summary, Due in Year Five Revenue, Initial Application Period Cumulative Effect Transition [Table] Revenue, Initial Application Period Cumulative Effect Transition [Table] Product and Service [Axis] Product and Service [Axis] Product and Service [Domain] Product and Service [Domain] Deposit account and other banking income Deposit Account and Other Banking Income [Member] Deposit Account and Other Banking Income [Member] Interchange fees Interchange Fees [Member] Interchange Fees [Member] Wealth management Wealth Management [Member] Wealth Management [Member] Deposit fees and charges Deposit Fees and Charges Member [Member] Deposit Fees and Charges Member [Member] Revenue, Initial Application Period Cumulative Effect Transition Revenue, Initial Application Period Cumulative Effect Transition [Line Items] Revenue Revenue from Contract with Customer, Excluding Assessed Tax Earnings Per Share Earnings Per Share [Text Block] Schedule of FHLB Advances, by Interest Rate Type Schedule of Federal Home Loan Bank, Advances, by Interest Rate Type [Table Text Block] Tabular disclosure of advances by federal home loan bank by interest rate type. Schedule of FHLB Advances, Disclosures Schedule of Federal Home Loan Bank, Advances, Disclosures [Table Text Block] Tabular disclosure of general disclosure items of advances by federal home loan bank. Schedule of FHLB, Advances, Maturity Summary Schedule of Federal Home Loan Bank, Advances, Maturity Summary [Table Text Block] Tabular disclosure of federal home loan bank advances by maturity dates. Schedule of Long-Term Debt Instruments Schedule of Long-term Debt Instruments [Table Text Block] Basis of Presentation Organization, Consolidation and Presentation of Financial Statements Disclosure [Text Block] Schedule of Compliance with Regulatory Capital Requirements under Banking Regulations [Table] Schedule of Compliance with Regulatory Capital Requirements under Banking Regulations [Table] Consolidated Entities [Axis] Consolidated Entities [Axis] Consolidated Entities [Domain] Consolidated Entities [Domain] Flagstar Bank Subsidiaries [Member] Compliance with Regulatory Capital Requirements under Banking Regulations [Line Items] Compliance with Regulatory Capital Requirements under Banking Regulations [Line Items] Tangible capital (to tangible assets), Actual, Amount Tangible Capital Tangible capital (to tangible assets), Actual, Ratio Tangible Capital to Tangible Assets Tier 1 capital (to adjusted tangible assets), Actual, Amount Tier One Leverage Capital Tier 1 capital (to adjusted tangible assets), Actual, Ratio (as a percent) Tier One Leverage Capital to Average Assets Tier 1 capital (to adjusted tangible assets), For Capital Adequacy Purposes, Amount Tier One Leverage Capital Required for Capital Adequacy Tier 1 capital (to adjusted tangible assets), For Required Adequacy Purposes, Ratio (as a percent) Tier One Leverage Capital Required for Capital Adequacy to Average Assets Tier 1 capital (to adjusted tangible assets), Well Capitalized Under Prompt Corrective Action Provisions, Amount Tier One Leverage Capital Required to be Well Capitalized Tier 1 capital (to adjusted tangible assets), Well Capitalized Under Prompt Corrective Action Provisions, Ratio (as a percent) Tier One Leverage Capital Required to be Well Capitalized to Average Assets Common equity Tier 1 capital (to RWA), Actual, Amount Tier One Common Equity Tier 1 Common Equity as defined in the regulations. Common equity Tier 1 capital (to RWA), Actual, Ratio (as a percent) Tier One Common Equity to Risk Weighted Assets Tier One Common Equity divided by Risk Weighted Assets as defined in the regulations. Common equity Tier 1 capital (to RWA), Required for Capital Adequacy, Amount Tier One Common Equity Required for Capital Adequacy The minimum amount of Tier 1 Common Equity required for capital adequacy purposes under the regulatory framework for prompt corrective actions. Common equity Tier 1 capital (to RWA), Required for Capital Adequacy, Ratio (as a percent) Tier One Common Equity Required for Capital Adequacy to Risk Weighted Assets The minimum amount of Tier One Common Equity Required for Capital Adequacy (Tier 1 Common Equity divided by Risk Weighted Assets) as defined in the regulations. Common equity Tier 1 capital (to RWA), Required to Be Well Capitalized, Amount Tier One Common Equity Required to Be Well Capitalized The amount of Tier 1 Common Equity required to be well capitalized under the regulatory framework for prompt corrective action. Common equity Tier 1 capital (to RWA), Required to Be Well Capitalized, Ratio (as a percent) Tier One Common Equity Required to Be Well Capitalized to Risk Weighted Assets The amount of Tier 1 Common Equity required to be well capitalized (Tier 1 Common Equity divided by risk weighted assets) as defined in the regulatory framework for prompt corrective action. Tier 1 capital (to risk-weighted assets), Actual, Amount Tier One Risk Based Capital Tier 1 capital (to risk-weighted assets), Actual, Ratio (as a percent) Tier One Risk Based Capital to Risk Weighted Assets Tier 1 capital (to risk-weighted assets), For Capital Adequacy Purposes, Amount Tier One Risk Based Capital Required for Capital Adequacy Tier 1 capital (to risk-weighted assets), For Capital Adequacy Purposes, Ratio (as a percent) Tier One Risk Based Capital Required for Capital Adequacy to Risk Weighted Assets Tier 1 capital (to risk-weighted assets), Well Capitalized Under Prompt Corrective Action Provisions, Amount Tier One Risk Based Capital Required to be Well Capitalized Tier 1 capital (to risk-weighted assets), Well Capitalized Under Prompt Corrective Action Provisions, Ratio (as a percent) Tier One Risk Based Capital Required to be Well Capitalized to Risk Weighted Assets Total capital (to risk-weighted assets), Actual, Amount Capital Total capital (to risk-weighted assets), Actual, Ratio (as a percent) Capital to Risk Weighted Assets Total capital (to risk-weighted assets), For Capital Adequacy Purposes, Amount Capital Required for Capital Adequacy Total capital (to risk-weighted assets), For Capital Adequacy Purposes, Ratio (as a percent) Capital Required for Capital Adequacy to Risk Weighted Assets Total capital (to risk-weighted assets), Well Capitalized Under Prompt Corrective Action Provisions, Amount Capital Required to be Well Capitalized Total capital (to risk-weighted assets), Well Capitalized Under Prompt Corrective Action Provisions, Ratio (as a percent) Capital Required to be Well Capitalized to Risk Weighted Assets Statement of Financial Position [Abstract] Assets Assets [Abstract] Cash Cash and Due from Banks Interest-earning deposits Interest-bearing Deposits in Banks and Other Financial Institutions Total cash and cash equivalents Cash and Cash Equivalents, at Carrying Value Investment securities held-to-maturity Loans held-for-sale ($4,815 and $4,300 measured at fair value, respectively) Loans held-for-investment ($11 and $12 measured at fair value, respectively) Less: allowance for loan losses Loans and Leases Receivable, Allowance Total loans held-for-investment and loans with government guarantees, net Loans and Leases Receivable, Net Amount Mortgage servicing rights Net deferred tax asset Deferred Tax Assets, Net Federal Home Loan Bank stock Federal Home Loan Bank Stock Premises and equipment, net Property, Plant and Equipment, Net Goodwill and intangible assets Intangible Assets, Net (Including Goodwill) Other assets Other Assets Total assets Assets Liabilities and Stockholders’ Equity Liabilities and Equity [Abstract] Noninterest bearing deposits Noninterest-bearing Deposit Liabilities Interest bearing deposits Interest-bearing Deposit Liabilities Total deposits Deposits Short-term Federal Home Loan Bank advances Short-term Debt Long-term Federal Home Loan Bank advances Other long-term debt Other liabilities ($60 and $60 measured at fair value, respectively) Other Liabilities Total liabilities Liabilities Stockholders’ Equity Stockholders' Equity Attributable to Parent [Abstract] Common stock $0.01 par value, 80,000,000 and 80,000,000 shares authorized; 57,625,439 and 57,321,228 shares issued and outstanding, respectively Common Stock, Value, Outstanding Additional paid in capital Additional Paid in Capital Accumulated other comprehensive loss Accumulated Other Comprehensive Income (Loss), Net of Tax Retained earnings/(accumulated deficit) Retained Earnings (Accumulated Deficit) Total stockholders’ equity Total liabilities and stockholders’ equity Liabilities and Equity Investment Securities Available-for-Sale, Amortized Cost Debt Securities, Available-for-sale, Amortized Cost, Fiscal Year Maturity [Abstract] Due after one year through five years, amortized cost Debt Securities, Available-for-sale, Maturity, Allocated and Single Maturity Date, after One Through Five Years, Amortized Cost Due after five years through 10 years, amortized cost Debt Securities, Available-for-sale, Maturity, Allocated and Single Maturity Date, after Five Through Ten Years, Amortized Cost Due after 10 years, amortized cost Debt Securities, Available-for-sale, Allocated and Single Maturity Date, Maturity, after 10 Years, Amortized Cost Investment Securities Available-for-Sale, Estimated Fair Value Debt Securities, Available-for-sale, Fair Value, Fiscal Year Maturity [Abstract] Due after one year through five years, fair value Debt Securities, Available-for-sale, Maturity, Allocated and Single Maturity Date, after One Through Five Years, Fair Value Due after five years through 10 years, fair value Debt Securities, Available-for-sale, Maturity, Allocated and Single Maturity Date, after Five Through Ten Years, Fair Value Due after 10 years, fair value Debt Securities, Available-for-sale, Maturity, Allocated and Single Maturity Date, after 10 Years, Fair Value Fair Value Investment Securities Available-for-Sale, Weighted-Average Yield Available-for-sale Securities, Maturities, Weighted Average Yield [Abstract] Available-for-sale Securities, Maturities, Weighted Average Yield [Abstract] Due after one year through five years, weighted average yield (as a percent) Available-For-Sale Securities, Debt Maturities, Year Two Through Five, Weighted Average Yield Available-for-sale Securities, Debt Maturities, Year Two Through Five, Weighted Average Yield Due after five years through 10 years, weighted average yield (as a percent) Available-For-Sale Securities, Debt Maturities, Year Six Through Ten, Weighted Average Yield Available-for-sale Securities, Debt Maturities, Year Six Through Ten, Weighted Average Yield Due after 10 years, weighted average yield (as a percent) Available-For-Sale Securities, Debt Maturities, After Ten Years, Weighted Average Yield Available-for-sale Securities, Debt Maturities, after Ten Years, Weighted Average Yield Investment Securities Held-to-maturity, Amortized cost Debt Securities, Held-to-maturity, Maturity, Allocated and Single Maturity Date, Amortized Cost [Abstract] Due after one year through five years, amortized cost Debt Securities, Held-to-maturity, Maturity, Allocated and Single Maturity Date, after One Through Five Years, Amortized Cost Due after five years through 10 years, amortized cost Debt Securities, Held-to-maturity, Maturity, Allocated and Single Maturity Date, after Five Through Ten Years, Amortized Cost Due after 10 years, amortized cost Debt Securities, Held-to-maturity, Maturity, Allocated and Single Maturity Date, after 10 Years, Amortized Cost Amortized Cost Debt Securities, Held-to-maturity, Maturity, Allocated and Single Maturity Date, Amortized Cost Investment Securities Held-to-maturity, Estimated Fair Value Debt Securities, Held-to-maturity, Maturity, Allocated and Single Maturity Date, Fair Value [Abstract] Due after one year through five years, fair value Debt Securities, Held-to-maturity, Maturity, Allocated and Single Maturity Date, after One Through Five Years, Fair Value Due after five years through 10 years, fair value Debt Securities, Held-to-maturity, Maturity, Allocated and Single Maturity Date, after Five Through Ten Years, Fair Value Due after 10 years, fair value Debt Securities, Held-to-maturity, Maturity, Allocated and Single Maturity Date, after 10 Years, Fair Value Fair Value Debt Securities, Held-to-maturity, Maturity, Allocated and Single Maturity Date, Fair Value Investment Securities Held-to-maturity, Weighted-Average Yield Held-to-maturity Securities, Maturities, Weighted Average Yield [Abstract] [Abstract] Held-to-maturity Securities, Maturities, Weighted Average Yield [Abstract] [Abstract] Due after one year through five years, weighted average yield (as a percent) Held-to-maturity Securities, Debt Maturities, Year Two Through Five, Weighted Average Yield Held-to-maturity Securities, Debt Maturities, Year Two Through Five, Weighted Average Yield Due after five years through 10 years, weighted average yield (as a percent) Held-to-maturity Securities, Debt Maturities, Year Six Through Ten, Weighted Average Yield Held-to-maturity Securities, Debt Maturities, Year Six Through Ten, Weighted Average Yield Due after 10 years, weighted average yield (as a percent) Held-to-maturity Securities, Debt Maturities, After Ten Years, Weighted Average Yield Held-to-maturity Securities, Debt Maturities, After Ten Years, Weighted Average Yield Schedule of Trading and Available-for-sale Securities Schedule of Trading and Available-for-sale Securities [Table Text Block] The table text block of the schedule of trading and available-for-sale securities. Debt Securities, Available-for-sale Debt Securities, Available-for-sale [Table Text Block] Available-for-sale Securities, Continuous Unrealized Loss Position, Fair Value Debt Securities, Held-to-maturity [Table Text Block] Schedule of Available-for-sale Securities, by Contractual Maturity Date Investments Classified by Contractual Maturity Date [Table Text Block] Effective tax provision rate (as a percent) Effective Income Tax Rate Reconciliation, Percent Unrecognized tax benefits, recognition period (in months) Unrecognized Tax Benefits, Period Recognized The period in which the unrecognized tax benefits will result in an impact to the company. Credit Quality Concentration Risk, Credit Risk, Policy [Policy Text Block] Derivative Financial Instruments Derivatives, Policy [Policy Text Block] Fair Value Measurements Fair Value Measurement, Policy [Policy Text Block] Recently Issued Accounting Pronouncements New Accounting Pronouncements, Policy [Policy Text Block] Schedule of Troubled Debt Restructurings [Table] Schedule of Financing Receivable, Troubled Debt Restructurings [Table] Financing Receivable Portfolio Segment [Axis] Financing Receivable Portfolio Segment [Axis] Financing Receivable Portfolio Segment [Domain] Financing Receivable Portfolio Segment [Domain] Troubled Debt Restructurings Financing Receivable, Modifications [Line Items] TDR Balance Financing Receivable, Modifications, Recorded Investment Allowance for loan losses on TDR loans Allowance for Credit Losses, Change in Method of Calculating Impairment TDR loans under fair value option Fair Value Option, Loans Held for Investment The TDR loans held-for-investment carried under the fair value option method. Borrowings Debt Disclosure [Text Block] Derivative Financial Instruments Derivative Instruments and Hedging Activities Disclosure [Text Block] SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate, Loan Type [Axis] SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate, Loan Type [Axis] SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate, Loan Type [Domain] SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate, Loan Type [Domain] Other noninterest income Interest Income [Member] Provision for loan losses Provision for Loan, Lease, and Other Losses [Member] The gain or loss associated with impaired loans, which is included in the provision for loan losses on the income statement. Loans held-for-sale Impaired loans held-for-investment Impaired Financing Receivable, Fair Value Disclosure This element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. This item represents impaired financing receivable which may include impaired mortgage loans held for investment, impaired finance receivables held for investment, or any other impaired loans which are due the Company as of the balance sheet date. Repossessed assets Real Estate Acquired Through Foreclosure Total assets at fair value Fair value losses on loans Fair Value Gain (Loss) on Loans and Leases This amount represents the amount of gain (loss) recognized on impaired loans, still held as of the reporting date and measured at fair value on a nonrecurring basis. Fair value losses on repossessed assets Gain (Loss) on Foreclosed Assets This represents the amount of gain (loss) recognized on foreclosed assets, still held as of the reporting date, measured at fair value on a nonrecurring basis. Accumulated other comprehensive income, cash flow hedge Carrying Value Reported Value Measurement [Member] Changes in Value Changes Measurement [Member] Stockholders' equity Estimated amount to be reclassified from OCI into earnings during next 12 months Interest Rate Cash Flow Hedge Gain (Loss) to be Reclassified During Next 12 Months, Net Derivative instrument Derivative, Fair Value, Net Right to reclaim cash Derivative, Collateral, Right to Reclaim Cash Obligation to receive cash irrespective of position Derivative, Collateral, Right to Reclaim Cash, Irrespective of Position Derivative, Collateral, Right to Reclaim Cash, Irrespective of Position Obligation to return cash Derivative, Collateral, Obligation to Return Cash Fair Value Option, Disclosures [Table] Fair Value Option, Disclosures [Table] Net gain on loan sales Gain (Loss) on Loan Sales [Member] The gain (loss) resulting from a sale of loans, including adjustments to record loans classified as held-for-sale. Loans held-for-investment Loans Receivable [Member] Litigation settlement Litigation Case [Axis] Litigation Case [Axis] Litigation Case [Domain] Litigation Case [Domain] Litigation settlement DOJ Agreement [Member] Agreement with the Department of Justice as a result of a litigation settlement. Fair Value, Option, Quantitative Disclosures [Line Items] Fair Value, Option, Quantitative Disclosures [Line Items] Changes in fair value, gain (loss) Fair Value, Option, Changes in Fair Value, Gain (Loss) Unpaid Principal Balance Fair Value, Option, Contractual Principal Outstanding, Assets This item represents aggregate unpaid principal balance of assets that have contractual principal amounts and for which the fair value option has been elected. Fair Value Fair Value Over / (Under) Unpaid Principal Balance Fair Value, Option, Loans Held as Assets, Aggregate Difference Fair Value, Option, Contractual Principal Outstanding, Liabilities Fair Value, Option, Contractual Principal Outstanding, Liabilities This item represents aggregate unpaid principal balance of liabilities that have contractual principal amounts and for which the fair value option has been elected. Long-term Debt, Fair Value Long-term Debt, Fair Value Fair Value, Option, Aggregate Differences, Long-term Debt Instruments Fair Value, Option, Aggregate Differences, Long-term Debt Instruments Litigation settlement payment amount Litigation Settlement, Amount Awarded to Other Party Loans Held-for-Sale Loans Held-for-sale Disclosure [Text Block] The disclosure for loans that are intended to be sold into the secondary market on a whole loan basis or by securitizing the loans into securities. DOJ Agreement Payment Terms [Axis] Payment Terms [Axis] The payment terms associated with legal litigation. Payment Terms [Domain] Payment Terms [Domain] The payment terms associated with a litigation settlement. Additional payments Subsequent Payments [Member] Additional payments contingent upon the occurrence of certain future events as a result of litigation settlement. Litigation Settlement, by Nature [Axis] Litigation Settlement, by Nature [Axis] Litigation Settlement, by Nature [Axis] Litigation Settlement, by Nature [Domain] Litigation Settlement, by Nature [Domain] [Domain] for Litigation Settlement, by Nature [Axis] Liability Class [Axis] Liability Class [Axis] Liability Class [Domain] Fair Value by Liability Class [Domain] Discount rate Measurement Input, Discount Rate [Member] Litigation settlement, initial payment Litigation Settlement, Initial Payment Litigation Settlement, Initial Payment Annual payments (up to) Litigation Settlement, Expense Tier 1 leverage capital ratio Business acquisition threshold Business Acquisition Threshold, Percent Business Acquisition Threshold, Percent Litigation settlement liability Litigation Settlement Liability This amount represents the litigation settlement liability reported on the balance sheet at period end relating to the DOJ settlement. Accrued reserve for contingent liabilities Loss Contingency Accrual Letter of credit, reserve amount Letter of Credit, Reserve, Amount The total amount of the reserve on letters of credit outstanding as of the reporting date. Schedule of Regulatory Capital Ratios Schedule of Compliance with Regulatory Capital Requirements under Banking Regulations [Table Text Block] Number of Accounts Financing Receivable, Modifications, Number of Contracts Pre-Modification Unpaid Principal Balance Financing Receivable, Modifications, Pre-Modification Recorded Investment Post-Modification Unpaid Principal Balance Financing Receivable, Modifications, Post-Modification Recorded Investment Increase in Allowance at Modification Allowance for Loan and Lease Losses, Adjustments, Other Number of loans modified in previous 12 months that have defaulted Financing Receivable, Modifications, Subsequent Default, Number of Contracts Modifications subsequent to default Financing Receivable, Modifications, Subsequent Default, Recorded Investment Schedule of Computation of Basic and Diluted Earnings Schedule of Earnings Per Share, Basic and Diluted [Table Text Block] Assets Loans held-for-investment, fair value Other liabilities, fair value Other Liabilities, Fair Value Disclosure Stockholders' Equity Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest [Abstract] Common stock, par value (in usd per share) Common Stock, Par or Stated Value Per Share Common stock, shares authorized (in shares) Common Stock, Shares Authorized Common stock, shares issued (in shares) Common Stock, Shares, Issued Common stock, shares outstanding (in shares) Common Stock, Shares, Outstanding Fair Value, by Balance Sheet Grouping [Table] Fair Value, by Balance Sheet Grouping [Table] Estimated Fair Value Deposit, by Type [Axis] Deposit, by Type [Axis] This table discloses the deposits by type of class. Deposits, by Type [Domain] Deposits, by Type [Domain] This disclosure of the deposits by type of class.