.th-banner {
    width: 100%;
    height: 540px;
    background-image: url(../img/new/news/banner.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    overflow: hidden;
    min-width: 1200px;
}

.th-banner section {
    text-align: center;
    margin-top: 220px;
    position: relative;
}

.th-banner section h2 {
    font-size: 60px;
    font-weight: bold;
    position: relative;
    z-index: 1;
    color: #fff;
}

.th-banner section h2::before {
    content: '';
    width: 165px;
    height: 8px;
    background: #0086ee;
    position: absolute;
    z-index: -1;
    bottom: 10px;
    margin-left: -5px;
    left: calc(50% - 80px);
}

.th-banner section p {
    font-size: 22px;
    /* font-weight: bold; */
    color: #fff;
    margin-top: 11px;
}

/*tabs*/
.news {
    margin-top: 120px;
}

.news_title {}

.news_select {
    overflow: hidden;
    margin-top: 53px;
}

/*====tabs标题样式设置====*/
.tabs {
    margin: 0;
    padding: 0;
    height: 32px;
    width: 100%;
    text-align: right;
}

.tabs li {
    margin: 0;
    padding: 0;
    display: inline-block;
    height: 31px;
    line-height: 31px;
    margin-bottom: -1px;
    /* overflow: hidden; */
    position: relative;
}

.tabs li a {
    color: #777;
    display: block;
    font-size: 22px;
    font-weight: bold;
    margin: 0 20px;
    /* width: 100px; */
    text-align: center;
}

/* .tabs li:first-child a{
    width: 60px;
} */
.tabs a::before {
    -webkit-transition: width .2s ease-in-out;
    transition: width .2s ease-in-out;
    left: 17px;
    content: "";
    position: absolute;
    bottom: -5px;
    width: 0;
    border-bottom: solid 3px #0086ee;
}

.tabs li.active a {
    background: #fff;
    font-size: 24px;
    color: #152952;
}

.default::before {
    width: 100px !important;
}

/*==tabs主内容样式设置==*/
.news_content {
    /* overflow: hidden; */
    /* clear: both; */
    /* float: left; */
    width: 100%;
    margin-bottom: 120px;
    /* height: 850px; */
}

.tabBody {
    /* padding: 20px; */
    /* font-size: 1.2em;
    display: table;
    word-spacing:-1em; */
    font-size: 0;
    text-align: left;
    margin-top: 42px;
}

#company,
#industry,
#all {
    /* height: 920px; */
    /* height: 850px; */
    height: auto;
    font-size: 14px;
}

#industry {
    height: 100%;
}

.page1 .body_card:first-child,
.page1 .body_card:nth-child(4),
.page2 .body_card:first-child,
.page2 .body_card:nth-child(4) {
    margin-left: 3.5px;
}

/*card*/
.body_card {
    display: inline-block;
    width: 384px;
    height: 398px;
    /* border: 1px solid #fff; */
    box-shadow: 0 0 10px rgb(0, 0, 0, 0.2);
    background: #f8fafe;
}

.body_card:hover {
    cursor: pointer;
    box-shadow: 0 0 10px rgb(0, 0, 0, 0.5);
}

.body_card:hover .img {
    overflow: hidden;
}

.body_card:hover .img img {
    transition: .5s transform;
    transform: scale(1.05);

}

.body_card .img {
    width: 384px;
    height: 240px;
    overflow: hidden;
}

.body_card .img img {
    width: auto;
    height: auto;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
}

.body_card .title {
    font-size: 0;
    text-align: left;
    padding: 25px 0;
    margin: 0 25px;
    position: relative;
    border-bottom: 1px solid #eee;
    overflow: hidden;
}


.body_card .title::before {
    -webkit-transition: width .2s ease-in-out;
    transition: width .2s ease-in-out;
    left: 0px;
    content: "";
    position: absolute;
    bottom: 0;
    width: 0;
    border-bottom: solid 3px #0086ee;
}

.body_card:hover {
    background: #fff;
}

.body_card_hover::before {
    width: 100% !important;
}

.body_card .title p {
    font-size: 16px;
    color: #152952;
    height: 36px;
}

/* .date{
    height: 66px;
} */
.date::after {
    content: "";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.date div p {
    font-size: 14px;
    text-align: left;
    color: #666;
    padding: 25px 25px;
}

#all .page1 .body_card:nth-child(2),
#all .page2 .body_card:nth-child(2),
#company .page1 .body_card:nth-child(2),
#industry .page1 .body_card:nth-child(2) {
    margin: 17px;
}

/* #company .page1 .body_card:nth-child(2) {
    margin: 17px;
} */
/*如果page页的body_card的数量小于4*/
#all .page1 .body_card:nth-child(5),
#all .page2 .body_card:nth-child(2),
#company .page1 .body_card:nth-child(5),
#industry .page1 .body_card:nth-child(5),
/*因为小于4，所以有2*/
#industry .page1 .body_card:nth-child(2) {
    margin: 2px 17px 0 17px
}

/* #company .page1 .body_card:nth-child(5){
    margin: 2px 17px 0 17px
} */
/*分页*/
.pages form {
    text-align: center;
}

ul.pagination {
    display: inline-block;
    padding: 0;
    margin: 0;
}

ul.pagination li {
    display: inline;
}


ul.pagination li a {
    color: #333;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    /* border: 1px solid #ddd; */
}

ul.pagination li:last-child a {
    border-right: 1px solid #ddd;
}

ul.pagination li a {
    border-left: 1px solid #ddd;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

ul.pagination li a:hover {
    color: #0086ee;
}

.activeP {
    background-color: #152952;
    color: #fff !important;
}

footer {
    margin-top: 236px;
}