﻿:root {
    --bl-black-color: #424244;
    --bl-gray-color: #F2F3F4;
    --bl-light-gray-color: #92A3A5;
    --bl-white-color: #FFF;
    --bl-yellow-color: #DC9700;
    --bl-dark-yellow-color: #B47201;
    --bl-login-border-radius: 8px;
    --bl-login-box-width: 1120px;
    --bl-login-box-height: 615px;
    --bl-login-box-height-logo: 700px;
    --bl-login-box-gap: 180px;
    --bl-login-box-gap-mobile: 40px;
    --bl-login-box-shadow: 0px 4px 4px 0px rgba(45, 45, 45, .3);
    --bl-login-form-control-height: 55px;
    --bl-login-message-width: 397px;
    --bl-login-message-zindex: 1;
    --bl-login-error-message-top: 45px;
    --bl-login-button-height: 45px;
}

html {
    overflow: hidden;
}

body {
    font-family: Poppins;
    color: var(--bl-black-color);
    background-color: var(--bl-gray-color);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: Poppins;
}

.outerBox {
    top: 50%;
    left: 50%;
    margin-top: calc(var(--bl-login-box-height) / -2);
    margin-left: calc(var(--bl-login-box-width) / -2);
    width: var(--bl-login-box-width);
    height: var(--bl-login-box-height);
    display: flex;
    justify-content: center;
    position: absolute;
    gap: var(--bl-login-box-gap);
}

.leftBox {
    position: relative;
    border-radius: var(--bl-login-border-radius);
    box-shadow: var(--bl-login-box-shadow);
    background-color: var(--bl-white-color);
    width: 55%;
    height: var(--bl-login-box-height);
}

.rightBox {
    width: 45%;
    height: var(--bl-login-box-height);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1em;
}

.outerLoginbox {
    text-align: center;
    display: inline;
}

.innerLoginBox {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
}

.languageSelect {
    position: absolute;
    right: 0;
    padding: 1em;
    display: flex;
    color: rgb(55, 55, 55);
    cursor: pointer;
}

    .languageSelect .dropdown-toggle {
        border: transparent;
        background-color: transparent;
        padding: 0;
        border-radius: 1px;
    }

        .languageSelect .dropdown-toggle:focus {
            outline: 2px solid var(--bl-yellow-color);
            outline-offset: 3px;
        }

    .languageSelect .ph-globe {
        font-size: 2em;
        color: var(--bl-black-color);
        vertical-align: middle;
    }

    .languageSelect .dropdown-menu {
        padding-inline: 5px;
    }

        .languageSelect .dropdown-menu > li> a {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 6px 12px;
            border-radius: var(--bl-login-border-radius);
        }

            .languageSelect .dropdown-menu > li > a:focus {
                background-color: var(--bl-gray-color);
                outline-offset: 2px;
            }

            .languageSelect .dropdown-menu > li > a.item-selected:not(:focus),
            .languageSelect .dropdown-menu > li > a:hover:not(:focus) {
                color: var(--bl-black-color);
                text-decoration: none;
                background-color: var(--bl-gray-color);
                outline: 0;
            }

            .languageSelect .dropdown-menu > li > a > span:first-child {
                font-weight: bold;
                font-size: 1.25em;
                color: var(--bl-yellow-color);
            }

.form-control {
    display: block;
    width: 100%;
    height: var(--bl-login-form-control-height);
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    background-color: #fff;
    background-image: none;
    border: 1px solid var(--bl-light-gray-color);
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

    .form-control:focus {
        border-color: var(--bl-yellow-color);
        outline: 0;
        -webkit-box-shadow: unset;
        box-shadow: unset;
    }

.form-bottom-margin {
    height: 122px;
}

.loginpage {
    height: 100vh;
    max-height: 100%;
    width: 100%;
    max-width: 100%;
    position: relative;
    background-color: var(--bl-gray-color);
    top: 0;
    left: 0;
}

.qLogo {
    height: 100px;
    margin: 2em 0;
}

.sloganContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 3.25em;
    text-align: center;
}

    .sloganContainer > p {
        margin: 0;
    }

        .sloganContainer > p > a {
            text-decoration: underline;
        }

    .sloganContainer > p:first-child {
        font-weight: 600;
        font-size: 1.5em;
        margin-bottom: 1em;
    }

