body,html{
    margin:0;
    padding:0;
    overflow-y: hidden;
}
.wrapper{
    width:100%;
    height:100%;
}
.nav{
    height:60px;
    width:1100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin:0 auto;
    justify-content: flex-start;
}
.nav img{
    height:48px;
    width:auto;
}
.nav span{
    padding-left: 10px;
    height:36px;
    line-height: 36px;
    vertical-align: middle;
    font-size: 36px;
    font-weight: bold;
    font-family:楷体;
    color:#333;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.banner{
    width:100%;
    background:url(../../img/banner.png) no-repeat center center;
    background-size:100% 100%;
    position: relative;
}
.card{
    position: absolute;
    left:60%;
    top:45%;
    background:#fff;
    box-shadow: 0 0 30px rgba(0,0,0,0.1);
    padding:20px;
    box-sizing: border-box;
}
.tab{
    height:50px;
    line-height: 50px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size:1rem;
    border-bottom:1px solid #efefef;
}
.tab span{
    position: relative;
    width:50%;
    text-align: center;
    cursor: pointer;
    color:#aaa;
}
.tab span.active{
    color:#000;
}
.tab span:hover{
    color:#000;
}
.tab span.active::after{
    position: absolute;
    bottom:0px;
    left:50%;
    transform:translateX(-50%);
    content:'';
    width:100%;
    height:2px;
    background:#3333CC;
    -webkit-transform:translateX(-50%);
    -moz-transform:translateX(-50%);
    -ms-transform:translateX(-50%);
    -o-transform:translateX(-50%);
}
.content{
    margin-top:20px;
}
/* 修改placeholder的默认颜色： */
input::-webkit-input-placeholder{
  color:#aaa;
}
input::-moz-placeholder{   /* Mozilla Firefox 19+ */
  color:#aaa;
}
input:-moz-placeholder{    /* Mozilla Firefox 4 to 18 */
  color:#aaa;
}
input:-ms-input-placeholder{  /* Internet Explorer 10-11 */
  color:#aaa;
}
.content>div{
    position: relative;
}
.content>div div,.content>div .img{
    width:calc(100% - 40px);
    height:40px;
    margin:18px;
    margin-bottom:38px;
}
.content>div div input{
    width:100%;
    height:100%;
    line-height:40px;
    padding:0 10px;
    box-sizing: border-box;
}
.content>div input{
    border:1px solid #efefef;
    background:transparent;
}
input:focus{
    outline:1px solid #3333CC;
    box-shadow: 0 0 10px rgba(255,0,0,0.1);
}
.img{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width:100%;
    padding:0 !important;
    border:1px solid #efefef;
}
.img input{
    width:60% !important;
    margin:0 !important;
    border:none !important;
}
.img .img-wrap{
    width:40%;
    height:auto;
    text-align: center;
    line-height:40px;
    color:#0975e1;
    border-left:none;
    box-sizing: border-box;
    cursor: pointer;
    border-left:1px solid #efefef;
    margin:0;
}
.img-wrap img{
    width:100%;
    vertical-align: middle;
}
.content>div div.login{
    background:#3333CC;
    color:#fff;
    height:40px;
    line-height: 40px;
    margin:28px 18px;
    text-align: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
}
.content>div div.login2 {
    margin: 38px 8px;
}
.content>div span{
    color:#0975e1;
    position: absolute;
    right:18px;
    bottom:-50px;
    padding:15px 0px;
    cursor: pointer;
}
.yanzhengma{
    display: none;
}
.bottom{
    color:#fff;
    line-height:40px;
    font-size: 18px;
    font-weight: bold;
    position: absolute;
    text-align: center;
    width: 100%;
    bottom: 10px;
}
.content>div div::after{
    display: block;
    width:100%;
    height:30px;
    line-height:30px;
    color:#3333CC;
}
.content>div .phonetit.active::after{
    content:'请输入手机号/邮箱';
}
.content>div .pwdtit.active::after{
    content:'请输入密码';
}
.img .imgtit,.img .codetit{
    margin:0;
}
.img .imgtit input,.img .codetit input{
    width:100% !important;
}
.content>div .imgtit.active::after{
    content:'请输入验证码';
}
.content>div .emailtit.active::after{
    content:'请输入手机号/邮箱';
}
.content>div .codetit.active::after{
    content:'请输入验证码';
}
.code{
    margin:0 !important;
    margin-top:10px !important;
}
@media all and (min-width: 1100px) {
    .nav {
        width: 1000px;
    }
    .card {
        width:400px;
        height:450px;
        transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        -o-transform: translateY(-50%);
        margin-right: -500px;
    }
    .banner{
        height:calc(100vh - 60px);
    }
    .content>div div, .content>div .img {
        width: calc(100% - 40px);
        height: 40px;
        margin: 18px;
        margin-bottom: 38px;
    }
    .content>div div::after {
        height: 30px;
        line-height: 30px;
    }
    .content>div div.login {
        margin: 28px 18px;
    }
}
@media all and (max-width: 1100px) {
    body,html{
        font-size:14px;
    }
    .nav {
        width: 100vw;
        padding:0 20px;
        box-sizing: border-box;
    }
    .banner{
        height:480px;
    }
    .card {
        width:300px;
        height:400px;
        transform: translate(-50%,-50%);
        -webkit-transform: translate(-50%,-50%);
        -moz-transform: translate(-50%,-50%);
        -ms-transform: translate(-50%,-50%);
        -o-transform: translate(-50%,-50%);
        padding:10px;
    }
    .content>div div, .content>div .img {
        width: calc(100% - 20px);
        height: 40px;
        margin: 8px;
        margin-bottom: 28px;
    }
    .content>div div::after {
        height: 20px;
        line-height: 20px;
        font-size:12px;
    }
    .content>div div.login {
        margin: 28px 8px;
    }
    .content>div span {
        font-size:12px;
        padding:10px 0px;
    }
}