#g1-content.g1-content,
#g1-footer.g1-footer { z-index: 0; }
#g1-footer.g1-footer { border-top: 40px solid #4d4d4d; }
#g1-prefooter.g1-prefooter { display: none; }
/*.g1-background { position: relative !important; }*/

.cookie-advert .container .tab { display: flex; flex-flow: column nowrap; justify-content: center; gap: 0; text-wrap: auto !important; }
.cookie-advert .tab p:first-child { margin-top: 1.5em; }
.cookie-advert .tab p + p { margin-top: 0; }

.cookie-advert .container .tab a,
.gdpr-dialog-frame a { text-decoration: underline !important; }

.cookie-advert .action { display: flex; flex-flow: column nowrap; justify-content: center; gap: 1rem; }
.cookie-advert .blue-box { margin-bottom: 0 !important; }

.dialog-frame.open .the-dialog,
.gdpr-dialog-frame {
    /*font-family: var(--wp--preset--font-family--ofelia-display);*/
    font-size: 1rem;
}

.gdpr-dialog-frame .title { font-size: 22px; font-family: "Open Sans", sans-serif; font-weight: 500; line-height: 1.25; }

.gdpr-dialog-frame form label { display: flex; flex-flow: row nowrap; align-content: center; }
.gdpr-dialog-frame input[type="checkbox"] { margin: 0 5px 0 0; }
.gdpr-dialog-frame button { margin-bottom: 0; }

.gdpr-dialog-frame .footer { background-color: transparent; padding: 0; margin-top: 0; }

.cookie-indicator { left: 15px; right: auto; }

.cookie-advert {
    font-size: 16px;
}
.cookie-advert .softwrap {
    font-size: 1em;
}

.cookie-advert a:link {
    color: #000;
}


.dialog-frame.gdpr-dialog-frame {
    font-size: 16px;
}
.dialog-frame.gdpr-dialog-frame .the-dialog {
    -webkit-box-shadow: 0 0 1em 1px rgba(0,0,0,.85);
    box-shadow: 0 0 1em 1px rgba(0,0,0,.45);
}
.dialog-frame.gdpr-dialog-frame .the-dialog .close {
    font-size: 22px;
    font-weight: bold;
    padding: 0 .5em;
}

.dialog-frame.gdpr-dialog-frame a:link,
.dialog-frame.gdpr-dialog-frame a:visited {
    color: #3e5d17;
}

.dialog-frame.gdpr-dialog-frame p { margin-top: .5em; margin-bottom: .25em; }
.dialog-frame.gdpr-dialog-frame label {
    display: flex;
    flex-flow: row nowrap;
    justify-content: start;
    align-items: center;
    gap: .5em;
    padding: 0;
}
.dialog-frame.gdpr-dialog-frame input[type="checkbox"] {
    margin: 4px 0;
}

/* gdpr-2026: placeholder shown in place of the home page video until cookies are allowed */
.ceip-video.no-cookies-placeholder-message {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
    padding: 1.5em;
    background-color: #3e5d17;
    color: #fff;
    text-align: center;
}
.ceip-video.no-cookies-placeholder-message p {
    margin: 0;
    max-width: 32em;
    text-wrap: balance;
}
.ceip-video.no-cookies-placeholder-message a,
.ceip-video.no-cookies-placeholder-message a:link,
.ceip-video.no-cookies-placeholder-message a:visited {
    color: #fff;
    text-decoration: underline;
}

/* gdpr-2026: hide placeholders once cookies are allowed */
.allowed-cookie-type-all .no-cookies-placeholder-message {
    display: none;
}
