body{background: #eee url(/new/assets/images/fabric_plaid.png);}
html,body{
    position: relative;
    height: 100%;
}

body {
    padding-top: 80px;
}

@media(max-width: 999px) {
    body {
        padding-top: 76px;
    }
}

.container {
    height: 100% !important;
    position: relative;
}

@media (max-height: 613px) {
    .login-wrapper {
        padding: 0 10px;
        top: 15px !important;
        transform: translate(-50%, 0) !important;
    }
}

@media (max-width: 400px) {
    .login-wrapper {
        width: 96%;
    }

}

.login-wrapper {
    position: absolute;
    left: 50%;
    margin-right: -50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.login-container {
    width: 100%;
    max-width: 363px;
    padding: 40px 40px 40px;
    text-align: center;
    background: #fff;
    border: 1px solid #ccc;
    position: relative;
}

#output{
    position: absolute;
    width: 300px;
    top: -75px;
    left: 0;
    color: #fff;
}

#output.alert-success{
    background: rgb(25, 204, 25);
}

#output.alert-danger{
    background: rgb(228, 105, 105);
}


.login-container::before,.login-container::after{
    content: "";
    position: absolute;
    width: 100%;height: 100%;
    top: 3.5px;left: 0;
    background: #fff;
    z-index: -1;
    -webkit-transform: rotateZ(4deg);
    -moz-transform: rotateZ(4deg);
    -ms-transform: rotateZ(4deg);
    border: 1px solid #ccc;
}

.login-container::after{
    top: 5px;
    z-index: -2;
    -webkit-transform: rotateZ(-2deg);
    -moz-transform: rotateZ(-2deg);
    -ms-transform: rotateZ(-2deg);

}

.avatar img{
    margin: 10px auto 25px;
}

.form-box input{
    width: 100%;
    padding: 10px;
    text-align: center;
    height:40px;
    border: 1px solid #ccc;;
    background: #fafafa;
    transition:0.2s ease-in-out;

}

.form-box input:focus{
    outline: 0;
    background: #eee;
}

.form-box input[type="text"]{
    border-radius: 5px 5px 0 0;
}

.form-box input[type="password"]{
    border-radius: 0 0 5px 5px;
}

.form-box button.login{
    margin-top: 30px;
    padding: 10px 20px;
}

.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes fadeInUp {
    0% {
        opacity: 0;
        -webkit-transform: translateY(20px);
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        -webkit-transform: translateY(20px);
        -ms-transform: translateY(20px);
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }
}

.fadeInUp {
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
}

button.green {
    background: #4FAEE2;
    border: none;
    outline: none;
}

button.green:hover,
button.green:active,
button.green:focus {
    background: #498cbc;
    border: none;
    outline: none;
}
#pass_forgot {
    text-align: right;
}

#pass_forgot a {
    margin-top: -15px;
    color: #4FAEE2;
}

#pass_forgot a:hover {
    color: #498cbc;
    text-decoration: none;
}

.input-group-addon {
    min-width: 40px;
}

#forgot_passwd_form .validation_error {
    display: none;
    color: #F00;
    margin-bottom: 15px;
    margin-top: 5px;
}


.message_box {
    font-size: 15px;
    color: #49D166;
    display: none;
}

.failed_login {
    color: rgba(240, 61, 22, 1);
    font-size: 15px;
    margin-top: 12px;
}

.avatar img {
    margin-bottom: 10px;
}

input {
    font: inherit !important;
    transition: all ease 0.3s;
}

input:focus {
    border-color: #4FAEE2 !important;
    box-shadow: 0 0 5px #4FAEE2 !important;
}