﻿@font-face {
    font-family: "Mark Pro";
    src: url("../fonts/mark-pro--regular/mark-pro--regular.woff2") format("woff2"), url("../fonts/mark-pro--regular/mark-pro--regular.woff") format("woff");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Mark Pro";
    src: url("../fonts/mark-pro--book/mark-pro--book.woff2") format("woff2"), url("../fonts/mark-pro--book/mark-pro--book.woff") format("woff");
    font-style: normal;
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: "Mark Pro";
    src: url("../fonts/mark-pro--medium/mark-pro--medium.woff2") format("woff2"), url("../fonts/mark-pro--medium/mark-pro--medium.woff") format("woff");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Mark Pro";
    src: url("../fonts/mark-pro--bold/mark-pro--bold.woff2") format("woff2"), url("../fonts/mark-pro--bold/mark-pro--bold.woff") format("woff");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

:root {
    --sbc-blue: #071D49;
    --rose: #FFCCCC;
    --moss: #00AA6C;
    --bright-grey: #F0F0F0;
    --mustard: #F2B203;
    --sky: #62B5E5;
    --rain: #003DA5;
    --dust: #ACA39A;
    --desert: #CEEB888;
    --salmon: #FF585D;
    --pine: #004F32;
    --light-grey: #DEDEDE;
    --bg-white: #FFFFFF;
    --bg-black: #000000;
    --bg-standard: #FFFFFF;
    /* --illustration-bg removed: the SBC illustration assets were deleted
       (rights to the illustrations were lost). */
}

body {
    font-family: "Mark Pro", sans-serif;
    background-color: var(--bg-standard);
}

/** { border: 1px solid green; }*/

.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;
    }

.sbc-button-rounded-primary {
    border: 1px solid var(--primary) !important;
    border-radius: 30px;
}

.sbc-button-rounded-secondary {
    border: 1px solid var(--secondary) !important;
    border-radius: 30px;
}

.sbc-button-rounded-secondary-v2 {
    border: 3px solid #071D49 !important;
    padding: 14px 20px 14px 20px;
    font-weight: bold;
    border-radius: 30px;
}

.sbc-button-v2 {
    /* Base / L */
    /* Auto Layout */

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 14px 20px;
    position: static;
    left: 0%;
    right: 0%;
    top: 0%;
    bottom: 0%;
    /* Neutral / White */

    background: #FFFFFF;
    /* Primary / SBC Blue */

    border: 3px solid #071D49;
    box-sizing: border-box;
    /* Drop shadow 0-2-4 8% */

    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.08);
    border-radius: 30px;
    /* Inside Auto Layout */

    flex: none;
    order: 0;
    flex-grow: 0;
    margin: 5px 0px;
    color: #071D49;
    font-weight: bold;
}

    .sbc-button-v2:hover {
        background-color: #62B5E5 !important;
        border-color: #62B5E5 !important;
        color: #071D49 !important;
    }


::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    border-radius: 10px;
    background: rgba(0,0,0,0.1);
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: rgba(0,0,0,0.2);
}

    ::-webkit-scrollbar-thumb:hover {
        background: rgba(0,0,0,0.4);
    }

    ::-webkit-scrollbar-thumb:active {
        background: rgba(0,0,0,.9);
    }

.userterms-box {
    max-width: 550px;
    max-height: 300px;
    margin: 25px auto;
    background: white;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 40px 24px;
    scroll-padding: 10px;
}

.userterm-page-inner-header {
    margin: 0;
    padding: 0;
    padding-bottom: 5px;
    padding-top: 5px;
}

.userterms-page {
    padding-top: 160px;
}

.userterms-button-box {
    display: inline-block;
    width: 200px;
}

.col-xs-12 {
    display: flex;
    justify-content: center;
}

@media (max-width: 767px) {
    .col-md-4 {
        order: 2;
    }

    .col-md-5 {
        order: 1;
    }
}

.login-page h1 {
    font-size: 36px;
    text-align: center;
}

.login-page-inner {
    /* Auto Layout */
    /*    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 32px 24px;
    position: static;
    width: 560px;
    height: 176.5px;
    left: 0px;
    top: 0px;
*/ /* Neutral / White */
    padding: 40px 32px 24px;
    background: #FFFFFF;
    border-radius: 16px 16px 0px 0px;
    /* Inside Auto Layout */
    /*    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
    margin: 0px 0px;
*/
}

.login-page-inner-box {
    max-width: 600px;
    margin: 0 auto;
    padding-top: 160px;
}

.login-page-inner-header {
    margin: 0;
    padding: 0;
    padding-bottom: 5px;
}

    .login-page-inner-header h1 {
        padding-top: 40px;
        padding-bottom: 5px;
    }

