/* 首页页面 */

/* banner轮播图 */

.banner {
    position: relative;
    width: 100%;
    /* height: 750px; */
    height: auto;
}

/* 线 */

.banner_xian {
    position: absolute;
    left: 5%;
    bottom: 0;
    z-index: 5;
    transform: translateY( 30%);
}

.banner_container {
    width: 100%;
    height: 100%;
}

.banner_slide {
    /* background: url(../images/imgs/indexbg01.png) no-repeat center;
    background-size: cover; */
}
.banner_slide a{
    display: block;
    height: 100%;
    overflow: hidden;
}
.banner_slide a img{
    width: 100%;
}

.banner .swiper-container-horizontal > .swiper-pagination-bullets{
    position: absolute;
    display: none;
}

.banner_pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: #d82128;
}

.banner_pagination .swiper-pagination-bullet {
    background-color: #fff;
    opacity: 1;
    width: 12px;
    height: 12px;
}

:root {
    --swiper-theme-color: #fff;
}

/* 文本 */

.banner_slide_txt {
    padding: 0 16.5%;
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: center;
}

.banner_slide_txt>h3 {
    font-size: 18px;
    color: #999;
    padding: 2rem 0 0;
    font-family: Arial, Helvetica, sans-serif;
}

.banner_slide_txt>p {
    font-size: 18px;
    color: #fff;
    margin: 38px 0;
}

.banner_slide_txt>div>a {
    display: inline-block;
    padding: 0 40px;
    height: 58px;
    line-height: 58px;
    background-color: #d82128;
    font-size: 18px;
    color: #fff;
    border-radius: 58px;
}

@media screen and (max-width: 800px) {
    .head_zw {
        /* height: 0; */
    }
    .banner_xian{
        display: none;
    }
    .banner_slide a img{
        min-height: 200px;
    }
    .banner {
        height: auto;
    }
    .banner_slide_txt {
        padding: 0 15%;
        padding-top: 50px;
        text-align: center;
    }
    .banner_slide_txt h2 {
        font-size: 38px;
    }
    .banner_slide_txt h3 {
        font-size: 18px;
    }
    .banner_slide_txt p {
        font-size: 16px;
        margin: 30px 0;
    }
    .banner_slide_txt>div>a {
        height: 50px;
        line-height: 50px;
        padding: 0 30px;
        font-size: 16px;
    }
    .swiper-button-next,
    .swiper-button-prev {
        top: 55%;
    }
}

/* 优势部分 */

.advantage {
    margin-top: 90px;
}

.advantage_box {
    display: flex;
}

.advantage_box>div {
    margin-right: 28px;
    width: 25%;
    /* box-shadow: 0 0 4px rgba(0, 0, 0, 0.25); */
    box-shadow: 6px 5px 30px 0px rgba(0, 0, 0, 0.12);
    border-radius: 10px;
}

.advantage_box>div:last-child {
    margin-right: 0;
}

.advantage_box>div>a {
    display: flex;
    padding: 38px 0;
    justify-content: center;
    align-items: center;
}

.advantage_box>div>a>i {
    font-size: 66px;
    color: #d82128;
}

.advantage_box>div>a>i {
    display: inline-block;
    vertical-align: middle;
    margin-right: 8%;
}

.advantage_box_txt>h3 {
    text-align: left;
    margin-bottom: 12px;
}

.advantage_box_txt>p {
    font-size: 16px;
    color: #777;
}

/* 媒体查询 */

