﻿@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,700;1,400&display=swap');

body {
    width: 100%;
    height: 100%;
    position: fixed;
}

.loginLockScreen {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 100;
    background-color: #000000;
    display: none;
    text-align: center;
}

.adjustLoginLockScreenVerticalAlign {
    width: 0px;
    height: 100%;
    display: inline-block;
    vertical-align: middle;
}

_:first, .adjustLoginLockScreenVerticalAlign {
    display: inline; /*IE7*/
}

.browserNotSupportedPanel {
    display: inline-block;
    vertical-align: middle;
    font-size: 30px;
}

_:first, .browserNotSupportedPanel {
    display: inline; /*IE7*/
}

.browserSupportedInfo {
    padding-top: 14px;
}

.loginCenterBody {
    color: white;
}

footer {
    height: 93px;
    width: 100%;
    display: block;
    color: white;
    text-transform: uppercase;
    /*border: 1px red solid;*/
    background-color: black;
    background-color: rgba(0, 0, 0, 0.39);
    position: relative;
}

footer img {
    display: inline-block;
    vertical-align: middle;
}

#loginPageBody {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.adjustVerticalAlignLoginBody {
    display: inline-block;
    vertical-align: middle;
    height: 100%;
    width: 0px;
}

#centerContainer {
    display: flex;
    flex-direction: column;
    text-align: left;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    height: 100%;
}

.loginCard {
    margin: auto;
    display: flex;
    flex-direction: column;
    background-color: white;
    padding: 20px 50px;
    border-radius: 6px;
    max-width: 840px;
}

.mainContentDiv {
    display: flex;
    flex-direction: row;
    padding-top: 2%;
}

.formDiv {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.loginTitle {
    width: 100%;
    color: var(--danfoss-web-dark-grey);
    font-size: 24px;
    margin: auto 0;
}

.loginTitle span {
    font-weight: 400;
}

/* LANGUAGE DROPDOWN */

.dropdown-button {
    font-size: 1rem;
    color: rgb(112, 118, 126);
    border-radius: 2px;
    box-shadow: unset;
    border-width: 1px;
    border-style: solid;
    background-color: transparent;
    border-color: white;
    outline: currentcolor none 0px;
    cursor: pointer;
    transition: border-color 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, box-shadow 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    display: flex;
    height: 50px;
    -moz-box-align: center;
    align-items: center;
    position: relative;
    padding-top: 10px;
    padding-left: calc(8px);
    padding-bottom: 8px;
    width: 100%;
    margin: auto 0;
    margin-right: 8px;
}

.dropdown-button * {
    pointer-events: none;
}

.dropdown-button:hover, .dropdown-button:focus {
    border-color: rgb(134, 144, 152);
}

.dropdown {
    display: flex;
    width: min-content;
}

.dropdown-content {
    background-color: white;
    border: rgb(180, 188, 195) 1px solid;
    border-radius: 3px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    display: none;
    margin-right: 8px;
    max-height: 500px;
    overflow-y: scroll;
    padding: 9px 0;
    position: absolute;
    right: 0px;
    top: -508px;
    z-index: 1;
}

.dropdown-element {
    margin: 0 9px;
    border-radius: 2px;
}

.dropdown-content-container {
    width: 100%;
    height: 100%;
    display: flex;
}

.dropdown-content-container svg {
    margin-left: auto;
    fill: white;
    min-width: 37px;
    transform: rotate(180deg);
}

.dropdown-flag, .dropdown-text {
    margin: auto 0;
}

.dropdown-text {
    margin-left: 5px;
}

.dropdown-content a {
    color: rgb(112, 118, 126);
    padding: 10px 14px;
    text-decoration: none;
    display: flex;
    border-bottom: 1px solid var(--black-10);
}

.dropdown-content a:hover {
    background-color: #F8F9F9;
    color: var(--danfoss-web-dark-grey);
}

.show {display:block;}

/* END OF LANGUAGE DROPDOWN */

.loginDivider {
    width: 100%;
    border: none;
    border-top: 1px solid var(--danfoss-web-light-grey);
}

.logoPayoff {
    width: 316px;
    height: 112px;
    display: inline-block;
    padding-top: 22px;
}

#loginForm {
    vertical-align: 5px;
}

#loginInfo {
    display: block;
    font-size: 40px;
    /*border: 1px red solid;*/
}

#loginInputContainer {
    min-width: 380px;
    width: 100%;
    display: block;
    flex-direction: column;
    border-radius: 3px;
    font-size: 0;
}

.loginInputField {
    cursor: auto;
    box-shadow: unset;
    box-sizing: border-box;
    width: 100%;
    color: var(--danfoss-web-dark-grey);
    padding: 13px 20px 10px 20px;
    border-radius: var(--danfoss-border-radius);
    background-color: var(--login-page-text-input-bg);
    font-family: inherit;
    outline: none;
    font-size: 17px;
    display: inline-block;
    margin: 7px auto;
}

.loginInputField::placeholder {
    color: var(--danfoss-web-dim-grey);
}

.loginInputField:hover {
    outline: none;
}

.loginInputField:focus {
    outline: none;
}

.passwordInputField {
    background-color: unset;
    margin: unset;
}

.passwordFieldContainer {
    display: flex;
    flex-direction: row;
    background-color: #f4f4f4;
    border-radius: 3px;
}

.passwordFieldContainer img {
    filter: invert(0.8);
    margin: auto 13px auto 0;
    cursor: pointer;
    height: 24px;
    width: 24px;
}

.passwordRecovery {
    text-decoration: none;
    display: flex;
    margin-top: 15px;
    color: var(--danfoss-web-dark-grey);
    float: left;
    font-size: 15px;
    font-weight: 400;
    line-height: 35px;
    letter-spacing: 0.18px;
}

#passwordRecoveryIcon {
    width: 16px;
    height: 16px;
    position: relative;
    margin: auto 7px auto 0;
    border: 0; float: left;
}

.selectedLocale {
    background: #F2F3F4;
    color: var(--danfoss-web-dark-grey);
}


_::selection, #loginInputContainer.input[type="password"] {
    /*IE 9.0+*/
    font-size: 26.76px \0;
}

#loginButton {
    margin-top: 10px;
    margin-left: auto;
}

.logoDiv {
    display: flex;
}

#loginLogo {
    height: 4em;
    margin-left: 30px;
}

#errorInfo {
    display: none;
    font-size: 15px;
    color: var(--danfoss-red);
    margin-top: 10px;
}

footer {
    display: flex;
    background-color: var(--danfoss-web-dim-grey);
    height: 72px;
}

footer a {
    cursor: pointer;
}

.footer-link{
    font-size: 14px;
    color: white;
    margin: auto 0 auto 25px;
    height: min-content;
}

.versionInfo {
    margin-left: auto;
    margin-right: 25px;
}

#footerVerticalFix {
    height: 100%;
    width: 0%;
    display: inline-block;
    vertical-align: middle;
}
