::-ms-reveal {
    display: none;
}

@font-face {
    font-family: "KappahlType";
    src: url("../fonts/KappahlType-Regular.woff2");
}

@font-face {
    font-family: "KappahlType";
    src: url("../fonts/KappahlType-Bold.woff2");
    font-weight: bold;
}

html * {
    font-family: "KappahlType", Sans-Serif;
    font-weight: normal;
}

.welcome-page .logo {
    width: 64px;
}

.navbar-icon {
    height: 2rem;
}

.navbar-brand {
    display: flex;
    justify-content: center;
    margin-top: 1.3rem;
}

.welcome-page li {
    list-style: none;
    padding: 4px;
}

.logged-out-page iframe {
    display: none;
    width: 0;
    height: 0;
}

.grants-page .card {
    margin-top: 20px;
    border-bottom: 1px solid lightgray;
}

    .grants-page .card .card-title {
        font-size: 120%;
        font-weight: bold;
    }

        .grants-page .card .card-title img {
            width: 100px;
            height: 100px;
        }

    .grants-page .card label {
        font-weight: bold;
    }

.page-container {
    display: flex;
    flex-direction: column;
}

.body-container {
    text-align: center;
    align-self: center;
    font-size: 15px;
    min-width: 10rem;
    max-width: 22rem;
    width: 100%;
    margin-top: 15px;
}

.floating-label-group {
    position: relative;
    margin-top: 1.2rem;
    padding-left: 0;
}

.input-field {
    box-sizing: border-box;
    border: none;
    border-bottom: 1px solid black;
    border-color: #212121;
    border-radius: 0;
    padding-left: 0;
    padding-top: 1.2rem;
    padding-bottom: 0.6rem;
    padding-right: 2.5rem;
    width: 100%;
    color: black;
    background: none;
    outline: none;
    font-size: 1rem;
    transition: border-color 0.2s;
    height: 2.8rem;
    left: 0;
}

    .input-field:focus {
        border-bottom: 2px solid #212121;
    }

button:focus,
a:focus {
    outline-color: #212121; 
    outline: 2px solid #212121;
}

.floating-label-group label {
    position: absolute;
    left: 0;
    padding-left: 0;
    top: 1.2rem;
    color: #6E6E6E;
    font-size: 16px;
    pointer-events: none;
    transition: all 0.2s;
    background: white;
}

.input-field:focus + label,
.input-field:not(:placeholder-shown) + label {
    top: 0.1rem;
    left: 0;
    font-size: 12px;
    color: #6E6E6E;
    background: white;
}


