/* 首页 */
.home-slider,
.home-about,
.home-products,
.home-construction,
.home-news,
.home-contact {
    margin-bottom: 100px;
}

.home-about .home-about-title {
    text-align: center;
}

.home-about .home-about-title h1 {
    color: #d70204;
    font-size: 46px;
}

.home-about .home-about-title h2 {
    color: #dddddd;
    font-size: 42px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.home-about .home-about-content p {
    color: #161717;
    font-size: 18px;
    margin: 0;
    line-height: 2;
}

.home-about .more {
    display: block;
    clear: both;
    width: 10rem;
    height: 3rem;
    color: #fff;
    background-color: #d70204;
    text-align: center;
    line-height: 3rem;
    margin-top: 50px;
    margin: 50px auto auto auto;
}

.home-products .home-products-item .thumb img {
    width: 34rem;
    height: 24rem;
    object-fit: cover;
}

.home-products .home-products-title {
    text-align: center;
}

.home-products .home-products-title h1 {
    color: #d70204;
    font-size: 46px;
}

.home-products .home-products-title h2 {
    color: #dddddd;
    font-size: 42px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.home-products .catalog {
    padding: 0;
}

.home-products .catalog li a {
    padding: 12px 48px;
    border: 1px solid #ccc;
    margin-bottom: 2px;
    display: block;
    position: relative;
    text-align: center;
}

.home-products .catalog li a:hover,
.home-products .catalog li a.active {
    background-color: #d70204;
    color: #fff;
    border-color: #d70204;
}

.home-products .home-products-item {
    margin-bottom: 40px;
}

.home-products .more {
    display: block;
    clear: both;
    width: 10rem;
    height: 3rem;
    color: #fff;
    background-color: #d70204;
    text-align: center;
    line-height: 3rem;
    margin: 0 auto auto auto;
}

.home-construction .bg {
    background: url(../images/home-construction.jpg) no-repeat;
    background-position: 0 80px;
}

.home-construction .home-construction-title {
    text-align: center;
}

.home-construction .home-construction-title h1 {
    color: #d70204;
    font-size: 46px;
}

.home-construction .home-construction-title h2 {
    color: #dddddd;
    font-size: 42px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.home-construction .row h2 {
    color: #000;
    text-align: center;
    color: #fff;
}

.home-news .home-news-title {
    text-align: center;
}

.home-news .home-news-title h1 {
    color: #d70204;
    font-size: 46px;
}

.home-news .home-news-title h2 {
    color: #dddddd;
    font-size: 42px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.home-news .row p {
    color: #ccc;
    font-size: 24px;
    margin-left: 50px;
}

.home-news .row .home-newslist {
    border: 2px solid #cdcdcd;
    padding: 20px 40px;
    height: 76%;
}

.home-news .row .home-newslist h4 {
    font-weight: 600;
}

.home-news .row a:hover .home-newslist h4 {
    color: #d70204;
}

.home-news .row .home-newslist p {
    margin: 0;
    color: #000;
    margin-top: 10px;
    font-size: 18px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.home-contact {
    background-color: #f8f8f8;
}

.home-contact .row>* {
    padding: 0;
}

.home-contact .white {
    background-color: #fff;
    padding: 10px 0;
}

.home-contact .h-con-top {
    display: flex;
    justify-content: space-around;
}

.home-contact .h-con-top .top-tel {
    display: flex;
    align-items: center;
}

.home-contact .h-con-top .top-tel div {
    margin-left: 10px;
}

.home-contact .h-con-top .top-tel div p:first-child {
    margin: 0;
    font-size: 24px;
}

.home-contact .h-con-top .top-tel div p {
    margin: 0;
    font-size: 18px;
}

.home-contact .h-con-top .top-phone p {
    color: #d70204;
    font-size: 24px;
    margin: 0;
}

.home-contact .h-con-content ul {
    padding: 30px 0 0 100px;
    margin: 0;
}

.home-contact .h-con-content ul li {
    margin-bottom: 10px;
}

.home-contact .h-con-content ul li:last-child {
    margin-bottom: 0;
}

/* 公司简介 */
.main .introduction {
    margin-top: 1rem;
    text-align: justify;
}

.main .introduction p {
    text-indent: 2rem;
    line-height: 2;
}

/* 新闻资讯 */
.main .content-wzlb {
    margin-top: 20px;
}

.main .content-wzlb .content-wzlb-item {
    border-bottom: 1px dotted #ccc;
    display: block;
    padding: 12px px 0;
}

.main .content-wzlb .content-wzlb-item:hover {
    border: 0;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
    transform: translateY(-6px);
    padding: 12px;
    margin: 0 -12px;
}

.main .content-wzlb .content-wzlb-item h2 {
    font-size: 24px;
    line-height: 2;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.main .content-wzlb .content-wzlb-item p {
    color: #666;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    margin-bottom: 12px;
}

/* 新闻详情 */
.main .word {
    margin: 24px 0;
    line-height: 2;
    font-size: 16px;
}

.main .content_text {
    padding: 6px;
}

.main .content_text p {
    margin-bottom: 0;
    line-height: 2.4;
}

/* 产品中心 */
.material * {
    transition: unset;
}

.main .material .thumb {
    height: 300px;
    overflow: hidden;
}

.main .material .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 产品详情 */
.main .prolistitem * {
    transition: unset;
}

.main .prolistitem {
    text-align: center;
}

.main .prolistitem h3 {
    font-weight: 600;
    margin-bottom: 20px;
}

.main .prolistitem img {
    height: 400px;
    object-fit: contain;
    margin-bottom: 20px;
}

.main .content {
    line-height: 2;
}

/* 在线留言 */
.main .gbook {
    margin: 24px 0;
}

.main .message {
    margin-top: 1.5rem;
    margin-bottom: 20px;
}

.main .message .yzm {
    float: left;
}

.main .message .form-control {
    width: 80%;
}

.main .message .sub {
    background-color: #d70204;
    color: #fff;
    width: 6rem;
    height: 2.5rem;
    border: 0;
    border-radius: 5px;
}

/* 联系方式 */
.main .contact-us {
    padding: 20px 10px;
    font-size: 1.5rem;
}

.main ul {
    margin: 0;
    padding: 0 10px;
}

.main ul li {
    margin-bottom: 0.5rem;
}

/* 技术中心 */
.main .skill {
    margin-bottom: 40px;
}

.main .skill h4 {
    background-color: #eee;
    padding: 6px 0 6px 30px;
    margin: 20px 0;
}

.main .skill ul {
    display: flex;
    flex-wrap: wrap;
    padding: 0 50px;
}

.main .skill ul li {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

/* 技术中心详情 */
.main .technology-word {
    margin: 24px 0;
    line-height: 2;
    font-size: 16px;
}

.main .technology-word p {
    text-indent: 2rem;
}

/* 分页 */
.pagebar .pagination {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.pagination a {
    background: #fff;
    border: 1px solid #ccc;
    color: #333;
    font-size: 14px;
    padding: 8px 12px;
    margin: 0 5px;
    border-radius: 3px;
}

.pagination span {
    color: #333;
    font-size: 14px;
    padding: 8px 2px;
    margin: 0 5px;
    border-radius: 3px;
}

.pagination a:hover {
    color: #9ec5fe;
    border: 1px solid #9ec5fe;
}

.pagination a.page-num-current {
    color: #fff;
    background: #6ea8fe;
    border: 1px solid #6ea8fe;
}

/* 媒体查询 */
@media screen and (max-width:768px) {
    .home-about .row {
        display: none;
    }

    .main .about-row {
        display: none;
    }

    .home-about .home-about-title h1 {
        font-size: 30px !important;
    }

    .home-about .home-about-title h2 {
        font-size: 26px !important;
    }

    .home-products .home-products-title h1 {
        font-size: 30px !important;
    }

    .home-products .home-products-title h2 {
        font-size: 26px !important;
    }

    .home-construction .home-construction-title h1 {
        font-size: 30px !important;
    }

    .home-construction .home-construction-title h2 {
        font-size: 26px !important;
    }

    .home-news .home-news-title h1 {
        font-size: 30px !important;
    }

    .home-news .home-news-title h2 {
        font-size: 26px !important;
    }

    .home-construction .row h2 {
        font-size: 18px;
    }

    .home-construction .row .h2 {
        margin-top: 20px !important;
    }

    .pagebar .pagination .zx {
        display: none;
    }

    .pagebar .pagination a {
        font-size: 12px !important;
        padding: 8px 8px !important;
    }

    .main .technology-title span {
        font-size: 12px;
    }

    .home-slider,
    .home-about,
    .home-products,
    .home-construction,
    .home-news,
    .home-contact {
        margin-bottom: 60px !important;
    }
}

@media screen and (max-width:556px) {
    .home-construction .row h2 {
        font-size: 14px;
    }

    .home-products .catalog li a {
        padding: 12px 25px !important;
    }
}

@media screen and (max-width:1024px) {
    .home-products .catalog li {
        width: 50%;
        float: left;
    }

    .home-products .gcshow .home-products-item .thumb {
        padding: 0 10px;
    }

    .main .material .thumb {
        height: 160px !important;
    }
}

@media screen and (min-width:756px) and (max-width:1023px) {
    .home-products .gcshow .home-products-item .thumb img {
        width: 100%;
        height: 15rem;
        object-fit: cover;
    }
}

@media screen and (max-width:755px) {
    .home-products .gcshow .home-products-item .thumb img {
        width: 100%;
        height: 10rem;
        object-fit: cover;
    }
}