﻿html {
    padding: 0;
    margin: 0;
    height: 100%;
    font-size:90%;
}

body.login-page {
    padding: 60px 0 0 0;
    margin: 0;
    height: 100%;
    background: linear-gradient(0, #c0c0c0,  #f1f1f1 60%);
    color: #333;
}

body.login-page-mk2 {
    background-color: #5c5c5c;
}

    /* Pseudo-element that allows for a semitransparent background image */
    body.login-page-mk2::after {
        content: "";
        background-repeat: no-repeat;
        background-position: center top;
        background-size: cover;
        opacity: 0.5;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        position: absolute;
        z-index: -1;
    }

    /* Login background image 1 */
    body.login-page-mk2.pic1 {
        background-color: #365f82;
    }

        body.login-page-mk2.pic1::after {
            background-image: url(../images/login_bkg1.jpg);
        }

    /* Login background image 2 */
    body.login-page-mk2.pic2 {
        background-color: #5c5c5c;
    }

        body.login-page-mk2.pic2::after {
            background-image: url(../images/login_bkg2.jpg);
        }

#addUser {
    padding: 0;
    border: 0;
    margin-top: 25px;
}

input.text {
    margin-bottom: 12px;
    width: 95%;
    padding: .4em;
}

.error {
    color: red;
}

.ui-dialog .ui-state-error {
    padding: .3em;
}

.validateTips {
    border: 1px solid transparent;
    padding: 0.3em;
}

.logo h1 {
    text-align: center;
}

.panel-login {
    border-color: #ccc;
    -webkit-box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.2);
    padding: 0px 10px;
}

    .panel-login > .panel-heading {
        color: #00415d;
        background-color: #fff;
        border-color: #fff;
        text-align: center;
    }

        .panel-login > .panel-heading a {
            text-decoration: none;
            color: #666;
            font-weight: bold;
            font-size: 15px;
            -webkit-transition: all 0.1s linear;
            -moz-transition: all 0.1s linear;
            transition: all 0.1s linear;
        }

            .panel-login > .panel-heading a.active {
                color: #029f5b;
                font-size: 18px;
            }

        .panel-login > .panel-heading hr {
            margin-top: 10px;
            margin-bottom: 0;
            height: 1px;
            background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0));
            background-image: -moz-linear-gradient(left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0));
            background-image: -ms-linear-gradient(left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0));
            background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0));
        }

    .panel-login input[type="text"], .panel-login input[type="email"], .panel-login input[type="password"] {
        height: 35px;
        border: 1px solid #ddd;
        font-size: 14px;
        -webkit-transition: all 0.1s linear;
        -moz-transition: all 0.1s linear;
        transition: all 0.1s linear;
    }

    .panel-login input:hover,
    .panel-login input:focus {
        outline: none;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        border-color: #ccc;
    }

    .panel-login .login-local-link {
        margin: 12px 0;
    }

        .panel-login .login-local-link a {
            font-size: 85%;
            color: #08c;
        }

    .panel-login .card-body {
        -webkit-transition: max-height 0.75s;
        -moz-transition: max-height 0.75s;
        -ms-transition: max-height 0.75s;
        -o-transition: max-height 0.75s;
        transition: max-height 0.75s;
        background: #fff;
        margin-top: 20px;
        margin-bottom: 10px;
        overflow: hidden;
        padding: 0 15px;
        max-height: 0;
    }

        .panel-login .card-body.open {
            max-height: 300px;
        }

.tg-button {
    background-image: linear-gradient(to bottom, #337ab7 0, #265a88 100%);
    background-repeat: repeat-x;
    border-color: #245580;
    border-width: 1px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 1px rgba(0,0,0,.075);
    color: #fff;
}

    .tg-button:hover {
        background-color: #265a88;
        background-position: 0 -15px;
        border-color: #204d74;
        color: #fff;
    }

    .tg-button:active,
    .tg-button.pressed {
        background-color: #265a88;
        background-image: none;
        border-color: #245580;
        color: #fff;
    }

    .tg-button:focus {
        background-color: #265a88;
        background-position: 0 -15px;
        border-color: #122b40;
        color: #fff;
    }

#buttonDirectToSso {
    margin-top: 24px;
    outline: none;
    font-size: 20px;
    height: auto;
    padding: 9px 0;
}