.toggle-password-btn {
    position: absolute;
    top: 50%;
    right: 0.6rem;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    height: 1.6rem;
    width: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password-btn img {
        width: 100%;
        height: 100%;
        display: block;
}

.missing-input-field {
    display: flex;
    color: #D44333;
    margin-top: 10px;
    font-size: 12px;
    text-align: left;
}

.login-failed ul {
    color: #D44333;
    list-style: none;
    margin-left: -40px;
    margin-block: 0;
}

.black-button {
    color: #fff;
    background-color: #212121;
    cursor: pointer;
    margin-block: 1.2rem;
    height: 2.8rem;
    width: 100%;
    font-size: 16px;
    border: 0px;
}

.white-button {
    background-color: #fff;
    cursor: pointer;
    color: #212121;
    border-color: #212121;
    border: 1px solid;
    margin-bottom: 1.2rem;
    height: 2.8rem;
    width: 100%;
    font-size: 16px;
}

    .white-button:hover {
        background-color: rgb(245, 245, 245);
    }

.text-button {
    border: none;
    background-color: #fff;
    color: #212121;
    cursor: pointer;
    font-size: 16px;
    margin-top: 8px;
    margin-bottom: 8px;
}

.text-underline {
    text-decoration: underline;
}

.text-align-left {
    text-align: left;
}

.only-margin-bottom {
    margin: 0 0 1.2rem;
}

.break-line {
    color: #d3d3d3;
    border-bottom: 1px solid;
    margin-block: 1.2rem;
}

.order-one {
    order: 1;
}

.order-two {
    order: 2;
}

.order-three {
    order: 3;
}

.vipps-login-btn {
    background-color: #FF5B24;
    cursor: pointer;
    border: none;
    height: 2.8rem;
    width: 100%;
    margin-top: 2rem;
    border-radius: 2px;
}

.vipps-login a {
    display: flex;
    width: 100%;
    text-decoration: none;
    color: #fff;
    justify-content: center;
    align-items: center;
}

.vipps-login-btn img {
    padding: 2px;
    vertical-align: middle;
}

.login-transition {
    margin-top: 1.2rem;
    font-size: 1rem;
    font-weight: lighter;
    color: #212121;
}

.external-login a {
    background-color: #fff;
    cursor: pointer;
    border: 1px solid #212121;
    height: 2.8rem;
    width: 100%;
    font-size: 16px;
    font-weight: 400;
    border-radius: 0;
}

    .external-login a:hover {
        background-color: rgb(245, 245, 245);
    }

.external-login-link-group {
    display: flex;
    column-gap: 0.5rem;
    margin-top: 1.2rem;
}

    .external-login-link-group a {
        display: flex;
        width: 100%;
        text-decoration: none;
        color: #000000;
        
    }

    .external-login-link-group div.is-linked-group {
        width: 100%;
    }

.external-login-link {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 0.4rem;
    border-radius: 2px;
}

    .external-login-link img {
        height: 60%;
    }

.text-large-margin {
    margin-top: 3.3rem;
}

.text-normal-margin {
    margin-top: 1.2rem;
}

.validation-requirements-list {
    list-style: none;
    color: #D44333;
}

.validation-list-item {
    padding-left: 0.9rem;
    position: relative;
}

.bullet-point-cross::before {
    content: "\00D7";
    position: absolute;
    left: 0;
}

.bullet-point-checkmark {
    color: green;
}

    .bullet-point-checkmark::before {
        content: "\2713";
        position: absolute;
        left: 0;
    }

.validation-requirements-list-text {
    font-size: 14px;
    margin-top: 20px; 
    margin-bottom: 20px;
}

.two-columns {
    display: flex;
    margin-top: 0.6rem;
    margin-bottom: 20px;
}

    .two-columns ul {
        margin-left: -1.2rem;
        margin-right: 1.2rem;
        text-align: left;
        margin-block: 0;
        color: #6E6E6E;
        line-height: 1.6;
    }

.view-selector {
    display: flex;
    flex-direction: row;
    height: 3.3rem;
    margin-top: 1.2rem;
    width: 100%;
}

.view-selector-clickable {
    background-color: rgb(220, 220, 220);
    cursor: pointer;
}

.primary-login-tab {
    font-weight: 400;
    font-size: 15px;
    line-height: 24px;
    letter-spacing: 0px;
    text-align: center;
    vertical-align: middle;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-shadow: none;
}

.page-title {
    font-size: 16px;
    line-height: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.bankID-login-tab {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    max-width: 22rem;
    width: 100%;
    height: 2.8rem;
    color: #fff;
    background-color: #183E4F;
    cursor: pointer;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    font-size: 16px;
    border: 0;
}

    .bankID-login-tab img {
        height: 80%;
        margin-left: -0.5rem;
    }

.primary-login-view {
    display: flex;
    margin-top: 62px;
}

.bankID-login-view {
    max-width: 22rem;
    width: 100%;
}

    .bankID-login-view img {
        margin-top: 5rem;
        height: 6rem;
    }

.bankID-this-unit {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    max-width: 22rem;
    width: 100%;
    height: 2.8rem;
    color: #fff;
    background-color: #183E4F;
    cursor: pointer;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.bankID-link-design {
    text-decoration: none;
    color: #183E4F;
}

.hide-view {
    display: none;
}

.minus-margin-bottom {
    margin-bottom: -0.4rem;
}

#cancel {
    text-decoration: none;
    margin-top: 2rem;
    cursor: pointer;
    color: black;
}

.no-link-styling {
    text-decoration: none;
    color: #000000;
}

.bankID-page-container {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.bankID-page-styling {
    margin: 0 !important;
    max-width: 22rem !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
}

.bankID-page-img {
    margin-top: 3rem;
    height: 6rem;
}

.modal-container {
    position: relative;
}

.modal {
    visibility: hidden;
    border-radius: 4px;
    border: 1px solid #808080;
    margin-top: 2rem;
    width: 100%;
    background-color: #fff;
    position: absolute;
    z-index: 1;
    top: -30rem;
    transition: transform 0.4s;
    padding-bottom: 2.4rem;
}

.show-modal {
    visibility: visible;
    transform: translate(0, 30rem);
}

.modal p {
    text-align: left;
    margin-inline: 3rem;
    margin-block: 0;
    line-height: 1.5;
}

.modal h1 {
    text-align: left;
    margin-inline: 3rem;
    margin-top: 0;
}

.modal-backdrop {
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    transition: 0.4s;
}

.show-modal-backdrop {
    visibility: visible;
    background-color: rgba(0, 0, 0, 0.5);
}

.close-modal-container {
    display: flex;
    justify-content: end;
    width: 100%;
}

#close-modal {
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    cursor: pointer;
    background-color: #fff;
    border: none;
    margin: 1px;
}

.large-cross {
    font-size: 200%;
}

.open-modal {
    margin-block: 2rem;
}

.modal-black-button {
    color: #fff;
    background-color: #212121;
    cursor: pointer;
    border: 0;
    border-radius: 2px;
    margin-block: 1.2rem;
    height: 2.8rem;
    width: calc(100% - 6rem);
}

.modal-white-button {
    background-color: #fff;
    cursor: pointer;
    border-radius: 2px;
    border-color: black;
    margin-top: 1.2rem;
    height: 2.8rem;
    width: calc(100% - 6rem);
}

    .modal-white-button:hover {
        background-color: rgb(245, 245, 245);
    }

.expired-back {
    margin-top: 1.2rem;
}
