/* =========================================================
   VANCE CEYLON — CHECKOUT PAYMENT INFORMATION READABILITY
   Purpose: make the COD and Bank Deposit drop-down information
   comfortably readable without changing the checkout layout.
   ========================================================= */

/* Main information panel used by both COD and Bank Deposit. */
html[data-vance-template="daylight"][data-shop-theme="day"] body #vanceCheckout .vc-ref-payment #vcBankDetails.vc-ref-bank-details,
html[data-vance-template="daylight"][data-shop-theme="day"] body #vanceCheckout .vc-ref-payment #vcBankInfo,
html body #vanceCheckout #vcBankDetails,
html body #vanceCheckout #vcBankInfo {
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-height:0 !important;
    max-height:170px !important;
    margin:12px 0 0 !important;
    padding:14px 16px !important;
    overflow:visible !important;
    box-sizing:border-box !important;

    border:1px solid #e3e3e3 !important;
    border-radius:11px !important;
    background:#f5f5f5 !important;
    color:#202020 !important;
    box-shadow:none !important;

    font-size:13px !important;
    line-height:1.58 !important;
    font-weight:520 !important;
    letter-spacing:0 !important;
    text-align:left !important;
    white-space:pre-wrap !important;
    overflow-wrap:anywhere !important;
}

/* Slightly stronger readability for all nested text if another old
   checkout stylesheet tries to shrink the panel again. */
html body #vanceCheckout #vcBankDetails *,
html body #vanceCheckout #vcBankInfo * {
    color:#202020 !important;
    font-size:13px !important;
    line-height:1.58 !important;
}

/* Bank Deposit island-wide helper, when it is shown. */
html body #vanceCheckout .vance-bank-islandwide-note {
    width:100% !important;
    margin:11px 0 0 !important;
    padding:13px 15px !important;
    border:1px solid #e3e3e3 !important;
    border-radius:11px !important;
    background:#f5f5f5 !important;
    color:#202020 !important;
    box-sizing:border-box !important;
    text-align:left !important;
}

html body #vanceCheckout .vance-bank-islandwide-note strong {
    font-size:13px !important;
    line-height:1.35 !important;
    font-weight:750 !important;
    letter-spacing:0 !important;
    color:#202020 !important;
}

html body #vanceCheckout .vance-bank-islandwide-note span {
    margin-top:4px !important;
    font-size:12.5px !important;
    line-height:1.45 !important;
    font-weight:650 !important;
    color:#202020 !important;
}

html body #vanceCheckout .vance-bank-islandwide-note small,
html body #vanceCheckout .vance-area-mode-note {
    margin-top:4px !important;
    font-size:11.5px !important;
    line-height:1.5 !important;
    font-weight:500 !important;
    color:#555 !important;
}

/* Phones need slightly larger reading text, not smaller text. */
@media (max-width:600px) {
    html[data-vance-template="daylight"][data-shop-theme="day"] body #vanceCheckout .vc-ref-payment #vcBankDetails.vc-ref-bank-details,
    html[data-vance-template="daylight"][data-shop-theme="day"] body #vanceCheckout .vc-ref-payment #vcBankInfo,
    html body #vanceCheckout #vcBankDetails,
    html body #vanceCheckout #vcBankInfo {
        max-height:none !important;
        padding:14px 15px !important;
        font-size:14px !important;
        line-height:1.6 !important;
    }

    html body #vanceCheckout #vcBankDetails *,
    html body #vanceCheckout #vcBankInfo * {
        font-size:14px !important;
        line-height:1.6 !important;
    }

    html body #vanceCheckout .vance-bank-islandwide-note strong { font-size:14px !important; }
    html body #vanceCheckout .vance-bank-islandwide-note span { font-size:13.5px !important; }
    html body #vanceCheckout .vance-bank-islandwide-note small,
    html body #vanceCheckout .vance-area-mode-note { font-size:12.5px !important; }
}