@media screen and (max-width: 1400px) {
    .advantage_box {
        flex-wrap: wrap;
        justify-content: space-between;
        align-content: center;
    }
    .advantage_box>div {
        width: 49%;
        margin: 0;
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 992px) {
    .advantage {
        /* margin-top: 50px; */
    }
}

@media screen and (max-width: 800px) {
    .advantage_box>div {
        width: 100%;
        margin: 0;
        margin-bottom: 25px;
    }
    .advantage_box>div>a>i {
        font-size: 50px;
    }
    .advantage_box>div>a {
        justify-content: start;
        padding: 30px 20px;
    }
    .advantage_box_txt>h3 {
        font-size: 20px;
    }
    .advantage_box_txt>p {
        font-size: 14px;
    }
}

/* 服务项目 */

.services {
    margin-top: 120px;
}

/* 上部文字 */

.services_box_txt {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.services_box_txt>span {
    font-size: 16px;
    color: #d82128;
}

.services_box_txt>h5 {
    margin: 14px 0 20px;
}

.services_box_txt>p {
    width: 100%;
    text-align: center;
}

/* 下部tab */

.services_box_tab {
    margin-top: 80px;
}

/* 上 */

/* 上部内容 */

.services_box_thumbs {
    width: 100%;
}

.services_slide_tp {
    margin: 0 3%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 22px 0;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    cursor: pointer;
    transition: all .4s;
}

.services_slide_tp>i {
    font-size: 50px;
    color: #d82128;
    transition: all .4s;
}

.services_slide_tp>span {
    font-size: 18px;
    color: #222;
    transition: all .4s;
}

.swiper-slide-thumb-active .services_slide_tp {
    border: 1px solid #d82128;
    background-color: #d82128;
}

.swiper-slide-thumb-active .services_slide_tp>i {
    color: #fff;
}

.swiper-slide-thumb-active .services_slide_tp>span {
    color: #fff;
}

/* 三角形 */

.services_tp_trilateral {
    position: relative;
    width: 50px;
    height: 50px;
    border-top: 0 solid #d82128;
    border-right: 23px solid transparent;
    border-left: 23px solid transparent;
    left: 50%;
    transform: translateX(-50%);
    transition: all .4s;
}

.swiper-slide-thumb-active .services_tp_trilateral {
    border-top: 20px solid #d82128;
}

/* 下 */

.services_slide_bm {
    margin: 1%;
    border-radius: 10px;
    /* border: 1px solid #e1e1e1; */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    display: flex;
    padding: 46px 3.5%;
    justify-content: space-between;
}

.services_slide_bm>div {
    width: 49%;
}

/* 文本 */

.services_slide_bm_txt {
    padding: 50px 0 0;
}

.services_b_p {
    margin-top: 30px;
}

.services_b_p>p {
    margin-bottom: 20px;
}

/* 按钮 */

.services_b_a>a {
    background-color: #d82128;
    display: inline-block;
    padding: 0 45px;
    line-height: 46px;
    font-size: 16px;
    color: #fff;
    border-radius: 30px;
    transition: all .4s;
    border: 1px solid #d82128;
}

.services_b_a .services_b_a_y {
    background-color: #222;
    border: 1px solid #222;
    margin-right: 5px;
}

.services_b_a>a:hover {
    background-color: #fff;
    color: #222;
}

/* 图片 */

.services_slide_bm_img {
    overflow: hidden;
    border-radius: 10px;
}

.services_slide_bm_img>img {
    width: 100%;
}

/* 媒体查询 */

@media screen and (max-width: 1550px) {
    .services_slide_bm .services_slide_bm_txt{
        width: 100%;
    }
    .services_slide_bm_txt {
        padding: 0;
    }
}

@media screen and (max-width: 900px) {
    .services {
        margin-top: 60px;
    }
    .services_box_tab {
        margin-top: 60px;
    }
}

@media screen and (max-width: 768px) {
    .services_slide_bm_img {
        display: none;
    }
    .services_tp_trilateral {
        display: none;
    }
    .services_slide_tp {
        margin: 0;
    }
    .services_box_thumbs {
        padding: 0 10px;
        margin-bottom: 30px;
    }
    .services_slide_tp>i {
        font-size: 40px;
    }
    .services_slide_tp>span {
        /* font-size: 20px; */
    }
    .services_b_a>a {
        padding: 0 25px;
        line-height: 35px;
    }
    .services_b_p>p {
        margin-bottom: 20px;
        font-size: 14px;
        line-height: 24px;
    }
}

/* 价值板块 */

.value {
    margin-top: 200px;
    background: url(../images/imgs/indexbg02.jpg) no-repeat center;
    background-size: cover;
    padding: 160px 0 90px;
    position: relative;
}

/* 定位盒子 */

.value_dw {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
}

.value_dw_box {
    display: flex;
    border-radius: 10px;
    overflow: hidden;
}

.value_dw_box>a {
    width: 50%;
    padding: 60px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 10%;
    padding-right: 5%;
}

.value_dw_box>a:first-child {
    background-color: #222222;
}

.value_dw_box>a:last-child {
    background-color: #d82128;
}

.value_dw_box>a>.value_dw_p {
    position: relative;
    text-align: left;
    width: 80%;
    font-size: 72px;
    color: rgba(255, 255, 255, 0.3);
    transform: translateX(-20%);
    line-height: 26.6px;
}

.value_dw_box>a:first-child>.value_dw_p::before {
    content: '在线留言咨询';
}

.value_dw_box>a>.value_dw_p::before {
    content: '预约工程师专家';
    position: absolute;
    font-size: 28px;
    color: #fff;
    transform: translateX(28%);
}

.value_dw_box>a>div {
    position: relative;
    width: 50px;
    height: 50px;
    line-height: 50px;
    /* background-color: #777; */
}

.value_dw_box>a>div>div {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    width: 50px;
    height: 50px;
    top: 0;
    left: 0;
    transform: translateX(-50%);
    transition: all .4s;
}

.value_dw_box>a:hover>div>div {
    transform: translateX(50%);
}

.value_dw_i {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 55px;
    color: #fff;
    /* transform: translateX(50%); */
}

/* 下方内容 */

.value_box {
    display: flex;
    justify-content: space-between;
}

.value_box>div {
    width: 49%;
}

/* 文本 */

.value_box_txt {
    padding-left: 8px;
    padding-right: 10%;
}

.value_box_txt>span {
    font-size: 16px;
    color: #d82128;
}

.value_box_txt>h5 {
    margin-top: 15px;
}

.value_box_txt>p {
    margin-top: 45px;
}

.value_box_txt>div {
    display: flex;
    align-items: center;
    margin-top: 50px;
}

.value_box_txt>div>i {
    font-size: 25px;
    color: #d82128;
    position: relative;
    top: 2px;
}

.value_box_txt>div>b {
    font-size: 22px;
    color: #222222;
    margin: 0 8px;
}

.value_box_txt>div>span a {
    font-size: 28px;
    color: #d82128;
    font-weight: 700;
}

.value_box_txt>a {
    margin-top: 80px;
    display: inline-block;
    height: 54px;
    line-height: 54px;
    padding: 0 56px;
    background-color: #222;
    border-radius: 8px;
    font-size: 16px;
    color: #fff;
    transition: all .4s;
}

.value_box_txt>a:hover {
    background-color: #d82128;
}

/* 特点 */

.value_box_trait {
    display: flex;
    flex-wrap: wrap;
}

.value_box_trait>div {
    width: 49%;
    display: flex;
    padding: 30px 0;
    /* align-items: center; */
    border-bottom: 1px solid #d0d0d0;
    border-right: 1px solid #d0d0d0;
    padding-right: 5%;
}

.value_box_trait>div:nth-child(2n) {
    padding-right: 0;
    border-right: none;
    padding-left: 5%;
}

.value_box_trait>div:nth-child(n+7) {
    border-bottom: 0;
}

.value_trait_txt {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.value_trait_txt>p {
    margin-top: 14px;
    font-size: 14px;
    color: #666;
    line-height: 20px;
}

.value_box_trait>div>i {
    font-size: 40px;
    color: #d82128;
    margin-right: 4%;
    position: relative;
    top: -10px;
}

/* 媒体查询 */

@media screen and (max-width: 1600px) {
    .value_box_txt {
        padding: 0 3%;
    }
}

@media screen and (max-width: 1400px) {
    .value_box.w3 {
        width: 80%;
    }
    .value_dw_box.w2 {
        width: 85%;
    }
}

@media screen and (max-width: 1000px) {
    .value_dw_box {
        flex-wrap: wrap;
    }
    .value_dw_box>a {
        width: 100%;
        padding: 24px 15%;
        margin-bottom: 10px;
        border-radius: 10px;
    }
    .value_dw_box>a>.value_dw_p {
        font-size: 50px;
    }
    .value_dw_box>a>.value_dw_p::before {
        font-size: 22px;
    }
    .value_box {
        flex-wrap: wrap;
    }
    .value_box>div {
        width: 100%;
    }
    .value_box_txt>a {
        margin: 30px auto;
    }
    .value_box_txt>div>b {
        font-size: 20px;
    }
    .value_trait_txt h6 {
        font-size: 20px;
    }
    .value {
        padding-bottom: 60px;
    }
}

/* 公司简介 */

.aboutus {
    margin-top: 120px;
}

.aboutus_box {
    position: relative;
    padding-bottom: 50px;
    display: flex;
    justify-content: space-between;
}

/* 定位 */

.aboutus_img_dw {
    position: absolute;
    left: 0;
    bottom: 0;
    transform: translateX(-20%);
    z-index: -1;
}

.aboutus_box>div {
    width: 49%;
}

/* 图 */

.aboutus_box_img {
    border-radius: 10px;
    overflow: hidden;
}

/* 定位盒子 */

.aboutus_box_img>img {
    width: 100%;
}

/* z文本 */

.aboutus_box_txt {
    padding: 0 3%;
}

.aboutus_box_txt>span {
    font-size: 16px;
    color: #d82128;
}

.aboutus_box_txt>h6 {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin-top: 15px;
}

.aboutus_box_txt>p {
    margin-top: 40px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7;
    overflow: hidden;
    line-height: 37px;
}

.aboutus_box_txt>a {
    margin-top: 40px;
    display: inline-block;
    height: 54px;
    line-height: 54px;
    padding: 0 56px;
    background-color: #222;
    border-radius: 8px;
    font-size: 16px;
    color: #fff;
    transition: all .4s;
}

.aboutus_box_txt>a:hover {
    background-color: #d82128;
}

/* 媒体查询 */

@media screen and (max-width: 1400px) {
    .aboutus_box.w3 {
        width: 80%;
    }
}

@media screen and (max-width: 1200px) {
    .aboutus_img_dw {
        display: none;
    }
}

@media screen and (max-width: 1000px) {
    .aboutus {
        margin-top: 60px;
    }
    .aboutus_box {
        flex-wrap: wrap;
    }
    .aboutus_box>div {
        width: 100%;
    }
    .aboutus_box_txt {
        margin-top: 30px;
    }
    .value_box_txt>p {
        margin-top: 30px;
        font-size: 14px;
        line-height: 1.8;
    }
    .aboutus_box_txt>p {
        font-size: 14px;
        line-height: 30px;
    }
}

/* 团队 */

.team {
    margin-top: 100px;
}

/* 上部文本 */

.team_txt>h5 {
    text-align: center;
}

.team_txt>p {
    margin-top: 20px;
    text-align: center;
}

/* 团队tab */

/* 上 */

.team_tab_thumbs {
    margin-top: 40px;
    border: 1px solid #d8d8d8;
    background-color: #efefef;
    border-radius: 8px;
    overflow: hidden;
}

.team_tab_tp {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    border-right: 1px solid #d8d8d8;
    color: #222;
    font-size: 18px;
    cursor: pointer;
    background-color: #efefef;
}

.team_tab_thumbs .team_tab_slide:last-child .team_tab_tp {
    border-right: none;
}

.team_tab_tp>i {
    color: #c1c1c1;
    margin-right: 3%;
    font-size: 30px;
}

.swiper-slide-thumb-active .team_tab_tp {
    background-color: #fff;
    color: #d82128;
}

.swiper-slide-thumb-active .team_tab_tp>i {
    color: #d82128;
}

/* 下 */

.team_tab_top {
    margin-top: 40px;
}

.team_tab_dw {
    position: relative;
}

.team_btrn_per,
.team_btrn_next {
    position: absolute;
    top: 50%;
    margin-top: -88px;
    width: 88px;
    height: 88px;
    line-height: 88px;
    text-align: center;
    border-radius: 88px;
    background-color: rgba(216, 33, 40, 0.9);
    z-index: 9;
    cursor: pointer;
}

.team_btrn_per>i,
.team_btrn_next>i {
    font-size: 36px;
    color: #fff;
}

.team_btrn_per {
    left: 0;
    transform: translateX(-40%);
}

.team_btrn_next {
    right: 0;
    transform: translateX(40%);
}

.team_img_item {
    /* display: flex;
    justify-content: space-around; */
}

.team_img_item>a {
    display: block;
    width:100%;
}

.team_img_item>a>div>img {
    width: 100%;
    /* height: 381px; */
    border-radius: 10px;
}

/* 定位盒子 */

.team_img_dw {
    margin-left: 50%;
    transform: translate(-50%, -50%);
    width: 82%;
    padding: 30px 0;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 6px 5px 30px 0px rgba(0, 0, 0, 0.12);
    transition: all .4s;
}

.team_img_dw>h6 {
    font-size: 18px;
    color: #d82128;
}

.team_img_dw>p {
    margin-top: 8px;
    font-size: 14px;
    color: #666;
}

.team_img_item>a:hover .team_img_dw {
    transform: translate(-50%, -70%);
}

@media screen and (max-width: 1100px) {
    .team_tab_dw {
        width: 93%;
        margin: 0 auto;
    }
}

@media screen and (max-width: 768px) {
    .team_tab_dw {
        /* width: 88%;
        margin: 0 auto; */
    }
    .team {
        margin-top: 60px;
    }
    .team .team_txt {
        width: 92%;
        margin: auto;
    }
    .team .team_txt p {
        font-size: 14px;
    }
    .team_tab_tp>i {
        display: none;
    }
    .team_img_item>a>div>img {
        height: auto;
    }
    .team_img_dw>p {
        display: none;
    }
    .team_img_dw>h6 {
        font-size: 14px;
    }
    .team_btrn_per,
    .team_btrn_next {
        width: 40px;
        height: 40px;
        border-radius: 40px;
        line-height: 40px;
        top: 65%;
        /* display: none; */
    }
    .team_btrn_per>i,
    .team_btrn_next>i {
        font-size: 24px;
    }
    .team_img_item {
        display: block;
    }
    .team_img_item>a {
        width: 100%;
    }
    .team_img_dw{
        padding: 20px 0;
    }
}

/* 案例 */

.case {
    margin-top: 100px;
}

/* 文本 */

.case_txt>h5,
.case_txt>p {
    text-align: center;
}

.case_txt>p {
    margin-top: 20px;
}

/* 典型 */

.case_model {
    margin-top: 40px;
}

.case_model_item {
    margin: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.case_model_item a {
    display: block;
    /* border: 1px solid #eee; */
    /* border-radius: 10px; */
}

.case_model_item img {
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
    filter: gray;
    padding: 0 2rem;
}

.case_model>a {
    display: block;
    overflow: hidden;
}

.case_model>a>img {
    width: 100%;
}

.case_model_item:hover {
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
}

.case_model_item:hover img {
    -webkit-filter: unset;
    -moz-filter: unset;
    -ms-filter: unset;
    -o-filter: unset;
    filter: unset;
    filter: unset;
}

/* 分类 */

.case_classify {
    margin-top: 50px;
}

.case_classify_item {
    margin: 20px;
}

/* 图 */

.case_classify_img {
    overflow: hidden;
    border-radius: 10px;
}

.case_classify_img>img {
    max-width: 100%;
    padding: 20px 20px 50px;
    margin: auto;
}

.more-c{
    text-align: center;
    padding: 20px 0 30px;
}
.more-c a{
    padding: 0 50px;
    height: 50px;
    line-height: 50px;
    display: inline-block;
    background-color: #333;
    color: #fff;
    border-radius: 25px;
}
.more-c a:hover{
    background-color: #d82128;
}
/* 文字 */

.case_classify_txt {
    width: 85%;
    padding: 20px 0;
    border-radius: 8px;
    box-shadow: 6px 5px 30px 0px rgba(0, 0, 0, 0.12);
    transform: translate(7.5%, -50%);
    background-color: #fff;
    transition: all .4s;
}

.case_classify_item>a:hover .case_classify_txt {
    transform: translate(7.5%, -100%);
}

@media screen and (max-width: 768px) {
    .case {
        margin-top: 60px;
    }
    .case_model_item a {
        border: 1px solid #eee;
        background: #eee;
        display: block;
        border-radius: 10px;
    }
    .case_model_item img {
        padding: 0;
    }
    .case_classify{
        margin-top: 20px;

    }
    .case_classify_item{
        margin: 10px;
    }
}

/* 咨询 */

.counsel {
    margin-top: 80px;
    background-color: #f5f5f5;
    padding: 100px 0 75px;
    position: relative;
    border-radius: 10px;
    box-shadow: 6px 5px 30px 0px rgba(0, 0, 0, 0.12);
}

/* 文本 */

.counsel_box {
    width: 58%;
    margin: 0 auto;
    border-top: 1px solid #d82128;
    position: relative;
    text-align: center;
}

.counsel_box_logo {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%);
    background: #f5f5f5;
    padding: 0 20px;
}

.counsel_box>h5 {
    margin-top: 70px;
}

.counsel_box>p {
    margin-top: 20px;
}

.counsel_box>p>span {
    color: #d82128;
}

.counsel_box>a {
    margin-top: 50px;
    display: inline-block;
    padding: 0 30px;
    height: 50px;
    line-height: 50px;
    background-color: #d82128;
    border-radius: 50px;
    color: #fff;
    transition: all .4s;
    font-size: 18px;
}

.counsel_box>a:hover {
    background-color: #222;
}

/* 定位盒子 */

.counsel_box_dw {
    position: absolute;
    top: -14%;
    right: -12%;
    cursor: pointer;
}

.counsel_dw_i {
    position: absolute;
    top: 0;
    left: 40%;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background-color: #fff;
    border-radius: 50px;
    box-shadow: 0 0 8px rgba(153, 153, 153, 0.82);
}

.counsel_dw_i>i {
    font-size: 27px;
    color: #d82128;
}

.counsel_dw_dh {
    position: absolute;
    top: 31%;
    left: 10%;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.counsel_dw_dh a {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.counsel_dw_ex {
    position: absolute;
    top: 48%;
    left: 10%;
    font-size: 16px;
    color: #fff;
    transition: all .4s;
}

@media screen and (max-width: 1100px) {
    .counsel_box_dw {
        display: none;
    }
    .counsel {
        margin-top: 50px;
    }
}

@media screen and (max-width: 768px) {
    .counsel_box {
        width: 80%;
    }
}

@media (min-width: 1651px) and (max-width: 2070px){
    .counsel{
        position: unset;
    }
    .counsel_box_dw{
        right: 0;
    }
}

/* 新闻 */

.news {
    margin-top: 100px;
    margin-bottom: 120px;
}

.news_txt {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.news_txt_l {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news_txt_l>span {
    font-size: 16px;
    color: #d82128;
}

.news_txt_l>h5 {
    margin-top: 20px;
}

.news_txt_r>a {
    display: inline-block;
    height: 54px;
    line-height: 54px;
    padding: 0 56px;
    background-color: #222;
    border-radius: 8px;
    font-size: 16px;
    color: #fff;
    transition: all .4s;
}

.news_txt_r>a:hover {
    background-color: #d82128;
}

/* 轮播 */

.news_carousel {
    margin-top: 50px;
}

.news_carousel_item {
    margin: 10px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
}

/* 图片 */

.news_item_img {
    overflow: hidden;
}

.news_item_img>img {
    width: 100%;
}

/* 文字 */

.news_item_txt {
    position: relative;
    padding-top: 40px;
}

/* 定位盒子 */

.news_item_dw {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    padding: 12px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #d82128;
    border-radius: 8px;
    transform: translate(-50%, -50%);
    transition: all .4s;
}

.news_carousel_item:hover .news_item_dw {
    transform: translate(-50%, -100%);
}

.news_item_dw>p {
    font-size: 22px;
    color: #fff;
}

.news_item_dw>span {
    font-size: 14px;
    color: #fff;
}

.news_item_txt>span {
    font-size: 14px;
    color: #999;
}

.news_item_txt>p {
    margin-top: 25px;
    font-size: 18px;
    color: #222;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

.news_item_txt>a {
    display: inline-block;
    margin-top: 25px;
    font-size: 16px;
    color: #d82128;
}

.news_item_txt>a>i {
    font-size: 16px;
    color: #d82128;
}

/* 媒体查询 */

@media screen and (max-width: 1000px) {
    .news {
        margin-top: 60px;
    }
    .news_txt {
        align-items: flex-end;
    }
    .news_txt_r>a {
        height: 40px;
        line-height: 40px;
        padding: 0 30px;
    }
}