body{
    background: #404040;
    width: 100%;
    overflow-x: hidden;
}
.header-tit{
    display: none;
}
.page-tit{
    display: block;
}
.idx-logo {
    width: 350px;
    margin-left: 35px;
}
.nav-cell a,.nav-cell span{
    color: #fff;
    display: block;
    border-bottom:2px solid rgba(0,0,0,0)
}
.nav-cell .active{
    font-weight: bolder;
    border-bottom:2px solid #fff;
}
.nav-icon{
    width: 30px;
    float: right;
    margin-right: 10px;
}
.select-active{
    animation:trams 1s ease both;
    -webkit-animation:trams 1s ease both;
    -moz-animation:trams 1s ease both;
}
.select-none{
    animation:tramsNone 1s ease both;
    -webkit-animation:tramsNone 1s ease both;
    -moz-animation:tramsNone 1s ease both;
}

@keyframes trams {
    from {
        transform: translateX(0);
    }
    100%{
        transform: translateX(-240px);
    }
}
@keyframes tramsNone {
    from {
        transform: translateX(-240px);
    }
    100%{
        transform: translateX(0);
    }
}

@media only screen and (max-width: 999px){
    .nav-cell a:hover{
        background: #626262;
    }
    .nav-icon{
        display: block;
    }
    .nav-cell{
        width: 240px;
        position: absolute;
        right:-240px;
        top:0;
        display: none;
    }
    .nav-cell .active{
        background: #626262;
        border-bottom: none;
    }
    .nav-cell li{
        height:74px;
        line-height: 74px;
        width: 100%;
        float: none;
        text-align: center;
        cursor: pointer;
    }
    .header-tit{
        width: 66%;
        display: block;
        text-align: center;
        position: absolute;
        left: 18%;
        top:0;
        color: #fff;
        height: 74px;
        line-height: 74px;
        font-size: 16px;
        white-space: nowrap;
        word-break: keep-all;
    }
}


@media only screen and (max-width: 480px) {
    .header-tit,.re-back{
        display: block;
    }
    .page-tit,.idx-logo{
        display: none;
    }
    .idx-logo {
        width: 50.4vw;
        max-width: 390px;
        margin-left: 10px;
    }
    .header {
        height: 13vw;
    }
    .header-tit{
        height: 13vw;
        line-height: 13vw;
        font-size: 4vw;
    }
    .select-active .nav-cell{
        display: block;
    }
    .select-none .nav-cell{
        display: none;
    }
    .nav-cell {
        width: 32vw;
        font-size: 3.2vw;
        right:-32vw;
    }
    .nav-cell li{
        height: 13vw;
        line-height: 13vw;
    }
    @keyframes trams {
        from {
            transform: translateX(0);
        }
        100%{
            transform: translateX(-32vw);
        }
    }
    @keyframes tramsNone {
        from {
            transform: translateX(-32vw);
        }
        100%{
            transform: translateX(0);
        }
    }
}

@media only screen and (min-width: 1000px) {
    .nav-cell {
        float: left;
        display: block;
    }
    .nav-cell li {
        float: left;
        cursor: pointer;
        margin: 0 6px;
    }
    .nav-cell li a,.nav-cell li span{
        padding:18px 10px;
    }
    .nav-cell li a:hover,.nav-cell li span:hover{
        border-bottom:2px solid #fff;
        color:#eee;
    }
    .login-btn,.has-login{
        display: block;
        padding-top: 16px;
    }
    .login-btn a{
        padding:0 11px 2px !important;
        background: #fff;
        border-radius: 20px;
        margin-right: 20px !important;
        border:1px solid #fff;
        color:#04a53b;
    }
    .has-login a{
        text-align: center;
        display: inline-block;
        width: 100px;
        height: 25px;
        line-height: 25px;
        border:1px solid #fff;
        overflow: hidden;
        word-wrap: normal;
        white-space: nowrap;
        text-overflow: ellipsis;
        border-radius: 15px;
        padding:0 3px !important;
    }
    .has-login .head-img{
        display: inline-block;
        width: 12px;
    } 
    .nav-cell .login-btn a:hover{
        background: none;
    }
    .nav-cell .login-btn a:hover{
        color: #fff;
    }
    .nav-icon{
        display: none;
    }
}

.mc-inner-school{
    background: #fff;;
    width:250px;
    height: 180px;
    border-radius: 16px;
    padding:15px;
    position: fixed;
    left: 50%;
    top:50%;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
}
.mc-inner-school .icon-close{
    width:30px;
    height: 30px;
    position: absolute;
    position: fixed;
    left: 50%;
    top:-30px;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    z-index: 101;
}
.mc-inner-school .icon-close img{
    display: block;
    width:100%;
}
.mc-inner .school-draw{
    display: block;
    margin:15px auto 0;
}
.rt-school{
    position: relative;
}
.rt-school p{
    text-align: center;
    margin:15px 0
}
.rt-school .logo-icon{
    display: block;
    width:20px;
    height: 20px;
    position: absolute;
    left: 50%;
    top:40%;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
}