/*
Styles for the login form.
*/

div#login-main {
    min-width: 1000px;
}

div#login-form {
    float: left;
    clear: both;
    width: 227px;
}

div#user-login {
    width: 270px;
    /*margin: 10px auto 10px auto;*/
    padding-left: 40px;
    height: 255px;
    padding-top: 20px;
}

div#error-message {
    height: 10px;
    color: red;
    font-size: 10pt;
    padding-top: 5px;
}

.invisible {
    display: none
}

.visible {
    display: block;
}

div#login-right {
    height: 275px;
    width: auto;
}

.stretch {
    width: 100%;
    height: 100%;
}

div#user-login div#username-div > label:first-child,
div#user-login div#password-div > label:first-child,
div#user-login div > input[type=checkbox] + label {
    display: block;
    margin-top: 5px;
    margin-bottom: 5px;
    color: white;
    font-size: 8pt;
}

div#user-login label#remember {
    display: inline;
}

#user-login .link {
    color: white;
}

/*div#user-login div {
    margin: 10px auto 10px auto;
}*/

div#username-div {
    margin-top: 5px;
}

div#password-div {
    margin-top: 15px;
}

div#remember-div {
    margin-top: 10px;
}

div#login-button-div {
    margin-top: 15px;
}

div#register-button-div {
    margin-top: 10px;
}

div#user-login input[type=text], div#user-login input[type=password] {
    width: 200px;
    height: 18px;
    background-color: #414141;
    color: white;
}

.black-border {
    border: 1px solid black;
}

div#user-login p {
    color: white;
    font-size: 12pt;
    font-weight: bold;
}

div#user-login input[type=submit],
div#user-login input[type=button] {
    width: 72px;
}

.user-login {
    background-color: #7f7f7f;
}

/* Styles for the error classes of jquery validation */

#username-error,
#password-error {
    font-size: 8pt;
    color: red;

    clear: both;
    display: block;
}

input.error {
    border: 1px dotted red;
}

input#login-button + a,
input#register-button + span {
    font-size: 8pt;
}

@media screen and (max-width: 912px) {
    body div#main, body div#main-content {
        height: 100%;
    }

    #login-right img {
        display: none;
    }

    div#user-login {
        width: 79%;
        /*margin: 10px auto 10px auto;*/
        padding-left: 0;
        height: 255px;
        padding-top: 20px;
        margin-right: 10%;
        margin-right: 10vw;
        margin-left: 10%;
        margin-left: 10vw;
    }

    div#login-main {
        min-width: 0;
    }

    div#user-login p {
        font-size: 10pt;
        width: 100%;
    }

    div#user-login input[type=text], div#user-login input[type=password] {
        width: 100%;
        font-size: 10pt;
    }

    div#user-login input[type=submit],
    div#user-login input[type=button] {
        width: 78%;
        width: 78vw;
    }

    input#login-button + a,
    input#register-button + span {
        font-size: 6.5pt;
        float: right;
        margin-top: 10px;
        margin-bottom: 22px;
    }

    div#user-login div#username-div > label:first-child,
    div#user-login div#password-div > label:first-child,
    div#user-login div > input[type=checkbox] + label {
        display: block;
        margin-top: 5px;
        margin-bottom: 5px;
        font-size: 8pt;
    }

}


