@font-face {
    font-family: 'ITC Avant Garde';
    src: url('https://a.sfdcstatic.com/shared/fonts/avant-garde/4c0a2f1e-8b66-47d8-8e7c-9b259c4d363f.woff2')
            format('woff2'),
        url('https://a.sfdcstatic.com/shared/fonts/avant-garde/f8c88707-ed03-43dd-aec9-29571c329bcc.woff')
            format('woff');
    font-weight: 400;
}

.message-banner {
    width: calc(100%-4rem);
    min-height: 50px; /*can be adjusted if needed */
    /*margin-top: 63px; To avoid UI collision with L2 nav. Must be updated if the l2 nav height changes in the future */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 2rem;
}

@media screen and (max-width: 767px) {
    .message-banner{
        margin-top: 0px;
    }
}

.error-banner {
    /*background-color: #bf4c30; /*red*/
    background-color: #014486; /*blue*/
}

.error-banner .banner-text {
    font-size: 13px;
    line-height: 19.5px;
    color: #ffffff;
    margin-right: 1rem;
    margin-left: 1rem;
}

.message-banner .banner-icon-message {
    display: flex;
    align-items: center;
    margin: 0.5rem 0;
    flex-shrink: 1;
}

.message-banner .banner-icon {
    margin-right: 1rem;
}

.message-banner .banner-cta-button {
    display: flex;
    margin: 0.5rem 0;
    flex-shrink: 0;
}

.message-banner .banner-cta-button button {
    flex-shrink: 0;
}

.message-banner .banner-cta-button button:not(:first-of-type) {
    margin-left: 1rem;
}

.global-icon {
    display: block;
}

.text-button {
    align-items: center;
    border: none;
    border-radius: 4px;
    color: #ffffff;
    cursor: pointer;
    padding: 17px 24px;
    transition: background-color 400ms cubic-bezier(0.3, 0, 0.15, 1);
    display: flex;
    justify-content: center;
}

.text-button.--error-banner {
    font-family: 'ITC Avant Garde', sans-serif;
    font-size: 14px;
    background-color: transparent;
    box-shadow: inset 0 0 0 2px #ffffff;
    color: #ffffff;
    transition: color 200ms cubic-bezier(0.3, 0, 0.15, 1);
    max-height: 2rem;
}

.text-button.--error-banner:hover,
.text-button.--error-banner:focus {
    /*background-color: rgba(255, 94, 45, 0.904); /*red*/
    background-color: rgba(255, 255, 255, 0.10); /*blue*/
    color: #ffffff;
}

@media only screen and (max-width: 960px) {
    .message-banner {
        flex-wrap: wrap;
        justify-content: space-around;
        padding: 0.5rem 1rem;
    }

    .error-banner .banner-text {
        margin-right: 0;
    }
}

@media only screen and (max-width: 600px) {
    .message-banner .banner-cta-button,
    .message-banner .banner-cta-button button {
        flex-shrink: 1;
    }

    .text-button.--error-banner {
        font-size: 12px;
    }
}