/* The few rules the CMS integration adds on top of the Tilda CSS. */

/* Honeypot of the forms (D:forms §4): off-screen, never display:none. */
.ibs-form-trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.t-form .t-input-error:empty {
    display: none;
}

/* Error pages (templates/errors/*, owner 2026-10-16): the Tilda type — Playfair headings, Arial
   text, the school's burgundy — and the bordered button of the «thank you» page (T142). */
.ibs-error {
    box-sizing: border-box;
    max-width: 760px;
    margin: 0 auto;
    padding: 90px 20px 105px;
    text-align: center;
    font-family: 'Arial', sans-serif;
    color: #000000;
}
.ibs-error__code {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: 140px;
    font-weight: 700;
    line-height: 1;
    color: #61002d;
}
.ibs-error__title {
    margin: 20px 0 0;
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.23;
}
.ibs-error__text,
.ibs-error__when {
    margin: 20px 0 0;
    font-size: 20px;
    line-height: 1.55;
}
.ibs-error__when {
    font-weight: 700;
    color: #61002d;
}
#allrecords .ibs-error a.ibs-error__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 60px;
    margin-top: 45px;
    padding: 0 60px;
    border: 3px solid #000000;
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 700;
    color: #000000;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}
#allrecords .ibs-error a.ibs-error__btn:hover,
#allrecords .ibs-error a.ibs-error__btn:focus-visible {
    background-color: #000000;
    color: #ffffff;
}
.ibs-maintenance {
    margin: 0;
    background-color: #efefef;
}
.ibs-error--maintenance {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding-top: 40px;
    padding-bottom: 40px;
}
.ibs-error__logo {
    height: 90px;
    width: auto;
    margin-bottom: 30px;
}
@media screen and (max-width: 640px) {
    .ibs-error {
        padding-top: 60px;
        padding-bottom: 75px;
    }
    .ibs-error__code {
        font-size: 96px;
    }
    .ibs-error__title {
        font-size: 26px;
    }
    .ibs-error__text,
    .ibs-error__when {
        font-size: 16px;
    }
    #allrecords .ibs-error a.ibs-error__btn {
        width: 100%;
        padding: 0 20px;
    }
}
