/* Temporary IP restriction (HTTP 429) notice shown before the quote or mailing-list control. Shared by Yazzoo and JSW. */
.lp3-rate-limit-notice {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 0 0.75rem;
    padding: 0.75rem 1rem;
    background: #fff8e6;
    border: 1px solid #b07800;
    border-left-width: 4px;
    border-radius: 3px;
    font-family: inherit;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: normal;
    text-align: left;
    text-transform: none;
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    float: none;
    clear: both;
}

/* Fixed dark text on the light callout (contrast well above 4.5:1), also inside dark footers. */
.lp3-rate-limit-notice,
.lp3-rate-limit-notice * {
    color: #3a2b00 !important;
}

.lp3-rate-limit-notice__lead {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 14px;
    font-weight: 700;
}

.lp3-rate-limit-notice__body {
    display: block;
    font-size: 14px;
}

.lp3-rate-limit-notice:focus {
    outline: 3px solid #7a5300;
    outline-offset: 2px;
}

/* "Retry sign-up" inside the notice for a ticked mailing-list box. Two-class selectors override the theme's button styles. */
.lp3-rate-limit-notice .lp3-rate-limit-notice__retry {
    display: inline-block;
    box-sizing: border-box;
    max-width: 100%;
    min-height: 44px;
    min-width: 44px;
    margin: 0.6rem 0 0;
    padding: 0.5rem 1rem;
    border: 2px solid #7a5300;
    border-radius: 3px;
    background: #ffffff;
    box-shadow: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: none;
    white-space: normal;
    cursor: pointer;
}

.lp3-rate-limit-notice .lp3-rate-limit-notice__retry:hover,
.lp3-rate-limit-notice .lp3-rate-limit-notice__retry:focus {
    background: #fff1cc;
}

.lp3-rate-limit-notice .lp3-rate-limit-notice__retry:focus {
    outline: 3px solid #7a5300;
    outline-offset: 2px;
}

.lp3-rate-limit-notice .lp3-rate-limit-notice__retry[aria-busy="true"] {
    cursor: progress;
}

@media only screen and (max-width: 639px) {
    .lp3-rate-limit-notice + button,
    .lp3-rate-limit-notice + .button,
    .lp3-rate-limit-notice + .btnJoinMailingList {
        min-height: 44px;
        font-size: max(14px, 1em);
    }

    .lp3-rate-limit-notice .lp3-rate-limit-notice__retry {
        display: block;
        width: 100%;
    }
}
