body {
    padding-top: 80px;
    padding-bottom: 40px;
}
@media (min-width: 500px) {
    .modal-dialog {
        width: 400px;
        margin: 30px auto;
    }
}
@media (min-width: 800px) {
    body {
        background-size: contain;
    }
}

.form-signin .form-signin-heading,
.form-signin .checkbox {
    margin-bottom: 10px;
}
.form-signin .checkbox {
    font-weight: normal;
}
.form-signin .form-control {
    position: relative;
    height: auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px;
    font-size: 16px;
}
.form-signin .form-control:focus {
    z-index: 2;
}
.form-signin input[type="user"] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}





.signin_page .brand {
    z-index: 99;
    height: 150px;
    top: -300px;
    position: absolute;
    margin:0 auto;
    left: 0; right: 0;
}
.signin_page .brandtips {
    vertical-align: top;
    color: #ddd;
    top: 300px;
    position: absolute; 
    margin:0 auto;
    left: 0; right: 0;
}
.footer {
    color: #222;
    background: rgba(240,240,240,0.2);
}
img.bg {
    /* Set rules to fill background */
    min-height: 100%;
    min-width: 1024px;

    /* Set up proportionate scaling */
    width: 100%;
    height: auto;

    /* Set up positioning */
    position: fixed;
    top: 0;
    left: 0;
}

@media screen and (max-width: 1024px) { /* Specific to this particular image */
    img.bg {
        left: 50%;
        margin-left: -512px;   /* 50% */
    }
}

.signin_page .backhome_button,
.signin_page .backhome_button a{
    color: #ccc;
}
.signin_page .backhome_button a:hover{
    color: #fff;
}
