/*The css files are only used for browser (html) channel. For app_html, the css styles are embedded in html files. */ .hide { display: none; } .hidden { position: absolute; top: -100px; /* take out hidden fields of layout flow */ width: 0; height: 0; opacity: 0; } * { margin: 0; padding: 0; box-sizing: border-box; /*check ie9*/ } body { background-color: #fff; font-size: .8rem; margin: 0; padding: 0; min-width: 230px; } a { text-decoration: none; cursor: pointer; } a:hover, a:focus, a:active { text-decoration: underline; } a:focus { outline: 2px solid #0E2563; outline-offset: -2px; } .main, .language-switch { padding: 0 4vh; } /* header */ .logo { width: 50%; display: inline-block; vertical-align: middle; padding: 4vh 4vh 3vh; } .logo img { height: 100%; max-height: 48px; max-width: 100%; } .logo-right { text-align: right; } /* content */ .language-switch { text-align: right; font-size: .7rem; line-height: 1.3; } .language-switch label { margin-right: 1rem; } h1 { font-size: 1.5rem; font-weight: 300; margin-bottom: .5rem; } h1 sup { font-size: .7rem; /*check ie9*/ font-weight: 400; } p, ol { margin-bottom: .3rem; } ol { margin-left: 2rem; } .data-wrapper { margin-bottom: .3rem; font-size: .7rem; line-height: 1.3; } .code-wrapper + .code-wrapper { margin-top: .25rem; } dd, dt { display: inline-block; } dt { width: 50%; text-align: right; padding-right: 1rem; word-break: break-word; } dd { width: 50%; text-align: left; font-weight: 600; } .helptext { text-align: center; margin: .25rem 0; } input[type="text"], input[type="password"], select { font-weight: 600; padding: .5rem 1rem; line-height: 1; max-width: 100%; text-align: center; width: 8rem; margin-bottom: .25rem; font-size: .7rem; } input[type="text"]:focus, input[type="text"]:active, input[type="password"]:focus, input[type="password"]:active, select:focus, select:active { outline: none; } input::-webkit-contacts-auto-fill-button, input::-webkit-credentials-auto-fill-button, input::-webkit-caps-lock-indicator { display: none; visibility: hidden; pointer-events: none; height: 0; width: 0; margin: 0; } input::-ms-reveal { display: none; } select { padding-right: 1.6rem; text-align: left; line-height: 1.2; background: #fff no-repeat center right 0.5rem; -webkit-appearance: none; -moz-appearance: none; -o-appearance: none; appearance: none; } select::-ms-expand { display: none; } .language-switch select { width: 8rem; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; } [placeholder]{ text-overflow: ellipsis; overflow: hidden; } ::-webkit-input-placeholder { /* Chrome/Opera/Safari */ color: #999; text-overflow: ellipsis; overflow: hidden; opacity: .8; } ::-moz-placeholder { /* Firefox 19+ */ color: #999; text-overflow: ellipsis; overflow: hidden; } :-ms-input-placeholder { /* IE 10+ */ color: #999; text-overflow: ellipsis; overflow: hidden; } :-moz-placeholder { /* Firefox 18- */ color: #999; text-overflow: ellipsis; overflow: hidden; } .processing-fullpage { background-color: rgba(255,255,255,.75); position: fixed; top: 0; bottom: 0; right: 0; left: 0; z-index: 999; } .processing-fullpage .spinner { background: 0 center no-repeat; background-size: contain; width: 3rem; height: 3rem; position: absolute; margin-left: -1.5rem; margin-top: -1.5rem; top: 50%; left: 50%; } .processing { padding: .5rem .25rem .5rem 1.75rem; font-size: .7rem; line-height: 1.2; text-align: center; margin-bottom: .5rem; position: relative; } .processing.error { margin: .5rem 0; padding: 1rem 2.2rem; font-size: .8rem; line-height: 1.5; } .processing p { margin-bottom: 0; } .processing::before { background-size: contain; content: ''; display: inline-block; vertical-align: middle; margin-right: .5rem; width: 1.5rem; height: 1.5rem; position: absolute; margin-top: -.75rem; top: 50%; left: .5rem; } .data-wrapper .processing.error { padding: .5rem .25rem .5rem 1.75rem; margin: .25rem 0; line-height: 1.2; font-size: .7rem; } .data-wrapper .processing.error::before { background-size: contain; width: 1.2rem; height: 1.2rem; margin-top: -.6rem; } /* footer */ footer { font-size: .7rem; padding: .5rem 4vh 0; text-align: center; } hr { border: 0; margin-bottom: .6rem; margin-top: .6rem; } footer a { vertical-align: middle; font-size: .6rem; } footer hr { margin-top: -.5rem; } footer .btn { margin-bottom: .5rem; } .btn { cursor: pointer; padding: .5rem 2rem; font-weight: 600; font-size: .6rem; line-height: 1; letter-spacing: .05rem; margin-right: .5rem; } .btn[disabled] { opacity: .5; pointer-events: none; } .code-wrapper.code-whitelist { margin-top: .5rem; } input[type="checkbox"] { opacity: 0; position: absolute; } input[type="checkbox"]+label{ display: inline-block; position: relative; padding-left: 1.5rem; font-weight: 400; } input[type="checkbox"]+label::before, input[type="checkbox"]+label::after{ content: ''; display: inline-block; border-radius: 2px; position: absolute; top: -2px; left: 0; } input[type="checkbox"]+label::before{ width: 16px; height: 16px; } input[type="checkbox"]+label::after{ /* with checkmark */ height: 4px; width: 8px; top: -2px; left: 3px; -webkit-transform: translateY(4px) rotate(-45deg); transform: translateY(4px) rotate(-45deg); visibility: hidden; } input[type="checkbox"]:checked+label::after{ visibility: visible; } /* IE9+ */ @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { img[src*=".svg"] { width: 100%; } } /* 390x400 */ @media (max-width: 399px) { body { font-size: .6rem; } p, ol { margin-bottom: .25rem; } h1 { font-size: 1.1rem; font-weight: 600; } .data-wrapper, input[type="text"], input[type="password"], select, .processing, .data-wrapper .processing.error { font-size: .6rem; } .processing.error { font-size: .7rem; } .btn { padding: .5rem 1rem; } .data-wrapper .btn { padding: .5rem; } dl { line-height: 1.3; } dt { width: 40%; padding-right: .25rem; } dd { width: 60%; padding-left: .25rem; } .processing { margin: .25rem 0; } input[type="text"], input[type="password"]{ width: 6rem; } } /* 250x400 */ @media (max-width: 299px) { body { font-size: .7rem; } .main, .language-switch { padding: 0 .5rem; } .logo { padding: .5rem; } h1 { font-size: .8rem; margin-bottom: .3rem; } p, ol, dl { margin-bottom: .25rem; } body.shrinked ol { margin-left: 1rem; } dt { text-align: left; } dt label { display: block; text-align: right; } footer { padding: .5rem .5rem 0; } hr { margin-top: .3rem; margin-bottom: .3rem; } } /* shrinked version */ body.shrinked, body.shrinked .data-wrapper, body.shrinked input[type="text"], body.shrinked input[type="password"], body.shrinked select { font-size: .6rem; } body.shrinked h1 { font-size: .8rem; font-weight: 600; margin: .25rem 0; } body.shrinked p { margin-bottom: 0; } body.shrinked ol { margin-top: .25rem; margin-bottom: 0; } body.shrinked .processing { font-size: .6rem; margin-bottom: .25rem; } body.shrinked footer { padding: .25rem 4vh 0; } body.shrinked footer hr { margin-top: -.25rem; margin-bottom: .25rem; } body.shrinked footer .btn { margin-bottom: .25rem; } @media screen and (max-device-width: 480px) { body { -webkit-text-size-adjust: none; } } .qr-wrapper { text-align: center; } .qr-wrapper img { min-width: 325px; max-width: 325px; margin: 0 auto; clip-path: inset(25px 25px 25px 25px); } @media screen and (max-width: 599px) { .spc-enrollment-footer .btn { display: block; width: 100%; max-width: 360px; margin: 0 auto 8px auto; } } img.spc-illustration { display: block; margin: 8px auto; } /* Redesign v. 2.3 */ body.body-redesign { display: flex; flex-direction: column; max-width: 700px; min-height: 100vh; margin: 0px auto; color: #414141; } body.body-redesign .logo img { max-height: 38px; } body.body-redesign form { display: flex; flex-direction: column; flex-grow: 1; } body.body-redesign .cancel-button-wrapper { order: -1; border-bottom: 1px solid #E3E3E3; } .main-redesign h1, .body-redesign .spc-enrollment-successful h1 { color: #212121; margin-bottom: 0.5rem; font-size: 1.125rem; /* 18px */ font-weight: 600; } .main-redesign .data-wrapper { margin: 0; } .main-redesign .data-wrapper ul { margin:0 0 0.5rem 0; /* 8px */ list-style: none; } .main-redesign .data-wrapper li { padding-left: 0; font-weight: 400; font-size: 0.8125rem; /* 13px */ margin-bottom: 2px; } .main-redesign .data-wrapper li.purchase-amount { font-weight: 600; font-size: 0.9375rem; /* 15px */ color: #212121; } .main-redesign .data-wrapper li.recurring-transaction { padding-top: .5rem; } .main-redesign .data-wrapper li.recurring-transaction .recurring-transaction-title { display: block; } .main-redesign ol { margin-left: 1rem; } .main-redesign ol li { margin-bottom: .5rem; } .main-redesign .data-wrapper p, .body-redesign .spc-enrollment-successful p { font-size: 0.8125rem; /* 13px */ } .main-redesign .code-wrapper.code-whitelist { margin-top: 0; } .main-redesign p, .main-redesign ol { margin-bottom: 0.5rem; /* 8px */ } .main-redesign .processing p { margin-bottom: 0; } .main-redesign a, .footer-redesign a { color: #356FD3; text-decoration: underline; font-size: 0.8125rem; vertical-align: initial; } .main-redesign a:hover, .footer-redesign a:hover { color: #2A57B0; } .footer-redesign .alternative-method { text-align: left; margin: 1rem 0; clear: both; } /* Form Elements */ /* Input */ .main-redesign input { height: 28px; } .main-redesign input, .main-redesign select, .body-redesign button { font-family: 'Open Sans', Helvetica, Arial, sans-serif; letter-spacing: .03rem; } .main-redesign label { display: block; font-weight: 600; margin-bottom: .25rem; /* 4px */ } .main-redesign input[type="text"], .main-redesign input[type="password"], .main-redesign select { display: block; width: 100%; border-radius: 0; border: none; border-bottom: 1px solid #828282; background-color: #F2F2F2; outline: 2px solid #0000; outline-offset: -2px; text-align: left; margin-bottom: .5rem; /* 8px */ font-size: .75rem; /* 12px */ color: #414141; font-weight: 600; } .main-redesign input[type="text"]:focus, .main-redesign input[type="text"]:active, .main-redesign input[type="password"]:focus, .main-redesign input[type="password"]:active, .main-redesign select:focus, .main-redesign select:active { outline: 2px solid #0E2563; outline-offset: -2px; border: none; border-bottom: 1px solid #828282; } .main-redesign input[type="text"].validation-error, .main-redesign input[type="password"].validation-error { outline: 2px solid #BF303C; outline-offset: -2px; border: none; border-bottom: 1px solid #BF303C; } .body-redesign .btn.btn-cancel { margin: 0; padding: 0; } .main-redesign.language-switch label { display: inline-block; } .main-redesign.language-switch select { width: 8rem; /* 128px */ display: inline-block; } .main-redesign .message { border-top: 2px solid; padding: 1rem .5rem 1rem 3.5rem; text-align: left; margin: 0 0 .5rem 0; line-height: 1.3; position: relative; } .main-redesign .message::before { background-size: contain; content: ''; width: 1.5rem; height: 1.5rem; position: absolute; top: 50%; transform: translateY(-50%); left: 1rem; } .main-redesign .message p:last-of-type { margin-bottom: 0; } .main-redesign .message.message-processing { background-color:#FAFAFA; border: 0; } .main-redesign .message.message-warning { background-color:#FFF5ED; border-color:#C44003; } .main-redesign .message.message-error { background-color:#FFF1F0; border-color:#BF303C; } body.body-redesign .cancel-button-wrapper { display: flex; justify-content: flex-end; margin: 0 1rem; padding: 0.469rem 0; } .footer-redesign { margin: auto 0 .25rem 0; padding-top: 0; } .body-redesign .btn, .footer-redesign .btn { display: block; width: 100%; border-radius: 0; border: 1px solid #356FD3; letter-spacing: initial; font-size: .75rem; /* 12px */ padding: .5rem 1.5rem; } .body-redesign .btn:hover { border: 1px solid #356FD3; } .body-redesign .btn:focus, .footer-redesign .btn:focus { outline: 2px solid #0E2563; outline-offset: -2px; } .body-redesign .btn.btn-cancel:focus { outline-offset: 0px; } .body-redesign .btn-primary { color: #FFFFFF; background-color: #356FD3; } .body-redesign .btn-primary:hover { background-color: #2A57B0; } .body-redesign .btn-secondary { color: #356FD3; } .body-redesign .btn-secondary:hover { background-color: #F0F8FF; color: #356FD3; } .body-redesign .btn-secondary:active { background-color: #bcd8fa; border-color: #1a3b8a; color: #1a3b8a; } .body-redesign .btn-link, .footer-redesign .btn-link { display: inline-block; width: auto; background-color: #FFFFFF; border-color: transparent; text-decoration: underline; color: #356FD3; margin-right: 0; padding: 0.5rem 1rem; } .body-redesign .btn-primary, .body-redesign .btn-secondary { min-width: 8rem; } .body-redesign .align-content-center .btn-link, .footer-redesign.align-content-center .btn-link { float: none; } .body-redesign .btn-link:hover { background-color: #F0F8FF; border-color: transparent; } .body-redesign .btn-link:active { background-color: #bcd8fa; color: #1a3b8a; } .body-redesign button.btn:last-of-type, .footer-redesign button.btn:last-of-type { margin-right: 0; } .main-redesign input[type="checkbox"] { width: auto; } .main-redesign input[type="checkbox"]+label { font-size: 0.6875rem; /* 11px */ margin-bottom: .5rem; min-height: 18px; } .main-redesign input[type="checkbox"]+label::before { border: 1px solid #4B4B4B; border-radius: 0; top: 0px; } .main-redesign input[type="checkbox"]:checked+label::before { background-color: #356FD3; border-color: #356FD3; } .main-redesign input[type="checkbox"]:checked+label::after { border-color: #FFFFFF; top: 1px; } .main-redesign input[type="checkbox"]:not(:disabled):focus+label::before, .main-redesign input[type="checkbox"]:not(:disabled):active+label::before { outline: 2px solid #0E2563; outline-offset: -2px; } .main-redesign input[type="checkbox"]+label::after { border-left: 2px solid #0e98e7; border-bottom: 2px solid #0e98e7; } .main-redesign input[type="checkbox"]+label::after { top: -1px; left: 4px; } /* Input value visibility */ .main-redesign .input-wrapper { position: relative; } .main-redesign .input-wrapper button { position: absolute; right: 0; top: 0; display: flex; height: 100%; min-height: auto; align-items: center; justify-content: center; padding: 0; border: 0; background: none; border: none; cursor: pointer; padding: 0 0.25rem; } .main-redesign .input-wrapper button:focus, .main-redesign .input-wrapper button:active { outline: 2px solid #0E2563; outline-offset: -2px; border: none; } .main-redesign .input-wrapper button img { width: 20px; height: 20px; } /* hides an element in all devices except for the Screen Readers */ .main-redesign .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; } body.body-redesign .form-button-wrapper { display: flex; flex-wrap: wrap; } /* Accordion */ .accordion { width: 100%; border-top: 1px solid #E3E3E3; display: block; clear: both; } .footer-redesign .accordion .btn { width: 100%; background: #fff; color: #414141; border: 0; position: relative; text-align: left; padding: 0.5rem 0.5rem 0.5rem 1.7rem; margin: 0; font-weight: 400; float: initial; } .accordion-panel p, .accordion-panel ul, .accordion-panel ol { margin-bottom: 0.5rem; } .accordion-panel ol { margin-left: 1rem; } .accordion-panel ul li { padding-left: 1rem; position: relative; list-style: none; } .accordion-panel ul li::before { content: '-'; position: absolute; left: 5px; } .accordion .btn:hover { background: #F5F5F5; } .accordion .btn:focus { outline: 2px solid #0E2563; outline-offset: -2px; border-radius: 0; } .accordion-panel { max-height: inherit; padding: 0.5rem 0.3rem 0.5rem 1.7rem; text-align: left; } /* Icon */ .accordion button::after { content: ''; display: block; position: absolute; right: auto; top: 0.65rem; bottom: auto; left: .5rem; width: auto; height: auto; visibility: visible; padding: 0; border: solid #414141; border-width: 0 1px 1px 0; padding: 3px; transition: all .11s cubic-bezier(.2,0,.38,.9); transform: rotate(-45deg); -webkit-transform: rotate(-45deg); } .accordion button[aria-expanded='true']::after { transform: rotate(-135deg); -webkit-transform: rotate(-135deg); top: 0.75rem; left: 0.65rem; } .body-redesign .spc-card-details { display: flex; border-top: 1px solid #f2f2f2; border-bottom: 1px solid #f2f2f2; padding: 0.5rem 0; justify-content: flex-start; align-items: center; margin: 1rem 0 1rem 0; } .body-redesign .spc-card-details p { margin-bottom: 0; font-weight: 600; } .body-redesign .spc-card-details img { max-width: 26px; margin: 0 0.5rem 0 0; } .body-redesign .spc-enrollment-status { margin: 0.5rem 0 1rem 0; } .body-redesign .spc-input-wrapper { margin-bottom: 1rem; } .body-redesign .spc-input-wrapper input[type="text"] { margin-bottom: 0; } .body-redesign .spc-input-helper-text { color: #6E6E6E; font-size: .68rem; } .spc-enrollment-successful { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 1rem; } .body-redesign .spc-enrollment-successful-hidden { display: none; } .body-redesign .spc-enrollment-successful h1 { margin: 1rem 0 .5rem 0; } .body-redesign .spc-enrollment-successful p { text-align: center; } @media (min-width: 299px) { .footer-redesign { padding: 0 4vh 0; } } @media (max-width: 299px) { body.body-redesign .cancel-button-wrapper { margin: 0 .5rem; } } @media (max-width: 399px) { body.body-redesign .logo img { max-height: 36px; } body.body-redesign .form-button-wrapper { flex-direction: column; } .body-redesign .btn { margin-bottom: 0.5rem; } .body-redesign .btn, .footer-redesign .btn { padding: 0.469rem 1.5rem; font-size: 0.6875rem; } .main-redesign .data-wrapper li, .main-redesign li, .main-redesign .data-wrapper p, .main-redesign p, .body-redesign .spc-enrollment-successful p, .main-redesign .processing, .main-redesign .message, .main-redesign label, .body-redesign a { font-size: 0.6875rem; /* 11px */ } .main-redesign h1, .body-redesign .spc-enrollment-successful h1 { font-size: 0.875rem; /* 14px */ } .main-redesign h1, .body-redesign .spc-enrollment-successful h1, .main-redesign .data-wrapper li.purchase-amount { font-weight: 600; } .main-redesign .data-wrapper li.purchase-amount { font-size: 0.825rem; /* 13px */ } .main-redesign input[type="text"], .main-redesign input[type="password"], .body-redesign select { padding: 0.313rem 0.7rem; line-height: 0.75rem; } .main-redesign .message { padding: .8rem .8rem .8rem 2.5rem; } .main-redesign .message::before { left: .5rem; } } @media (min-width: 490px) { .main-redesign h1, .body-redesign .spc-enrollment-successful h1 { font-size: 1rem; } .body-redesign .spc-card-details { padding: 1rem 0; } .main-redesign input { height: 34px; } .main-redesign input, .main-redesign input[type="text"], .main-redesign input[type="password"], .main-redesign select, .main-redesign .input-wrapper { max-width: 390px; } .main-redesign input[type="checkbox"]+label, .main-redesign .form-button-wrapper { margin-top: .5rem; } .main-redesign .code-whitelist-oob input[type="checkbox"]+label { margin: .5rem 0 1rem 0; } .main-redesign .input-wrapper button { width: 34px; } .main-redesign .message, .main-redesign input[type="checkbox"]+label, .main-redesign label, .accordion .accordion-panel, .accordion .accordion-panel a, .footer-redesign .alternative-method p, .footer-redesign .alternative-method a { font-size: .8125rem; } .body-redesign button.btn, .footer-redesign button.btn { display: inline-block; float: left; width: auto; margin: 0 1rem 1rem 0; } .footer-redesign .accordion .btn { padding: 0.7rem 0.5rem 0.7rem 1.7rem; } .footer-redesign .accordion button[aria-expanded='false']::after { top: 0.9rem; } .footer-redesign .accordion button[aria-expanded='true']::after { top: 1rem; } } @media (max-width: 699px) { .main-redesign .data-wrapper ul li { margin-bottom: 0; } } @media (min-width: 490px) and (max-width: 590px) { .main-redesign .data-wrapper p, .body-redesign .spc-enrollment-successful p, .main-redesign .data-wrapper li, .main-redesign label, .main-redesign .message, .accordion input[type="checkbox"]+label, .accordion .accordion-panel, .accordion .accordion-panel a, .body-redesign .btn, .footer-redesign .alternative-method p, .footer-redesign .alternative-method a, .footer-redesign .btn, .main-redesign input[type="checkbox"]+label { font-size: 0.8125rem; /* 13px */ } .main-redesign h1, .body-redesign .spc-enrollment-successful h1 { font-size: 1.125rem; /* 18px */ } .main-redesign .data-wrapper ul, .main-redesign .code-whitelist-oob input[type="checkbox"]+label { margin: 0 0 1rem 0; } .main-redesign .data-wrapper li.purchase-amount { font-size: 1rem; /* 16px */ } } @media (min-width: 601px) { .main-redesign h1, .body-redesign .spc-enrollment-successful h1 { font-size: 1.125rem; } .main-redesign label, .body-redesign .btn, .footer-redesign .btn, .footer-redesign .alternative-method p, .footer-redesign .alternative-method a, .footer-redesign .accordion .btn { font-size: 0.8125rem; } .body-redesign header { padding: 1rem 0; } .body-redesign .logo, .body-redesign .main, .body-redesign .language-switch, .body-redesign footer { padding: 0 1rem; } .body-redesign footer { margin-top: .5rem; } .body-redesign .cancel-button-wrapper { margin: 0 1rem; } } ?O4f