.login-page-inner-body {
    margin: 0;
    padding: 0;
}

.forgotpassword-inner-box {
    max-width: 600px;
    margin: 0 auto;
    padding-top: 160px;
}

.forgotpassword-page-header {
    padding: 20px;
}

.recoverypassword-page-inner-box {
    max-width: 600px;
    margin: 0 auto;
    margin-top: 120px;
    background-color: var(--bg-white);
    border-radius: 10px;
    padding: 40px 32px 24px 32px;
}

.recoverypassword-page-inner-header {
    padding-bottom: 24px;
}

.recoverypassword-page-inner-body {
    border-radius: 10px;
}

.recoverypassword-page-inner-body button {
    font-weight: 700;
}

.curved-top-both {
    border-radius: 30px 30px 0px 0px;
}

.curved-bottom-both {
    border-radius: 0px 0px 30px 30px;
}

.bg-dust {
    background-color: #EEEDEB;
}

#sticky {
    width: 224px;
    height: 80px;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #071D49;
}

    #sticky img {
        padding-top: 18px;
        padding-left: 28px;
        width: 75%;
    }

nav {
    margin-left: 200px;
}

.panel-heading {
    padding: 0;
    border: 0;
}

.panel-title > a, .panel-title > a:active {
    display: block;
    padding: 15px;
    color: #555;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;
    word-spacing: 3px;
    text-decoration: none;
}

.panel-heading a:before {
    content: url(../arrow_down.png);
    float: right;
    transition: all 0.5s;
}

.panel-heading.active a:before {
    content: url(../arrow_up.png);
    transition: all 0.5s;
}

div.loading {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 100%;
    background-color: rgba(16, 16, 16, 0.5);
    display: none;
}

.bankid-page {
}

    .bankid-page .card {
        border: 0;
        margin: 0;
        padding: 0;
    }

.bankid-page-inner-box {
    max-width: 600px;
    margin: 0 auto;
    padding-top: 80px;
}

.bankid-page-inner-header {
    margin: 0;
    padding: 0;
    padding-bottom: 5px;
}

    .bankid-page-inner-header h1 {
        padding-top: 40px;
        padding-bottom: 5px;
    }

.bankid-page-inner-body {
    margin: 0;
    padding: 0;
}

.bankid-page-inner-footer {
    width: 100%;
    height: 25px;
    display: block;
}

#bankIdLoginStatus img {
    width: 100%;
    max-width: 289px;
    height: auto;
}

#companyselectModal {
    padding-top: 160px;
}

    #companyselectModal .modal-body {
        padding-top: 0;
    }

    #companyselectModal .modal-content {
        border-radius: 16px 16px 16px 16px;
        border-color: #fff;
    }

    #companyselectModal .modal-header {
        margin: 0;
        padding: 0;
    }

    #companyselectModal h1.modal-title {
        margin: 0 auto;
        padding-top: 20px;
        padding-bottom: 14px;
    }

    #companyselectModal h1 {
        /* Heading/L 32-40 Desktop */
        font-family: "Mark Pro", sans-serif;
        font-style: normal;
        font-weight: bold;
        font-size: 32px;
        line-height: 40px;
        /* identical to box height, or 125% */
        text-align: center;
        /* Primary / SBC Blue */
        color: #071D49;
    }

    #companyselectModal .list-group span {
        /* Heading/S 16-20 Desktop */
        font-family: "Mark Pro", sans-serif;
        font-style: normal;
        font-weight: bold;
        font-size: 16px;
        line-height: 20px;
    }

.logged-out-page {
    text-align: center;
}

    .logged-out-page h1 {
        margin-top: 75px;
    }


/* Ny layout */

.button {
    height: 48px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 14px 20px;
    gap: 10px;
    background-color: #62B5E5;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.08);
    border-radius: 30px;
    color: #071D49;
    border: 0;
    outline: 0;
}

    .button:active, .button:focus {
        border: 0;
        outline: 0;
    }

    .button:disabled {
        background-color: var(--color-secondary-gray);
    }

.form-span {
    display: inline-block;
    vertical-align: text-top;
}

    .form-span input {
        width: 100%;
    }

.form-label {
    display: block;
}

.input-rounded {
    border-radius: 16px;
    padding: 12px 16px;
    height: 48px;
    border: 1px solid #DEDAD7;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.08);
}

body {
    z-index: 0;
}

.secondary-button {
    background-color: white;
    border: solid;
}

.login-form .form-section {
    margin-top: 20px;
}

.form-span {
    width: 100%;
}

.login-actions {
    position: relative;
}

    .login-actions button {
        color: #071D49;
        font-size: 14px;
        font-weight: 700;
    }

        .login-actions button.primary {
            background: #62B5E5;
        }