.socialLinks {
    display: flex;
    gap: 2em;
}

    .socialLinks a:hover,
    .socialLinks a:focus {
        text-decoration: none;
    }

    .socialLinks span {
        font-size: 2em;
        cursor: pointer;
        vertical-align: middle;
    }

.loginheader {
    display: block;
    height: 15%;
    width: 100%;
    background-color: #00839F;
    background-image: url(../../../Content/Images/Login/QBIS.Logo.Vector.white200x100.png);
    background-repeat: no-repeat;
    background-position: 10px;
    max-height: 10em;
    min-height: 6em;
}

.loginfooter {
    display: block;
    height: 15%;
    width: 100%;
}

.loginmain {
    display: block;
    height: 70%;
    width: 100%;
    background-image: url(../../Images/Login/BG.Login.QBIS.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    min-width: 350px;
    min-height: 460px;
    overflow: hidden;
}

.loginbox {
    width: 100%;
    text-align: left;
    margin-top: 2em;
    background-color: #ffffff;
    font-weight: 400;
    display: inline-block;
}

.loginbox-info {
    margin-bottom: 2em;
}

.login-successmessage {
    margin: 5em 0 0; 
    display: block;
    width: 100%;
    min-height: 100px;
    padding: 2em 3.5em;
    position: relative;
    top: 30%;
}

    .login-successmessage input[type="submit"] {
        font-size: 0.75em;
        float: none;
        margin-left: auto;
        margin-right: auto;
        margin-top: 1em;
        display: block;
        width: auto;
    }

    .login-successmessage .links {
        margin-top: 3em;
    }

    .login-successmessage.center-align {
        text-align: center;
    }

.login-successmessage-icon {
    font-size: 15em;
    margin-bottom: .15em;
    display: block;
}

    .login-successmessage-icon span:last-child::before {
        margin-left: -1.5em;
    }

.reset-loginbox {
    /*  height: 280px; */
}

.message {
    padding: 5px 10px;
    margin: 0 auto 10px;
    font-size: 13px;
    border-style: solid;
    border-width: 1px;
    border-radius: 5px;
    line-height: 1.2;
    width: var(--bl-login-message-width);
    position: fixed;
    z-index: var(--bl-login-message-zindex);
}
.errorMessage {
    padding: 5px 10px;
    margin: 0 auto 10px;
    font-size: 13px;
    border-style: solid;
    border-width: 1px;
    border-radius: 5px;
    line-height: 1.2;
    width: var(--bl-login-message-width);
    position: absolute;
    top: var(--bl-login-error-message-top);
    z-index: var(--bl-login-message-zindex);
}
.flashError {
    color: #86182e;
    background-color: #ffdcd3;
}
    .flashError > span {
        margin-left: 10px; 
        display:block; 
        line-height:1;
    }

.flashConfirm {
    color: #04230f;
    background-color: #35cf55;
}

.errorMessageClose {
    float: right;
    padding: 16px;
    /*margin: -16px;*/
    color: inherit;
    text-align: center;
    cursor: pointer;
    background: none;
    border: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    opacity: .6;
}

.successmessage {
    width: 100%;
    min-height: 100px;
    padding: 3em 3.5em;
}

.was-validated :invalid ~ .invalid-feedback,
.was-validated :invalid ~ .invalid-tooltip,
.is-invalid ~ .invalid-feedback,
.is-invalid ~ .invalid-tooltip {
    display: block;
}

.was-validated .form-control:invalid, 
.form-control.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

    .was-validated .form-control:invalid:focus, 
    .form-control.is-invalid:focus {
        border-color: #dc3545;
        border-width: 2px;
    }

.was-validated textarea.form-control:invalid, textarea.form-control.is-invalid {
    padding-right: calc(1.5em + 0.75rem);
    background-position: top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem);
}

.failedlogin {
    border-color: rgb(192, 57, 43);
}

.hidden {
    visibility: hidden;
    height: 100px;
}

