@font-face {
    font-family: 'BBCReithSans';
    src: url('../fonts/BBCReithSans_W_Rg.eot');
    src: url('../fonts/BBCReithSans_W_Rg.eot?#iefix') format('embedded-opentype'),
        url('../fonts/BBCReithSans_W_Rg.woff2') format('woff2'),
        url('../fonts/BBCReithSans_W_Rg.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'BBCReithSans';
    src: url('../fonts/BBCReithSans_W_Md.eot');
    src: url('../fonts/BBCReithSans_W_Md.eot?#iefix') format('embedded-opentype'),
        url('../fonts/BBCReithSans_W_Md.woff2') format('woff2'),
        url('../fonts/BBCReithSans_W_Md.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'BBCReithSans';
    src: url('../fonts/BBCReithSans_W-It.eot');
    src: url('../fonts/BBCReithSans_W-It.eot?#iefix') format('embedded-opentype'),
        url('../fonts/BBCReithSans_W-It.woff2') format('woff2'),
        url('../fonts/BBCReithSans_W-It.woff') format('woff');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'BBCReithSans';
    src: url('../fonts/BBCReithSans_W_MdId.eot');
    src: url('../fonts/BBCReithSans_W_MdId.eot?#iefix') format('embedded-opentype'),
        url('../fonts/BBCReithSans_W_MdId.woff2') format('woff2'),
        url('../fonts/BBCReithSans_W_MdId.woff') format('woff');
    font-weight: 700;
    font-style: italic;
}

.header body {
    background: #000046;
}

.footer {
    border-top: 1px solid #c6c6c6;
}

.footer body {
    background: #f4f4f4;
}

body {
    width: 98%;
    max-width: 99rem;
    margin: auto;
    font: 88% BBCReithSans, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    color: #161616;
}

a {
    color: #161616;
    cursor: pointer;
}

h1 {
    margin: 0.5em 0;
}


.container {
    box-sizing: border-box;
    max-width: 75%;
    margin: auto;
    margin-top: 25px;
    table-layout: fixed;
    padding: 0 5px;
}

/* these strange numbers are 1055 / 0.98 and 970 / 0.98, because the main form frame is 98% width */
@media only screen and (max-width: 1076.5px) {
    .container {
        max-width: unset;
        width: 100%;
        padding: 0 27px;
    }
}

@media only screen and (max-width: 683.67px) {
    .container {
        padding: 0 5px;
        margin-top: 8px;
    }
}

.header img {
    height: 1.7em;
}

@media only screen and (max-width: 683.67px) {
    .header img {
        height: 1.1em;
    }
}

.header h1 span {
    display: none;
}

.footer ul,
.footer li {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul {
    display: flex;
    flex-direction: row;
    gap: 50px;
}

.copyright {
    font-size: 0.9em;
}