/* Alerts */
nav.nav-alerts {
    float: left;
    width: 50%;
}

ul.alerts {
    position: relative;
    z-index: 10;
    float: left;
    list-style: none;
    width: 100%;
    height: 40px;
    line-height: 40px;
    margin: 0;
    padding: 0 5%;
    top: 0;
    left: 0;
    opacity: 0;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

ul.alerts.active {
    opacity: 1;
}

ul.alerts li {
    box-sizing: border-box;
    width: 100%;
    height: 40px;
    margin: 0;
    padding: 0;
    font-size: 12px;
    line-height: 40px;
    text-align: center;
    background: none;
    cursor: default !important;
}

.alert p {
    float: left;
    width: auto;
}

.alert a {
    float: left;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    width: auto;
    margin: 0;
    text-decoration: none;
}

.alert a:hover {
    text-decoration: none;
}

.alert strong {
    margin: 0 4px 0 2px;
}

.alert a:hover strong {
    margin: 0 6px 0 4px;
}

.alert svg {
    position: relative;
    height: 9px;
    width: auto;
    margin: 0;
    top: 1px;
}


/* Notifications */

.notification {
    position: fixed;
    z-index: 8;
    width: 100%;
    padding: 24px;
    left: 0;
    transform: translate(0%, 100%);
    opacity: 0;
    visibility: hidden;
}

.notification.promo {
    z-index: 7;
    max-height: 50vh;
    padding: 0;
    display: block;
}

.notification.promo a:hover img {
    opacity: 0.9;
    filter: brightness(1);
}

.notification ul.buttons {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.notification ul.buttons li {
    margin: 0 1.25rem 0 0;
}

.notification.promo a.button.close.x {
    position: absolute;
    z-index: 8;
    top: 24px;
    right: 24px;
}

.notification:not(.promo) p {
    width: 100%;
    margin: 0;
    color: inherit;
    font-size: 0.8em;
}

.notification.active {
    opacity: 1;
    visibility: visible;
    transform: translate(0%, 0%);
}

.notification.bottom {

}

.notification.bottom.active {
}

.notification.top {
    top: 0;
}

.notification a.button,
.notification a.button.small {
    margin: 0;
    padding: 0 1.5rem;
}

.notification ul.buttons li:last-child {
    margin: 0;
}

.notification a.button.close.x {
    margin: 0 0 0 24px;
    padding: 0;
}

.notification h3 {
    float: left;
    width: auto;
    margin: 0;
    line-height: 46px;
    white-space: nowrap;
}

/* Mailchimp */
#cookies-mailchimp.notification {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#cookies-mailchimp.notification .mc4wp-form {
    float: right;
    width: 280px;
}

.notification ul:not(.buttons) {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    float: left;
    line-height: 46px;
    width: auto;
    justify-content: center;
}

.notification ul:not(.buttons) li {
    font-size: .8em;
    line-height: 1.2;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    flex-shrink: 1;
}

.notification ul:not(.buttons) li:before {
    content: '\26AC';
    float: left;
    margin: 0 8px;
    width: 8px;
    height: auto;
}

.notification ul:not(.buttons) li:first-child:before {
    display: none;
}

.notification svg {
    width: auto;
    height: 40px;
    margin: 0 24px 0 0;
}

.notification .form.full {
    margin: 0 !important;
}

/* Lightboxes */

.lightbox {
    position: fixed;
    z-index: 99;
    height: 100vh;
    width: 100%;
    top: 0;
    left: 0;
    padding: 70px 96px 64px;
    background: #fff;
    opacity: 0;
    overflow-y: auto;
    transform: translateX(-100%);
}

.lightbox.active {
    opacity: 1;
    transform: translateX(0);
}

.lightbox.close {
    opacity: 1;
    transform: translateX(100%);
}

.lightbox a.button.close {
    position: fixed;
    z-index: 9;
    top: 70px;
    right: 90px;
}

.lightbox h2 {
    padding: 0 160px 0 0;
    line-height: 1.1;
}


/* xx Media queries xx */

@media screen and (max-width: 1600px) {}

@media screen and (max-width: 1024px) {}

@media screen and (max-width: 1023px) {

    #cookies-mailchimp.notification {
        flex-direction: column;
    }

    .notification svg,
    .notification h3,
    .notification ul {
        margin: 0 0 1.5rem 0;
    }

    .notification ul li {
        line-height: 1.4;
    }

    .notification ul li:last-child:before {
        display: none;
    }

    .notification a.button.close.x {
        margin: 0;
        padding: 8px 12px;
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
    }

    .notification.promo a.button.close.x {
        position: absolute;
        z-index: 8;
        top: 15px;
        right: 15px;
    }

    .notification a.button.close.x svg {
        width: 0.75rem;
        height: 0.75rem;
        margin: 0;
    }

}

@media screen and (max-width: 767px) {

    .notification {
        display: block;
    }

    .notification a.button,
    .notification a.button.small {
        box-sizing: border-box;
        width: 100%;
        margin: 24px 0 0 0;
    }

}

@media screen and (max-width: 480px) {
    #cookies-mailchimp.notification .mc4wp-form {
        width: 100%;
    }
}
