/*去掉点击后的虚线边框*/
input,button,a {
    outline:0 none !important; blr:expression(this.onFocus=this.blur());
}
#main{
    padding-top: 140px;
    /*background-image: url('/img/44.png')\0;*/
    background: linear-gradient(right bottom, #2fb2d7 0%,#2fcdd7 100%);
    background: -moz-linear-gradient(right bottom, #2fcdd7, #2fb2d7);
    background: -webkit-gradient(linear, right bottom, 0 0, from(#2fcdd7), to(#2fb2d7));
    background: -o-linear-gradient(right bottom, #2fb2d7 0%, #2fcdd7 100%);
    background: -ms-linear-gradient(right bottom, #2fb2d7 0%, #2fcdd7 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=#2fb2d7, endColorstr=#2fcdd7,GradientType=1 );
}
.login-box{
    width: 390px;
    margin: auto;
    position: relative;
    top:-800px;
    transition:all .5s ease-out;
    box-shadow: 5px 7px 5px #22a0c9;
}
/*登录框头部*/
.login-top{
    position: relative;
    width: 100%;
    height: 88px;
    background: url('/img/loginHead.png') no-repeat;
    background-size: cover;
}
/*logo*/
#logo{
    position: absolute;
    width: 140px;
    height: 116px;
    background: url('/img/loginLogo.png') no-repeat;
    right: -50px;
    top: -13px;
}
/*登录部分*/
.login-content{
    background: rgba(255, 255, 255, .2);
    width: 100%;
    color: white;
    padding: 30px 40px;
    border-radius: 0 0 10px 10px;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#33ffffff,endColorstr=#33ffffff);
}
/*包裹input的盒子*/
.input-box{
    margin-bottom: 30px;
}
/*边框下*/
.border1{
    border-bottom:1px solid white ;
    position: relative;
}
.login-label{
    position: absolute;
    bottom: 12px;
    transition: 0.2s ease-out;
}
.login-activelabel{
    transform: translateY(-140%);
    -webkit-transform: translateY(-140%);    /* for Chrome || Safari */
    -moz-transform: translateY(-140%);       /* for Firefox */
    -ms-transform: translateY(-140%);        /* for IE */
    -o-transform: translateY(-140%);         /* for Opera */
    font-size: 12px;
}
.login-activelabel-ie{
    display: none;
}

/*输入框透明，留下边框*/
.input-box input{
    width: 100%;
    background: transparent;
    padding-bottom: 10px;
    color: white;
    outline: none;
    border-width: 0;
    margin-top: 10px;
    margin-bottom: -1px;
    border-bottom: 2px solid transparent;
    transition: all .2s linear;
}
.input-box input:focus{
    background-color: transparent;
    border-bottom-color: #2fb2d7;
}
/*登录按钮*/
.cBtn{
    border-radius: 5px;
    padding: 8px;
}
.cBtn-default{
    background-color: white;
    color:#2fb2d7;
}
.cBtn-default:focus{
    color:#2fb2d7;
    border: 1px dotted #ccc;
}
.cBtn-default:hover{
    background-color: #2fb2d7;
    color:white;
    transition:all linear .1s;
}
.cBtn-primary{
    background-color: #2fb2d7;
    color: white;
}
.cBtn-primary:focus{
    color: white;
}
.cBtn-primary:hover{
    background-color: white;
    color: #2fb2d7;
    transition:all linear .1s;
}
/*主体底部*/
.main-bottom{
    width: 100%;
    height: 124px;
    margin-top: 80px;
    background: url('/img/cloud.png') repeat-x;
}
/*footer*/
.pb-footer{
    padding: 30px 25px;
    color: #999;
    text-align: center;
    background: #fff;
}

/*去除谷歌自动记住密码的背景色*/
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px #22a0c9 inset;
    border-bottom: 2px solid #22a0c9;
    -webkit-text-fill-color: #ffffff !important;//设置字体颜色*/
}

#teacherLoginTypeBox{
    background: rgba(255, 255, 255, .2);
    text-align: center;
    color: #FFFFFF;
    font-size: 0;
}
#teacherLoginTypeBox div{
    width: 130px;
    display: inline-block;
    font-size: 14px;
    padding-top: 20px;
    padding-bottom: 20px;
    background: #8cd9e9;
    color:#4c9cac;
    cursor: pointer;
}
#teacherLoginTypeBox div.active{
    background: rgba(255, 255, 255, .0);
    color: #FFFFFF;
}
#teacherLoginTypeBox div.active span{
    display: inline-block;
}
.loginIcon{
    background: url(/img/loginIcon.png) no-repeat;
    background-position: center;
    display: none;
    width: 16px;
    height: 16px;
    margin-right: 5px;
    vertical-align: middle;
}
.usernameLogin{
    background-position: 0 0;
}
.numLogin{
    background-position: -16px 0;
}
.cardLogin{
    background-position: 0 0;
}
#changeTypeBtn{
    position: absolute;
    color: #FFFFFF;
    top: 20px;
    right: 40px;
    cursor: pointer;
}