/* 头 */

#head {
    background-color: #aa0c1f;
    border-bottom: 2px solid #ffc000;
}

#head .head {
    height: 160px;
    line-height: 160px;
    background-image: url(./head_bg.png);
    background-repeat: no-repeat;
    background-position: center top;
}

.search_input {
    float: right;
    font-size: 0;
    line-height: 0;
    margin-top: 100px;
}

.nju_link {
    margin-left: 50px;
}


/* 切换中英文按钮 */

.lan {
    font-size: 16px;
    line-height: 42px;
    float: right;
    margin-left: 10px;
    color: white;
}


/* 导航 */

.nav_contain {
    background-color: #b01925;
}

.nav_list {
    font-size: 0;
}

.nav_list>li {
    display: inline-block;
    vertical-align: top;
    font-size: 14px;
    /* width: 14.285%; */
    width: 16.666%;
    position: relative;
}

.nav_list>li a {
    text-align: center;
    display: block;
    overflow: hidden;
    height: 18px;
    line-height: 18px;
    color: white;
    font-size: 18px;
    height: 55px;
    line-height: 55px;
    border-right: 1px solid #c2313c;
}

.nav_list>li:last-of-type a {
    border-right: none;
}

.nav_list>li~li a {
    border-left: 1px solid #a40e1c;
}

.nav_list>li:hover {
    background-color: #a40e1c;
}

.nav_list>li.active {
    background-color: #a40e1c;
}

.nav_list>li.active a {
    border-color: transparent;
}

.nav_list>li~li a {
    border-left: 1px solid #a40e1c;
}

.nav_list>li.active+li a,
.nav_list>li:hover+li a {
    border-left-color: transparent;
}

.nav_list ul {
    display: none;
    position: absolute;
    min-width: 100%;
    z-index: 51;
    background-color: #b01925;
}

.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;
    width: auto;
    white-space: nowrap;
    padding: 0 10px;
}

.nav_list li ul li a:hover {
    background-color: #a40e1c;
}


/* 返回顶部 */

.to_top {
    z-index: 20;
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 40px;
    height: 48px;
    padding: 6px 10px;
    line-height: 24px;
    font-size: 20px;
    text-align: center;
    color: white;
    cursor: pointer;
    background-color: black;
    background-color: rgba(0, 0, 0, 0.7);
}


/* 尾 */

#foot {
    padding: 13px 0;
    background-color: #2b2b2b;
}

#foot p {
    color: #adadad;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
}

#foot span {
    margin: 0 16px;
}


/* 手机版的默认样式 */

.phone_menu {
    color: white;
    font-size: 40px;
    display: none;
    float: right;
}

.phone_return {
    font-size: 20px;
    margin-top: 10px;
    color: white;
}

.search_input #lsj_ss2 {
    width: 40px;
    height: 42px;
    background-color: #811f1c;
    background-image: url(./search.png);
    background-repeat: no-repeat;
    background-position: center center;
    vertical-align: middle;
}

.search_input #wd {
    width: 180px;
    height: 42px;
    line-height: 42px;
    color: #333;
    font-size: 14px;
    vertical-align: middle;
    padding: 0 15px;
}

.return_icon {
    text-align: right;
    width: 90%;
    margin: auto;
    margin-bottom: 0.2rem;
}

.phone_contain {
    position: fixed;
    z-index: 1000;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    transition: all 0.5s;
    background-color: #b01925;
    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: #f1d6d6;
}

.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:1080px) {
    #head .head {
        height: auto;
        line-height: inherit;
        text-align: center;
        padding: 15px 0;
    }
    .nju_link {
        width: 50%;
        margin-left: 20px;
        float: left;
    }
}

@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 img {
        width: 100%;
    }
    .search_input {
        margin-top: 40px;
    }
    .nju_link {
        width: 450px;
    }
}

@media screen and (max-width:750px) {
    .nju_link {
        width: 85%;
        margin-left: 0;
    }
    #head .head {
        background-image: none;
    }
    .phone_menu {
        line-height: 100%;
    }
}

@media screen and (max-width:500px) {}

@media screen and (max-width:400px) {
    .phone_menu {
        font-size: 30px;
    }
    .search_input #wd {
        width: 160px;
    }
    #foot p {
        font-size: 14px;
        line-height: 20px;
    }
    #foot {
        padding: 10px 0;
    }
    .phone_return {
        margin-right: 10px;
    }
}