:root {
    --mdc-theme-primary: #1151A2;
    --mdc-theme-secondary: #1a73e8;
    --mdc-theme-background: #fff;
    --mdc-theme-surface: #fff;
    --mdc-theme-error: #b00020;
    --mdc-theme-on-primary: #fff;
    --mdc-theme-on-secondary: #fff;
    --mdc-theme-on-surface: #000;
    --mdc-theme-on-error: #fff;
    --mdc-typography-font-family: Open Sans, sans-serif;
}

body {
    font-family: Open Sans, sans-serif;
}

a {
    color: var(--mdc-theme-primary);
}

.mdc-notched-outline--notched .mdc-notched-outline__notch {
    border-left-style: none !important;
    border-right-style: none !important;
}

.mdc-tab__icon {
    height: auto !important;
}

.mdc-top-app-bar {
    background-color: #ffffff;
}

.mdc-top-app-bar .mdc-top-app-bar__action-item.mdc-ripple-upgraded,
.mdc-top-app-bar .mdc-top-app-bar__navigation-icon.mdc-ripple-upgraded {
    color: #000000;
}

.mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label {
    color: var(--mdc-theme-primary);
}

.mdc-floating-label--float-above {
    color: var(--mdc-theme-primary) !important;
}

.mdc-select:not(.mdc-select--disabled).mdc-select--focused .mdc-floating-label {
    color: var(--mdc-theme-primary);
}

.mdc-checkbox__ripple {
    display: none;
}

.mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background {
    border-color: var(--mdc-theme-primary);
    background-color: var(--mdc-theme-primary);
}

.pdf-viewer-wrapper {
    position: relative;
}

.pdf-viewer-wrapper-responsive {
    position: relative;
    height: 50vh;
}

.pdf-viewer-wrapper .pdfViewerContainer,
.pdf-viewer-wrapper-responsive .pdfViewerContainer {
    position: absolute;
    top: 41px;
    left: 0;
    right: 0;
    bottom: 0;
    height: 78vh
}

.pdf-viewer-wrapper .pdfViewer .page,
.pdf-viewer-wrapper-responsive .pdfViewer .page {
    margin: 10px auto;
    border: none;
}

.content-width {
    width: 680px;
}

@media (max-width: 768px) {
    .narrow-screen-buffer {
        margin: 0 23.6px;
    }
}

.autocomplete-container-residential .autocomplete-container-mailing {
    /*the container must be positioned relative:*/
    position: relative;
    margin-bottom: 20px;
}

.autocomplete-container-residential .autocomplete-container-mailing input {
    width: calc(100% - 43px);
    outline: none;
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 10px;
    padding-right: 31px;
    font-size: 16px;
}

#autocomplete-items {
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0px 2px 10px 2px rgba(0, 0, 0, 0.1);
    border-top: none;
    z-index: 99 !important;
    cursor: pointer;
    /*position the autocomplete items to be the same width as the container:*/
    background-color: #fff;
}

#autocomplete-items div {
    padding: 10px;
}

#autocomplete-items div:hover, div.selected {
    /*when hovering an item or item has selected class:*/
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.1);
}

.location-icon {
    font-size: 18px;
    color: #757575;
    position: relative;
    top: 3px;
    padding-left: 10px;
    padding-right: 10px;
}

.mdc-button {
    text-transform: none;
}

.button-card {
    border: 1px solid #D3D4D8;
}

.button-card:focus {
    background-color: #EDF7FE !important;
    border-color: var(--mdc-theme-primary) !important;
}

.button-card:active {
    background-color: #EDF7FE !important;
    border-color: var(--mdc-theme-primary) !important;
}

button:disabled,
button[disabled]{
    background: var(--mdc-theme-primary) !important;
    opacity: 0.24;
    color: var(--mdc-theme-on-secondary) !important;
}

.secondary-cta-button {
    border: 2px solid var(--mdc-theme-primary) !important;
}

