body {
    font-family: Tahoma, Verdana, Segoe, sans-serif;
    font-size: 12px;
}

#loginForm {
    margin-bottom: 1em;
}

input {
    padding: 2px 7px 2px 7px;
}

.LoginTbl {
    background-image: url(../images/SignInBg.png?121304);
    background-size: 450px;
    background-repeat: no-repeat;
    font-family: Tahoma, Verdana, Segoe, sans-serif;
    font-size: 12px;
    margin: 0px auto;
    justify-content: center;
    align-items: center;
}

.Loginpage {
    width: 450px;
    height: 300px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.Captcha-container > * {
    margin-bottom: 7px;
}

.SecurityCode-container {
    background-size: 520px;
}

.input-holder {
    display: flex;
    flex-direction: row;
    margin-bottom: 10px;
    align-items: center;
}

.label {
    width: 125px;
    display: flex;
    justify-content: flex-end
}

.LoginBtn {
    width: 110px;
    height: 24px;
    background-color: #003366;
    border: 1px solid #0066CC;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 12px;
    font-family: Tahoma, Verdana, Segoe, sans-serif;
}

.LoginTxt {
    width: 130px;
    height: 22px;
    background-color: #FFFFFF;
    border: 1px solid #0066CC;
    font: 12px arial;
}

.ErrorMsg {
    font-family: Tahoma, Verdana, Segoe, sans-serif;
    font-weight: 700;
    color: #FF3300;
}

.otp-options-bg {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background-color: rgba(255,255,255,0.85);
    padding: 5px;
    padding-left: 15px;
}

.otp-input {
    border: 0px;
    height: 20px;
    padding: 0px;
    margin: 0px;
    margin-top: 2px;
}

.otp-inputdiv {
    background-color: #fff;
    width: 290px;
    margin: 0 auto;
    display: inline-block;
}

.contact-info {
    width: 460px;
    margin: 0 auto;
    text-align: center;
}

.disableBtn {
    width: 110px;
    height: 24px;
    background-color: #c6ccd2;
    border: 1px solid #c5c5c5;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    font-family: Tahoma, Verdana, Segoe, sans-serif;
}


.SignInContainer {
    position: relative;
    width: 520px;
    margin: auto;
}

.SignInSealLink {
    position: absolute;
    left: 50%;
    top: 227px;
    font: 12px Tahoma, Verdana, Segoe, sans-serif;
    margin-left: -188px;
    width: 225px;
    color: #6e1f1f;
}

    .SignInSealLink a {
        color: #0d4572;
    }

.SignInSeal {
    width: 123px;
    height: 116px;
    background: #17388f;
    color: #fff;
    font: 700 17px Tahoma, Verdana, Segoe, sans-serif;
    text-align: center;
    position: absolute;
    left: 50%;
    top: 100px;
    top: 108px;
    margin-left: -188px;
    cursor: pointer;
}

    .SignInSeal td {
        border: 2px solid #fff;
    }

.SignInSealInstr {
    position: absolute;
    top: 128px;
    font: 700 12px Tahoma, Verdana, Segoe, sans-serif;
    color: #6e1f1f;
    width: 225px;
}

    .SignInSealInstr a {
        font: 12px Tahoma, Verdana, Segoe, sans-serif;
        color: #0d4572;
    }

.SignInSealSetup {
    background-image: url(../images/SetupBg.png?130807);
    margin-top: 60px;
}

    .SignInSealSetup thead th {
        text-align: left;
        padding: 0px 0px 0px 50px;
        height: 50px;
        font: 700 15px Tahoma, Verdana, Segoe, sans-serif;
        color: #003366;
    }

        .SignInSealSetup thead th span {
            float: left;
        }

    .SignInSealSetup tbody th {
        text-align: right;
        width: 120px;
        height: 50px;
        font: 12px Tahoma, Verdana, Segoe, sans-serif;
        padding-right: 4px;
    }

    .SignInSealSetup .TAC {
        border: 1px solid #abadb3;
        width: 95px;
        height: 22px;
    }

.SignInSealClose {
    width: 23px;
    height: 23px;
    float: right;
    margin: -7px 19px 0 0;
    cursor: pointer;
}

.SignInSealSetup tfoot input {
    float: none;
    margin-top: 30px;
}

.SignInSealSetup table {
    background: none;
    text-align: center;
    border-collapse: collapse;
}

    .SignInSealSetup table td {
        border-right: 6px solid #fff;
    }

    .SignInSealSetup table thead td {
        width: 31px;
        height: 31px;
        cursor: pointer;
    }

.SignInSealSetup .LoginSealBtn {
    background-color: #176794;
    border: 1px solid #70aff9;
}

.SignInSealPolicy {
    color: #003366;
    padding: 27px 12px 20px 47px;
    line-height: 14px;
}

.TAC {
    text-align: center;
}

.Type1 {
    background-color: #233b7a;
}

.Type2 {
    background-color: #b21629;
}

.Type3 {
    background-color: #ffa500;
}

.Type4 {
    background-color: #666600;
}

.Type5 {
    background-color: #3e2416;
}

.Type6 {
    background-color: #5b115f;
}

.Type7 {
    background-color: #e985b7;
}

.Type8 {
    background-color: #6b6b6b;
}

.Type9 {
    background-color: #000000;
}

.Type10 {
    background-color: #076e81;
}

.TypeHotspot {
    display: block;
    width: 31px;
    height: 31px;
    cursor: pointer;
}

.login-patterntoggle {
    display: flex;
    flex-direction: row;
}

/*Pattern Login*/
.icon-patternlogin {
    border: 1px solid #0066CC;
    background: #91cdfd url(../images/icon-pattern-login.png) no-repeat;
    background-size: contain;
    width: 24px;
    height: 24px;
    border-left: none;
    cursor: pointer;
    position: relative;
}

    .icon-patternlogin .icon-patternlogin-hover-text {
        visibility: hidden;
        width: 120px;
        background-color: rgba(0, 0, 0, 0.3);
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 5px;
        position: absolute;
        top: -35px;
        right: -40px;
    }

    .icon-patternlogin:hover .icon-patternlogin-hover-text {
        visibility: visible;
    }

/* The Modal (background) */
.modal {
    display: block; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.hidden {
    display: none;
}

/* Modal Content/Box */
.modal-container {
    width: 450px;
    margin: 15px auto auto auto;
    height: 600px;
}

.redirect {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #fff;
    background: #1d548b url(../images/bg-pattern-login.png) 15% 60%;
}

    .redirect > * {
        margin-bottom: 30px;
    }

.login-name-txt {
    left: 3%;
    color: #A9EAFF;
    top: 25%;
    position: absolute;
}

    .login-name-txt span {
        color: #fff;
        font-weight: 700;
    }

.modal-content {
    background: #1d548b url(../images/bg-pattern-login.png) 15% 60%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 16px;
    position: relative;
    height: 600px;
}


/* The Close Button */
.close {
    color: #A9EAFF;
    position: absolute;
    font-size: 24px;
    font-weight: bold;
    right: 2%;
    top: 15%;
    z-index: 100;
}

    .close:hover,
    .close:focus {
        color: #fff;
        text-decoration: none;
        cursor: pointer;
    }

.lock-icon-container {
    opacity: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url(../images/icon-tick.png) no-repeat;
    background-size: contain;
}

    .lock-icon-container > * {
        padding: 0 0 5px 5px;
    }

.redirect-tick {
    width: 100px;
    height: 100px;
}

.loading span {
    width: 10px;
    height: 10px;
    margin: 0 1px;
    background-color: #fff;
    border-radius: 50%;
    display: inline-block;
    animation-name: jumpingDots;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

    .loading span:nth-child(2) {
        animation-delay: 0.3s;
    }

    .loading span:nth-child(3) {
        animation-delay: 0.6s;
    }

@keyframes jumpingDots {
    20% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }
}

.pattern-login-name {
    position: absolute;
    left: 0;
    top: 0;
    background: #102F4F;
    display: table;
    width: 100%;
    height: 8%;
}

.pattern-username {
    font-size: 18px;
}

.pattern-login-count {
    font-weight: 600;
    color: #fff;
    text-align: center;
    margin-top: 15%;
}

.patternlock {
    width: 400px;
    padding: 10px;
}

@media screen and (max-width: 450px) {
    body {
        margin: 0;
    }

    .Loginpage {
        background-size: 100vw auto;
        font-family: Tahoma, Verdana, Segoe, sans-serif;
        width: 100vw;
        height: calc(180px + 10vh);
        margin: 0;
        justify-content: flex-start;
    }

    .Captcha-container {
        margin-top: calc(10vh - 15px);
    }

    .form-container {
        transform: scale(0.8);
        margin-top: calc(10vh - 30px);
    }

    .modal {
        background-color: #1d548b;
        overflow: hidden;
    }

    .modal-container {
        padding: 0;
        margin: 0;
        opacity: 1;
        border-radius: 0;
        width: 100vw;
        height: 100vh;
        overflow: hidden;
    }

    .close {
        right: 3%;
        top: 15%;
        margin: 0;
    }

    .modal-content .close {
        margin: 0;
    }

    .lock-icon-container {
        margin-top: 50px;
    }

    .patternlock {
        width: 350px;
        margin-top: 10px;
    }

    .pattern-login-count {
        margin: 0;
        margin-top: 15px;
        font-size: 16px;
        width: 90%;
    }

    .pattern-login-name {
        font-size: 14px;
    }

    .pattern-username {
        font-size: 14px;
    }
}

@media screen and (max-width: 320px) {
    .Captcha-container {
        transform: scale(0.8);
    }

    modal-content > * {
        transform: scale(0.9)
    }

    .patternlock {
        width: 300px;
        margin-top: 0;
    }

    .pattern-login-name {
        font-size: 16px;
    }
}
