html, body {
    height: 100%;
}

body {
    visibility: visible;
    background-color: var(--bg);
    background-position: top center;
    background-size: cover;
    margin: 0;
}

#LoginContent {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(255 255 255 / 30%);
}

#LogonPanel {
    width: 40%;

    /* 360px; */
    min-width: 320px;
    max-width: 400px;
    padding: 20px;
    box-sizing: border-box;
    background-color: var(--bg);
}

#LogonPanel .CompanyLogoBlock {
    width: 100%;
}

#LogonPanel .CompanyLogoBlock h1 {
    color: var(--primary-110);
    font-size: 18px;
}

#LogonPanel label {
    width: 100%;
    height: 32px;
    padding: 0 5px;
    color: var(--text-secondary);
}

#LogonPanel .FieldContainer {
    margin-top: 10px;
}

#LogonPanel input[type="text"], #LogonPanel input[type="password"], #LogonPanel select {
    clear: right;
    width: 100%;
    height: 32px;
    margin: 3px 0 0;
    padding: 0 5px;
    box-sizing: border-box;
    border: 1px var(--neutral-30) solid;
}

#LogonPanel .LogonButtonContainer {
    margin-top: 10px;
    margin-bottom: 80px;
}

#LogonPanel .LogonButtonContainer .ActionButtonContainer, #LogonPanel .LogonButtonContainer .ActionButtonContainer input[type="submit"] {
    margin-right: 0 !important;
}

/* 164205 Whether need to modify Page PasswordExpired */

.LogonStatusMessage {
    margin: 10px 0 5px;
    font-size: 14px;
    color: var(--text-error);
}

#LogonPanel .CustomerLoginInfo {
    margin-top: 20px;
}

#LogonPanel .LoginLogo {
    margin-top: 20px;
}

#LogonPanel .CustomerLoginInfo a:link, #LogonPanel .CustomerLoginInfo a:visited, #LogonPanel .CustomerLoginInfo a:active {
    color: var(--text-link);
    text-decoration: none;
}

#Main .MainLayout .MainLayoutBottom .Option a:hover {
    color: var(--text-link-hover);
    text-decoration: underline;
}

#LogonMessagePanel {
    max-width: 60%;
    box-sizing: border-box;
    padding: 10% 50px 0 0;
    float: left;
    overflow: hidden;
}

#LogonMessagePanel img {
    width: 100%;
}