body, html
{
    font-size: 100%;
    padding: 0;
    margin: 0;
}

/* Reset */
*, *:after, *:before
{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before, .clearfix:after
{
    content: " ";
    display: table;
}

.clearfix:after
{
    clear: both;
}

body
{
    background: #f0f3f6;
    color: #fff;
    font-weight: 500;
    font-size: 1.05em;
    font-family: "Microsoft YaHei" , "Segoe UI" , "Lucida Grande" , Helvetica, Arial,sans-serif;
}
a
{
    color: rgba(255, 255, 255, 0.6);
    outline: none;
    text-decoration: none;
    -webkit-transition: 0.2s;
    transition: 0.2s;
}
a:hover, a:focus
{
    color: #74777b;
    text-decoration: none;
}

.login_bg {
    background-image: url('../images/login_bg.jpg'); 
    background-repeat: no-repeat;
    background-position: left top;
    background-size: contain;
}

.login_title
{
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    margin-top: 200px;
    text-align: left;
}
.login_titleen
{
    font-size: 14px;
}
.form-horizontal
{
    background: #fff;
    padding-bottom: 40px;
    box-shadow: 0 0 3px #ccc;
    text-align: center;
    margin-top: 100px;
    border-bottom: 2px solid #7a96c6;
}
.form-horizontal .heading
{
    display: block;
    font-size: 35px;
    font-weight: 700;
    padding: 35px 0;
    margin-bottom: 30px;
}

.login_logo {
    display: inline-block;
    width: 242px;
    height: 57px;
    
    background-image: url('../images/login_logo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
}
.form-horizontal .form-group
{
    padding: 0 40px;
    margin: 0 0 25px 0;
    position: relative;
}
.form-horizontal .form-control
{
    background: #fff;
    border: 1px solid #e0e4e9;
    border-radius: 20px;
    box-shadow: none;
    padding: 0 20px 0 45px;
    height: 40px;
    transition: all 0.3s ease 0s;
}
.form-horizontal .form-control:focus
{
    background: #e0e0e0;
    box-shadow: none;
    outline: 0 none;
}
.form-horizontal .fa-user:focus
{
    background: #e0e0e0 url(../images/login_user.png) no-repeat;
    box-shadow: none;
    outline: 0 none;
}
.form-horizontal .fa-lock:focus
{
    background: #e0e0e0 url(../images/login_pass.png) no-repeat;
    box-shadow: none;
    outline: 0 none;
}

.form-horizontal .fa-user
{
    background: url(../images/login_user.png) no-repeat;
}
.form-horizontal .fa-lock
{
    background: url(../images/login_pass.png) no-repeat;
}
.form-horizontal .fa-question-circle
{
    display: inline-block;
    position: absolute;
    top: 12px;
    right: 60px;
    font-size: 20px;
    color: #808080;
    transition: all 0.5s ease 0s;
}

.form-horizontal .fa-question-circle:hover
{
    color: #000;
}
.form-horizontal .main-checkbox
{
    float: left;
    width: 20px;
    height: 20px;
    background: #11a3fc;
    border-radius: 50%;
    position: relative;
    margin: 5px 0 0 5px;
    border: 1px solid #11a3fc;
}
.form-horizontal .main-checkbox label
{
    width: 20px;
    height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
}
.form-horizontal .main-checkbox label:after
{
    content: "";
    width: 10px;
    height: 5px;
    position: absolute;
    top: 5px;
    left: 4px;
    border: 3px solid #fff;
    border-top: none;
    border-right: none;
    background: transparent;
    opacity: 0;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.form-horizontal .main-checkbox input[type=checkbox]
{
    visibility: hidden;
}
.form-horizontal .main-checkbox input[type=checkbox]:checked + label:after
{
    opacity: 1;
}
.form-horizontal .text
{
    float: left;
    margin-left: 7px;
    line-height: 20px;
    padding-top: 5px;
    text-transform: capitalize;
}
.form-horizontal .btn
{
    float: none;
    font-size: 14px;
    color: #fff;
    background: #6b8bc0;
    border-radius: 30px;
    padding: 10px 40px;
    border: none;
    text-transform: capitalize;
    transition: all 0.5s ease 0s;
}

.login_message {
    color: red;
}

@media only screen and (max-width: 900px)
{
    .login_title
    {
        font-size: 30px;
        font-weight: bold;
        text-align: center;
        margin-top: 50px;
    }
    .form-horizontal
    {
        margin-top: 30px;
    }
}
@media only screen and (max-width: 479px)
{
    .form-horizontal .form-group
    {
        padding: 0 25px;
    }
    .form-horizontal .form-group i
    {
        left: 45px;
    }
    .form-horizontal .btn
    {
        padding: 10px 20px;
    }
    .login_title
    {
        font-size: 30px;
        font-weight: bold;
        text-align: center;
        margin-top: 50px;
    }
    .form-horizontal
    {
        margin-top: 30px;
    }
}

.error_message {
    margin-top: 100px !important;
    padding: 10px !important;
    width: 400px !important;
    color: red !important;
    font-size: 14px !important;

    background-color: white !important;
    border-radius: 5px !important;
    box-shadow: 4px 4px 6px gray !important;
}

