﻿html, body {
    font-family: Calibri;
    margin: 0px;
    padding: 0px;
    height: 100%;
    background-image: url(../Images/login_background.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

/* Form */
form > table {
    width:100%;
}
form > table > tbody > tr > td > input[type=text],
form > table > tbody > tr > td > input[type=password]
{
    width: 100% !important;
}

div.Login {
    left: 50%;
    top: 50%;
    position: absolute;
    padding: 20px;
    width: 250px;
    margin-top: -160px;
    margin-left: -145px;
    border-radius: 12px;
    box-shadow: 0px 0px 10px 0px #656565;
    background-color: white;
    z-index: 2;
}
div.Login.PwSetNewForm{
    height: 240px;
}
div.Login.CheckAutomaticLoginVerificationForm{
    height: 200px;
}


div.Login input[type=text],
div.Login input[type=password]{
    padding: 10px;
    width: Calc(100% - 20px) !important;
}
input[type=submit] {
    background-color: rgb(0,187,126);
    border: 0;
    border-radius: 5px;
    padding: 10px;
    padding-left: 15px;
    padding-right: 15px;
    cursor: pointer;
    color: white;
    font-family: NunitoSans-SemiBold !important;
}

div.Login input[disabled] {
    background-color: rgb(240,240,240);
    color: rgb(73,89,105);
    cursor: default;
}

.loginIcon {
    background-image: url(../Images/login_login_1.png);
    background-repeat: no-repeat;
    background-size: contain;
    height: 22px;
    width: 29px;
    padding-right: 5px;
    margin-top: 3px;
}
td.loginIconRow{
    display: inline-flex;
    font-size: 20px;
    font-family: NunitoSans-Bold;
    padding-bottom: 10px;
    color: rgb(73,89,105)
}

td.stayLoggedInCheckbox {
    vertical-align: baseline;
    padding-top: 4px;
}

td.stayLoggedInInfo {
    padding-top: 3px;
}

.stayLoggedInTooltip {
    position: relative;
    display: inline-block;
}

.stayLoggedInTooltipText {
    position: absolute;
    display: inline-block;
    visibility: hidden;
    width: 315px;
    background-color: white;
    top: 20px;
    color: #656565;
    border-radius: 6px;
    padding: 5px;
    box-shadow: 0px 0px 10px 0px #656565;
    z-index: 3;
    user-select: none;
    cursor: default;
}

@media(max-width: 830px){
    .stayLoggedInTooltipText {
        left:-150px;
    }
}

.stayLoggedInTooltip:hover .stayLoggedInTooltipText {
    visibility: visible;
}

td.submitButtonRow {
    text-align: center;
    padding-top: 16px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

td.resetPwRow{
    padding-top: 10px;
    text-align: center;
}
td.resetPwRow > div {
    color: rgb(0,187,126);
    width: 120px;
    transform: translate(-50%,0);
    left: 50%;
    position: relative;
    text-decoration: underline;
    cursor: pointer;
    user-select:none;
}

div.Login input[type=text].normal.borderHighlight {
    border: #F9AE36 1px solid;
    padding: 9px;
}

/***** TOTP Mask *****/
div.CheckTotpVerificationForm input.loginTotpPin {
    padding: 4px;
    padding-top: 8px;
    padding-bottom: 8px;
}

td.removeTotpRow {
    padding-top: 10px;
    text-align: center;
}

td.removeTotpRow > div {
    color: rgb(0,187,126);
    text-decoration: underline;
    cursor: pointer;
    user-select: none;
}

/* Background */
div.LoginTitle {
    position: fixed;
    left: 25px;
    top: 25px;
    z-index: 100;
    background-image: url(../Images/login_title_1.png);
    background-repeat: no-repeat;
    height: 79px;
    width: 219px
}

div.LoginBackgroundIcon {
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 1;
    background-image: url(../Images/login_bkg_icon_1.png);
    background-repeat: no-repeat;
    height: 396px;
    width: 359px;
    margin-top: -220px;
    margin-left: -485px;
}

/* Messages */
div.Message {
    color: rgb(242,47,47);
    position: absolute;
    top: 50%;
    left: 50%;
    background: white;
    margin-top: -400px;
    width: 300px;
    margin-left: -160px;
    text-align:center;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
}
div.Message.Info {
    color: rgb(65,196,119);
}

/* Clock */
div.loginClockDot {
    height: 12px;
    width: 12px;
    border-radius: 6px;
    background-color: rgb(74,215,132);
    position: fixed;
    box-shadow: 0px 0px 10px 0px #656565;
    margin-left: -6px;
    top: 50%;
    left: 50%;
}
div.loginClockDot.dot1 {
    margin-top: -210px;
}
div.loginClockDot.dot2 {
    margin-top: -240px;
}

div.loginClockElement {
    z-index: 3;
    height: 90px;
    width: 60px;
    background-color: white;
    box-shadow: 0px 0px 10px 0px #656565;
    position: fixed;
    margin-top: -265px;
    border-radius: 12px;
    top: 50%;
    left: 50%;
}
div.loginClockH1 {
    margin-left: -145px;
}
div.loginClockH2 {
    margin-left: -75px;
}
div.loginClockM1 {
    margin-left: 15px;
}
div.loginClockM2 {
    margin-left: 85px;
}

div.loginClockElement > div.loginClockNumberElement {
    width: 40px;
    height: 64px;
    position: relative;
    top: 50%;
    left: 50%;
    margin-top: -32px;
    margin-left: -20px;
    font-size: 70px;
    text-align: center;
    vertical-align: middle;
    line-height: 70px;
    font-family: NunitoSans-ExtraBold;
    color: rgb(37,49,61);
}

/* Date Header */
div.dateHeader {
    height: 100px;
    width: 300px;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 10;
    margin-top: -310px;
    margin-left: -150px;
    font-size: 19px;
    font-family: NunitoSans-Bold;
    color: rgb(99,244,148);
    text-align: center;
}

/* External Logins*/
div.otherSeparator {
    display: flex;
    align-content: center;
    justify-content: space-around;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}

div.otherSeparator > div.line {
    border-top: 1px solid #cecece;
    height: 1px;
    width: 100%;
    margin-top: 26px;
    margin-bottom: 26px;
}
div.otherSeparator > span {
    padding-left: 10px;
    padding-right: 10px;
    font-style: italic;
}

td.googleLoginRow {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    align-items: center;
    margin-bottom: 10px;
}

td.microsoftLoginRow {
    display: flex;
    justify-content: center;
}
#microsoftLoginButton{
    cursor: pointer;
}

/* Link Account Window */
.LinkAccountForm .loginIcon {
    background-image: url(../Images/linked_1.png);
}

#cancelLinkSSO, #cancelUnknownSSO {
    background-color: #CECECE;
    padding: 10px 15px 10px 15px;
}

/* small display adjustments */
@media only screen and (max-width: 1366px) and (max-height: 768px) {
    div.Login {
        margin-top: -80px;
    }

    div.dateHeader {
        margin-top: -230px;
    }

    div.loginClockElement {
        margin-top: -185px;
    }

    div.loginClockDot.dot1 {
        margin-top: -130px;
    }

    div.loginClockDot.dot2 {
        margin-top: -160px;
    }

    div.Message {
        margin-top: -290px;
    }
}