html, body {
    height: 100%;
}
.content {
    height: 100%;
    background: url("../images/bg_image.png") no-repeat left bottom;
}

#main {
    position: relative;
    left: 50%;
    top: 50%;
}

#login_body {
    width: 350px;
    height: 250px;
    margin: -130px 0 0 -180px;
    border: 1px solid #e0e0e0;
    background: #f4f4f4;
    padding: 10px;
}

#support_body {
    float: bottom;
    width: 350px;
    height: 100px;
    margin: 80px 0 0 -180px;
    padding: 10px;
    font-size: 14px;
    color: #5e5e5e;
}

#support_body p.header {
    font-size: 18px;
    color: #5e5e5e;
}
.login_form {
    background: #FFF;
    padding: 20px;
    height: 210px;
}

.text_field label {
    color: #5e5e5e;
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
    text-align: left;
}

.text_field input {
    color: #333333;
    font-size: 14px;
    height: 30px;
    border: 1px solid #cccccc;
    padding-left: 5px;
    width: 100%;
}
.login_from, .login_from * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.text_field {
    padding: 5px 0;
}
.link_auth, .resetpassword {
    float: left;
    margin-top: 25px;
    padding: 7px 0;
    font-family: "Segoe UI", tahoma, arial, verdana, sans-serif;
    font-weight: normal;
}
.link_auth a, .resetpassword a {
    color: #a2a2a2;
    text-decoration: none;
}
.link_auth a:hover, .resetpassword a:hover {
    color: #8a8a8a;
    text-decoration: none;
}
#formsubmit {
    margin-top: 25px;
    float: right;
}

#formsubmit input {
    background-color: #1979ca;
    border-width: 1px;
    border-style: solid;
    border-color: #1874c1;
    background-image: none;
    color: white;
    font-size: 12px;
    font-family: "Segoe UI", tahoma, arial, verdana, sans-serif;
    font-weight: normal;
    text-shadow: none;
    padding: 5px 10px;
    cursor: pointer;
}

#formsubmit input:hover {
    background-color: #1c87e1;
    border-color: #1b81d8;
    background-image: none;
}

#formsubmit input:active {
    background-color: #1566aa;
    border-color: #1461a1;
}
.login_form .block-title {
    font-size: 15px;
    text-align: center;
    color: #5e5e5e;
    margin-bottom: 15px;
}

.esia-login {
    padding: 27px 35px;
    border-top: 1px solid #0b85c8;
    background: #cee7f4;
    margin: 80px -31px 0 -31px;
    border-radius: 0 0 8px 8px;
}

.esia-login.esia-only {
    margin-top: 60px;
    border-top: 0;
    border-radius: 8px;
}

.esia-login a {
    -moz-border-bottom-colors: none;
    -moz-border-image: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-radius: 4px 4px 4px 4px;
    border: 0;
    cursor: pointer;
    font-size: 13px;
    line-height: 18px;
    margin-bottom: 0;
    padding: 9px 10px 7px;
    text-align: center;
    vertical-align: middle;
    color:#fff;
    display: block;
    text-transform: uppercase;
    background-color: #0c86c9;
    background-image: -ms-linear-gradient(top, #31ace3, #0c86c9);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#31ace3), to(#0c86c9));
    background-image: -webkit-linear-gradient(top, #31ace3, #0c86c9);
    background-image: -o-linear-gradient(top, #31ace3, #0c86c9);
    background-image: -moz-linear-gradient(top, #31ace3, #0c86c9);
    background-image: linear-gradient(top, #31ace3, #0c86c9);
    background-repeat: repeat-x;
    filter: progid:dximagetransform.microsoft.gradient(enabled=false);
    text-decoration: none;
    transition: all 0.2s;
}
.esia-login a:hover {
    background: #31ace3;
}
