﻿html,
body {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    color: #333333;
    background: url(../images/login/login-bg.jpg) no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
}

body,
button,
input,
select,
textarea {
    font: 12px/1.5 Arial, "\u5b8b\u4f53", sans-serif;
}

a {
    color: #333333;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.w {
    width: 1000px;
    margin: 0 auto;
}

.login-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.main {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    /*height: 100%;*/
}

.footer {
    flex-shrink: 0;
    padding: 15px 0;
}

.login-container {
    display: inline-flex;
    width: 860px;
    background-color: rgba(2, 68, 100, 0.5);
}

.logo {
    flex: 1;
    background: url(../images/login/logo.png) no-repeat center center;
    background-size: 480px 300px;
}

.login-form {
    flex-shrink: 0;
    width: 350px;
    padding-bottom: 15px;
    background-color: #ffffff;
}

.form-container {
    width: 300px;
    margin: 10px auto auto;
}

h1 {
    margin: 0;
    padding: 0;
    color: #5d5d5d;
    font-weight: normal;
    font-size: 20px;
    font-family: "\5fae\8f6f\96c5\9ed1";
}

.error {
    display: none;
    height: 22px;
    margin-top: 10px;
    color: #db3235;
    line-height: 22px;
    background: #fdd5d5;
    border: 1px solid #da3533;
}

.icon-error {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin: 3px 5px 0 5px;
    background: url(../images/login/login-bg.png) no-repeat -666px -40px;
}

.error-msg {
    position: relative;
    top: -3px;
}

form {
    margin-top: 10px;
}

.control-group {
    padding: 10px 0;
}

.u,
.p {
    float: left;
    width: 38px;
    height: 38px;
    border: 1px solid #9f9f9f;
    border-right: 0;
}

.u {
    background: #e4e4e4 url(../images/login/login-bg.png) no-repeat -584px -29px;
}

.p {
    background: #e4e4e4 url(../images/login/login-bg.png) no-repeat -613px -29px;
}

.username,
.password,
.verifycode {
    width: 249px;
    height: 38px;
    padding: 0 5px;
    font-size: 14px;
    border: 1px solid #9f9f9f;
    outline: none;
}

.verifycode {
    width: 80px;
}

.image-verifycode {
    position: relative;
    top: -1px;
    width: 80px;
    height: 40px;
    margin: 0 5px;
    vertical-align: middle;
    border: 0 none;
    cursor: pointer;
}

.link-verifycode {
    color: #006efc;
}

.remember {
    position: relative;
    top: 3px;
}

.findpassword {
    float: right;
    margin-top: 3px;
    color: #333333;
}

.submit {
    width: 100%;
    height: 50px;
    color: #ffffff;
    font-size: 20px;
    font-family: "\5fae\8f6f\96c5\9ed1";
    background: url(../images/login/btn-login.png) repeat-x;
    border: 0 none;
    outline: none;
    cursor: pointer;
}

.submit:hover {
    background: url(../images/login/btn-login-hover.png) repeat-x;
}

.links {
    text-align: center;
}

.links a {
    padding: 10px 45px;
}

.tabs {
    background-color: #edc096;
}

.tab {
    width: 114px;
    height: 36px;
    color: #333333;
    font-size: 16px;
    font-family: "\5fae\8f6f\96c5\9ed1";
    line-height: 36px;
    text-align: center;
    background-color: #e6e6e6;
    cursor: pointer;
}

.tab.active {
    width: 100%;
    height: 32px;
    color: #4c62e9;
    line-height: 32px;
    text-align: left;
    text-indent: 26px;
    background-color: #ffffff;
    border-top: 4px solid #4c62e9;
}

.tab.l,
.tab.m {
    float: left;
}

.tab.m {
    margin-left: 4px;
}

.tab.r {
    float: right;
}

.browser {
    margin-top: 10px;
}

.txt-center {
    text-align: center;
}

.chrome {
    position: relative;
    top: 5px;
    display: inline-block;
    width: 18px;
    height: 18px;
    background: url(../images/login/login-bg.png) no-repeat -700px -40px;
    /*margin: 3px 5px 0 5px;*/
}

/* clear fix */
.clearfix:before,
.clearfix:after {
    display: block;
    height: 0;
    visibility: hidden;
    content: "\0020";
}

.clearfix {
    zoom: 1; /*IE<8*/
}

.clearfix:after {
    clear: both;
}

* html .clearfix {
    zoom: 1; /* IE6 */
}

*:first-child + html .clearfix {
    zoom: 1; /* IE7 */
}