﻿.login-highlight {
    height: 20px;
    background-color: #214386;
}

#login-logo {
    height: 130px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    margin-bottom: 40px;
}

.login-container {
    padding: 0 25px;
    margin-top: 30px;
    padding-bottom: 20px;
}

@media (min-width: 500px) {
    body.login {
        background-color: #fefefe;
    }

    #login-logo {
        margin-bottom: 50px;
    }

    .login-container {
        background-color: white;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        margin-top: 10px; /* = .login-hightlight height / 2 */
        max-width: 450px;
        width: 93%;
        padding: 25px 50px 45px;
        border-radius: 12px;
        box-shadow: 0 1px 40px 3px rgba(0, 0, 0, 0.08);
    }
}

.login-title {
    font-size: 32px;
    font-weight: 300;
    padding-bottom: 15px;
}

h1.login-title {
    margin: 0;
    line-height: 1.2;
    font-size: 26px;
}

@media (min-width: 500px) {
    h1.login-title {
        margin-top: -10px;
        font-size: 28px;
    }
}

.explanation {
    margin-bottom: 30px;
}

.login-label label {
    padding-right: 12px;
    font-weight: normal;
}

.login-label-icon {
    color: #555;
    margin-top: -3px;
    margin-right: 3px;
}

/*
 * Table / form
 */

.login-container table {
    width: 100%;
}

.login-container input {
    display: inline-block;
    margin-bottom: 10px;
}

.login-container input + span {
    position: absolute;
}

.login-container td {
    text-align: left;
}

/*
 * Buttons
 */

.login-button {
    margin-top: 10px;
    padding: 5px 32px 5px 38px;
    text-indent: 12px;
}

.submit-button {
    margin-right: 0;
    float: right;
}

.submit-button:before {
    background-position: -72px -816px;
}

.login-button-icon {
    background-position: -72px -816px;
    background-repeat: no-repeat;
    width: 24px;
    height: 24px;
    position: absolute;
    right: 88px;
    top: 15px;
    pointer-events: none;
}

/*
 * Validation
 */

#ContentPlaceHolder1_Login1_PasswordRequired {
    display: inline-block;
}
