/* Site header: promo banner, mobile overlay menu and menu button.
   Loaded on every current-design page after app.min.css. */

#promo-banner {
    background: rgb(228, 228, 228);
    opacity: .95;
    padding: .8rem;
    color: black;
    transition: top .3s cubic-bezier(.17, .67, .83, .985);
    width: 100%;
    z-index: 11;
    justify-content: center;
}

.close-button {
    color: #e6e6e6;
}

#promo-banner .grid-container {
    background-size: cover;
    position: relative;
}

#promo-banner .grid-container .promo-details {
    color: black;
}

@media screen and (max-width: 47.938em) {
    #promo-banner .grid-container .promo-details {
        font-size: .9rem;
        line-height: 1.1;
    }
}

#promo-banner .grid-container .promo-details .details {
    color: black;
    text-decoration: underline;
}

#promo-banner .grid-container .promo-details .details:hover {
    text-decoration: none;
}

#promo-banner h4 {
    line-height: 1.3;
    margin-bottom: 0;
}

@media screen and (min-width: 90em) and (max-width: 89.9375em) {
    #promo-banner h4 {
        font-size: .8rem;
    }
}

@media screen and (min-width: 64em) and (max-width: 74.9375em) {
    #promo-banner h3 {
        font-size: 1.6rem;
    }
}

@media screen and (max-width: 47.938em) {
    #promo-banner h3 {
        font-size: 1.1rem;
    }
}

#promo-banner .banner-cta {
    color: black;
    display: inline-block;
    font-size: .9rem;
    font-weight: 400;
    position: relative;
    margin-right: 1rem;
}

#promo-banner .banner-cta:after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-color: black;
}

.deals {
    padding-top: .3rem;
    font-size: .9em;
}

/* Mobile overlay menu (opened by #menu-button, see scripts/mobile-nav.njk) */
.overlay-nav-menu.is-open {
    opacity: 1;
    -webkit-transform: perspective(200px) translateX(0) rotateX(0);
    transform: perspective(200px) translateX(0) rotateX(0);
}

.overlay-nav-menu {
    position: fixed;
    z-index: 1000;
    top: -150px;
    left: 0;
    right: 0;
    width: 100%;
    height: 120%;
    margin: 0;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    opacity: 0;
    list-style: none;
    background: #fff;
    background-size: cover;
    -webkit-transform: translateX(-100%) rotateX(40deg);
    transform: translateX(-100%) rotateX(40deg);
    transition: all .4s cubic-bezier(1, -.4, .44, .985);
}

#menu-button {
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 4.375rem;
    height: 4.375rem;
    cursor: pointer;
}
