/* Additions for the Grav version of the CESCO theme. The original design lives in style.css. */

/* "Please wait" overlay on the contact page (was inline styles in the Batflat template). */
#please-wait-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: 9999;
    text-align: center;
    padding-top: 200px;
    font-size: 1.5em;
    color: #333;
}
#please-wait-overlay .spinner {
    margin-bottom: 20px;
}

/* Form plugin markup inside the original contact form styling. */
.contact__form .cesco-field {
    margin: 0;
}
.contact__form .form-label,
.contact__form .form-label-wrapper {
    display: none;
}
.contact__form .buttons,
.contact__form .button-wrapper {
    margin-top: 0;
}
.contact__form .notices,
.contact__form .form-errors {
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: 6px;
    font-weight: bold;
}
.contact__form .notices.green,
.contact__form .notices.success {
    color: green;
    background: rgba(0, 128, 0, 0.06);
}
.contact__form .notices.red,
.contact__form .notices.error,
.contact__form .form-errors {
    color: red;
    background: rgba(255, 0, 0, 0.05);
}
.contact__form .notices p {
    margin: 0;
}

/* Prev / next links under a single post. */
ul.pegi {
    display: flex;
    list-style: none;
    padding: 0;
    gap: 20px;
}

/* Contact numbers and emails are links now; keep them looking like the original text. */
.contact__content span a {
    color: inherit;
}