#buttonSignin {
    outline: none;
    font-size: 14px;
    height: auto;
    font-weight: normal;
    padding: 10px 0;
    text-transform: uppercase;
    transition: none;
}

.forgot-password {
    text-decoration: underline;
    color: #888;
}

    .forgot-password:hover,
    .forgot-password:focus {
        text-decoration: underline;
        color: #666;
    }

    #buttonRegister.btn-register:hover,
    #buttonRegister.btn-register:focus {
        color: #fff;
        background-color: #1CA347;
        border-color: #1CA347;
    }

.loading-spinner {
    position: fixed;
    display: block;
    width: 100px;
    height: 100px;
    left: 50%;
    top: 50%;
    margin-left: -50px;
    margin-top: -50px;
}

    .loading-spinner i {
        color: #ccc;
    }

.divider {
    font-size: 18px;
    color: #999;
    font-style: italic;
}

    .divider hr {
        width: 40%;
    }

.float-right {
    float: right;
}

.float-left {
    float: left;
}

#login-center {
    position: absolute;
    width: 420px;
    /* height: 500px; */
    left: 50%;
    margin-left: -210px;
    text-align: center;
    background-image: url(../images/login_translucent_box.png);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 102% 380px;
    top: 50%;
    margin-top: -212px;
}

#login-box {
    margin: 65px 40px 50px 40px;
}

#login-logo {
    width: 288px;
}

#login-desc {
    margin: 10px 15px 30px 15px;
    color: #fff;
    font-style: italic;
    font-size: 100%;
    line-height: 150%;
}

#login-button {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 5px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
    text-decoration: none;
    cursor: pointer;
}

    #login-button:focus {
        border-color: #bcf;
        outline-width: 0;
    }

#login-new-user {
    color: #fff;
    margin-bottom: 30px;
    text-shadow: 0px 0px 15px #000;
}

#login-try-free {
    text-decoration: none;
    color: #fff;
}

.buttonized {
    display: inline-block;
    vertical-align: middle;
    border: 1px solid #fff;
    border-radius: 5px;
    padding: 4px 8px;
    margin: 0 8px;
}

#login-try-free:focus,
#login-try-free:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.15);
}

.buttonized:focus,
.buttonized:hover {
    border-color: #bcf;
    border-width: 2px;
    padding: 3px 7px;
}

.no-select {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Mobile Devices in Landscape Mode */
/* ------------------------------------- */
@media (max-height: 414px) {

    #login-box {
        margin-top: 60px;
        margin-bottom: 20px;
    }

    #login-center {
        background-size: 100% 300px;
        background-position: center top;
        top: auto;
        margin-top: -10px;
    }

    #login-desc {
        display: none;
    }

    #login-button {
        margin-top: 25px;
        margin-bottom: 40px;
    }
}

#loginErrorModal .modal-dialog {
    color: #434e65;
    width: 525px;
    max-width: 90%;
}

#loginErrorModal .icon-box {
    color: #fff;
    width: 95px;
    height: 95px;
    display: inline-block;
    border-radius: 50%;
    z-index: 9;
    border: 5px solid #fff;
    font-size:47.5px;
    text-align: center;
    margin-left: calc(50% - 47.5px);
}

#loginErrorModal .modal-header {
    background: #e85e6c;
    border-bottom: none;
    position: relative;
    margin: -20px -20px 0px -20px;
    text-align: center;
    border-radius: 4px 4px 0 0;
    padding: 35px;
}

#loginErrorModal .modal-content {
    padding: 20px;
    font-size: 16px;
    border-radius: 4px;
    border: none;
}

#loginErrorModal .btn-danger {
    padding: 6px 20px;
}

#loginErrorModal .close {
    position: absolute;
    right: 10px;
    top: 5px;
    color: white;
}

/* Really Small Mobile Devices in Landscape Mode */
/* --------------------------------------------- */
@media (max-height: 320px) {
    #login-box {
        margin-bottom: 15px;
    }

    #login-center {
        background-size: 100% 260px;
    }

    #login-logo {
        width: 240px;
    }
}