.forgot-password-link {
    margin-top: 10px;
    position: absolute;
    top: 0;
    font-family: 'Mark Pro';
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 18px;
    display: flex;
    align-items: center;
    text-align: center;
    letter-spacing: -0.01em;
    text-decoration-line: underline;
    border: none;
    background: none;
}

.login-form-header {
    font-family: 'Mark Pro';
    font-style: normal;
    font-weight: 700;
    font-size: 48px;
    line-height: 56px;
    text-align: center;
}

.login-form-sub-header {
    font-family: 'Mark Pro';
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
    text-align: center;
}

.forgot-password-form-header {
    font-family: 'Mark Pro';
    font-weight: 700;
    font-size: 28px;
    line-height: 34px;
    padding-bottom: 15px;
}

.recoverypassword-page-inner-header {
    font-family: 'Mark Pro';
    font-weight: 700;
    font-size: 28px;
    line-height: 34px;
    padding-bottom: 15px;
}

.forgot-password-form-text {
    font-family: 'Mark Pro';
    font-weight: 300;
    font-size: 18px;
    line-height: 26px;
    /*padding-bottom: 15px;*/
}

/* Sidebar login layout, ported from site-nabo.css after the rights to the
   SBC illustrations were lost - SBC blue (#071D49) instead of Nabo green. */
.body {
    display: flex;
}

.sidebar {
    position: fixed;
    width: 542px;
    background-color: #071D49;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sidebar-title {
    color: white;
    margin-left: 76px;
    z-index: 1;
    position: fixed;
}

.sidebar-title-row-1 {
    font-size: 32px;
    line-height: 32px;
}

.sidebar-title-row-2 {
    font-size: 48px;
    line-height: 58px;
}

.main {
    flex: 1;
    margin-left: calc(542px + 111px);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hr-space {
    margin-top: 24px;
    margin-bottom: 24px;
}

.login-information-box {
    background-color: #ebebeb;
    padding: 30px;
    border-radius: 10px;
    color: var(--text-primary);
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
}

    .login-information-box > p {
        margin-bottom: 12px;
    }

    .login-information-box > a {
        color: #071D49;
        text-decoration: underline;
    }

        .login-information-box > a:hover {
            filter: brightness(80%);
        }

.login-information-header {
    font-weight: 700;
}

.sticky-logo-top-left {
    position: fixed;
    width: 224px;
    height: 80px;
    background-color: #071D49;
    z-index: 100;
    left: 0;
    top: 0;
}

    .sticky-logo-top-left img {
        padding-top: 18px;
        padding-left: 28px;
        width: 75%;
    }

.login-body {
    min-width: 368px;
    max-width: 1000px;
    width: 60%;
}

.login-form1 {
    background-color: var(--bg-white);
    opacity: 1;
    width: 386px;
}

.login-form {
    margin-top: 125px;
    max-width: 600px;
    background-color: var(--bg-white);
    border-radius: 10px;
    padding: 40px 32px 24px 32px;
}

.form-span label {
    /* or 133% */

    text-align: center;
    color: #000000;

    font-family: 'Mark Pro';
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
}

.login-input label {
    margin-left: 10px;
    font-family: 'Mark Pro';
    font-style: normal;
    font-weight: 300;
    font-size: 18.0217px;
    line-height: 24px;
}

.validation-errors {
    padding-top: 1.25rem;
    margin-top: 1.25rem;
}

@media (max-width: 1100px) {
    .main {
        margin-left: calc(542px + 12px);
    }
}

@media (max-width: 991px) {
    .body {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: 200px;
        min-height: 200px;
        position: relative;
    }

    .sidebar-title {
        margin-top: 0;
        margin-left: 15px;
        position: absolute;
        bottom: 0;
    }

    .sticky-logo-top-left {
        position: absolute;
        width: 224px;
        height: 80px;
        z-index: 100;
        left: 0;
        top: 0;
    }

        .sticky-logo-top-left img {
            padding-top: 15px;
            padding-left: 15px;
            max-width: 140px;
        }

    .main {
        width: 100%;
        margin-left: 0;
        min-height: 0;
    }

    .login-body {
        margin-top: 24px;
        padding: 0 15px;
        width: 100%;
    }
}

@media (max-width: 500px) {
    .login-form {
        min-width: 80%;
    }

    .sticky-logo-top-left {
        width: 100%;
    }

        .sticky-logo-top-left img {
            max-width: 140px;
        }

    .login-form-header {
        font-size: x-large;
    }

    .login-form-sub-header {
        font-size: medium;
    }

    .login-body {
        margin-top: 24px;
        padding: 0 15px;
        width: 100%;
    }
}