.nodisplay {
    display: none;
}

.slogan {
    margin: 0em 2em;
}

.followusicons {
    padding-top: 0.5em;
    border-top-color: rgb(149, 165, 166);
    border-top-style: solid;
    border-top-width: thin;
    margin: 0.5em 0em;
    width: 140px;
}

.systeminfo {
    padding-top: 0.5em;
    border-top-color: rgb(149, 165, 166);
    border-top-style: solid;
    border-top-width: thin;
    margin: 0.5em 0em;
    float: left;
}

    .systeminfo a {
        font-size: 1em;
    }

    .systeminfo .systemmessage {
        padding-top: 0.5em;
    }

h1 {
    margin-bottom: 1em;
    margin-left: 0.0em;
    margin-right: 0.5em;
    margin-top: 0.5em;
    display: block;
    font-size: 1.75em !important;
}

h2 {
    margin-bottom: 0.5em;
    margin-left: 0.0em;
    margin-top: 0.5em;
    display: inline-block;
    padding-left: 0em;
    line-height: 1.2em;
}

.message h2 {
    color: rgb(230, 126, 34);
    font-weight: 700;
}

h3 {
    font-size: 1.2em;
    font-weight: 600;
}

fieldset {
    margin-top: 0.5em;
}

label {
    margin: 0;
    font-weight: normal;
}

checkboxlabel {
    display: inline-block;
    font-weight: 400;
    font-size: 0.7em;
}

.textbox {
    position: relative;
    display: flex;
    align-items: center;
}

    .textbox label {
        color: var(--bl-black-color);
        position: absolute;
        padding-left: 15px;
        top: 17px;
        transition: all 0.15s ease-in-out;
        font-size: 1.1em;
    }

    .textbox input:not(:placeholder-shown) ~ label,
    .textbox input:focus ~ label,
    .textbox input:-webkit-autofill ~ label {
        font-size: .85em;
        padding-left: 16px;
        top: 8px;
        width: 100%;
        background-color: transparent;
        opacity: 0.65;
    }

input[type="text"], input[type="password"] {
    padding: 20px 15px 0;
    border-radius: var(--bl-login-border-radius);
    font-weight: 500;
    font-size: 1.1em;
}

input[type="text"] {
    margin-bottom: 1.5em;
}

input[type="password"] {
    margin-bottom: 0.5em;
}

input[type="radio"],
input[type="checkbox"] {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid var(--bl-light-gray-color);
    border-radius: 4px;
    display: inline-block;
    margin: auto;
    cursor: pointer;
    vertical-align: middle;
    transition: all 0.2s;
}

    input[type="checkbox"]:checked {
        background-color: var(--bl-yellow-color);
        border-color: var(--bl-yellow-color);
        background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: center;
        background-size: 16px;
    }

    input[type="checkbox"] + label {
        vertical-align: middle;
        margin: auto;
        padding-left: .25em;
        cursor: pointer;
    }

    input[type="radio"]:focus,
    input[type="checkbox"]:focus {
        outline-color: var(--bl-yellow-color);
        outline-offset: 4px;
    }

.moreOptions {
        height: 45px;
        display: flex;
        justify-content: space-between;
        margin-bottom: 10px;
    }    

