@font-face {
    font-family: "Canon Programme";
    src: url("../fonts/Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Canon Programme";
    src: url("../fonts/Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

:root {
    --canon-green: #b0bb17;
    --canon-green-dark: #929c12;
    --canon-text: #212529;
    --canon-nav: #707070;
    --canon-border: #949494;
    --canon-footer: #000000;
}

body.theme-canon {
    margin: 0;
    background: #fff;
    color: var(--canon-text);
    font-family: "Canon Programme", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

.theme-canon .top-rule {
    height: 5px;
    background: #000;
}

.theme-canon a {
    color: var(--canon-green-dark);
    text-decoration: none;
}

.theme-canon a:hover,
.theme-canon a:focus {
    text-decoration: underline;
}

.theme-canon .container {
    width: min(1280px, calc(100% - 48px));
    max-width: none;
    padding-right: 0;
    padding-left: 0;
}

.theme-canon .site-header {
    background: #fff;
}

.theme-canon .navbar {
    min-height: 116px;
    margin: 0 auto;
    padding: 12px 0;
    background: #fff;
}

.theme-canon .navbar-brand {
    margin: 0;
    padding: 0;
}

.theme-canon .navbar-brand img {
    display: block;
    width: 240px;
    max-width: 55vw;
    height: auto;
}

.theme-canon .navbar-toggler {
    border-color: #c8c8c8;
}

.theme-canon .navbar-toggler-icon {
    background-image: var(--bs-navbar-toggler-icon-bg);
}

.theme-canon .nav-link {
    padding: 10px 20px !important;
    color: var(--canon-nav);
    font-size: 17px;
    background: transparent;
    border: 0;
}

.theme-canon .nav-link.active,
.theme-canon .nav-link:hover,
.theme-canon .nav-link:focus {
    color: var(--canon-nav);
    text-shadow: .5px 0 var(--canon-nav);
    text-decoration: none;
}

.theme-canon .dropdown-item.active,
.theme-canon .dropdown-item:active {
    background: var(--canon-green);
    color: #fff;
}

.theme-canon .site-main {
    padding: 28px 0 90px;
}

.theme-canon .site-main > .container {
    position: relative;
    left: calc((100vw - 100%) / 2);
}

.theme-canon h1,
.theme-canon h2,
.theme-canon h3,
.theme-canon h4 {
    font-weight: 700;
}

.theme-canon .program-intro,
.theme-canon .registration-shell {
    width: min(100%, 1280px);
    margin: 0 auto;
}

.theme-canon .program-intro h1 {
    margin: 8px 0 22px;
    font-size: 30px;
    line-height: 1.2;
}

.theme-canon .program-lead {
    max-width: 900px;
    margin-bottom: 28px;
    font-size: 16px;
}

.theme-canon .program-intro h2 {
    margin: 0 0 2px;
    font-size: 16px;
    font-weight: 400;
}

.theme-canon .programme-steps {
    display: block;
    margin: 0 0 58px;
    padding-left: 20px;
}

.theme-canon .programme-steps li {
    padding: 1px 0;
}

.theme-canon form[data-canon-registration] {
    margin-top: 0;
}

.theme-canon .registration-form-intro {
    margin-bottom: 34px;
}

.theme-canon .registration-form-intro p {
    max-width: 900px;
}

.theme-canon .registration-form-intro h2 {
    margin: 0 0 24px;
    font-size: 22px;
}

.theme-canon .form-section-title {
    display: table;
    margin: 0;
    padding-bottom: 0;
    border-bottom: 1px solid var(--canon-green);
    font-size: 24px;
    line-height: 1.25;
}

.theme-canon .request-section {
    margin-top: 0;
    scroll-margin-top: 24px;
}

.theme-canon .request-section .form-section-title {
    margin-top: 28px;
    margin-bottom: 14px;
}

.theme-canon .request-field {
    width: 37%;
}

.theme-canon .request-field:first-child {
    transform: translateY(-7px);
}

.theme-canon .request-field + .request-field {
    margin-top: 20px;
}

.theme-canon .personal-section {
    margin-top: 67px;
}

.theme-canon .personal-section .form-section-title {
    margin-bottom: 12px;
}

.theme-canon .personal-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 28.5px;
}

.theme-canon .personal-field:nth-child(even) {
    padding-left: 8px;
}

.theme-canon .personal-field:nth-child(odd) .form-control {
    width: calc(75% - 6px);
}

.theme-canon .personal-field:nth-child(even) .form-control {
    width: 75%;
}

.theme-canon .personal-field:nth-child(n + 7) {
    transform: translateY(1px);
}

.theme-canon .form-label {
    margin-bottom: 2px;
    line-height: 1.45;
}

.theme-canon .form-required::after {
    color: #b50000;
    content: " *";
}

.theme-canon .form-control,
.theme-canon .form-select {
    min-height: 38px;
    height: 38px;
    padding-top: 5px;
    padding-bottom: 5px;
    border: 1px solid var(--canon-border);
    border-radius: 0;
    background-color: #fff;
}

.theme-canon .form-control:focus,
.theme-canon .form-select:focus,
.theme-canon .form-check-input:focus {
    border-color: var(--canon-green);
    box-shadow: 0 0 0 .2rem rgba(176, 187, 23, .2);
}

.theme-canon .form-check-input {
    border-color: var(--canon-border);
    border-radius: 0;
}

.theme-canon .form-check-input:checked {
    border-color: var(--canon-green);
    background-color: var(--canon-green);
}

.theme-canon .conditional-section[hidden] {
    display: none !important;
}

.theme-canon .privacy-notice {
    margin: 63px 0 0;
    text-align: center;
}

.theme-canon .consent-section {
    margin-top: 32px;
}

.theme-canon .consent-section a {
    color: #06f;
}

.theme-canon .form-actions {
    margin-top: 26px;
    text-align: center;
}

.theme-canon .btn-primary {
    width: min(272px, 100%);
    min-height: 55px;
    padding: 10px 42px;
    border: 1px solid var(--canon-green);
    border-radius: 5px;
    background: var(--canon-green);
    color: #fff;
    font-size: 22px;
    font-weight: 400;
}

.theme-canon .btn-primary:hover,
.theme-canon .btn-primary:focus,
.theme-canon .btn-primary:active {
    border-color: var(--canon-green-dark);
    background: var(--canon-green-dark);
    color: #fff;
}

.theme-canon .is-invalid,
.theme-canon .was-validated :invalid {
    border-color: #b50000;
}

.theme-canon .invalid-feedback,
.theme-canon .client-validation-feedback {
    color: #b50000;
}

.theme-canon .client-validation-feedback {
    display: block;
    margin-top: 5px;
    font-size: .875em;
}

.theme-canon .confirmation-card,
.theme-canon .legal-page,
.theme-canon .access-card {
    width: min(820px, 100%);
    margin: 36px auto;
}

.theme-canon .confirmation-card {
    padding: 28px;
    border-left: 5px solid var(--canon-green);
    background: #f5f6f0;
}

.theme-canon .site-footer {
    padding: 20px 0 24px;
    border-top: 10px solid #fff;
    background: var(--canon-footer);
    color: #fff;
}

.theme-canon .footer-inner {
    width: calc(100% - 20px);
    text-align: center;
}

.theme-canon .support-block {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 0 15px 22px;
    font-size: 18px;
}

.theme-canon .support-block strong {
    font-size: 18px;
}

.theme-canon .site-footer a {
    color: #fff;
}

.theme-canon .footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 120px;
    padding-top: 12px;
    border-top: 10px solid #fff;
    font-size: 18px;
}

@media (max-width: 991.98px) {
    .theme-canon .navbar {
        min-height: 92px;
    }

    .theme-canon .navbar-collapse {
        padding-top: 14px;
    }

    .theme-canon .nav-link {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
}

@media (max-width: 767.98px) {
    .theme-canon .container {
        width: min(100% - 30px, 1280px);
    }

    .theme-canon .site-main {
        padding-top: 20px;
        padding-bottom: 60px;
    }

    .theme-canon .program-lead {
        font-size: 16px;
    }

    .theme-canon .programme-steps {
        margin-bottom: 42px;
    }

    .theme-canon .program-intro h2,
    .theme-canon .registration-form-intro h2 {
        font-size: 20px;
    }

    .theme-canon .request-field {
        width: 100%;
    }

    .theme-canon .personal-section {
        margin-top: 46px;
    }

    .theme-canon .personal-fields {
        grid-template-columns: 1fr;
        row-gap: 22px;
    }

    .theme-canon .personal-field:nth-child(even) {
        padding-left: 0;
    }

    .theme-canon .personal-field:nth-child(n + 7) {
        transform: none;
    }

    .theme-canon .personal-field:nth-child(odd) .form-control,
    .theme-canon .personal-field:nth-child(even) .form-control {
        width: 100%;
    }

    .theme-canon .btn-primary {
        min-width: 100%;
        font-size: 18px;
    }

    .theme-canon .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}
