/* 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;
    background: rgba(0, 0, 0, 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: 20px;
    left: 0;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    opacity: 0;
}

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

.notification .wp-block-columns {
    float: left;
    width: 100%;
    margin: 0;
}

.notification .wp-block-buttons {
    margin: 0;
}

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

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

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

.notification.active {
    opacity: 1;
}

.notification.bottom {
    bottom: 0;
    transform: translateY(102%);
}

.notification.bottom.active {
    transform: translateY(0%);
}

.notification.top {
    top: 0;
}

.notification a.button,
.notification a.button.small {
    margin: 0 0 0 30px;
    padding: 0 20px;
}

.notification a.button.close.x {
    margin: 0 0 0 20px;
    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 {
    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 li {
    font-size: .8em;
    line-height: 1.2;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    flex-shrink: 1;
}

.notification ul li:before {
    content: '\26AC';
    float: left;
    margin: 0 10px;
    width: 10px;
    height: auto;
    color: #00ffa7;
}

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

.notification svg {
    width: auto;
    height: 40px;
    margin: 0 20px 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 100px 60px;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
    transform: translateX(-100%);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
    /*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;
}

.lightbox-overlay {
    background-color: rgba(255,255,255,0.8);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -999;
    opacity: 0;
    visibility: hidden;
}

.lightbox-overlay.active {
    opacity: 1;
    z-index: 98;
    visibility: visible;
}


/* 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 20px 0;
    }

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

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


    .notification a.button.close.x {
        margin: 0;
        padding: 10px 12px;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .notification a.button.close.x svg {
        width: 12px;
        height: 12px;
        margin: 0;
    }

}

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

    }

    .notification.promo .wp-block-column:first-child {
        padding: 0 0 0 20px;
    }

    .notification .wp-block-columns,
    .notification .wp-block-column:not(.full) {
        margin: 0 !important;
    }

    .notification .wp-block-buttons {
        margin: 0;
    }

    .notification .wp-block-buttons a.wp-block-button__link {
        width: auto;
    }

}

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