.checkboxes {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.links {
    display: flex;
    justify-content: center;
}

    .links .flex-end {
        justify-content: flex-end;
    }

    .links .linksSubitem {
        font-weight: 600;
    }

a, a:visited {
    color: var(--bl-black-color);
    text-decoration: none;
    display: block;
}

    a:hover {
        color: var(--bl-dark-yellow-color);
    }

    a:focus {
        outline-color: var(--bl-yellow-color);
        color: var(--bl-black-color);
        outline-offset: 4px;
    }

    .loginfooter a, .loginfooter a:visited {
        display: inline;
    }

.otpOptions {
    display: flex;
    gap: .2em;
}
    
    .otpOptions label {
        margin-right: .1em;
    }

.reset-password {
    justify-content: flex-start;
    margin-top: 2em;
}

    .reset-password a {
        display: flex;
        align-items: center;
    }

        .reset-password a:hover,
        .reset-password a:focus {
            text-decoration: none;
        }

        .reset-password a span {
            font-size: 1.5em;
            margin-right: .1em;
        }

/* Begin BankID */
.loginGroupButtons {
    padding-top: 4em;
        
}

.loginGroup {
    position: relative;
    margin-bottom: 2.5em;
}

    .loginGroup.flex-reverse {
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
        padding: 3px 0px;
    }

.loginGroupButton {
    padding-top: 30px;
}

.loginControl {
    width: 100%;
    height: 45px;
    border: none;
    padding: 0px 40px 0px 15px;
    background: rgb(255, 255, 255);
    font-size: 16px;
    color: rgb(102, 102, 102);
    border: 1px solid rgb(221, 221, 221);
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

    .loginControl::-ms-clear,
    .loginControl::-ms-reveal {
        display: none;
    }

    .loginControl:focus {
        border-width: 1px;
        border-color: rgb(67, 133, 124);
        color: rgb(102, 102, 102);
    }

        .loginControl:focus + .loginIcon {
            border-width: 1px;
            border-color: rgb(67, 133, 124);
            color: rgb(67, 133, 124);
        }

.loginGroup .loginIcon {
    position: absolute;
    right: 15px;
    top: 17px;
    color: rgb(153, 153, 153);
}

.loginStatus.invalidLogin {
    -moz-animation: wrong-log 0.3s;
    -webkit-animation: wrong-log 0.3s;
    animation: wrong-log 0.3s;
}

    .loginStatus.invalidLogin .loginControl, .invalidLogin .loginControl + .loginIcon {
        border-color: rgb(246,71,71);
        color: rgb(246,71,71);
    }

.loginAlert {
    display: none;
    font-size: 13px;
    color: rgb(255, 0, 0);
    float: left;
}

.loginButton {
    background: #202020;
    display: inline-block;
    width: 100%;
    font-size: 16px;
    height: 50px;
    color: rgb(255, 255, 255);
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: var(--bl-login-border-radius);
    cursor: pointer;
}

    .loginButton.alt {
        background: rgb(255, 255, 255);
        color: #202020;
        border: 1px solid var(--bl-light-gray-color);
    }

    .loginButton:hover,
    .loginButton:active {
        background-color: rgba(32, 32, 32, .8);
    }

    .loginButton:focus {
        outline-color: var(--bl-yellow-color);
        outline-offset: 5px;
    }

    .loginButton.alt:hover,
    .loginButton.alt:active {
        background-color: rgba(32, 32, 32, .2);
    }

    .loginButton:disabled:not(.m-progress) {
        background: rgb(153, 153, 153);
        cursor: default;
    }

.loginPanel,
.bankidPanel {
    padding: 1.5em 3.5em;
}

.loginBankidSeparator {
    display: flex;
    align-items: center;
    margin: 1em 0;
}

    .loginBankidSeparator hr {
        flex-grow: 1;
        margin: 0 .75em;
        border-color: var(--bl-light-gray-color);
    }

    .loginBankidSeparator p {
        margin: auto;
        font-size: .9em;
        padding-bottom: 2px;
    }

.bankidOptionsStatus {
    height: 185px;
    text-align: center;
}

.bankIdLoader.medium {
    padding-top: 25px;
}

.bankIdLoader.large {
    padding-top: 35px;
}

.bankidQrcode p {
    font-size: 13px;
    line-height: 24px;
    text-align: left;
    margin-top: 4em;
}

.bankidQrcodeArea {
    margin: 30px 0px;
    text-align: center;
    min-height: 205px;
    min-width: 205px;
}

.bankIdError {
    display: flex;
    background: rgb(255, 240, 240);
    padding: 0.5em;
    background-color: #ffdcd3;
    font-size: 13px;
    border: 1px solid rgb(134, 24, 46);
    border-radius: 5px;
    line-height: 1.2;
    margin: 0 auto;
}

    .bankIdError.large {
        width: 80%;
    }

    .bankIdError.medium {
        width: 60%;
    }

    .bankIdError label {
        color: #86182e;
        font-size: 12px;
        line-height: 1.25em;
    }

    .bankIdError a {
        display: initial;
        font-size: inherit;
        color: rgb(0, 131, 159);
    }

/*@media Queries*/
@media only screen and (max-width: 1200px) {

    .outerBox {
        width: calc(var(--bl-login-box-width) - 120px);
        gap: calc(var(--bl-login-box-gap) - 120px);
        margin-left: calc((var(--bl-login-box-width) - 120px) / -2);
    }
}

@media only screen and (max-width: 1024px) {

    .outerBox {
        top: 0;
        left: 0;
        position: inherit;
        height: 100%;
        width: 100%;
        margin: 0;
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
        gap: var(--bl-login-box-gap-mobile);
    }

    .leftBox, .rightBox {
        width: 495px;
    }

    .leftBox {
        height: auto;
    }

    .rightBox {
        height: auto;
    }

        .rightBox > div {
            display: none;
        }

    .qLogo {
        margin: 0;
        height: 90px;
    }

    .errorMessage {
        width: calc(100% - 7.538em);
    }

    .loginBankidSeparator {
        visibility: hidden;
        margin: 0;
    }
}

@media only screen and (max-width: 600px) {

    .leftBox, .rightBox {
        width: 90%;
    }

    .loginPanel, .bankidPanel {
        padding: 1em 1.5em;
    }

    .errorMessage {
        width: calc(100% - 3em)
    }
}

@media only screen and (max-height: 700px) and (max-width: 1024px) {

    .rightBox {
        display: none;
    }

    .outerBox {
        justify-content: start;
    }
}

/*End of @media Queries*/

@-moz-keyframes invalid-login {
    0%, 100% {
        left: 0px;
    }

    20%, 60% {
        left: 15px;
    }

    40%, 80% {
        left: -15px;
    }
}

@-webkit-keyframes invalid-login {
    0%, 100% {
        left: 0px;
    }

    20%, 60% {
        left: 15px;
    }

    40%, 80% {
        left: -15px;
    }
}

@keyframes invalid-login {
    0%, 100% {
        left: 0px;
    }

    20%, 60% {
        left: 15px;
    }

    40%, 80% {
        left: -15px;
    }
}

/** Animate loading icon */

@-webkit-keyframes ld {
    0% {
        -webkit-transform: rotate(0deg) scale(1);
    }

    50% {
        -webkit-transform: rotate(180deg) scale(1.1);
    }

    100% {
        -webkit-transform: rotate(360deg) scale(1);
    }
}

@-moz-keyframes ld {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.1);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

@-o-keyframes ld {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.1);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes ld {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.1);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

.mProgress {
    position: relative;
    opacity: .8;
    color: transparent !important;
    text-shadow: none !important;
    cursor: default;
}

    .mProgress:hover,
    .mProgress:active,
    .mProgress:focus {
        cursor: default;
        color: transparent;
        outline: none !important;
        box-shadow: none;
    }

    .mProgress:before {
        content: '';
        display: inline-block;
        position: absolute;
        background: transparent;
        border: 2px solid #fff;
        border-top-color: transparent;
        border-bottom-color: transparent;
        border-radius: 50%;
        box-sizing: border-box;
        top: 50%;
        left: 50%;
        margin-top: -12px;
        margin-left: -12px;
        width: 24px;
        height: 24px;
        -webkit-animation: ld 1s ease-in-out infinite;
        -moz-animation: ld 1s ease-in-out infinite;
        -o-animation: ld 1s ease-in-out infinite;
        animation: ld 1s ease-in-out infinite;
    }

.bankIdLoader.medium .mProgress:before {
    position: initial;
    width: 90px;
    height: 90px;
    top: 0;
    left: 0;
    margin: 0;
    border: 3px solid #00839f;
    border-top-color: transparent;
    border-bottom-color: transparent;
}

.bankIdLoader.large .mProgress:before {
    position: initial;
    width: 120px;
    height: 120px;
    top: 0;
    left: 0;
    margin: 0;
    border: 3px solid #00839f;
    border-top-color: transparent;
    border-bottom-color: transparent;
}

/* End BankID */