:root {
    --main-font-color: #000000;
    --button-background-color: #0074d9;
    --button-background-light-color: #ffffff;
    --button-background-light-color-shadow: var(--main-font-color);
    --button-font-color: #ffffff;
    --input-border-color: #808080;
    --button-background-color-hover: var(--button-background-color);
    /*Bootstrap override*/
    --bs-font-sans-serif: Roboto, "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.btn-link.nav-link:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--main-font-color);
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    color: var(--main-font-color);
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: #fff;
    padding: 8px;
    z-index: 100;
    text-decoration: none;
    transition: top 0.3s;
}

    .skip-link:focus {
        top: 0;
    }

.form-control:focus, .fe-control:active:focus {
    box-shadow: none;
    border: 1px solid var(--input-border-color);
}

.form-select:focus {
    box-shadow: none
}

.fe-select:focus, .fe-select:active:focus {
    border: 1px solid var(--input-border-color);
}

.form-select {
    border-radius: 0;
    border-color: var(--input-border-color);
}

.date-input {
    border: 1px solid var(--input-border-color);
    border-radius: 0;
    width: 12rem;
}

.table {
    color: var(--main-font-color);
}

.fe-footer {
    margin-bottom: 15px;
}

.fe-header-logo {
    max-height: 7rem;
    max-width: 60%;
    height: auto;
}

.fe-footer-logo {
    max-width: 15%;
    margin-left: 3rem;
}

.fe-footer-logo-text {
    position: absolute;
    top: -21px;
    left: 140px;
    font-size: .875rem;
    font-weight: 600;
}

.fe-button {
    margin: 10px;
    border-radius: 0; /* The design uses no radius. */
}

.btn-cancel {
    color: var(--main-font-color);
    border-color: var(--main-font-color);
    border-width: 1px;
    background-color: var(--button-background-light-color);
}

    .btn-cancel:hover {
        transition: background 0.2s ease;
        background-color: var(--button-background-light-color);
        box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--button-background-light-color-shadow);
    }

    .btn-cancel:focus, .btn-cancel:active:focus {
        box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--button-background-light-color-shadow);
    }


@media (forced-colors: active) {
    .btn:focus, .btn:active:focus {
        outline: 2px dotted transparent; /* Ensures visibility in high-contrast mode */
        outline-color: Highlight; /* Uses the system highlight color */
    }

    /* This is needed so that checkboxes can work correctly in high-contrast mode */
    input[type="checkbox"] {
        appearance: auto !important;
        forced-color-adjust: none;
        position: static !important;
        opacity: 1 !important;
        width: auto;
        height: auto;
    }

        input[type="checkbox"]:before {
            content: none !important;
        }
}

.fe-button-primary {
    background-color: var(--button-background-color);
    color: var(--button-font-color);
    border-color: var(--button-background-color);
    border-width: 1px;
}

    .fe-button-primary:hover {
        color: var(--button-font-color);
        transition: background 0.2s ease;
        background-color: var(--button-background-color-hover);
        box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--button-background-color);
    }

    .fe-button-primary:focus, .fe-button-primary:active:focus {
        box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--button-background-color);
    }


.fe-label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    /*font-size: 15px;*/
}

.fe-input {
    border: 1px solid var(--input-border-color);
    border-radius: 0;
}

    .fe-input:focus, .fe-input:active:focus {
        border: 1px solid var(--input-border-color);
    }

    .fe-input::placeholder {
        text-align: justify;
        font-size: 12px;
    }

.fe-input-error {
    /*font-size: 13px;*/
    /*color: red;*/
    color: #B00020;
    padding-left: 0.5rem;
}

.main-font {
    color: var(--main-font-color)
}

/*.fe-select {
    border: 1px solid var(--input-border-color);
    width: 7rem;
    height: 2.25rem;
}*/

.flex-column {
    display: flex;
    flex-direction: column;
}

.noNavBarLayoutBody {
    height: 100vh;
    color: var(--main-font-color);
    background-color: #d9d9d9;
}

.noNavBarLogos {
    height: 20%;
    width: 100%;
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    background-color: #fff;
}

.noNav-header-logo {
    max-height: 30%;
    max-width: 70%;
}

.reference-number-box-title {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.details-box-number-value {
    font-weight: 700;
    font-size: 25px;
}

.right-10 {
    right: 10px;
}

.fit-content {
    width: fit-content;
}

.terms-conditions {
    font-size: small;
}

.bg-light-black, .bg-light-black:hover {
    background-color: #2c353e;
    color: white;
}

input[type="checkbox"]:focus-visible,
input[type="text"]:focus-visible,
input[type="email"]:focus-visible,
input[type="tel"]:focus-visible,
input[type="number"]:focus-visible,
input[type="date"]:focus-visible,
select:focus-visible {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--button-background-color) !important;
}
