/*CSS样式重写*/
body,p,h1,h2,h3,h4,h5,h6,ul,li,dl,dt,dd,pre{
    margin:0;
    padding:0;
    border:none;
    list-style:none;
    box-sizing: border-box;
}
body{
    font-family: "microsoft yahei","Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
}
a{
    color: #333;
    text-decoration:none;
}
a:hover{
    color: #00ACFF;
    text-decoration:none;
}
input,button{
    outline:0;
}
img{
    vertical-align: middle;
    border: 0;
    transition: .3s;
}
button{
    cursor: pointer;
}
button:hover{
    opacity: .85;
}

/* WebKit browsers*/
input::-webkit-input-placeholder{
    color:#BABABA;
    font-size: 16px;
}
/* Mozilla Firefox 4 to 18*/
input:-moz-placeholder{
    color:#BABABA;
    font-size: 16px;
}
/* Mozilla Firefox 19+*/
input::-moz-placeholder{
    color:#BABABA;
    font-size: 16px;
}
/* Internet Explorer 10+*/
input:-ms-input-placeholder{
    color:#BABABA;
    font-size: 16px;
}

.login-bg{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url(../images/login/login-bg.jpg) no-repeat center center;
    background-size: cover;
}
.login{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 480px;
    height: 530px;
    margin-top: -265px;
    margin-left: -240px;
    padding: 40px 60px;
    background: rgba(255,255,255,.5);
    border-radius: 5px;
    box-sizing: border-box;
}
.login:before{
    content: '';
    position: absolute;
    top: -65px;
    left: 50%;
    width: 120px;
    height: 120px;
    margin-left: -60px;
    background: rgba(216,240,252,.6) url(../images/login/cloud.png) no-repeat center 20px;
    border-radius: 50%;
}
.login h3{
    color: #00ACFF;
    font-size: 28px;
    text-align: center;
    margin-bottom: 45px;
    position: relative;
    z-index: 9;
}
form div{
    position: relative;
}
form div:before{
    content: '';
    position: absolute;
    top: 15px;
    left: 20px;
    width: 17px;
    height: 18px;
    background: url(../images/login/user.png) no-repeat;
}
form .pwd:before{
    width: 16px;
    height: 19px;
    background-image: url(../images/login/pwd.png);
}
form .code:before{
    width: 17px;
    height: 20px;
    background-image: url(../images/login/code.png);
}
.user input,.pwd input,.code input{
    width: 100%;
    height: 50px;
    line-height: 50px;
    font-size: 16px;
    padding: 0 15px 0 55px;
    margin-bottom: 10px;
    border: none;
    background: #fff;
    box-sizing: border-box;
}
.code img{
    position: absolute;
    top: 8px;
    right: 10px;
    width: 100px;
    height: 34px;
}
form p{
    margin: 10px 0;
    text-align: right;
}
form p input{
    position: relative;
    top: 2px;
}
form p a{
    padding-left: 15px;
}
form input[type=button]{
    width: 100%;
    height: 45px;
    line-height: 45px;
    margin: 5px 0 10px;
    color: #fff;
    font-size: 18px;
    text-align: center;
    border: none;
    background: #00A6FF;
    border-radius: 3px;
}

.other p{
    position: relative;
    margin-bottom: 10px;
    text-align: center;
    font-size: 12px;
}
.other p:before,
.other p:after{
    content: '';
    position: absolute;
    top: 10px;
    left: 0;
    width:140px;
    height: 1px;
    background: #E5E9E9;
}
.other p:after{
    left: auto;
    right: 0;
}
.other button{
    float: left;
    width: 160px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    color: #fff;
    font-size: 16px;
    border: none;
    background: #166ABF;
    border-radius: 3px;
}
.other button:last-child{
    margin-left: 40px;
    background: #42AD3B;
}
.other button span{
    position: relative;
    padding-left: 30px;
}
.other button span:before{
    content: '';
    position: absolute;
    top: -4px;
    left: 0;
    width: 21px;
    height: 24px;
    background: url(../images/login/qq.png) no-repeat;
}
.other button:last-child span{
    padding-left: 40px;
}
.other button:last-child span:before{
    width: 29px;
    height: 24px;
    background: url(../images/login/wx.png);
}
.advice{
    position: relative;
    top: 70px;
    text-align: center;
}