/* Override some defaults */
html, body {
    /*background-color: #979797;*/
    background: url('../images/login_bg.jpg');
    background-repeat: no-repeat;
    /*background-size: cover;*/
    background-position: center 35%;
}

body {
    padding-top: 40px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    background-color: #979797 !important;
}

.container {
    width: 100%;
    max-width: 300px;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: auto;
    bottom: auto;
    margin: auto;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
}

/* The white background content wrapper */
.container > .content {
    margin: 0 !important;
    /*min-height: 0 !important;*/
    background-color: rgba(0, 0, 0, 0.2);
    height: 62vh;
    padding: 50px 0 30px;
    /* margin: 0 -20px; */
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
}

.login-form {
    /*margin-left: 65px;*/
    color: white;
}

.login-form > img {
    margin-bottom: 10px !important;
    max-width: 150px !important;
    min-width: auto !important;
}

.login-form a {
    color: white;
}

.login-form .alert {
    margin: 5px auto !important;
    display: block;
}

legend {
    /*margin-right: -50px;*/
    /*font-weight: bold;*/
    /*color: #404040;*/
}

.add-on {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

input {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

form {
    margin: 0;
}

.app-list .list-group-item {
    margin-bottom: 1px;
}

.app-list .list-group-item > a {
    display:inline-block;
    width:100%;
}

/* Responsive */

@media only screen and (min-width: 1200px) {
    .container {
        max-width: 24vw;
    }
}

@media screen and (min-width: 767px) and (max-width: 1024px) {
    html, body {
        background-size: cover;
        background-position: center;
    }
}

@media screen and (width: 812px) {
    .container > .content {
        padding: 10px 0;
        height: auto;
    }

    .login-form > img {
        max-width: 120px !important;
    }
}

@media screen and (min-width: 767px) {
    input.span2, textarea.span2, .uneditable-input.span2 {
        width: 170px;
    }
}

@media screen and (max-width: 767px) {
    html, body {
        background-size: cover;
        background-position: center;
    }

    .container > .content {
        padding: 30px 0;
        height: auto;
    }

    .login-form > img {
        max-width: 90px !important;
    }
}

@media screen and (min-width: 415px) and (max-width: 767px) {
    .container > .content {
        padding: 10px 0;
    }
}

@media screen and (min-width: 375px) and (max-width: 414px) {
    .login-form > img {
        max-width: 150px !important;
    }
}