.error-message {
    color: rgb(185 28 28);
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

[type=radio]:checked + div.radio-image-option {
    outline: 2px solid #3498D3;
}

.affinity-card-option {
    flex-basis: 20%;
}

@media (max-width: 768px) {
    .affinity-card-option {
        flex-basis: auto;
    }

    .affinity-card-option-img {
        width: 100px;
        max-width: none;
    }
}

.drawer__content .blue-border-outline {
    border-color: var(--mdc-theme-primary, #6200ee);
    border-width: 1.5px;
}

.drawer__content .absolute-drawer-bottom {
    position: absolute;
    bottom: 0px;
    left: 7%;
    width: 86%;
}

.drawer-button-container {
    width: 86%;
}

.max-height-40-vh {
    max-height: 40vh;
}

.drawer-cta-container {
    width: 100%;
    position: absolute;
    bottom: 16px;
}

.drawer-height-container {
    height: 85%
}

.drawer-height-container-secondary {
    height: 80%;
}

.drawer-cta-button-width {
    width: 100%;
}

@media(min-width: 768px) {
    .drawer-cta-button-width {
        width: 49%;
    }
    .drawer-button-container {
        width: 175%;
    }
    .drawer-cta-container {
        bottom: 0px;
    }
    .drawer-height-container,
    .drawer-height-container-secondary {
        height: 90%
    }
    .pdf-viewer-wrapper-responsive {
        height: 720px;
    }

    #searchDiv {
        box-sizing: border-box;
        background-position: 14px 12px;
        background-repeat: no-repeat;
        font-size: 16px;
        padding: 14px 20px 12px 20px;
        border: none;
        border-bottom: 1px solid #ddd;
        outline: none;
        width: 100%;
    }

    .input-outline-focus-none:focus{
        outline: none;
    }

    .search-icon {
        color: grey;
    }

    #searchDiv input::placeholder{
        color: grey;
    }
}

.mfa-phone-number-rates-container {
    height: 25vh;
}

@media(min-width: 768px) {
    .mfa-phone-number-rates-container {
        height: 40vh;
    }
}

.card-border-radius {
    border-radius: 8px;
}

.card-border-radius-top {
    border-radius: 8px 8px 0px 0px;
}

.card-border-radius-bottom {
    border-radius: 0px 0px 8px 8px;
}

.card-padding {
    padding: 24px;
}

.page-title {
    font-size: 24px;
    font-weight: 500;
}

.page-subtitle {
    font-size: 16px;
    font-weight: 500;
}

.page-text {
    font-size: 14px;
    font-weight: 400;
    max-width: 550px;
    margin: auto;
}

.text-grey-75 {
    color: #757575;
}

.card-title {
    font-size: 14px;
    font-weight: 500;
}

.card-text {
    font-size: 12px;
    font-weight: 400;
}

.center-img {
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-card {
    background-color: white;
    max-width: 500px;
    margin: auto;
}

.faq-header-card {
    max-width: 500px;
    margin: auto;
}

.faq-title {
    font-size: 21px;
    font-weight: 400;
}

.accordion {
    cursor: pointer;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    transition: 0.4s;
}

.panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.accordion.active .accordion-arrow{
    transform: rotate(180deg) ;
}

.app-link {
    display: inline;
}

@media screen and (max-width: 600px) {
    .on-desktop {
        display: none;
    }
}

.on-mobile {
    display: none;
}

@media screen and (max-width: 600px) {
    .on-mobile {
        display: block;
    }
}

.loader {
    margin: auto;
    border: 12px solid #f3f3f3; /* Light grey */
    border-top: 12px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 90px;
    height: 90px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-message {
    display: none;
}

.account-information {
    background-color: #F6F6F6;
    border: 1px solid #D3D4D8;
}

.account-information-text {
    color: black;
    font-weight: 500;
}

.gray-98-background {
    background-color: #FAFAFA;
}

.reg-e-icon-size {
    width: 32px;
    height: 34px;
}

.color-primary {
    color: var(--mdc-theme-primary, #1151A2)
}

.staff-page-text {
    font-size: 14px;
    font-weight: 400;
    max-width: 550px;
}

.staff-card-title {
    color: #1A1A1A;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 16px;
}

.staff-faq-title {
    color: #1A1A1A;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.unchecked-icon {
    border-radius: 100px;
    height: 32px;
    width: 32px;
    border: 1px solid var(--Gray-4, #D3D4D8);
}

.hide-on-mobile {
    display: none;
}

@media(min-width: 768px) {
    .hide-on-mobile {
        display: block;
    }
}

.hide-on-desktop {
    display: block;
}

@media(min-width: 768px) {
    .hide-on-desktop {
        display: none;
    }
}

.fdic-banner-bg {
    background: #FAFAFA;
}

.fdic-banner {
    display: flex;
    width: auto;
    height: 54px;
    padding: 8px 24px;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
}

.fdic-banner-text {
    color: #000;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 12.8px;
    font-style: italic;
    font-weight: 400;
    line-height: normal;
}

@media(min-width: 768px) {
    .fdic-banner {
        height: 40px;
        width: 100%;
        padding: 8px 0;
        margin-left: 3.5rem;
        position: relative;
    }
}
