/* 头 */
#head{
    background-color: #781475;
}
#head .line{
    display: inline-block;
    border-left: 1px solid #cf8ecd;
    height: 38px;
    vertical-align: middle;
    margin: 0 20px;
}
#head .head{
    height: 160px;
    line-height: 160px;
}
.search_input{
    float: right;
    font-size: 0;
}
.search_input #lsj_ss{
    width: 40px;
    height: 42px;
    background-color: #5b0059;
    background-image: url(./search.png);
    background-repeat: no-repeat;
    background-position: center center;
    vertical-align: middle;
}
.search_input #wd{
    width: 250px;
    height: 42px;
    line-height: 42px;
    color: #71236f;
    font-size: 14px;
    background-color: #bc8aba;
    vertical-align: middle;
    padding:0 15px;
}
/* 导航 */

.nav_contain{
    border-bottom: 2px solid #fe9b0b;
    height: 54px;
    line-height: 54px;
    background-color: #710c6f;
}
.nav_list{
    font-size: 0;
}
.nav_list>li{
    display: inline-block;
    vertical-align: top;
    font-size: 14px;
    width: 16.66%;
    position: relative;
}
.nav_list>li a{
    display: inline-block;
    text-align: center;
    overflow: hidden;
    vertical-align: middle;
    height: 26px;
    line-height: 26px;
    color: white;
    width: 100%;
    font-size: 18px;
}
.nav_list>li:hover{
    background-color: #5b0059;
}

.nav_list>li:hover a,.nav_list>li:hover+li a{
    border-color: #5b0059;
}
.nav_list>li~li a{
    border-left:1px solid #80237e;
}
.nav_list ul{
    display: none;
    position: absolute;
    width: 100%;
    z-index: 51;
    background-color: #781475;
}
.nav_list li:hover ul{
    display: block;
}
.nav_list li ul li a{
    display: block;
    height: 50px;
    line-height: 50px;
    border: none;
    font-size: 16px;
}
.nav_list li ul li a:hover{
    background-color: #981e94;
}
/* 尾 */
#foot{
    padding:20px 0;
    background-color:#63065f;
}
#foot p{
    color: #a0729e;
    font-size: 16px;
    line-height: 32px;
    text-align: center;
}

/* 手机版的默认样式 */
.phone_menu{
    color: white;
    font-size: 40px;
    display: none;
    float: right;
}
.phone_return{
    float: right;
    font-size: 20px;
    margin-top: 10px;
    margin-right: 20px;
    color: white;
}
.search_input #lsj_ss2{
    width: 40px;
    height: 42px;
    background-color: #5b0059;
    background-image: url(./search.png);
    background-repeat: no-repeat;
    background-position: center center;
    vertical-align: middle;
}
.search_input #wd{
    width: 250px;
    height: 42px;
    line-height: 42px;
    color: #71236f;
    font-size: 14px;
    background-color: #bc8aba;
    vertical-align: middle;
    padding:0 15px;
}
.phone_contain{
    position: fixed;
    z-index: 1000;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    transition: all 0.5s;
    background-color: #522e51;
    overflow-y: scroll;
}
.phone_contain.active{
    left: 0;
}
.phone_nav_contain{
    width: 90%;
    margin: auto;
}
.phone_nav_contain a{
    display: block;
    padding: 10px;
    color: white;
    font-weight: bold;
    border-bottom: 1px  solid white;
}
.phone_nav_contain a .icon-left-dir{
    font-size: 20px;
    color: white;
    float: right;
    margin-right: 20px;
    transition: all 0.5s;
}
.phone_nav_contain li ul a{
    height: 0;
    overflow:hidden;
    transition: all 0.5s;
    padding: 0;
    line-height: 40px;
    border: none;
    text-indent: 20px;
    font-weight: normal;
    color: #ffa8fd;
}
.phone_nav_contain li.active ul a{
    height: 40px;
}
.phone_nav_contain li.active a .icon-left-dir{
    transform: rotateZ(-90deg);
}



@media screen and (max-width:1230px){
    .w_12{
        width: 98%;
    }
}
@media screen and (max-width:1180px){
    .w_12{
        width: 95%;
    }
    .w_11{
        width: 95%;
    }
}
@media screen and (max-width:1080px){
    #head .head{
        height: auto;
        line-height: inherit;
        text-align: center;
        padding: 15px 0;
    }
    .self_link{
        width: 300px;
        display: inline-block;
    }
    .self_link img{
        width: 100%;
    }
    .nju_link img{
        width: 100%;
    }
    .nju_link{
        width: 200px;
        display: inline-block;
    }
}
@media screen and (max-width:960px){
    .search_input{
        float: none;
        display: inline-block;
        margin: 20px 0;
    }
    .nav_contain{
        display: none;
    }
    .phone_menu{
        display: inline;
    }
    .search_input{
        display: none;
    }
    .phone_search{
        display: block;
        width: 100%;
        text-align: center;
    }
    .nju_link{
        width: 160px;
    }
    .self_link{
        width: 250px;
    }
}
@media screen and (max-width:660px){

    .nju_link{
        display: none;
    }
    #head .line{
        display: none;
    }
    .self_link{
        width: 260px;
    }
}
@media screen and (max-width:400px){
    .phone_menu{
        font-size: 30px;
    }
    .search_input #wd{
        width: 160px;
    }
    .self_link{
        width: 80%;
    }
    #foot p{
        font-size: 14px;
        line-height: 20px;
    }
    #foot{
        padding: 10px 0;
    }
    .phone_return{
        margin-right: 10px;
    }
}