@import url(./reset.css);

/*头部*/
.headerbac {
    background-image: url("./image/headRight.png");
    background-repeat: no-repeat;
    background-position: right;
    background-size: auto 100%;
}


.header-left span {
    font-size: 32px !important;
} 

#header {
    display: flex;
    width: 85%;
    margin: 0 auto;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    padding: 20px 0;
}

.header-left {
    display: flex;
}

.header-left .logo {
    width: 130px;
    height: 130px;
}

.header-left .logo img {
    width: 100%;
    height: 100%;
}

.header-left .title {
    margin-left: 30px;
    font-size: 26px;
    font-weight: bold;
    color: #147b41;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}

.header-right {
    display: flex;
    margin-right: 130px;
}

.header-right .search {
    width: 260px;
    height: 50px;
}

.wp_search {
    height: 100%;
}

.wp_search table {
    height: 100%;
}

.wp_search td:last-child {
    display: none;
}

#keyword {
    line-height: 30px;
    width: 250px !important;
    padding: 5px 10px;
    border: 2px solid #147b41;
    border-radius: 10px;
}

/*导航栏*/
#nav {
    background-color: #147b41;
}

#nav .wp_nav {
    display: flex;
    height: 50px;
    margin: 0 auto;
    width: 90%;
    flex-direction: row;
    justify-content: space-between;
}

#nav .wp_nav>li {
    line-height: 50px;
    color: #fff;
    font-weight: bold;
    font-size: 20px;
    width: 120px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s ease-in-out;
}

#nav ul li:hover {
    color: #000;
    /* background-color: #16af58; */
}

.wp_nav .sub-nav {
    display: flex;
    flex-direction: column;
    width: 120px !important;
}

.wp_nav .sub-nav>li span {
    text-align: center;
    width: 100%;
    height: 50px;
    line-height: 50px !important;
    white-space: nowrap;
    /* 禁止文本换行 */
    overflow: hidden;
    /* 隐藏超出容器的内容 */
    text-overflow: ellipsis;
    /* 超出部分显示省略号 */
    padding: 0 5px !important;
    display: block !important;
}

/*轮播图*/
.bannerbac {
    background-image: url("./image/banner.png");
    height: 520px;
    width: 100%;
    margin-bottom: 30px;
    background-repeat: no-repeat;
    background-size: auto 100%;
}

#banner {
    width: 70%;
    margin: 0 auto;
    height: 520px;
    background-color: #fff5;
}

#sudyfocus_w3 {
    height: 100%;
}

#sudyfocus_w3 .focus-box {
    height: 100% !important;
    width: 100% !important;
}

#sudyfocus_w3 .focus-container {
    height: 100% !important;
    width: 100% !important;
}

.focus-title {
    display: none;
}

/*菜单*/
#menu {
    background-color: #0001;
    margin-bottom: 10px;
}

#menu>ul {
    width: 85%;
    margin: 0 auto;
    padding: 20px 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

#menu>ul>li {
    width: 250px;
    font-weight: bold;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 160px;
}

#menu>ul>li a {
    font-size: 24px;
    text-align: center;
    padding: 0 10px;
}

#menu>ul>li img{
    width: 60px;
    height: 60px;
}

#menu .wp_nav .nav-item a span.item-name {
    line-height: 35px;
}

/*主体*/
#main {
    margin-bottom: 30px;
}

#main .white,
#main .black {
    display: flex;
    justify-content: space-evenly;
    flex-direction: row;
}

.white {
    background-color: #fff;
}

.black {
    background-color: #0001;
}

#main .box {
    width: 30%;
}

#main .box .title {
    font-size: 22px;
    color: #335da8;
    font-weight: bold;
    height: 50px;
}

#main .box .title span {
    line-height: 50px;
    padding: 10px 20px;
    margin: 0 10px;
    padding-bottom: 10px;
    border-bottom: 3px solid #0002;
}

#main .box .content {
    margin-top: 1px;
    border-top: 1px solid #0002;
    height: 350px;
}

#main .box .content>div {
    height: 100%;
}

.wp_article_list {
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 10px;
}

.wp_article_list .list_item {
    box-sizing: border-box;
    line-height: 30px;
    padding: 10px 20px;
    height: 50px;
    font-size: 18px;
    border-bottom: 1px solid #0001;
}

.wp_article_list .list_item:hover {
    color: #335da8;
}

.wp_article_list .list_item .Article_Index {
    display: none;
}

.more-link .moretext img {
    position: absolute;
    right: 10px;
}

/*底部*/

#footer {
    background-color: #316337;
    width: 100%;
    height: 200px;
}

#footer ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: space-evenly;
}

#footer ul li {
    color: #fff;
}