﻿html {
    width: 100%;
    height: 100%;
}

body {
    background: url('../images/bg4.png') no-repeat;
    background-size: cover;
    position: fixed;
    left: 0;
    top: 2px;
    width: 100%;
    height: 100%;
    font-family: 'Open Sans', sans-serif;

    color: rgb(51,51,51);
    padding: 0;
    margin: 0;
}

.login-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgb(246, 246, 246);
    background-color: rgba(0, 0, 0, .7);
    border: 0px solid #ddd;
    border-radius: 3px;
    color: rgb(51,51,51);
    color: rgb( 255,255,255);
    max-width: 100%;
    max-height: 100%;
    width: 500px;
    overflow: auto;
}

.login-customer-name {
    font-size: 40px;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    color: rgb(255,255,255);
    font-family: 'Raleway', sans-serif;
}

.login-inner-div {
    padding: 0 30px 30px 30px;
}

.login-buttons {
    display:flex;
    justify-content:space-between;
    align-content:center;
}

.error-text {
    color: #ff8080;
    min-height: 22px;
}

#btnLoginAdmin {
    position: fixed;
    right: 0;
    top: 0;
    background: transparent !important;
    width: 100px;
    height: 100px;
    border: 0px !important;
}

#ssoButtons {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/*
    SSO button styling defined by:
    https://learn.microsoft.com/en-us/entra/identity-platform/howto-add-branding-in-apps#pictogram-and-sign-in-with-microsoft 
*/
.sso-button {
    min-width: 177px;
    margin-top: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    background-color: #FFFFFF;
    border: 1px solid #8C8C8C;
    font-family: 'Segoe UI Regular';
    font-size: 15px;
    font-weight: 600;
    color: #5E5E5E;
    height: 41px;
    padding: 0px 12px
}

.sso-logo {
    height: 21px;
    width: 21px;
    padding-right: 12px; /*defined by: https://learn.microsoft.com/en-us/entra/identity-platform/howto-add-branding-in-apps#pictogram-and-sign-in-with-microsoft */
}

#divError {
    padding: 20px;
    min-height: 100px;
    font-family: 'Raleway', sans-serif;
    display:none;

}
#divForgotPassword1, #divForgotPassword2 {
    left: 150%;
    display: none;
}

#divForgotPassword1 {
    left:150%;
    display:none;
}

.input {
    margin: 0px;
    background-color: rgb(246, 246, 246);
    background-color: rgba(0, 0, 0, 0);
    border: 1px solid #ccc;
    border-top: 0;
    border-right: 0;
    border-left: 0;
    display: inline-block;
    box-sizing: border-box;
    color: rgb(255,255,255);
    outline: none;
}
::-ms-reveal {
    filter: invert(100%);
}
.input:disabled {
    color: rgba(255,255,255,.3);
    border-bottom: 1px solid rgba(255,255,255,.3);
    cursor:not-allowed;
}
.input-large {
    height: 35px;
    padding: 8px 10px;
    margin-bottom: 9px;
    font-size: 15px;
    line-height: 18px;
    vertical-align: middle;
    width: 100%;
}
.login-logo {
    max-width: 50%;
    min-width: 250px;
}

.login-tos-message-holder {
    position: fixed;
    bottom: 0;
    background-color: rgba(0, 0, 0, .7);
    width: 100%;
    display:flex;
    flex-direction: column;
    justify-content: center;
}

.login-tos-message {
    color: white;
    font-size: 12px;
    white-space: pre-wrap;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 0px;
    margin-block-start: 0em;
}

    .login-tos-message > a{
        color:white;
    }

@media screen and (max-height: 500px) {
    #login-logo {
        display:none;
    }
    #loginCustomerName{
        margin-top:20px;
    }
}
a{
    cursor:pointer;
}

@media screen and (max-height: 700px) {
    .login-tos-message {
        white-space: normal;
        padding-top: 5px;
        padding-bottom: 5px;
    }
    .login-hide-mobile {
        display: none;
    }
}

@media screen and (max-width: 500px) {
    .login-hide-mobile {
        display: none;
    }

    .login-tos-message {
        white-space: normal;
        padding-top: 5px;
        padding-bottom: 5px;
    }
}

p {
    margin-top: 22px;
    margin-bottom: 30px;

}
.btn {
    background: #3498db;
    border-radius: 4px;
    border: 1px solid #999;
    border: transparent;
    color: #ffffff;
    font-size: 15px;
    line-height: 18px;
    padding: 8px 12px;
    text-decoration: none;
    cursor: pointer;
}

    .btn:hover {
        background: #3cb0fd;
        text-decoration: none;
    }
    .btn:disabled {
        background-color: rgba(100,100,100,.5);
        color:rgba(255,255,255,.3);
    }
#browserErrorMessage {
    padding: 10px;
    border-top: 2px solid red;
    border-bottom: 2px solid red;
    background-color: rgba(255,0,0,.3);
    color: darkred;
    border-radius: 3px;
    width: auto;
    margin-top: 20px;
    text-align: center;
    width:100%;
}
    #browserErrorMessage div {
        display: inline-block;
        margin: 0 auto;width:90%;
    }
.hide {
    display: none;
}